流式拖拽排序
cnpm install @624144061/masonryjs
import Masonry from '@624144061/masonryjs';
Masonry.create(
this.$refs['container'].$el,//容器 docoment
{
columnGap:10,
rowGap:10,
draggable:true,//拖拽
scaleable:true//放缩
})
//更新
Masonry.update();//更新当前容器下的布局
yarn install
yarn serve
yarn build