Commit 5ac9dde3 by 冷斌

fix bug

parent f7b0aa59
...@@ -38,20 +38,20 @@ ...@@ -38,20 +38,20 @@
<van-image height="72" width="128" fit="cover" :src="showImage(item)"></van-image> <van-image height="72" width="128" fit="cover" :src="showImage(item)"></van-image>
<div class="layout_v_b weight_full" style="margin-left: 0.75rem;"> <div class="layout_v_b weight_full" style="margin-left: 0.75rem;">
<span class="text_14_600 color_333333">{{item['video_name']}}</span> <span class="text_14_600 color_333333">{{item['video_name']}}</span>
<span class="text_14_600 color_FF3B3B">¥{{item['price']}}</span> <span class="text_14_600 color_FF3B3B">¥{{item['old_price']}}</span>
</div> </div>
</div> </div>
<div class="divider" style="margin-top: 1rem;"></div> <div class="divider" style="margin-top: 1rem;"></div>
<div class="order_action_bar layout_h_b"> <div class="order_action_bar layout_h_b">
<div class="weight_full layout_h self_center"> <div class="weight_full layout_h self_center">
<span class="text_12_400 color_333333">应付款:</span> <span class="text_12_400 color_333333">应付款:</span>
<span class="text_14_600 color_FF3B3B">¥100</span> <span class="text_14_600 color_FF3B3B">¥{{item['price']}}</span>
</div> </div>
<div class="layout_h_r"> <div class="layout_h_r">
<div class="order_action_solid self_center" <div v-if="showSolid(index)" @click="onPay(item, opt)" class="order_action_solid self_center"
style="margin-left: 0.75rem;">去支付 style="margin-left: 0.75rem;">去支付
</div> </div>
<div v-if="showHollow(index)" class="order_action_hollow self_center"> <div v-if="showHollow(index)" @click="onCancel(item, opt)" class="order_action_hollow self_center">
{{hollowText(index)}} {{hollowText(index)}}
</div> </div>
</div> </div>
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
<div class="order_action_bar layout_h_b"> <div class="order_action_bar layout_h_b">
<div class="weight_full layout_h self_center"> <div class="weight_full layout_h self_center">
<span class="text_12_400 color_333333">应付款:</span> <span class="text_12_400 color_333333">应付款:</span>
<span class="text_14_600 color_FF3B3B">¥{{item['pay_price']}}</span> <span class="text_14_600 color_FF3B3B">¥{{item['price']}}</span>
</div> </div>
<div class="layout_h_r"> <div class="layout_h_r">
<div v-if="showSolid(index)" @click="onPay(item, opt)" class="order_action_solid self_center" <div v-if="showSolid(index)" @click="onPay(item, opt)" class="order_action_solid self_center"
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
computed: { computed: {
showHollow: function () { showHollow: function () {
return function (index) { return function (index) {
return index != 1 && index != 2 return index != 0
} }
}, },
showSolid: function () { showSolid: function () {
......
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