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
ae98cfd9
authored
2021-01-22 09:47:01 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:样式
1 parent
7e4211fc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
16 deletions
staticCss/common.css
staticJs/sysnews-center.js
staticViews/sysnews-center.html
staticCss/common.css
View file @
ae98cfd
...
...
@@ -167,9 +167,8 @@ div.footer .system_service ul li a:hover {
}
/* 中间区域高度 */
.middleZoneHeight
{
min-height
:
calc
(
100vh
-
520
px
);
min-height
:
calc
(
100vh
-
451
px
);
}
.layui-layer-content
{
height
:
auto
!important
;
}
...
...
staticJs/sysnews-center.js
View file @
ae98cfd
...
...
@@ -15,19 +15,6 @@ layui.use('laydate', function () {
elem
:
'#date2'
//指定元素
});
});
layui
.
use
(
'laypage'
,
function
()
{
let
laypage
=
layui
.
laypage
;
laypage
.
render
({
elem
:
'page'
//注意,这里的 test1 是 ID,不用加 # 号
,
curr
:
data
.
curr
//让起始页,也就是点击的页码
,
count
:
data
.
total
//数据总数,从服务端得到
,
theme
:
'#0091FF'
,
jump
:
function
(
obj
,
first
)
{
if
(
!
first
)
{
}
}
});
});
$
(
function
()
{
initNewsData
()
})
...
...
staticViews/sysnews-center.html
View file @
ae98cfd
...
...
@@ -43,7 +43,6 @@
<span
class=
"list-type"
>
已阅
</span>
</li>
</ul>
<div
id=
"page"
class=
"page"
></div>
</div>
</div>
</body>
...
...
Please
register
or
sign in
to post a comment