mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update image.html
This commit is contained in:
parent
c1cfaa5ec0
commit
3fcfb760fd
@ -46,6 +46,10 @@
|
|||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.image-dialog-page {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.image-dialog-page .layui-laypage a,
|
.image-dialog-page .layui-laypage a,
|
||||||
.image-dialog-page .layui-laypage span {
|
.image-dialog-page .layui-laypage span {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
@ -53,7 +57,6 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
require(['vue'], function (vue) {
|
require(['vue'], function (vue) {
|
||||||
new vue({
|
new vue({
|
||||||
el: '#ImageDialog',
|
el: '#ImageDialog',
|
||||||
@ -70,6 +73,7 @@
|
|||||||
var that = this;
|
var that = this;
|
||||||
layui.laypage.render({
|
layui.laypage.render({
|
||||||
curr: this.page, count: count, limit: that.limit,
|
curr: this.page, count: count, limit: that.limit,
|
||||||
|
layout: ['count', 'prev', 'page', 'next', 'refresh'],
|
||||||
elem: 'ImageDialogPage', jump: function (obj, first) {
|
elem: 'ImageDialogPage', jump: function (obj, first) {
|
||||||
if (!first) that.loadPage(that.page = obj.curr);
|
if (!first) that.loadPage(that.page = obj.curr);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user