Feat(订单列表):待收货提示文案,修改地址(功能尉氏县,缺接口)
This commit is contained in:
@@ -117,7 +117,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<view class="v12-justify-between" style="width: 100%">
|
<view class="v12-justify-between" style="width: 100%">
|
||||||
<view class="bnt service" @click="goRoom(order)" v-if="order.merName">联系商家</view>
|
<view class="bnt service" @click="goRoom(order)" v-if="order.merName && order._status._type != 0">联系商家</view>
|
||||||
<view class="v12-justify-between">
|
<view class="v12-justify-between">
|
||||||
<view class="bnt service" @click="goOrderDetails(order)" v-if="['-1','-2','-3'].includes(order._status._type)">查看详情</view>
|
<view class="bnt service" @click="goOrderDetails(order)" v-if="['-1','-2','-3'].includes(order._status._type)">查看详情</view>
|
||||||
<view class="bnt v12-primary-text v12-primary-border" @click="takeOrder(order)" v-if="['-2','-3'].includes(order._status._type)">确认收货</view>
|
<view class="bnt v12-primary-text v12-primary-border" @click="takeOrder(order)" v-if="['-2','-3'].includes(order._status._type)">确认收货</view>
|
||||||
@@ -128,7 +128,8 @@
|
|||||||
|
|
||||||
<view class="flex">
|
<view class="flex">
|
||||||
<template v-if="order._status._type == 0">
|
<template v-if="order._status._type == 0">
|
||||||
<view class="bnt cancelBnt " @click="cancelOrder(order)">取消订单</view>
|
<view class="bnt cancelBnt v12-dark-text v12-dark-border" @click="cancelOrder(order)">取消订单</view>
|
||||||
|
<!-- <view class="bnt cancelBnt v12-dark-text v12-dark-border" @click="addressTap()">修改地址</view> -->
|
||||||
<view class="bnt bg-color-lightred v12-white v12-primary-text v12-primary-border v12-radius-40" @click="goOrderDetails(order)">立即付款</view>
|
<view class="bnt bg-color-lightred v12-white v12-primary-text v12-primary-border v12-radius-40" @click="goOrderDetails(order)">立即付款</view>
|
||||||
</template>
|
</template>
|
||||||
<template v-if="(order._status._type == 1 || order._status._type == 9) && order.isTickets==0">
|
<template v-if="(order._status._type == 1 || order._status._type == 9) && order.isTickets==0">
|
||||||
@@ -152,6 +153,9 @@
|
|||||||
</template>
|
</template>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="v12-px-3 v12-pb-4" v-if="order._status._type == 1">
|
||||||
|
<view class="v12-font-22 v12-secondary-dark-text order-tips">商家已接收您的订单,支付成功后预计48/72小时内发货</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@@ -244,6 +248,14 @@ export default {
|
|||||||
this.loading = false;
|
this.loading = false;
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
addressTap() {
|
||||||
|
this.$yrouter.push({
|
||||||
|
path: "/pages/user/address/AddressManagement/index",
|
||||||
|
query: {
|
||||||
|
choosMode: 1
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
force2Decimal(v) {
|
force2Decimal(v) {
|
||||||
return this.$force2Decimal(v);
|
return this.$force2Decimal(v);
|
||||||
},
|
},
|
||||||
@@ -504,6 +516,13 @@ export default {
|
|||||||
page {
|
page {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
.order-tips{
|
||||||
|
height: 44rpx;
|
||||||
|
background: rgba(0,0,0,0.05);
|
||||||
|
border-radius: 40rpx;
|
||||||
|
padding: 5rpx 24rpx;
|
||||||
|
line-height: 44rpx;
|
||||||
|
}
|
||||||
.m-tab-warp{
|
.m-tab-warp{
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user