Commit 06fba459 by 冷斌

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	apps/course/Tpl/default/Video/view_w3g.html
parents 2d3ae921 6cc76506
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<div class="layout_v"> <div class="layout_v">
<van-sticky> <van-sticky>
<div class="course_detail_video_container"> <div class="course_detail_video_container">
</div> </div>
</van-sticky> </van-sticky>
</div> </div>
...@@ -25,9 +25,9 @@ ...@@ -25,9 +25,9 @@
<div class="fixed_bottom_bar"> <div class="fixed_bottom_bar">
<div class="layout_v"> <div class="layout_v">
<template v-if="bought"> <template v-if="bought">
</template> </template>
<template v-else> <template v-else>
<span class="text_14_600 color_FF3B3B"> <span class="text_14_600 color_FF3B3B">
<php> if($mybuy or $data['is_buy'] or $data['is_charge'] or $data['mz_price']['price'] == 0) { </php> <php> if($mybuy or $data['is_buy'] or $data['is_charge'] or $data['mz_price']['price'] == 0) { </php>
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</div> </div>
</div> </div>
<div class="body"> <div class="body">
<div class="classtop"> <div class="classtop">
<div class="img-box"> <div class="img-box">
<img src="{:getCover($data['cover'] ,580 , 320 )}" alt="" /> <img src="{:getCover($data['cover'] ,580 , 320 )}" alt="" />
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<p class="shareP">分享</p> <p class="shareP">分享</p>
</i> </i>
</div> </div>
<php>if($course_event){</php><include file="./event_w3g" /><php>}</php> <php>if($course_event){</php><include file="./event_w3g" /><php>}</php>
<div class="info"> <div class="info">
<div class="newbanben"> <div class="newbanben">
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</div> </div>
</div> </div>
<php>}</php> <php>}</php>
<div class="newbanben-info"> <div class="newbanben-info">
<p class="newbb-renshu"> <p class="newbb-renshu">
<span>{$data['video_order_count']}</span>人在学 <span>{$data['video_order_count']}</span>人在学
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
<php>if($vo1['is_free'] == 1){</php> <php>if($vo1['is_free'] == 1){</php>
<div class="mone"><p class="page1">免费</p></div> <div class="mone"><p class="page1">免费</p></div>
<php>}</php> <php>}</php>
<if condition="$data['is_order'] eq 1 and $vo1['lock'] neq 1"> <if condition="$data['is_order'] eq 1 and $vo1['lock'] neq 1">
<img src="__APP__/icon/lock.png" class="h5key"> <img src="__APP__/icon/lock.png" class="h5key">
</if> </if>
...@@ -324,7 +324,8 @@ ...@@ -324,7 +324,8 @@
} }
}, },
created:function(){ created:function(){
console.log("{$data}") let c = "{$video_title}";
console.log(c)
}, },
computed: { computed: {
shareIcon: function() { shareIcon: function() {
...@@ -643,7 +644,7 @@ ...@@ -643,7 +644,7 @@
if (data.status == 1) { if (data.status == 1) {
var url = ''; var url = '';
var pay_url = "{$pay_url}"; var pay_url = "{$pay_url}";
if(asb == 0){ if(asb == 0){
url = "{:U('course/PayVideo/index',['vst'=>$pay_url, 'asb'=>$jmasb['one']])}"; url = "{:U('course/PayVideo/index',['vst'=>$pay_url, 'asb'=>$jmasb['one']])}";
}else if(asb == 1){ }else if(asb == 1){
...@@ -680,10 +681,10 @@ ...@@ -680,10 +681,10 @@
}); });
return false; return false;
} }
} }
function shijian2(){ function shijian2(){
console.log('HHH') console.log('HHH')
} }
function setFollow(uid, follow) { function setFollow(uid, follow) {
if (mid <= 0) { if (mid <= 0) {
ui.confirm('请先登录', { ui.confirm('请先登录', {
...@@ -904,7 +905,7 @@ ...@@ -904,7 +905,7 @@
noSwipingSelector: '.swiper-slide', noSwipingSelector: '.swiper-slide',
preventInteractionOnTransition : false preventInteractionOnTransition : false
}); });
</script> </script>
<script type="text/javascript" src="__THEME__/js/lazyload.js"></script> <script type="text/javascript" src="__THEME__/js/lazyload.js"></script>
......
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