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
e448e8d1
authored
2020-10-27 14:26:58 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:layui 测试
1 parent
a3137a7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
template.html
template.html
View file @
e448e8d
...
...
@@ -28,6 +28,7 @@
<div>
条目5
</div>
</div>
</div>
<div
id=
"test1"
></div>
<button
type=
"button"
class=
"layui-btn"
>
一个标准的按钮
</button>
</div>
</body>
...
...
@@ -53,4 +54,13 @@
//,anim: 'updown' //切换动画方式
});
});
layui
.
use
(
'laypage'
,
function
()
{
var
laypage
=
layui
.
laypage
;
//执行一个laypage实例
laypage
.
render
({
elem
:
'test1'
//注意,这里的 test1 是 ID,不用加 # 号
,
count
:
50
//数据总数,从服务端得到
});
});
</script>
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment