|
@@ -37,37 +37,33 @@
|
|
|
<view class="change-btn" :class="{active: !data.isPindu}" @click="handleYinjie"><text>音节拆分</text></view>
|
|
|
</view>
|
|
|
<!-- 词根+实用口语 -->
|
|
|
- <template v-if="data.isPindu">
|
|
|
- <view v-if="activeWord.cigenzhuji.length" class="details-content-box xue-details-content-box">
|
|
|
- <text class="details-title">词根助记</text>
|
|
|
- <scroll-view class="cg-item-list" scroll-x @touchmove.stop >
|
|
|
- <view class="cg-item-box" v-for="(item,index) in activeWord.cigenzhuji" :key="index" >
|
|
|
- <view class="cg-item">
|
|
|
- <view>{{item.en}}</view>
|
|
|
- <view>{{item.zn}}</view>
|
|
|
- </view>
|
|
|
- <view class="cg-symbol" v-if="index<activeWord.cigenzhuji.length-2">+</view>
|
|
|
- <view class="cg-symbol" v-if="index == activeWord.cigenzhuji.length - 2">=</view>
|
|
|
+ <view v-if="activeWord.cigenzhuji.length" class="details-content-box xue-details-content-box">
|
|
|
+ <text class="details-title">词根助记</text>
|
|
|
+ <scroll-view class="cg-item-list" scroll-x @touchmove.stop >
|
|
|
+ <view class="cg-item-box" v-for="(item,index) in activeWord.cigenzhuji" :key="index" >
|
|
|
+ <view class="cg-item">
|
|
|
+ <view>{{item.en}}</view>
|
|
|
+ <view>{{item.zn}}</view>
|
|
|
</view>
|
|
|
- </scroll-view>
|
|
|
- </view>
|
|
|
- </template>
|
|
|
+ <view class="cg-symbol" v-if="index<activeWord.cigenzhuji.length-2">+</view>
|
|
|
+ <view class="cg-symbol" v-if="index == activeWord.cigenzhuji.length - 2">=</view>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ </view>
|
|
|
|
|
|
<!-- 实用语句 -->
|
|
|
- <template v-else>
|
|
|
- <view class="details-content-box xue-details-content-box">
|
|
|
- <text class="details-title">实用口语</text>
|
|
|
- <view v-for="(item,index) in activeWord.kouyu" :key="index" class="syky-content">
|
|
|
- <view class="details-en-content">
|
|
|
- <view>{{item.en}}</view>
|
|
|
- <!-- 变色 word-color-->
|
|
|
- <!-- <text class="word-color">{{item.en}}</text>
|
|
|
- <text>{{item.en}}</text> -->
|
|
|
- </view>
|
|
|
- <view class="details-cn-content">{{item.zn}}</view>
|
|
|
+ <view class="details-content-box xue-details-content-box">
|
|
|
+ <text class="details-title">实用口语</text>
|
|
|
+ <view v-for="(item,index) in activeWord.kouyu" :key="index" class="syky-content">
|
|
|
+ <view class="details-en-content">
|
|
|
+ <view>{{item.en}}</view>
|
|
|
+ <!-- 变色 word-color-->
|
|
|
+ <!-- <text class="word-color">{{item.en}}</text>
|
|
|
+ <text>{{item.en}}</text> -->
|
|
|
</view>
|
|
|
+ <view class="details-cn-content">{{item.zn}}</view>
|
|
|
</view>
|
|
|
- </template>
|
|
|
+ </view>
|
|
|
|
|
|
</view>
|
|
|
</view>
|