浏览代码

update bug调整

wangxy 3 月之前
父节点
当前提交
2c0bba7bab
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pages/newEnglish/components/xuePage.vue

+ 2 - 2
pages/newEnglish/components/xuePage.vue

@@ -24,11 +24,11 @@
 			<!-- 详解触发 -->
 			<view @click="goXiangjie" class="details-btn">详解 ></view>
 			<!-- 音标拆分区 -->
-			<view v-if="data.isPindu" class="word-block-box yb-block-box">
+			<view v-show="data.isPindu" class="word-block-box yb-block-box">
 				<!-- pindu -->
 				<audioThreeVue v-for="(item,index) in activeWord.pindu" :key="index" :YItem="item" @play-audio="handlePlay"></audioThreeVue>
 			</view>
-			<view v-else class="yj-block-box">
+			<view  v-show="!data.isPindu" class="yj-block-box">
 				<!-- yinjie -->
 				<audioFourVue v-for="(item,index) in activeWord.yinjie" :key="index" :YItem="item" @play-audio="handlePlay"></audioFourVue>
 			</view>