|
@@ -38,48 +38,50 @@
|
|
|
style="width: 16px"
|
|
|
/> -->
|
|
|
</div>
|
|
|
- <div
|
|
|
- class="bwc-Strockplay"
|
|
|
- :style="{ width: word.detail.new_word.length * 126 + 4 + 'px' }"
|
|
|
- v-if="word.detail.new_word.length < 5"
|
|
|
- >
|
|
|
+ <div style="overflow-x: auto;">
|
|
|
<div
|
|
|
- :key="conindex"
|
|
|
- class="strockplay"
|
|
|
- v-for="(conItem, conindex) in word.detail.new_word"
|
|
|
+ class="bwc-Strockplay"
|
|
|
+ :style="{ width: word.detail.new_word.length * 126 + 4 + 'px' }"
|
|
|
+ v-if="word.detail.new_word.length < 5"
|
|
|
>
|
|
|
- <Strockplayredline
|
|
|
- :Book_text="conItem"
|
|
|
- :playStorkes="true"
|
|
|
- :targetDiv="'bwcHanziIntp' + conItem + conindex"
|
|
|
- :wordNum="word.detail.new_word.length"
|
|
|
- :themeColor="themeColor"
|
|
|
- />
|
|
|
- <img
|
|
|
- :src="
|
|
|
- themeColor
|
|
|
- ? themeColor == 'green'
|
|
|
- ? require('../../../../assets/icon/Pencil-16-normal-Green.png')
|
|
|
- : themeColor == 'brown'
|
|
|
- ? require('../../../../assets/icon/Pencil-16-normal-Brown.png')
|
|
|
- : require('../../../../assets/icon/Pencil-16-normal-red.png')
|
|
|
- : require('../../../../assets/icon/Pencil-16-normal-red.png')
|
|
|
- "
|
|
|
- class="collect-icon"
|
|
|
- v-if="word.detail.new_word.length > 1"
|
|
|
- @click="writeWord(conItem, '', word.detail.new_word.length)"
|
|
|
- />
|
|
|
<div
|
|
|
- class="bwc-line"
|
|
|
- v-if="conindex < word.detail.new_word.length - 1"
|
|
|
- ></div>
|
|
|
+ :key="conindex"
|
|
|
+ class="strockplay"
|
|
|
+ v-for="(conItem, conindex) in word.detail.new_word"
|
|
|
+ >
|
|
|
+ <Strockplayredline
|
|
|
+ :Book_text="conItem"
|
|
|
+ :playStorkes="true"
|
|
|
+ :targetDiv="'bwcHanziIntp' + conItem + conindex"
|
|
|
+ :wordNum="word.detail.new_word.length"
|
|
|
+ :themeColor="themeColor"
|
|
|
+ />
|
|
|
+ <img
|
|
|
+ :src="
|
|
|
+ themeColor
|
|
|
+ ? themeColor == 'green'
|
|
|
+ ? require('../../../../assets/icon/Pencil-16-normal-Green.png')
|
|
|
+ : themeColor == 'brown'
|
|
|
+ ? require('../../../../assets/icon/Pencil-16-normal-Brown.png')
|
|
|
+ : require('../../../../assets/icon/Pencil-16-normal-red.png')
|
|
|
+ : require('../../../../assets/icon/Pencil-16-normal-red.png')
|
|
|
+ "
|
|
|
+ class="collect-icon"
|
|
|
+ v-if="word.detail.new_word.length > 1"
|
|
|
+ @click="writeWord(conItem, '', word.detail.new_word.length)"
|
|
|
+ />
|
|
|
+ <div
|
|
|
+ class="bwc-line"
|
|
|
+ v-if="conindex < word.detail.new_word.length - 1"
|
|
|
+ ></div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <p v-else class="bwc-tolength">
|
|
|
+ <span v-for="(item, index) in word.detail.new_word" :key="index">{{
|
|
|
+ item
|
|
|
+ }}</span>
|
|
|
+ </p>
|
|
|
</div>
|
|
|
- <p v-else class="bwc-tolength">
|
|
|
- <span v-for="(item, index) in word.detail.new_word" :key="index">{{
|
|
|
- item
|
|
|
- }}</span>
|
|
|
- </p>
|
|
|
<template v-if="word.detail">
|
|
|
<!-- <span class="word-ben-def">
|
|
|
<span
|