Commit 6c1496ef by 陈超

T

parent 46d4659a
......@@ -1227,7 +1227,7 @@ class VideoAction extends CommonAction
$this->assign('learn_record', $learn_record);
$this->assign('learn_record_time', $learn_record_time);
$this->assign('follow', $follow);
$this->assign('video_count', 22);
$this->assign('video_count', $video_count);
$this->assign('switch', model('Xdata')->get('admin_Config:commentSwitch')['course_switch']);
$this->assign("course_qrcode", $this->course_qrcode['is_open']);
// 分销的机构
......
......@@ -21,7 +21,7 @@
<template #title> <span :class="tab == 0">课程介绍</span></template>
<div class="layout_v" style="padding: 0.75rem;">
<span class="text_18_600 color_333333">{{courseName}}</span>
<span style="margin-top: 0.5rem;" class="text_12_400 color_999999"></span>
<span style="margin-top: 0.5rem;" class="text_12_400 color_999999">总{$video_count}课时</span>
</div>
</van-tab>
<van-tab>
......@@ -65,7 +65,6 @@
},
created:function(){
this.info = {:json_encode($data)};
console.log("{$video_count}")
console.log(this.info)
},
computed: {
......
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