Commit f5357efd by 冷斌

fix bug

parent 017d4924
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<span class="text_14_600 color_FF3B3B">¥{{item['pay_price']}}</span> <span class="text_14_600 color_FF3B3B">¥{{item['pay_price']}}</span>
</div> </div>
<div class="layout_h_r"> <div class="layout_h_r">
<div v-if="showSolid(index)" @click="onPay(item, 2, listItem(opt))" class="order_action_solid self_center" <div v-if="showSolid(index)" @click="onPay(item, 2, 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, 'exams')" class="order_action_hollow self_center"> <div v-if="showHollow(index)" @click="onCancel(item, 'exams')" class="order_action_hollow self_center">
...@@ -223,7 +223,7 @@ ...@@ -223,7 +223,7 @@
return true; return true;
}, },
onPay: function (item, type, i) { onPay: function (item, type, i) {
console.log(i); console.log(i, this.listItem(opt));
return false; return false;
if (!this.isLogin()) { if (!this.isLogin()) {
return false; return false;
......
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