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
f2a4628a
authored
2021-01-18 14:20:39 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:置顶
1 parent
b1edbe5e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
staticCss/header.css
staticCss/xwdt.css
staticViews/xwdt.html
staticCss/header.css
View file @
f2a4628
...
...
@@ -121,7 +121,7 @@ div.navigation {
height
:
59px
;
}
.navigation
.layui-nav-item
{
width
:
147px
;
width
:
147px
!important
;
position
:
relative
;
border-right
:
1px
solid
rgba
(
255
,
255
,
255
,
0.1
);
border-left
:
1px
solid
rgba
(
255
,
255
,
255
,
0.1
);
...
...
staticCss/xwdt.css
View file @
f2a4628
...
...
@@ -320,4 +320,14 @@ div.subject {
.tj
{
margin
:
10px
0
;
cursor
:
pointer
;
}
.sticky
.left-top
{
font-size
:
24px
;
}
.sticky
.xw-left
img
{
width
:
230px
;
height
:
140px
;
}
.sticky
.xw-right
{
font-size
:
18px
;
}
\ No newline at end of file
...
...
staticViews/xwdt.html
View file @
f2a4628
...
...
@@ -46,11 +46,16 @@
<script
type=
"text/javascript"
src=
"../staticJs/xwdt.js"
></script>
<script
id=
"demo"
type=
"text/html"
>
{{
#
layui
.
each
(
d
.
list
,
function
(
index
,
item
){
}}
{{
#
if
(
item
.
isTop
==
1
){
}}
<
li
class
=
"sticky"
>
{{
#
}
}}
{{
#
if
(
item
.
isTop
!=
1
){
}}
<
li
>
<
a
class
=
"left-top"
title
=
" {{ item.headline }}"
href
=
'./xwxq.html?id={{item.id}}'
target
=
"_blank"
>
{{
#
}
}}
<
a
class
=
"left-top"
title
=
" {{ item.headline }}"
href
=
'./news/{{item.id}}.html'
target
=
"_blank"
>
{{
item
.
headline
}}
<
/a
>
<
a
class
=
"xw"
href
=
'./
xwxq.html?id={{item.id}}
'
target
=
"_blank"
>
<
a
class
=
"xw"
href
=
'./
news/{{item.id}}.html
'
target
=
"_blank"
>
{{
#
if
(
item
.
isTop
==
1
){
}}
<
img
class
=
"istop"
src
=
"../staticImages/ding.png"
>
{{
#
}
}}
...
...
Please
register
or
sign in
to post a comment