|
|
@@ -23,7 +23,7 @@
|
|
|
<progress :percent="curProcess" class="xx-progress" stroke-width="20"
|
|
|
backgroundColor="#3c7dfd" activeColor="#ffd11c" />
|
|
|
</view>
|
|
|
- <view class="jxxx-btn" @click="handlePlay(banbenInfo,'jixu')"></view>
|
|
|
+ <ezyActiveVue class="ezy-btn-active jxxx-btn" @aclick="handlePlay(banbenInfo,'jixu')"></ezyActiveVue>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -31,7 +31,7 @@
|
|
|
<view class="xx-item-title">— 以下为当前等级课程目录 —</view>
|
|
|
<view v-for="(danyuanItem,index) in danyuanList" :key="danyuanItem.danyuanId">
|
|
|
<!-- 第一单元 v-if="index ==0"-->
|
|
|
- <view class="item-dy-box" @click="handleClickDanyuan" :id="`unit-title-${danyuanItem.danyuanId}`">
|
|
|
+ <ezyActiveVue class="ezy-list-item-active item-dy-box" @aclick="handleClickDanyuan" :id="`unit-title-${danyuanItem.danyuanId}`">
|
|
|
<view class="dy-left-box">L{{banbenInfo.dengjiId}}</view>
|
|
|
<view class="dy-right-box">
|
|
|
<view class="right-content">
|
|
|
@@ -39,15 +39,15 @@
|
|
|
<view>{{danyuanItem.danyuanIntro}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </ezyActiveVue>
|
|
|
<!-- 其他单元 -->
|
|
|
<!-- <view v-if="index !=0" class="xx-item-title" :id="`unit-title-${danyuanItem.danyuanId}`">— {{danyuanItem.danyuanName}}
|
|
|
{{danyuanItem.danyuanIntro}} —
|
|
|
</view> -->
|
|
|
|
|
|
|
|
|
- <view class="xx-item-box" v-for="jieItem in danyuanItem.jieList" :key="jieItem.jieId"
|
|
|
- @click="handlePlay(jieItem,'play')">
|
|
|
+ <ezyActiveVue class="ezy-list-item-active xx-item-box" v-for="jieItem in danyuanItem.jieList" :key="jieItem.jieId"
|
|
|
+ @aclick="handlePlay(jieItem,'play')">
|
|
|
<view class="xx-item-status"
|
|
|
:class="jieItem.wanchengFlag == 1 ? 'completed-status' : 'uncompleted-status'">
|
|
|
</view>
|
|
|
@@ -57,7 +57,7 @@
|
|
|
<view>{{ jieItem.jieIntro }}</view>
|
|
|
</view>
|
|
|
<view class="xx-item-btn"></view>
|
|
|
- </view>
|
|
|
+ </ezyActiveVue>
|
|
|
|
|
|
|
|
|
</view>
|
|
|
@@ -78,6 +78,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+ import ezyActiveVue from "@/components/ezyActive/ezyActive.vue";
|
|
|
import CustomTabBar from '@/components/custom-tabbar/index.vue';
|
|
|
import cacheManager from "@/utils/cacheManager.js";
|
|
|
import {
|
|
|
@@ -123,7 +124,8 @@
|
|
|
},
|
|
|
components: {
|
|
|
CustomTabBar,
|
|
|
- danyuanInfoVue
|
|
|
+ danyuanInfoVue,
|
|
|
+ ezyActiveVue
|
|
|
},
|
|
|
onShow() {
|
|
|
this.currentTabIndex = 1
|