Commit 67e3ed41 authored by 潘永坪's avatar 潘永坪

索道购票须知处理

parent 3fee105f
...@@ -35,10 +35,10 @@ ...@@ -35,10 +35,10 @@
</view> </view>
</view> </view>
<!-- 退票规则 --> <!-- 退票规则 -->
<view class="middle-list" style="border-bottom: none;"> <view class="middle-list" style="border-bottom: none;" v-if="buyKnowData.merchantId!='z0015605022691a5945bbe463141668c'">
<view class="middle-title"> <view class="middle-title">
<text v-if="buyKnowData.backChangeRule == 0">不可退换</text> <text v-if="buyKnowData.backChangeRule == 0">不可退换</text>
<text v-if="buyKnowData.backChangeRule == 1">条件退</text> <text v-if="buyKnowData.backChangeRule == 1">条件退</text>
<text v-if="buyKnowData.backChangeRule == 2">随时可退</text> <text v-if="buyKnowData.backChangeRule == 2">随时可退</text>
</view> </view>
<view class="middle-content" v-if="buyKnowData.productRefundRuleVo&&buyKnowData.productRefundRuleVo.refundType== 1"> <view class="middle-content" v-if="buyKnowData.productRefundRuleVo&&buyKnowData.productRefundRuleVo.refundType== 1">
......
...@@ -55,11 +55,16 @@ ...@@ -55,11 +55,16 @@
<view class="product-price"> <view class="product-price">
<view style="font-size: 24rpx;display: flex;"> <view style="font-size: 24rpx;display: flex;">
<text class="product-rule" v-if="items.productRefundRuleVo"> <text class="product-rule" v-if="items.productRefundRuleVo">
<text v-if="items.productRefundRuleVo.refundType == 0">不可退</text> <!-- 索道写死 -->
<text v-if="items.productRefundRuleVo.refundType == 1">条件退</text> <text v-if="item.id== 'z0015605022691a5945bbe463141668c'">
<text v-if="items.productRefundRuleVo.refundType == 2">随时可退</text> 条件退
</text>
<template v-else>
<text v-if="items.productRefundRuleVo.refundType == 0">不可退</text>
<text v-if="items.productRefundRuleVo.refundType == 1">条件退</text>
<text v-if="items.productRefundRuleVo.refundType == 2">随时可退</text>
</template>
</text> </text>
<text class="product-rule"> 无需取票 </text> <text class="product-rule"> 无需取票 </text>
<text @click.stop="showBuyKnow(items)">购买须知</text> <text @click.stop="showBuyKnow(items)">购买须知</text>
<u-icon name="arrow-right" size='26' color='#B4B4B4'></u-icon> <u-icon name="arrow-right" size='26' color='#B4B4B4'></u-icon>
......
...@@ -55,11 +55,16 @@ ...@@ -55,11 +55,16 @@
<view class="product-price"> <view class="product-price">
<view style="font-size: 24rpx;display: flex;"> <view style="font-size: 24rpx;display: flex;">
<text class="product-rule" v-if="items.productRefundRuleVo"> <text class="product-rule" v-if="items.productRefundRuleVo">
<text v-if="items.productRefundRuleVo.refundType == 0">不可退</text> <!-- 索道写死 -->
<text v-if="items.productRefundRuleVo.refundType == 1">条件退</text> <text v-if="item.id=='z0015605022691a5945bbe463141668c'">
<text v-if="items.productRefundRuleVo.refundType == 2">随时可退</text> 条件退
</text>
<template v-else>
<text v-if="items.productRefundRuleVo.refundType == 0">不可退</text>
<text v-if="items.productRefundRuleVo.refundType == 1">条件退</text>
<text v-if="items.productRefundRuleVo.refundType == 2">随时可退</text>
</template>
</text> </text>
<text class="product-rule"> 无需取票 </text> <text class="product-rule"> 无需取票 </text>
<text @click.stop="showBuyKnow(items)">购买须知</text> <text @click.stop="showBuyKnow(items)">购买须知</text>
<u-icon name="arrow-right" size='26' color='#B4B4B4'></u-icon> <u-icon name="arrow-right" size='26' color='#B4B4B4'></u-icon>
......
...@@ -17,9 +17,15 @@ ...@@ -17,9 +17,15 @@
<view @click="showBuyKnow(index)" class="buyKnow"> <view @click="showBuyKnow(index)" class="buyKnow">
<view> <view>
<text v-if="item.backChangeRule == 0">不可退换</text> <!-- 索道写死 -->
<text v-if="item.backChangeRule == 1">有条件退</text> <text v-if="item.merchantId=='z0015605022691a5945bbe463141668c'">
<text v-if="item.backChangeRule == 2">随时可退</text> 条件退
</text>
<template v-else>
<text v-if="item.backChangeRule == 0">不可退换</text>
<text v-if="item.backChangeRule == 1">条件退</text>
<text v-if="item.backChangeRule == 2">随时可退</text>
</template>
<text v-if="item.isFetch == 1" style="margin-left: 10rpx;">无需取号</text> <text v-if="item.isFetch == 1" style="margin-left: 10rpx;">无需取号</text>
</view> </view>
<view> <view>
......
...@@ -16,9 +16,16 @@ ...@@ -16,9 +16,16 @@
<view @click="showBuyKnow()" class="buyKnow"> <view @click="showBuyKnow()" class="buyKnow">
<view> <view>
<text v-if="productIfo.backChangeRule == 0">不可退换</text> <!-- 索道写死 -->
<text v-if="productIfo.backChangeRule == 1">有条件退</text> <text v-if="merchantId=='z0015605022691a5945bbe463141668c'">
<text v-if="productIfo.backChangeRule == 2">随时可退</text> 条件退
</text>
<template v-else>
<text v-if="productIfo.backChangeRule == 0">不可退换</text>
<text v-if="productIfo.backChangeRule == 1">条件退</text>
<text v-if="productIfo.backChangeRule == 2">随时可退</text>
</template>
<text v-if="productIfo.isFetch == 1" style="margin-left: 10rpx;">无需取号</text> <text v-if="productIfo.isFetch == 1" style="margin-left: 10rpx;">无需取号</text>
</view> </view>
<view> <view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment