소스 검색

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>