已报名会议缴费状态的不同显示

This commit is contained in:
fengachen
2021-10-18 18:29:19 +08:00
parent 2c7a6384d9
commit b399125d3a
5 changed files with 87 additions and 21 deletions
+19 -1
View File
@@ -18,6 +18,10 @@ Component({
maxSize: {
type: Number,
value: 1
},
// 图片的回显
initImgsList:{
type:String
}
},
@@ -28,6 +32,20 @@ Component({
// 图片路径数组
tempFilePaths: []
},
lifetimes: {
attached: function() {
console.log(' this.data.initImgsList', this.data.initImgsList);
let initImgArr = this.data.initImgsList.split(',')
const arr = []
for (let index = 0; index < initImgArr.length; index++) {
arr.push( baseUrl + URL_CONFIG + 'sys/common/download/' + initImgArr[index])
}
this.setData({
tempFilePaths:arr
})
console.log(this.data.tempFilePaths);
},
},
/**
* 组件的方法列表
@@ -171,4 +189,4 @@ Component({
})
}
}
})
})