|
|
@@ -3,7 +3,7 @@
|
|
|
<view class="icon-title-navBar-box">
|
|
|
<text class="nav-bar-title">学习</text>
|
|
|
</view>
|
|
|
- <view class="ezy-page-body xuexi-page-body">
|
|
|
+ <view v-if="existData" class="ezy-page-body xuexi-page-body">
|
|
|
<view class="xxjl-card-box">
|
|
|
<!-- 显示内容 -->
|
|
|
<view class="card-body-box">
|
|
|
@@ -53,6 +53,9 @@
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
+ <view v-if="!existData">
|
|
|
+
|
|
|
+ </view>
|
|
|
<danyuanInfoVue ref="dyRef" v-if="isShow" @close="isShow= false"></danyuanInfoVue>
|
|
|
<custom-tab-bar :show="true" :current-index="currentTabIndex" />
|
|
|
<!-- 回到顶部 -->
|
|
|
@@ -93,7 +96,8 @@
|
|
|
currentTabIndex: 1,
|
|
|
cacheManagerLocal: null,
|
|
|
hasCache: false, // 是否有缓存的标志
|
|
|
- needRefresh: false // 是否需要刷新数据的标志
|
|
|
+ needRefresh: false ,// 是否需要刷新数据的标志
|
|
|
+ existData:true
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
|
@@ -192,6 +196,9 @@
|
|
|
this.curProcess = res.data.curProcess;
|
|
|
this.danyuanList = res.data.danyuanList || [];
|
|
|
|
|
|
+ if(!this.danyuanList){
|
|
|
+ this.existData = false
|
|
|
+ }
|
|
|
// 保存到缓存(新增了参数保存)
|
|
|
const cacheData = {
|
|
|
...res.data,
|