Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.portalStaticPage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fc75a2f9
authored
2021-02-01 17:37:51 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:办事指南
1 parent
2236c920
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
31 deletions
staticCss/bszn.css
staticJs/businessGuideDeatil.js
staticJs/xyzcxq.js
staticViews/bszn.html
staticCss/bszn.css
View file @
fc75a2f
...
...
@@ -243,7 +243,13 @@
border
:
1px
solid
#0F93F6
;
color
:
#0F93F6
;
}
.online-processing
:hover
{
color
:
#0F93F6
!important
;
}
.business-guide
{
color
:
#9B9B9B
;
border
:
1px
solid
#DDDDDD
;
}
.business-guide
:hover
{
border-color
:
#DDDDDD
;
}
\ No newline at end of file
...
...
staticJs/businessGuideDeatil.js
View file @
fc75a2f
$
(
function
()
{
// if(GetQueryString('id')) {
// _initData();
// }else {
// _getBsznDetailByYwid();
// }
$
(
'.layui-breadcrumb a'
).
eq
(
1
).
attr
(
'href'
,
GetQueryString
(
'href'
));
//模板点击下载
downLoad
()
})
...
...
staticJs/xyzcxq.js
View file @
fc75a2f
$
(
function
()
{
// newsDetail()
})
layui
.
use
(
'element'
,
function
()
{
...
...
@@ -8,29 +7,6 @@ layui.use('element', function () {
element
.
on
(
'nav(demo)'
,
function
(
elem
)
{
});
});
// 新闻详情数据
function
newsDetail
()
{
var
newsDetail
=
$
(
"#newsDetail"
);
newsDetail
.
empty
();
$
.
ajax
({
type
:
"get"
,
//提交方式
url
:
portal
.
api_url
+
"/portal/MhNews/getDetailById"
,
//路径
data
:
{
"id"
:
GetQueryString
(
'id'
),
},
dataType
:
"json"
,
//数据,这里使用的是Json格式进行传输
success
:
function
(
result
)
{
//返回数据根据结果进行相应的处理
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
$
(
'.newsTitle'
).
html
(
result
.
data
.
headline
)
$
(
'.releaseTime'
).
html
(
result
.
data
.
addtime
)
$
(
'.source p'
).
html
(
result
.
data
.
source
)
newsDetail
.
append
(
result
.
data
.
content
)
}
}
});
}
function
GetQueryString
(
name
)
{
var
reg
=
new
RegExp
(
"(^|&)"
+
name
+
"=([^&]*)(&|$)"
);
var
r
=
window
.
location
.
search
.
substr
(
1
).
match
(
reg
);
...
...
staticViews/bszn.html
View file @
fc75a2f
...
...
@@ -98,7 +98,7 @@
<
a
class
=
"onlineProcessing"
data
-
id
=
{{
item
.
bsznListVOS
[
i
].
bsmBszn
}}
>
<
button
type
=
"button"
class
=
"layui-btn layui-btn-sm online-processing layui-btn-normal"
>
在线办理
<
/button
>
<
/a
>
<
a
href
=
'./businessGuide/{{item.bsznListVOS[i].bsmBszn}}.html'
target
=
"_blank"
>
<
a
href
=
'./businessGuide/{{item.bsznListVOS[i].bsmBszn}}.html
?href=/staticViews/bszn.html
'
target
=
"_blank"
>
<
button
type
=
"button"
class
=
"layui-btn layui-btn-primary business-guide layui-btn-sm"
>
办事指南
<
/button
>
<
/a
>
...
...
@@ -130,7 +130,7 @@
<
a
href
=
"./yyxz.html"
data
-
id
=
{{
item
.
bsznListVOS
[
i
].
bsmBszn
}}
>
<
button
type
=
"button"
class
=
"layui-btn online-processing layui-btn-sm layui-btn-normal"
>
在线办理
<
/button
>
<
/a
>
<
a
href
=
'./businessGuide/{{item.bsznListVOS[i].bsmBszn}}.html'
target
=
"_blank"
>
<
a
href
=
'./businessGuide/{{item.bsznListVOS[i].bsmBszn}}.html
?title=办事指南
'
target
=
"_blank"
>
<
button
type
=
"button"
class
=
"layui-btn business-guide layui-btn-primary layui-btn-sm"
>
办事指南
<
/button
>
<
/a
>
<
/div
>
...
...
Please
register
or
sign in
to post a comment