|
@@ -24,20 +24,20 @@
|
|
|
</view>
|
|
|
<view class="pay-info">总价¥{{getAllPrice()}},实付¥{{orderData.paySum}}</view>
|
|
|
<view class="handle-box" v-if="tabIndex > 1">
|
|
|
- <view size="medium" class="handle-button"
|
|
|
- v-if="tabIndex == 2" @click.stop="handleOrder(1)">取消订单</view>
|
|
|
- <view size="medium" class="handle-button"
|
|
|
- v-if="tabIndex == 2" @click.stop="handleOrder(2)">立即支付</view>
|
|
|
+ <u-button size="medium" :plain="true" type="success" shape="circle" :ripple="true" :hair-line="false" class="handle-button"
|
|
|
+ v-if="tabIndex == 2" @click.stop="handleOrder(1)">取消订单</u-button>
|
|
|
+ <u-button size="medium" :plain="true" type="success" shape="circle" :ripple="true" :hair-line="false" class="handle-button"
|
|
|
+ v-if="tabIndex == 2" @click.stop="handleOrder(2)">立即支付</u-button>
|
|
|
<!-- <u-button size="medium" :plain="true" type="success" shape="circle" :ripple="true" :hair-line="false" class="handle-button"
|
|
|
v-if="tabIndex != 1 && tabIndex != 2" @click.stop="handleOrder(3)">申请售后</u-button> -->
|
|
|
- <view size="medium" class="handle-button"
|
|
|
- v-if="tabIndex == 3 && pickHandle" @click.stop="handleOrder(4)">自助采摘</view>
|
|
|
- <view size="medium" class="handle-button"
|
|
|
- v-if="tabIndex == 4" @click.stop="handleOrder(5)">确认收货</view>
|
|
|
- <view size="medium" class="handle-button"
|
|
|
- v-if="tabIndex == 4" @click.stop="handleOrder(6)">追踪物流</view>
|
|
|
- <view size="medium" class="handle-button"
|
|
|
- v-if="tabIndex == 5 && orderData.evaluateStatus == 1" @click.stop="handleOrder(7)">评价</view>
|
|
|
+ <u-button size="medium" :plain="true" type="success" shape="circle" :ripple="true" :hair-line="false" class="handle-button"
|
|
|
+ v-if="tabIndex == 3 && pickHandle" @click.stop="handleOrder(4)">自助采摘</u-button>
|
|
|
+ <u-button size="medium" :plain="true" type="success" shape="circle" :ripple="true" :hair-line="false" class="handle-button"
|
|
|
+ v-if="tabIndex == 4" @click.stop="handleOrder(5)">确认收货</u-button>
|
|
|
+ <u-button size="medium" :plain="true" type="success" shape="circle" :ripple="true" :hair-line="false" class="handle-button"
|
|
|
+ v-if="tabIndex == 4" @click.stop="handleOrder(6)">追踪物流</u-button>
|
|
|
+ <u-button size="medium" :plain="true" type="success" shape="circle" :ripple="true" :hair-line="false" class="handle-button"
|
|
|
+ v-if="tabIndex == 5 && orderData.evaluateStatus == 1" @click.stop="handleOrder(7)">评价</u-button>
|
|
|
</view>
|
|
|
<u-modal v-model="modalShow" :content="modalContent" @confirm="submitHandle" :async-close="true" :show-cancel-button="true"></u-modal>
|
|
|
<u-top-tips ref="uTips"></u-top-tips>
|
|
@@ -86,7 +86,7 @@
|
|
|
}
|
|
|
},
|
|
|
onReady() {
|
|
|
- this.pickHandle = this.orderData.products.filter(site=> site.productType == 3).length > 0
|
|
|
+ this.pickHandle = this.orderData.products.filter(site => site.productType == 3).length > 0
|
|
|
},
|
|
|
methods: {
|
|
|
// 跳转商铺
|
|
@@ -411,11 +411,6 @@
|
|
|
|
|
|
.handle-button {
|
|
|
height: 30px;
|
|
|
- width: 75px;
|
|
|
- color: #333333 !important;
|
|
|
- border: 1px solid #BFBFBF !important;
|
|
|
- background-color: #FFFFFF !important;
|
|
|
- padding: 0 10px;
|
|
|
margin-left: 8px;
|
|
|
margin-bottom: 10px;
|
|
|
line-height: 28px;
|
|
@@ -423,6 +418,13 @@
|
|
|
box-sizing: border-box;
|
|
|
display: inline-block;
|
|
|
border-radius: 15px;
|
|
|
+
|
|
|
+ /deep/button {
|
|
|
+ padding: 0 12px;
|
|
|
+ border: 1px solid #BFBFBF !important;
|
|
|
+ background-color: #FFFFFF!important;
|
|
|
+ color: #333333 !important;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|