|
|
@@ -19,7 +19,7 @@
|
|
|
<view class="xx-progress-btn-box">
|
|
|
<view class="xx-progress-box">
|
|
|
<view>当前学习进度</view>
|
|
|
- <progress :percent="20" class="xx-progress" stroke-width="10" backgroundColor="#3c7dfd"
|
|
|
+ <progress :percent="curProcess" class="xx-progress" stroke-width="10" backgroundColor="#3c7dfd"
|
|
|
activeColor="#ffd11c" />
|
|
|
</view>
|
|
|
<view class="jxxx-btn" @click="handlePlay(danyuanInfo,'jixu')"></view>
|
|
|
@@ -87,6 +87,7 @@
|
|
|
nextDanyuanId: '',
|
|
|
dengjiId: '',
|
|
|
customType: '',
|
|
|
+ curProcess: '',
|
|
|
cacheManagerLocal: null
|
|
|
|
|
|
|
|
|
@@ -126,6 +127,7 @@
|
|
|
this.cacheManagerLocal = cacheManager.get('xuexi-' + this.chanpinId)
|
|
|
// 使用缓存
|
|
|
this.danyuanInfo = this.cacheManagerLocal
|
|
|
+ this.curProcess = this.cacheManagerLocal.curProcess
|
|
|
this.fontDanyuanId = this.cacheManagerLocal.fontDanyuanId
|
|
|
this.nextDanyuanId = this.cacheManagerLocal.nextDanyuanId
|
|
|
this.dagangList = this.cacheManagerLocal.dagangList || []
|
|
|
@@ -153,6 +155,7 @@
|
|
|
}
|
|
|
shuxueChanpinDanyuanInfo(req).then(res => {
|
|
|
this.danyuanInfo = res.data
|
|
|
+ this.curProcess = res.data.curProcess
|
|
|
this.fontDanyuanId = res.data.fontDanyuanId
|
|
|
this.nextDanyuanId = res.data.nextDanyuanId
|
|
|
this.dagangList = res.data.dagangList || []
|