Commit 4ebdb6b8 by 陈超

A

parent 8de60508
......@@ -44,7 +44,7 @@
</div>
<div class="class_right layout_center">
<div v-if="item.price > 0" class="button_orange layout_center">¥{{item.price}}</div>
<div v-if="item.price == 0" class="button_green layout_center">开始做题</div>
<div @click="startDo(item)" v-if="item.price == 0" class="button_green layout_center">开始做题</div>
</div>
</div>
<span style="margin-top: 35vh;" v-if="zhenti.length == 0" class="text_14_400 color_999999 self_center">没有找到!</span>
......@@ -218,10 +218,21 @@
}
}
},
methods: {
methods: {
onChange: function(tab) {
},
},
startDo: function(item) {
let url = "{:U('exam/Index/exam')}"
window.location.href = url.replace(/\[.*?\]/g, item.id)
},
onPay: function(item) {
},
onTopTab: function(tab) {
if(this.tab == 0) {
this.loadZhenti()
......
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