|
@@ -4,7 +4,12 @@
|
|
|
<SerialNumberPosition v-if="isEnable(data.property.sn_display_mode)" :property="data.property" />
|
|
|
|
|
|
<div class="main">
|
|
|
- <div class="option">
|
|
|
+ <div
|
|
|
+ class="option"
|
|
|
+ :style="{
|
|
|
+ background: data.unified_attrib && data.unified_attrib.assist_color ? data.unified_attrib.assist_color : '',
|
|
|
+ }"
|
|
|
+ >
|
|
|
<draggable
|
|
|
v-model="SortArr"
|
|
|
animation="300"
|
|
@@ -33,28 +38,54 @@
|
|
|
:class="[!items.pinyin ? 'one_nopy' : '']"
|
|
|
:style="{ marginRight: (row + 1) % 3 == 0 ? '' : '16px' }"
|
|
|
>
|
|
|
- <div class="number">
|
|
|
+ <div
|
|
|
+ class="number"
|
|
|
+ :style="{
|
|
|
+ background: data.unified_attrib && data.unified_attrib.topic_color ? data.unified_attrib.topic_color : '',
|
|
|
+ }"
|
|
|
+ >
|
|
|
{{ row + 1 }}
|
|
|
</div>
|
|
|
<div class="hzpinyin">
|
|
|
- <div class="pinyin" v-if="isEnable(data.property.view_pinyin)">
|
|
|
+ <div
|
|
|
+ class="pinyin"
|
|
|
+ v-if="isEnable(data.property.view_pinyin)"
|
|
|
+ :style="{
|
|
|
+ fontSize: data.unified_attrib && data.unified_attrib.pinyin_size ? data.unified_attrib.pinyin_size : '',
|
|
|
+ }"
|
|
|
+ >
|
|
|
{{ items.pinyin }}
|
|
|
</div>
|
|
|
<template v-if="items.hz_info.length > 0">
|
|
|
<!-- @click="writeWord(conItem, items.pinyin)" -->
|
|
|
- <div class="strockplay-newWord">
|
|
|
+ <div
|
|
|
+ class="strockplay-newWord"
|
|
|
+ :style="{
|
|
|
+ borderColor:
|
|
|
+ data.unified_attrib && data.unified_attrib.topic_color
|
|
|
+ ? data.unified_attrib.topic_color
|
|
|
+ : '#346CDA',
|
|
|
+ }"
|
|
|
+ >
|
|
|
<Strockplay
|
|
|
class-name="adult-strockplay"
|
|
|
:Book_text="items.hz_info[0].con"
|
|
|
:play-storkes="true"
|
|
|
- :stroke-play-color="'#346CDA'"
|
|
|
+ :stroke-play-color="
|
|
|
+ data.unified_attrib && data.unified_attrib.topic_color ? data.unified_attrib.topic_color : '#346CDA'
|
|
|
+ "
|
|
|
:stroke-color="'#000000'"
|
|
|
:paly-width="'18px'"
|
|
|
:BoxbgType="'0'"
|
|
|
:cur-item="items.hz_info[0].hzDetail.hz_json"
|
|
|
:target-div="'writeTops-item-' + '-' + items.hz_info[0].con"
|
|
|
class="writeTop-item"
|
|
|
- :style="{ borderColor: '#346CDA' }"
|
|
|
+ :style="{
|
|
|
+ borderColor:
|
|
|
+ data.unified_attrib && data.unified_attrib.topic_color
|
|
|
+ ? data.unified_attrib.topic_color
|
|
|
+ : '#346CDA',
|
|
|
+ }"
|
|
|
/>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -80,6 +111,10 @@
|
|
|
class="option_one"
|
|
|
:class="[items.is_example ? 'option_one_example' : classNameJudge(items, row)]"
|
|
|
:index="'form' + i"
|
|
|
+ :style="{
|
|
|
+ borderColor:
|
|
|
+ data.unified_attrib && data.unified_attrib.topic_color ? data.unified_attrib.topic_color : '',
|
|
|
+ }"
|
|
|
>
|
|
|
<img
|
|
|
v-if="answer.img_url || answer.value"
|
|
@@ -98,6 +133,10 @@
|
|
|
:class="[isJudgingRightWrong && items.answer ? 'wrong' : '']"
|
|
|
:key="row"
|
|
|
v-if="answer.answer_list[row].answer_list.length == 0"
|
|
|
+ :style="{
|
|
|
+ borderColor:
|
|
|
+ data.unified_attrib && data.unified_attrib.topic_color ? data.unified_attrib.topic_color : '',
|
|
|
+ }"
|
|
|
></div>
|
|
|
</transition-group>
|
|
|
</draggable>
|
|
@@ -114,7 +153,13 @@
|
|
|
:class="[!items.pinyin ? 'one_nopy' : '']"
|
|
|
:style="{ marginRight: (row + 1) % 3 == 0 ? '' : '16px' }"
|
|
|
>
|
|
|
- <div class="number">
|
|
|
+ <div
|
|
|
+ class="number"
|
|
|
+ :style="{
|
|
|
+ background:
|
|
|
+ data.unified_attrib && data.unified_attrib.topic_color ? data.unified_attrib.topic_color : '#346CDA',
|
|
|
+ }"
|
|
|
+ >
|
|
|
{{ row + 1 }}
|
|
|
</div>
|
|
|
<div class="hzpinyin">
|
|
@@ -122,19 +167,36 @@
|
|
|
{{ items.pinyin }}
|
|
|
</div>
|
|
|
<template v-if="items.hz_info.length > 0">
|
|
|
- <div class="strockplay-newWord">
|
|
|
+ <div
|
|
|
+ class="strockplay-newWord"
|
|
|
+ :style="{
|
|
|
+ borderColor:
|
|
|
+ data.unified_attrib && data.unified_attrib.topic_color
|
|
|
+ ? data.unified_attrib.topic_color
|
|
|
+ : '#346CDA',
|
|
|
+ }"
|
|
|
+ >
|
|
|
<Strockplay
|
|
|
class-name="adult-strockplay"
|
|
|
:Book_text="items.hz_info[0].con"
|
|
|
:play-storkes="true"
|
|
|
- :stroke-play-color="'#346CDA'"
|
|
|
+ :stroke-play-color="
|
|
|
+ data.unified_attrib && data.unified_attrib.topic_color
|
|
|
+ ? data.unified_attrib.topic_color
|
|
|
+ : '#346CDA'
|
|
|
+ "
|
|
|
:stroke-color="'#000000'"
|
|
|
:paly-width="'18px'"
|
|
|
:BoxbgType="'0'"
|
|
|
:cur-item="items.hz_info[0].hzDetail.hz_json"
|
|
|
:target-div="'writeTops-item-right' + '-' + items.hz_info[0].con"
|
|
|
class="writeTop-item"
|
|
|
- :style="{ borderColor: '#346CDA' }"
|
|
|
+ :style="{
|
|
|
+ borderColor:
|
|
|
+ data.unified_attrib && data.unified_attrib.topic_color
|
|
|
+ ? data.unified_attrib.topic_color
|
|
|
+ : '#346CDA',
|
|
|
+ }"
|
|
|
/>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -143,7 +205,16 @@
|
|
|
<img src="@/assets/drag-arrows.png" alt="" />
|
|
|
</div>
|
|
|
<div class="answer">
|
|
|
- <div class="option_one" :class="[items.is_example ? 'option_one_example' : '']">
|
|
|
+ <div
|
|
|
+ class="option_one"
|
|
|
+ :class="[items.is_example ? 'option_one_example' : '']"
|
|
|
+ :style="{
|
|
|
+ borderColor:
|
|
|
+ data.unified_attrib && data.unified_attrib.topic_color
|
|
|
+ ? data.unified_attrib.topic_color
|
|
|
+ : '#346CDA',
|
|
|
+ }"
|
|
|
+ >
|
|
|
<img
|
|
|
v-if="items.answer"
|
|
|
:src="
|
|
@@ -420,12 +491,12 @@ export default {
|
|
|
border-radius: 8px;
|
|
|
|
|
|
&.right {
|
|
|
- background: #e9f7f2;
|
|
|
- border-color: $right-color;
|
|
|
+ background: #e9f7f2 !important;
|
|
|
+ border-color: $right-color !important;
|
|
|
}
|
|
|
|
|
|
&.wrong {
|
|
|
- border-color: $error-color;
|
|
|
+ border-color: $error-color !important;
|
|
|
}
|
|
|
|
|
|
img {
|