Browse Source

add img preview

organize
刘嘉炜 3 years ago
parent
commit
110bac6be1
  1. 5
      src/pages/write_off/ym_confirm/ym_confirm.vue

5
src/pages/write_off/ym_confirm/ym_confirm.vue

@ -15,7 +15,7 @@
</view>
<view class="yc-photo" v-if="!!orderInfo.user_face">
<view>照片</view>
<image mode="aspectFit" :src="orderInfo.user_face"></image>
<image mode="aspectFit" @click="previewImg(orderInfo.user_face)" :src="orderInfo.user_face"></image>
</view>
<view class="yc-card-mes">
@ -56,6 +56,9 @@ export default {
})
},
methods: {
previewImg(url){
uni.previewImage({ urls: [ url ] });
},
confirmBtn: util.debounce(function(){
let { orderInfo, type } = this;
servers.post({

Loading…
Cancel
Save