Browse Source

图片点击重复预览/页面渲染

master
Enzo 4 years ago
parent
commit
ac72f82f12
  1. 17
      pages/order/apply-details.vue
  2. 8
      pages/order/apply-refund.vue

17
pages/order/apply-details.vue

@ -1,5 +1,6 @@
<template>
<view>
<block v-if="isRight(orderDetails)">
<!-- 商品信息 -->
<view class="bg-white">
<skeleton :loading="skeletonLoading" :row="2" :showAvatar="false" :showTitle="true">
@ -96,6 +97,7 @@
<view style="height: 82rpx;"></view>
</skeleton>
</block>
</view>
</template>
@ -114,11 +116,16 @@
orderDetails: {},
checkArea: '',
checkAreaId: 1,
images: []
images: [],
ifChoose: true
}
},
computed: {
isRight(){
return function(val){
return this.$shared.isRight(val);
}
}
},
onLoad(e) {
this.order_id = e.order_id
@ -143,9 +150,11 @@
},
//
showImg(image) {
this.$u.throttle(() => {
uni.previewImage({
urls: [image],
});
urls: [image]
})
}, 200);
},
//
copy(text) {

8
pages/order/apply-refund.vue

@ -1,5 +1,6 @@
<template>
<view>
<block v-if="isRight(applyDetails)">
<!-- 商品信息 -->
<view class="bg-white">
<skeleton :loading="skeletonLoading" :row="2" :showAvatar="false" :showTitle="true">
@ -120,6 +121,7 @@
</view>
</skeleton>
</block>
</view>
</template>
@ -142,7 +144,11 @@
}
},
computed: {
isRight(){
return function(val){
return this.$shared.isRight(val);
}
}
},
onLoad(e) {
this.order_id = e.order_id

Loading…
Cancel
Save