|
|
@@ -10,30 +10,32 @@
|
|
|
<view v-else class="phone-video-box master-image">
|
|
|
<!-- <view class="video-player-icon" @click="handlePlayFirst"></view> -->
|
|
|
</view>
|
|
|
- <!-- 播放引导 -->
|
|
|
- <template v-if="kechengFlag">
|
|
|
- <view class="yindao-shadow-image" v-if="!showVideo"> </view>
|
|
|
- </template>
|
|
|
- <!-- 中间区域 -->
|
|
|
- <view class="kc-name-box">
|
|
|
- <icon @click="goUpPage"></icon>
|
|
|
- <view>{{name}}</view>
|
|
|
- </view>
|
|
|
- <view class="kc-info-box">
|
|
|
- <view>时长:{{period}}</view>
|
|
|
- <view>{{userCount}}人学习</view>
|
|
|
- </view>
|
|
|
- <!-- 大纲 -->
|
|
|
- <view class="phone-tab-box">
|
|
|
- <uni-segmented-control :current="current" :values="items" style-type="text" :active-color="activeColor"
|
|
|
- @clickItem="onClickItem" />
|
|
|
- </view>
|
|
|
- <view class="kecheng-content-box">
|
|
|
- <!-- 目录 -->
|
|
|
- <kechengMuluVue v-if="current === 0" :chapterArr="list" @play="handlePlay" :isHasProgress="false"
|
|
|
- :activeKjId="curPlayData&&curPlayData.kjId"></kechengMuluVue>
|
|
|
- <!-- 介绍 -->
|
|
|
- <rich-text :nodes="intro || '暂无内容'" v-if="current === 1 && intro" class="kecheng-jieshao-box"></rich-text>
|
|
|
+ <view class="kecheng-study-body">
|
|
|
+ <!-- 播放引导 -->
|
|
|
+ <template v-if="kechengFlag">
|
|
|
+ <view class="yindao-shadow-image" v-if="!showVideo"> </view>
|
|
|
+ </template>
|
|
|
+ <!-- 中间区域 -->
|
|
|
+ <view class="kc-name-box">
|
|
|
+ <icon @click="goUpPage"></icon>
|
|
|
+ <view>{{name}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="kc-info-box">
|
|
|
+ <view>时长:{{period}}</view>
|
|
|
+ <view>{{userCount}}人学习</view>
|
|
|
+ </view>
|
|
|
+ <!-- 大纲 -->
|
|
|
+ <view class="phone-tab-box">
|
|
|
+ <uni-segmented-control :current="current" :values="items" style-type="text" :active-color="activeColor"
|
|
|
+ @clickItem="onClickItem" />
|
|
|
+ </view>
|
|
|
+ <view class="kecheng-content-box">
|
|
|
+ <!-- 目录 -->
|
|
|
+ <kechengMuluVue v-if="current === 0" :chapterArr="list" @play="handlePlay" :isHasProgress="false"
|
|
|
+ :activeKjId="curPlayData&&curPlayData.kjId"></kechengMuluVue>
|
|
|
+ <!-- 介绍 -->
|
|
|
+ <rich-text :nodes="intro || '暂无内容'" v-if="current === 1 && intro" class="kecheng-jieshao-box"></rich-text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|