tianyi 1 week ago
parent
commit
eb8a1fb2ca
  1. 2
      package1/myCenter/shopOrderList.vue
  2. 42
      package1/order/returnOrder.vue

2
package1/myCenter/shopOrderList.vue

@ -35,7 +35,7 @@
</view> </view>
<view style="height: 120rpx;padding-top: 20rpx;"> <view style="height: 120rpx;padding-top: 20rpx;">
<view style="height: 50rpx;line-height: 50rpx;font-size: 28rpx;font-weight: 700;"> <view style="height: 50rpx;line-height: 50rpx;font-size: 28rpx;font-weight: 700;">
商品 <text><text>1</text></text> 商品 <text><text>1</text></text> <text style="color: red;">已出餐</text>
</view> </view>
<view style="display: flex;"> <view style="display: flex;">
<view style="flex: 1;"> <view style="flex: 1;">

42
package1/order/returnOrder.vue

@ -171,8 +171,7 @@
{{orderDetail.deliveryInfo.finishTime ? orderDetail.deliveryInfo.finishTime : '尽快送达' | formatTime}} {{orderDetail.deliveryInfo.finishTime ? orderDetail.deliveryInfo.finishTime : '尽快送达' | formatTime}}
</view> </view>
</view> </view>
<view class="pintuan2" <view class="btn"
style="width: 100%; border-radius: 100rpx;"
@tap.stop=""> @tap.stop="">
申请售后{{allReturnPrice}} 申请售后{{allReturnPrice}}
</view> </view>
@ -190,8 +189,25 @@
<view class="car-title"> <view class="car-title">
选择退款原因 选择退款原因
</view> </view>
<view class="">
<view class="">
只退商品
<radio :checked="sellTime==0" name="sellTime" @click="checkSellTime(0)" />
</view>
<view class="">
退配送费
<radio :checked="sellTime==1" name="sellTime" @click="checkSellTime(1)" />
</view>
<view class="">
全额退款商家原因
<radio :checked="sellTime==2" name="sellTime" @click="checkSellTime(2)" />
</view>
<view class="">
全额退款配送员原因
<radio :checked="sellTime==3" name="sellTime" @click="checkSellTime(3)" />
</view>
</view>
<view class="btn">确认</view>
</view> </view>
</uni-popup> </uni-popup>
@ -213,6 +229,7 @@
export default { export default {
data() { data() {
return { return {
sellTime:0,
pintuan:false, pintuan:false,
menuButtonInfo: {}, menuButtonInfo: {},
orderId:'', orderId:'',
@ -278,9 +295,12 @@
}, },
onShow() { onShow() {
this.menuButtonInfo = uni.getMenuButtonBoundingClientRect() this.menuButtonInfo = uni.getMenuButtonBoundingClientRect()
this.$refs.carPopup.open(); this.$refs.carPopup.open('bottom');
}, },
methods: { methods: {
checkSellTime(type){
this.sellTime = type;
},
openCode(){ openCode(){
this.$refs.imgPopup.open() this.$refs.imgPopup.open()
}, },
@ -693,6 +713,7 @@
.car-content { .car-content {
position: relative; position: relative;
height: auto; height: auto;
background: #fff;
max-height: 1200rpx; max-height: 1200rpx;
width: 100%; width: 100%;
border-top-left-radius: 20rpx; border-top-left-radius: 20rpx;
@ -716,4 +737,15 @@
font-size: 28rpx; font-size: 28rpx;
font-weight: 700; font-weight: 700;
} }
.btn {
width: 95%;
height: 100rpx;
font-size: 32rpx;
font-weight: 700;
background: linear-gradient(90deg, rgba(227, 255, 150, 1), rgba(166, 255, 234, 1));
border-radius: 100rpx;
line-height: 100rpx;
text-align: center;
margin: 40rpx auto;
}
</style> </style>
Loading…
Cancel
Save