Commit 9f12295b by 邹林东

修改跳转

parent b5fe08e7
......@@ -53,7 +53,7 @@
</div>
<div class="normal_gap"></div>
<van-collapse :border="false" v-model="collapsed">
<van-collapse-item :border="false" v-for="(item, index) in section" :key="index" title-class="text_16_600 color_333333" :title="item.title" :name="item.id">
<div @click="onTapCourse(child, item)" v-for="(child, idx) in item.child" :key="idx" class="course_each layout_v">
<div class="layout_h" style="margin-left: 0.75rem;margin-right: 0.75rem;">
......@@ -69,14 +69,14 @@
</van-collapse>
</div>
</div>
<!-- 底部 -->
<div class="fixed_bottom_bar layout_h_v_c">
<template v-if="bought">
<div class="vip_buy_pay_button_disable layout_center weight_full"><span class="text_14_400 color_white">已购买</span></div>
</template>
<template v-else>
<div class="layout_v">
<span class="text_14_600 color_FF3B3B">
......@@ -257,6 +257,9 @@
url = url.replace('[s_id]', child.id);
window.location.href = url;
}
else {
window.location.href = "{:U('classroom/Pay/rechargeVip')}"
}
}
},
childStyle: 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