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
a6a8c9ff
authored
2021-01-18 17:20:40 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:置顶
1 parent
5db3d278
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
0 deletions
staticCss/flfg.css
staticCss/xyzc.css
staticJs/flfg.js
staticJs/xyzc.js
staticCss/flfg.css
View file @
a6a8c9f
...
...
@@ -106,3 +106,8 @@
.policy_list_con
li
{
margin-bottom
:
10px
;
}
.sticky
p
{
font-size
:
24px
;
color
:
#1E9FFF
!important
;
font-weight
:
700
;
}
\ No newline at end of file
...
...
staticCss/xyzc.css
View file @
a6a8c9f
...
...
@@ -97,3 +97,8 @@
height
:
124px
;
margin-bottom
:
10px
;
}
.sticky
p
{
font-size
:
24px
;
color
:
#1E9FFF
!important
;
font-weight
:
700
;
}
\ No newline at end of file
...
...
staticJs/flfg.js
View file @
a6a8c9f
...
...
@@ -27,7 +27,11 @@ function getLawsArticleList() {
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
data
.
total
=
result
.
data
.
total
for
(
var
i
=
0
;
i
<
result
.
data
.
records
.
length
;
i
++
)
{
if
(
result
.
data
.
records
[
i
].
isTop
==
'1'
)
{
li
=
'<li class="sticky">'
;
}
else
{
li
=
'<li>'
;
}
li
+=
'<a href="./law/'
+
result
.
data
.
records
[
i
].
id
+
'.html" title="'
+
result
.
data
.
records
[
i
].
headline
+
'" target="_blank">'
li
+=
'<p>'
+
result
.
data
.
records
[
i
].
headline
+
'</p>'
;
if
(
result
.
data
.
records
[
i
].
isTop
==
'1'
)
{
...
...
staticJs/xyzc.js
View file @
a6a8c9f
...
...
@@ -27,7 +27,11 @@ function getLawsArticleList() {
if
(
result
.
code
==
200
&&
result
.
data
!=
null
)
{
data
.
total
=
result
.
data
.
total
;
for
(
var
i
=
0
;
i
<
result
.
data
.
records
.
length
;
i
++
)
{
if
(
result
.
data
.
records
[
i
].
isTop
==
'1'
)
{
li
=
'<li class="sticky">'
;
}
else
{
li
=
'<li>'
;
}
li
+=
'<a href="./policy/'
+
result
.
data
.
records
[
i
].
id
+
'.html" title="'
+
result
.
data
.
records
[
i
].
headline
+
'" target="_blank">'
li
+=
'<p>'
+
result
.
data
.
records
[
i
].
headline
+
'</p>'
;
if
(
result
.
data
.
records
[
i
].
isTop
==
'1'
)
{
...
...
Please
register
or
sign in
to post a comment