Commit fc866513 by 冷斌

设置

parent 40ccf661
<include file="__THEME__/public_header_w3g" /> <include file="__THEME__/public_header_w3g" />
<style> <style>
body { body {
padding: 0 !important; padding: 0 !important;
} }
.van-collapse-item__content { .van-collapse-item__content {
padding: 0 !important; padding: 0 !important;
} }
</style> </style>
<div id="app"> <div id="app">
<div class="layout_v" style="padding-bottom: 5rem;"> <div class="layout_v" style="padding-bottom: 5rem;">
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
<div class="course_detail_video_container" > <div class="course_detail_video_container" >
<van-image height="100%" width="100%" src="{:getCover($data['cover'] ,580 , 320 )}" fit="cover" ></van-image> <van-image height="100%" width="100%" src="{:getCover($data['cover'] ,580 , 320 )}" fit="cover" ></van-image>
</div> </div>
<van-tabs <van-tabs
:line-width="24" :line-width="24"
:line-height="4" :line-height="4"
color="#A3E460" color="#A3E460"
title-active-color="#333333" title-active-color="#333333"
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<div v-if="tab == 0" class="layout_v"> <div v-if="tab == 0" class="layout_v">
<div class="layout_v" style="padding: 0.75rem;padding-bottom: 0.5rem;"> <div class="layout_v" style="padding: 0.75rem;padding-bottom: 0.5rem;">
<span class="text_18_600 color_333333">{{courseName}}</span> <span class="text_18_600 color_333333">{{courseName}}</span>
<span style="margin-top: 0.5rem;" class="text_12_400 color_999999">总{$video_count}课时</span> <span style="margin-top: 0.5rem;" class="text_12_400 color_999999">总{$data.video_intro}课时</span>
</div> </div>
<div class="normal_gap"></div> <div class="normal_gap"></div>
<div v-html="courseIntro"></div> <div v-html="courseIntro"></div>
...@@ -62,11 +62,11 @@ ...@@ -62,11 +62,11 @@
</div> </div>
</div> </div>
<div class="fixed_bottom_bar layout_h_v_c"> <div class="fixed_bottom_bar layout_h_v_c">
<template v-if="bought"> <template v-if="bought">
<div class="vip_buy_pay_button_disable layout_center weight_full"><span class="text_14_400 color_white">已购买</span></div> <div class="vip_buy_pay_button_disable layout_center weight_full"><span class="text_14_400 color_white">已购买</span></div>
</template> </template>
<template v-else> <template v-else>
<div class="layout_v"> <div class="layout_v">
<span class="text_14_600 color_FF3B3B"> <span class="text_14_600 color_FF3B3B">
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
<span style="margin-right: 0.75rem;" class="text_12_400 color_999999 self_center">{{personCount}}</span> <span style="margin-right: 0.75rem;" class="text_12_400 color_999999 self_center">{{personCount}}</span>
</div> </div>
</template> </template>
</div> </div>
</div> </div>
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
} }
}, },
onTapCourse: function(child, item) { onTapCourse: function(child, item) {
}, },
//Action //Action
onLogin: function() { onLogin: function() {
...@@ -209,7 +209,7 @@ ...@@ -209,7 +209,7 @@
let index = 0 let index = 0
for(let i in child) { for(let i in child) {
if(i == idx) { if(i == idx) {
index = count index = count
} }
count += 1 count += 1
} }
......
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