Browse Source

修改订单详情页面按钮样式

master
liutong 1 year ago
parent
commit
886ab5c918
  1. 41
      page_goods/orderDetail/orderDetail.vue

41
page_goods/orderDetail/orderDetail.vue

@ -570,23 +570,30 @@
</view> </view>
<view class="order-action fixed-bottom bottom-safe-area" v-if="orderData.action.length > 0 || isOrderPayShow"> <view class="order-action fixed-bottom bottom-safe-area" v-if="orderData.action.length > 0 || isOrderPayShow">
<view class="order-box-btn white" <view style="display: flex;flex-wrap: wrap;justify-content:flex-end;margin: 0 auto; box-sizing: border-box;gap: 25rpx;">
v-if="evaluateConfig.evaluate_status == 1 && orderData.is_evaluate == 1" <view class="order-box-btn white"
@click="operation('memberOrderEvaluation')"> style="margin: 0;"
<text v-if="orderData.evaluate_status == 0">评价</text> v-if="evaluateConfig.evaluate_status == 1 && orderData.is_evaluate == 1"
<text v-else-if="orderData.evaluate_status == 1">追评</text> @click="operation('memberOrderEvaluation')">
</view> <text v-if="orderData.evaluate_status == 0">评价</text>
<view v-if="isShowRefund" class="order-box-btn" <text v-else-if="orderData.evaluate_status == 1">追评</text>
:class="{ 'color-base-border color-base-text': operationItem.action == 'orderPay' }" </view>
v-for="(operationItem, operationIndex) in orderData.action" :key="operationIndex" <!--是否展示自定义支付按钮-->
@click="operation(operationItem.action)">
{{ operationItem.title }} <view v-if="isShowRefund" class="order-box-btn"
</view> style="margin: 0;"
<!--是否展示自定义支付按钮--> :class="{ 'color-base-border color-base-text': operationItem.action == 'orderPay' }"
<view v-if="isOrderPayShow" v-for="(operationItem, operationIndex) in orderData.action" :key="operationIndex"
class="order-box-btn color-base-border color-base-text" @click="operation(operationItem.action)">
@click="operation('orderPay')"> {{ operationItem.title }}
支付 </view>
<view v-if="isOrderPayShow"
style="margin: 0;"
class="order-box-btn color-base-border color-base-text"
@click="operation('orderPay')">
支付
</view>
</view> </view>
</view> </view>

Loading…
Cancel
Save