Merge pull request '预览店铺执照' (#343) from zhy into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/343
This commit is contained in:
commit
ed3a83c00e
@ -25,7 +25,7 @@
|
|||||||
<u-icon name="arrow-down" color="#999999" size="28"></u-icon>
|
<u-icon name="arrow-down" color="#999999" size="28"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
<view class="image-list" v-if="info.business_licence_number_electronic">
|
<view class="image-list" v-if="info.business_licence_number_electronic">
|
||||||
<image :src="info.business_licence_number_electronic"></image>
|
<image :src="info.business_licence_number_electronic" @click="previewImage(info.business_licence_number_electronic)"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -42,6 +42,15 @@ export default {
|
|||||||
// console.log(res)
|
// console.log(res)
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
previewImage(urls) {
|
||||||
|
// console.log(urls);
|
||||||
|
const imageList = [urls];
|
||||||
|
uni.previewImage({
|
||||||
|
urls: imageList,
|
||||||
|
});
|
||||||
|
},
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user