|
@@ -25,7 +25,7 @@
|
|
<view class="status">{{item.status | statusFilter}}</view>
|
|
<view class="status">{{item.status | statusFilter}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="goods">
|
|
<view class="goods">
|
|
- <image :src="imageUrl + item.goodsPicUrl" mode="aspectFill"></image>
|
|
|
|
|
|
+ <image :src="imageUrl + item.goodsPicUrl" mode="aspectFill" v-if="item.goodsPicUrl"></image>
|
|
<view class="main">
|
|
<view class="main">
|
|
<view class="name">{{item.goodsTitle}}<text v-if="item.num > 1">×{{item.num}}</text></view>
|
|
<view class="name">{{item.goodsTitle}}<text v-if="item.num > 1">×{{item.num}}</text></view>
|
|
<view class="des">{{item.content}}</view>
|
|
<view class="des">{{item.content}}</view>
|
|
@@ -43,7 +43,9 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="bottom">
|
|
<view class="bottom">
|
|
- <view class="left-location"><text class="iconfont icon-dingwei"></text>{{item.city}} {{item.area}}</view>
|
|
|
|
|
|
+ <view class="left-location">
|
|
|
|
+ <!-- <text class="iconfont icon-dingwei"></text>{{item.city}} {{item.area}} -->
|
|
|
|
+ </view>
|
|
<view class="right-btn" @tap.stop>
|
|
<view class="right-btn" @tap.stop>
|
|
|
|
|
|
<u-button text="联系卖家" shape="circle" @tap="toContact(item.goodsId)"></u-button>
|
|
<u-button text="联系卖家" shape="circle" @tap="toContact(item.goodsId)"></u-button>
|
|
@@ -62,7 +64,7 @@
|
|
<u-button text="确认收货" shape="circle" type="primary" plain @tap="confirmReceipt(item.orderId)"></u-button>
|
|
<u-button text="确认收货" shape="circle" type="primary" plain @tap="confirmReceipt(item.orderId)"></u-button>
|
|
</block>
|
|
</block>
|
|
|
|
|
|
- <block v-if="item.status == 'COMPLETE'">
|
|
|
|
|
|
+ <block v-if="item.status == 'COMPLETE' && item.shareStatus == 'NO'">
|
|
<u-button text="申请售后" shape="circle" @tap="toReturn(item.orderId)"></u-button>
|
|
<u-button text="申请售后" shape="circle" @tap="toReturn(item.orderId)"></u-button>
|
|
</block>
|
|
</block>
|
|
|
|
|
|
@@ -146,11 +148,11 @@
|
|
this.crossPage.$on('reloadMyBuyListPage', () => {
|
|
this.crossPage.$on('reloadMyBuyListPage', () => {
|
|
this.refreshList();
|
|
this.refreshList();
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
this.tabCurrent = tab ? Number(tab) : 0;
|
|
this.tabCurrent = tab ? Number(tab) : 0;
|
|
await this.getList();
|
|
await this.getList();
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
onUnload() {
|
|
onUnload() {
|
|
this.crossPage.$off('reloadMyBuyListPage');
|
|
this.crossPage.$off('reloadMyBuyListPage');
|
|
},
|
|
},
|