|
@@ -4,7 +4,7 @@
|
|
|
<view class="ezy-study-wrap" @touchstart="onTouchStart" @touchend="onTouchEnd">
|
|
|
<view @click="handleCheckCatalogue" class="chapter-title-box">{{options.zhangName}}</view>
|
|
|
<!-- 动物类型 -->
|
|
|
- <view :class="currentGrowth()"></view>
|
|
|
+ <view v-if="growthType" :class="currentGrowth()"></view>
|
|
|
<view>
|
|
|
<!-- 小岛 -->
|
|
|
<view class="brand-item" v-for="(item, index) in options.jieList" :key="item.jieId"
|
|
@@ -54,8 +54,9 @@
|
|
|
onShow
|
|
|
} from '@dcloudio/uni-app';
|
|
|
const growthType = ref(null);
|
|
|
- onShow(() => growthType.value = cacheManager.get('auth').growthType)
|
|
|
-
|
|
|
+ onShow(() => {
|
|
|
+ growthType.value = cacheManager.get('auth')?cacheManager.get('auth').growthType:null
|
|
|
+ })
|
|
|
const $emit = defineEmits(['clickGradeTerm', 'onLeft', 'onRight', 'handleCheckCatalogue', 'listClick'])
|
|
|
const props = defineProps({
|
|
|
options: {
|