Commit 4cee072a by 冷斌

fix bug

parent 1b47ce53
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<span class="text_14_600 color_FF3B3B">¥{{item['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()" @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)" @click="onCancel(item, opt)" class="order_action_hollow self_center"> <div v-if="showHollow(index)" @click="onCancel(item, opt)" class="order_action_hollow self_center">
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<span class="text_14_600 color_FF3B3B">¥{{item['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()" @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)" @click="onCancel(item, opt)" class="order_action_hollow self_center"> <div v-if="showHollow(index)" @click="onCancel(item, opt)" class="order_action_hollow self_center">
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
}, },
showSolid: function () { showSolid: function () {
return function (index) { return function (index) {
console.log(index); console.log(this.innerTab);
return index == 0 return index == 0
} }
}, },
......
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