wangfukang 3 weeks ago
parent
commit
70b61efaa3
  1. 13
      package2/group/groupBuySingle.vue
  2. 4
      package2/group/shopEvaluate.vue
  3. 1089
      package2/myCenter/wallet.vue
  4. 21
      package2/shop/afterService.vue

13
package2/group/groupBuySingle.vue

@ -838,6 +838,7 @@
navigatingFromPayPopup: false, navigatingFromPayPopup: false,
freeOrderEffectVisible: false, freeOrderEffectVisible: false,
freeOrderAmount: '0.00', freeOrderAmount: '0.00',
pendingFreeOrderAutoPay: false,
popupPageStyle: '', popupPageStyle: '',
bottomPopupOpenCount: 0 bottomPopupOpenCount: 0
} }
@ -1825,15 +1826,15 @@
this.createdOrderInfo = res.result; this.createdOrderInfo = res.result;
if (res.result.isFreeOrder == 1) { if (res.result.isFreeOrder == 1) {
this.showFreeOrderEffect(res.result); this.showFreeOrderEffect(res.result);
} this.pendingFreeOrderAutoPay = !!autoPay;
this.pendingPaySpecChoices = null; } else if (autoPay) {
if (autoPay) {
this.$nextTick(() => { this.$nextTick(() => {
this.wxPayment(); this.wxPayment();
}); });
} else { } else {
this.$refs.payPopup.open('bottom'); this.$refs.payPopup.open('bottom');
} }
this.pendingPaySpecChoices = null;
if (this.$refs.pintuanPopup) this.$refs.pintuanPopup.close(); if (this.$refs.pintuanPopup) this.$refs.pintuanPopup.close();
} else { } else {
uni.showToast({ uni.showToast({
@ -1859,6 +1860,12 @@
}, },
closeFreeOrderEffect() { closeFreeOrderEffect() {
this.freeOrderEffectVisible = false; this.freeOrderEffectVisible = false;
if (this.pendingFreeOrderAutoPay) {
this.pendingFreeOrderAutoPay = false;
this.$nextTick(() => {
this.wxPayment();
});
}
}, },
addToCart(item, specs) { addToCart(item, specs) {
let specStr = specs ? JSON.stringify(specs) : ''; let specStr = specs ? JSON.stringify(specs) : '';

4
package2/group/shopEvaluate.vue

@ -54,7 +54,7 @@
</view> </view>
</view> </view>
<view class="eval-content"> <view class="eval-content">
<view class="goods-list" v-if="item.goodsList && item.goodsList.length > 0"> <!-- <view class="goods-list" v-if="item.goodsList && item.goodsList.length > 0">
<view class="goods-card" v-for="(goods,goodsIndex) in item.goodsList" :key="goodsIndex"> <view class="goods-card" v-for="(goods,goodsIndex) in item.goodsList" :key="goodsIndex">
<image class="goods-img" :src="goods.productPicture" mode="aspectFill"></image> <image class="goods-img" :src="goods.productPicture" mode="aspectFill"></image>
<view class="goods-info"> <view class="goods-info">
@ -66,7 +66,7 @@
</view> </view>
</view> </view>
</view> </view>
</view> </view> -->
<view style="display: flex;height: 50rpx;line-height: 50rpx;font-size: 24rpx;"> <view style="display: flex;height: 50rpx;line-height: 50rpx;font-size: 24rpx;">
<view style="padding: 12rpx 0 0 10rpx;"> <view style="padding: 12rpx 0 0 10rpx;">

1089
package2/myCenter/wallet.vue

File diff suppressed because it is too large

21
package2/shop/afterService.vue

@ -75,7 +75,7 @@
<view class="contact-btn" @tap.stop="openContactPopup(item)">联系</view> <view class="contact-btn" @tap.stop="openContactPopup(item)">联系</view>
</view> </view>
</view> </view>
<view style="text-align: right;">退款金额: <text style="color:red;font-size: 34rpx;font-weight: 700;">{{item.refundAmount}}</text></view> <view style="text-align: right;">退款/售后金额: <text style="color:red;font-size: 34rpx;font-weight: 700;">{{item.settlementAmount || item.refundAmount}}</text></view>
</view> </view>
</view> </view>
<view style="height: 80rpx;border-top: 1px solid #eee;display: flex;"> <view style="height: 80rpx;border-top: 1px solid #eee;display: flex;">
@ -182,12 +182,12 @@
<text>联系用户</text> <text>联系用户</text>
<text class="contact-popup-phone">{{contactItem.mallOrder.receiverPhone}}</text> <text class="contact-popup-phone">{{contactItem.mallOrder.receiverPhone}}</text>
</view> </view>
<view class="contact-popup-item" v-if="contactItem.mallOrder && contactItem.mallOrder.shopPhone" <view class="contact-popup-item" v-if="contactItem.mallOrder && contactItem.mallOrder.shopPhone && type=='worker'"
@tap="makeCall(contactItem.mallOrder.shopPhone)"> @tap="makeCall(contactItem.mallOrder.shopPhone)">
<text>联系商家</text> <text>联系商家</text>
<text class="contact-popup-phone">{{contactItem.mallOrder.shopPhone}}</text> <text class="contact-popup-phone">{{contactItem.mallOrder.shopPhone}}</text>
</view> </view>
<view class="contact-popup-item" v-if="contactItem.mallOrder && contactItem.mallOrder.deliveryType == 1 && contactItem.mallDeliveryOrder && contactItem.mallDeliveryOrder.workerPhone" <view class="contact-popup-item" v-if="contactItem.mallOrder && contactItem.mallOrder.deliveryType == 1 && contactItem.mallDeliveryOrder && contactItem.mallDeliveryOrder.workerPhone && type!='worker'"
@tap="makeCall(contactItem.mallDeliveryOrder.workerPhone)"> @tap="makeCall(contactItem.mallDeliveryOrder.workerPhone)">
<text>联系配送员</text> <text>联系配送员</text>
<text class="contact-popup-phone">{{contactItem.mallDeliveryOrder.workerPhone}}</text> <text class="contact-popup-phone">{{contactItem.mallDeliveryOrder.workerPhone}}</text>
@ -220,7 +220,8 @@
pageSize:100, pageSize:100,
statusList:[0,3], statusList:[0,3],
startDate:'', startDate:'',
endDate:'' endDate:'',
orderDesc:false
}, },
type:'worker', type:'worker',
mode:'pending', mode:'pending',
@ -289,9 +290,11 @@
if(this.mode == 'record'){ if(this.mode == 'record'){
this.searchCountForm.statusList = [1,2,4,5] this.searchCountForm.statusList = [1,2,4,5]
this.searchCountForm.pageSize = 10 this.searchCountForm.pageSize = 10
this.searchCountForm.orderDesc = true
}else{ }else{
this.searchCountForm.statusList = [0,3] this.searchCountForm.statusList = [0,3]
this.searchCountForm.pageSize = 100 this.searchCountForm.pageSize = 100
this.searchCountForm.orderDesc = false
} }
this.getReturnCount() this.getReturnCount()
}, },
@ -606,20 +609,20 @@
} }
.after-service-fixed-holder { .after-service-fixed-holder {
height: 260rpx; height: 170rpx;
} }
.title { .title {
background: url('https://jewel-shop.oss-cn-beijing.aliyuncs.com/8bc15960c2dc40268e295d6dd23aecce.png') no-repeat; background: url('https://jewel-shop.oss-cn-beijing.aliyuncs.com/8bc15960c2dc40268e295d6dd23aecce.png') no-repeat;
width: 100%; width: 100%;
height: 260rpx; height: 170rpx;
background-size: 100% 100%; background-size: 100% 100%;
} }
.title-sreach { .title-sreach {
width: 100%; width: 100%;
display: flex; display: flex;
height: 200rpx; height: 120rpx;
position: relative; position: relative;
} }
@ -630,14 +633,14 @@
} }
.title-name { .title-name {
padding-top: 110rpx; padding-top: 88rpx;
font-size: 36rpx; font-size: 36rpx;
font-weight: 700; font-weight: 700;
flex: 1; flex: 1;
text-align: center; text-align: center;
} }
.content{ .content{
margin: 20rpx auto 0; margin: 0 auto;
padding-bottom: 60rpx; padding-bottom: 60rpx;
} }
.record-search { .record-search {

Loading…
Cancel
Save