mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新]增加图文选择器
This commit is contained in:
parent
9b5756e7d7
commit
981670fd7a
@ -40,7 +40,6 @@
|
||||
|
||||
{block name="script"}
|
||||
<script>
|
||||
require(['jquery'], function () {
|
||||
require(['jquery.masonry'], function (Masonry) {
|
||||
var container = document.querySelector('#news_box');
|
||||
var msnry = new Masonry(container, {itemSelector: '.news_item', columnWidth: 0});
|
||||
@ -59,6 +58,5 @@
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{/block}
|
Loading…
x
Reference in New Issue
Block a user