|
@@ -29,34 +29,35 @@
|
|
|
</template>
|
|
|
</div>
|
|
|
<div class="aduioLine-right">
|
|
|
- <!-- <span :class="['Repeat-16', isRepeat ? '' : 'disabled']" @click="changeRepeat"></span>
|
|
|
- <span
|
|
|
- :class="['pinyin-16', config.isShowPY ? '' : 'disabled']"
|
|
|
- @click="changePinyin"
|
|
|
- v-if="config.isHasPY"
|
|
|
- ></span>
|
|
|
- <span :class="['EN-16', config.isShowEN ? '' : 'disabled']" @click="changeEN" v-if="config.isHasEN"></span> -->
|
|
|
<SvgIcon
|
|
|
- icon-class="repeat"
|
|
|
+ v-if="config.isHasPY"
|
|
|
+ icon-class="repeat-1"
|
|
|
size="16"
|
|
|
:class="['Repeat-16', isRepeat ? '' : 'disabled']"
|
|
|
- :style="{ color: isRepeat ? themeColor : 'rgba(0,0,0,0.1)' }"
|
|
|
+ :style="{ color: isRepeat ? (attrib ? attrib.topic_color : '') : '#DCDFE6', cursor: 'pointer' }"
|
|
|
@click="changeRepeat"
|
|
|
/>
|
|
|
+ <!-- <span
|
|
|
+ :class="['pinyin-16', config.isShowPY ? '' : 'disabled']"
|
|
|
+ @click="changePinyin"
|
|
|
+ v-if="config.isHasPY"
|
|
|
+ ></span>
|
|
|
+ <span :class="['EN-16', config.isShowEN ? '' : 'disabled']" @click="changeEN" v-if="config.isHasEN"></span> -->
|
|
|
<SvgIcon
|
|
|
v-if="config.isHasPY"
|
|
|
- icon-class="PinYin"
|
|
|
+ icon-class="pin-btn"
|
|
|
size="16"
|
|
|
:class="['pinyin-16', config.isShowPY ? '' : 'disabled']"
|
|
|
- :style="{ color: themeColor }"
|
|
|
+ :style="{ color: config.isShowPY ? (attrib ? attrib.topic_color : '') : '#DCDFE6' }"
|
|
|
@click="changePinyin"
|
|
|
/>
|
|
|
+ <!-- <span :class="['EN-16', config.isShowEN ? '' : 'disabled']" @click="changeEN" v-if="config.isHasEN"></span> -->
|
|
|
<SvgIcon
|
|
|
v-if="config.isHasEN"
|
|
|
- icon-class="PinYin"
|
|
|
+ icon-class="en-btn"
|
|
|
size="16"
|
|
|
:class="['EN-16', config.isShowEN ? '' : 'disabled']"
|
|
|
- :style="{ color: themeColor }"
|
|
|
+ :style="{ color: config.isShowEN ? (attrib ? attrib.topic_color : '') : '#DCDFE6' }"
|
|
|
@click="changeEN"
|
|
|
/>
|
|
|
</div>
|
|
@@ -461,26 +462,34 @@
|
|
|
></span>
|
|
|
<span :class="['EN-16', config.isShowEN ? '' : 'disabled']" @click="changeEN" v-if="config.isHasEN"></span> -->
|
|
|
<SvgIcon
|
|
|
- icon-class="repeat"
|
|
|
+ v-if="config.isHasPY"
|
|
|
+ icon-class="repeat-1"
|
|
|
size="16"
|
|
|
:class="['Repeat-16', isRepeat ? '' : 'disabled']"
|
|
|
- :style="{ color: isRepeat ? themeColor : 'rgba(0,0,0,0.1)' }"
|
|
|
+ :style="{ color: isRepeat ? (attrib ? attrib.topic_color : '') : '#DCDFE6', cursor: 'pointer' }"
|
|
|
@click="changeRepeat"
|
|
|
/>
|
|
|
+ <!-- <span
|
|
|
+ :class="['pinyin-16', config.isShowPY ? '' : 'disabled']"
|
|
|
+ @click="changePinyin"
|
|
|
+ v-if="config.isHasPY"
|
|
|
+ ></span>
|
|
|
+ <span :class="['EN-16', config.isShowEN ? '' : 'disabled']" @click="changeEN" v-if="config.isHasEN"></span> -->
|
|
|
<SvgIcon
|
|
|
v-if="config.isHasPY"
|
|
|
- icon-class="PinYin"
|
|
|
+ icon-class="pin-btn"
|
|
|
size="16"
|
|
|
:class="['pinyin-16', config.isShowPY ? '' : 'disabled']"
|
|
|
- :style="{ color: themeColor }"
|
|
|
+ :style="{ color: config.isShowPY ? (attrib ? attrib.topic_color : '') : '#DCDFE6' }"
|
|
|
@click="changePinyin"
|
|
|
/>
|
|
|
+ <!-- <span :class="['EN-16', config.isShowEN ? '' : 'disabled']" @click="changeEN" v-if="config.isHasEN"></span> -->
|
|
|
<SvgIcon
|
|
|
v-if="config.isHasEN"
|
|
|
- icon-class="PinYin"
|
|
|
+ icon-class="en-btn"
|
|
|
size="16"
|
|
|
:class="['EN-16', config.isShowEN ? '' : 'disabled']"
|
|
|
- :style="{ color: themeColor }"
|
|
|
+ :style="{ color: config.isShowEN ? (attrib ? attrib.topic_color : '') : '#DCDFE6' }"
|
|
|
@click="changeEN"
|
|
|
/>
|
|
|
</div>
|
|
@@ -532,6 +541,7 @@ export default {
|
|
|
'colLength',
|
|
|
'isFull',
|
|
|
'multilingual',
|
|
|
+ 'attrib',
|
|
|
],
|
|
|
data() {
|
|
|
return {
|