Browse Source

Merge branch 'ymorder' into localbranch

organize
刘嘉炜 3 years ago
parent
commit
284fbafbbe
  1. 1
      src/pages/write_off/ym_confirm/ym_confirm.vue
  2. 9
      src/subpackage/order/pages/ym_card/detail/detail.vue

1
src/pages/write_off/ym_confirm/ym_confirm.vue

@ -57,6 +57,7 @@ export default {
}, },
methods: { methods: {
previewImg(url){ previewImg(url){
if(!url)return
uni.previewImage({ urls: [ url ] }); uni.previewImage({ urls: [ url ] });
}, },
confirmBtn: util.debounce(function(){ confirmBtn: util.debounce(function(){

9
src/subpackage/order/pages/ym_card/detail/detail.vue

@ -25,7 +25,13 @@
<block slot="name">用户昵称</block> <block slot="name">用户昵称</block>
</a-line> </a-line>
<view class="yu-line">照片<text @click="changeFaceImgBtn" v-if="orderInfo.status ==1">更改照片</text></view> <view class="yu-line">照片<text @click="changeFaceImgBtn" v-if="orderInfo.status ==1">更改照片</text></view>
<image class="yu-img" mode="aspectFit" :src="orderInfo.user_face" @click="previewImg(orderInfo.user_face)"></image>
<image
class="yu-img"
mode="aspectFit"
v-if="orderInfo.user_face"
:src="orderInfo.user_face"
@click="previewImg(orderInfo.user_face)"
></image>
</view> </view>
<view class="yci-box yci-buy-info" v-if="orderInfo.status == 1 || orderInfo.status == 2 || orderInfo.status == 3"> <view class="yci-box yci-buy-info" v-if="orderInfo.status == 1 || orderInfo.status == 2 || orderInfo.status == 3">
@ -89,6 +95,7 @@ export default {
}, },
methods: { methods: {
previewImg(url){ previewImg(url){
if(!url)return
uni.previewImage({ urls: [ url ] }); uni.previewImage({ urls: [ url ] });
}, },
changeFaceImgBtn(){ changeFaceImgBtn(){

Loading…
Cancel
Save