|
|
@@ -15,7 +15,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="grid col-4 grid-square flex-sub booder-top">
|
|
|
- <view class="bg-img" v-for="(item, index) in form.photo" :key="index" @tap="ViewImage"
|
|
|
+ <view class="bg-img" v-for="(item, index) in form.headPhoto.split(',')" :key="index" @tap="ViewImage"
|
|
|
:data-url="form.headPhoto[index]">
|
|
|
<image :src="item" mode="aspectFill"></image>
|
|
|
<view class="cu-tag bg-red" @tap.stop="DelImg" :data-index="index">
|
|
|
@@ -77,6 +77,7 @@
|
|
|
async onLoad(data) {
|
|
|
if (data.params) {
|
|
|
let obj = JSON.parse(decodeURIComponent(data.params));
|
|
|
+ console.log('111111',obj)
|
|
|
// this.video = obj.video ? obj.video : ''
|
|
|
obj.photo = obj.photo ? obj.headPhoto.split(',').filter(id => id !== '') : []
|
|
|
this.form = obj
|