|
@@ -18,6 +18,7 @@
|
|
|
word.detail.mp3_list.length > 0 ? word.detail.mp3_list[0].url : ''
|
|
|
"
|
|
|
:pinyin="word.detail.pinyin"
|
|
|
+ :themeColor="themeColor"
|
|
|
/>
|
|
|
</div>
|
|
|
<div
|
|
@@ -35,9 +36,10 @@
|
|
|
:playStorkes="true"
|
|
|
:targetDiv="'bwcHanziIntp' + conItem + conindex"
|
|
|
:wordNum="word.detail.new_word.length"
|
|
|
+ :themeColor="themeColor"
|
|
|
/>
|
|
|
<img
|
|
|
- src="../../../../assets/NPC/icon-write-red.png"
|
|
|
+ :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)"
|
|
@@ -66,7 +68,7 @@
|
|
|
<div class="bwc-footer">
|
|
|
<button class="bwc-btn">
|
|
|
<img
|
|
|
- src="../../../../assets/NPC/icon-collect-red.png"
|
|
|
+ :src="themeColor?themeColor=='green'?require('../../../../assets/icon/starline-16-normal-Green.png'):themeColor=='brown'?require('../../../../assets/icon/starline-16-normal-Brown.png'):require('../../../../assets/icon/starline-16-normal-red.png'):require('../../../../assets/icon/starline-16-normal-red.png')"
|
|
|
class="collect-icon"
|
|
|
/>
|
|
|
收藏
|
|
@@ -77,17 +79,17 @@
|
|
|
v-if="word.detail.new_word.length == 1"
|
|
|
>
|
|
|
<img
|
|
|
- src="../../../../assets/NPC/icon-write-red.png"
|
|
|
+ :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"
|
|
|
/>
|
|
|
写一写
|
|
|
</button>
|
|
|
</div>
|
|
|
<div class="practiceBox practiceBoxStrock" v-if="isPraShow">
|
|
|
- <Practice :changePraShow="changePraShow" :cur="curData" />
|
|
|
+ <Practice :changePraShow="changePraShow" :cur="curData" :themeColor="themeColor" />
|
|
|
</div>
|
|
|
<div class="practiceBox" v-if="isIntpShow">
|
|
|
- <Wordintp :changeIntpShow="changeIntpShow" :word="word" />
|
|
|
+ <Wordintp :changeIntpShow="changeIntpShow" :word="word" :themeColor="themeColor" />
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -106,7 +108,7 @@ export default {
|
|
|
Practice,
|
|
|
Wordintp,
|
|
|
},
|
|
|
- props: ["word", "changeWordCard"],
|
|
|
+ props: ["word", "changeWordCard", "themeColor"],
|
|
|
data() {
|
|
|
return {
|
|
|
isPraShow: false,
|
|
@@ -336,11 +338,31 @@ export default {
|
|
|
margin-left: 8px;
|
|
|
}
|
|
|
> img {
|
|
|
- width: 24px;
|
|
|
- height: 24px;
|
|
|
- margin-right: 4px;
|
|
|
+ width: 16px;
|
|
|
+ height: 16px;
|
|
|
+ margin-right: 8px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+.NNPE-Big-Book-preview-green{
|
|
|
+ .wordCard{
|
|
|
+ .bwc-tolength,.bwc-Strockplay {
|
|
|
+ border-color: #24B99E;
|
|
|
+ .bwc-line{
|
|
|
+ background: #24B99E;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+.NNPE-Big-Book-preview-brown{
|
|
|
+ .wordCard{
|
|
|
+ .bwc-tolength,.bwc-Strockplay {
|
|
|
+ border-color: #BD8865;
|
|
|
+ .bwc-line{
|
|
|
+ background: #BD8865;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|