1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-12 21:29:31 +08:00

feat: 图库支持左右滑动

This commit is contained in:
小莫唐尼
2025-07-19 23:46:40 +08:00
parent 452d021816
commit 4611932ad8
5 changed files with 297 additions and 41 deletions
@@ -100,8 +100,6 @@ export default {
},
//向列表添加数据
pushData(list) {
console.log('添加图片数据----------',list)
let prIdx_i = this.list2.length;
if (!Array.isArray(list) || typeof list == 'undefined') {
return false;
@@ -122,8 +120,6 @@ export default {
return this.dataList;
},
async loadimg(event, isLoad, index) {
console.log('图片加载事件----------',event)
this.isLoading = true;
let ps = this.list2[index];
ps.isLoad = true;