|
|
@@ -66,53 +66,54 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <template v-if="resObj">
|
|
|
- <p v-if="curQue.notice" class="notice" style="padding-top: 24px">
|
|
|
- {{ curQue.notice }}
|
|
|
- </p>
|
|
|
- <div
|
|
|
- class="NPC-sentences-list"
|
|
|
- :style="{
|
|
|
- height: curQue.property.content_height ? curQue.property.content_height + 'px' : '',
|
|
|
- }"
|
|
|
- >
|
|
|
- <div
|
|
|
- v-for="(item, index) in resObj.sentList"
|
|
|
- :key="'detail' + index"
|
|
|
- :class="['NNPE-detail-box', sentIndex == index ? 'active' : '']"
|
|
|
- :style="{
|
|
|
- backgroundColor: sentIndex == index && attrib ? attrib.assist_color : '',
|
|
|
- }"
|
|
|
- >
|
|
|
+ <div
|
|
|
+ :style="{
|
|
|
+ height: curQue.property.content_height ? curQue.property.content_height + 'px' : '',
|
|
|
+ overflow: 'auto',
|
|
|
+ }"
|
|
|
+ >
|
|
|
+ <template v-if="resObj">
|
|
|
+ <p v-if="curQue.notice" class="notice" style="padding-top: 24px">
|
|
|
+ {{ curQue.notice }}
|
|
|
+ </p>
|
|
|
+ <div class="NPC-sentences-list">
|
|
|
<div
|
|
|
- class="NNPE-detail"
|
|
|
- @click="
|
|
|
- handleChangeTime(
|
|
|
- curQue.wordTime && curQue.wordTime[index] && curQue.wordTime[index].bg,
|
|
|
- index,
|
|
|
- curQue.wordTime && curQue.wordTime[index] && curQue.wordTime[index].ed,
|
|
|
- )
|
|
|
- "
|
|
|
+ v-for="(item, index) in resObj.sentList"
|
|
|
+ :key="'detail' + index"
|
|
|
+ :class="['NNPE-detail-box', sentIndex == index ? 'active' : '']"
|
|
|
+ :style="{
|
|
|
+ backgroundColor: sentIndex == index && attrib ? attrib.assist_color : '',
|
|
|
+ }"
|
|
|
>
|
|
|
- <template v-if="item.sentArr[0].sentIndex == 0">
|
|
|
- <RoleChs
|
|
|
- :cur-role="item.roleDetail"
|
|
|
- :color="
|
|
|
- (curQue.wordTime &&
|
|
|
- curQue.wordTime[index] &&
|
|
|
- curTime >= curQue.wordTime[index].bg &&
|
|
|
- curTime <= curQue.wordTime[index].ed) ||
|
|
|
- sentIndex == index
|
|
|
- ? 'rgba(0,0,0,0.85)'
|
|
|
- : 'rgba(0,0,0,0.45)'
|
|
|
- "
|
|
|
- :type="curQue.property.role_img_type"
|
|
|
- />
|
|
|
- </template>
|
|
|
- <div v-else style="width: 36px; height: 36px"></div>
|
|
|
- <div class="sentence-box">
|
|
|
+ <div
|
|
|
+ class="NNPE-detail"
|
|
|
+ @click="
|
|
|
+ handleChangeTime(
|
|
|
+ curQue.wordTime && curQue.wordTime[index] && curQue.wordTime[index].bg,
|
|
|
+ index,
|
|
|
+ curQue.wordTime && curQue.wordTime[index] && curQue.wordTime[index].ed,
|
|
|
+ )
|
|
|
+ "
|
|
|
+ >
|
|
|
<template v-if="item.sentArr[0].sentIndex == 0">
|
|
|
- <!-- <div class="roleDetail" v-if="item.roleDetail.detail && item.roleDetail.detail.wordsList.length > 0">
|
|
|
+ <RoleChs
|
|
|
+ :cur-role="item.roleDetail"
|
|
|
+ :color="
|
|
|
+ (curQue.wordTime &&
|
|
|
+ curQue.wordTime[index] &&
|
|
|
+ curTime >= curQue.wordTime[index].bg &&
|
|
|
+ curTime <= curQue.wordTime[index].ed) ||
|
|
|
+ sentIndex == index
|
|
|
+ ? 'rgba(0,0,0,0.85)'
|
|
|
+ : 'rgba(0,0,0,0.45)'
|
|
|
+ "
|
|
|
+ :type="curQue.property.role_img_type"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ <div v-else style="width: 36px; height: 36px"></div>
|
|
|
+ <div class="sentence-box">
|
|
|
+ <template v-if="item.sentArr[0].sentIndex == 0">
|
|
|
+ <!-- <div class="roleDetail" v-if="item.roleDetail.detail && item.roleDetail.detail.wordsList.length > 0">
|
|
|
<span
|
|
|
:class="[
|
|
|
'pinyin',
|
|
|
@@ -140,74 +141,369 @@
|
|
|
>{{ item.roleDetail.detail.wordsList | handleChs }}</span
|
|
|
>
|
|
|
</div> -->
|
|
|
- <div v-if="item.roleDetail.fullName || item.roleDetail.fullPinyin" class="roleDetail">
|
|
|
- <span
|
|
|
- :class="[
|
|
|
- 'chs',
|
|
|
- (curQue.wordTime &&
|
|
|
- curQue.wordTime[index] &&
|
|
|
- curTime >= curQue.wordTime[index].bg &&
|
|
|
- curTime <= curQue.wordTime[index].ed) ||
|
|
|
- sentIndex == index
|
|
|
- ? 'color85'
|
|
|
- : 'color45',
|
|
|
- ]"
|
|
|
- >{{ item.roleDetail.fullName }}</span
|
|
|
- >
|
|
|
- <span
|
|
|
- :class="[
|
|
|
- 'pinyin',
|
|
|
- (curQue.wordTime &&
|
|
|
- curQue.wordTime[index] &&
|
|
|
- curTime >= curQue.wordTime[index].bg &&
|
|
|
- curTime <= curQue.wordTime[index].ed) ||
|
|
|
- sentIndex == index
|
|
|
- ? 'color85'
|
|
|
- : 'color45',
|
|
|
- ]"
|
|
|
- >{{ item.roleDetail.fullPinyin }}</span
|
|
|
- >
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <div class="sentence-box-inner" :style="{ background: item.roleDetail.color.bg }">
|
|
|
- <div
|
|
|
- v-if="item.enwords && config.isShowEN && curQue.enPosition && curQue.enPosition == 'top'"
|
|
|
- :class="['enwords', sentIndex == index ? 'wordBlank' : '']"
|
|
|
- >
|
|
|
- {{ item.enwords }}
|
|
|
- </div>
|
|
|
- <div style="overflow: hidden; clear: both"></div>
|
|
|
- <div class="NNPE-words-box">
|
|
|
+ <div v-if="item.roleDetail.fullName || item.roleDetail.fullPinyin" class="roleDetail">
|
|
|
+ <span
|
|
|
+ :class="[
|
|
|
+ 'chs',
|
|
|
+ (curQue.wordTime &&
|
|
|
+ curQue.wordTime[index] &&
|
|
|
+ curTime >= curQue.wordTime[index].bg &&
|
|
|
+ curTime <= curQue.wordTime[index].ed) ||
|
|
|
+ sentIndex == index
|
|
|
+ ? 'color85'
|
|
|
+ : 'color45',
|
|
|
+ ]"
|
|
|
+ >{{ item.roleDetail.fullName }}</span
|
|
|
+ >
|
|
|
+ <span
|
|
|
+ :class="[
|
|
|
+ 'pinyin',
|
|
|
+ (curQue.wordTime &&
|
|
|
+ curQue.wordTime[index] &&
|
|
|
+ curTime >= curQue.wordTime[index].bg &&
|
|
|
+ curTime <= curQue.wordTime[index].ed) ||
|
|
|
+ sentIndex == index
|
|
|
+ ? 'color85'
|
|
|
+ : 'color45',
|
|
|
+ ]"
|
|
|
+ >{{ item.roleDetail.fullPinyin }}</span
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <div class="sentence-box-inner" :style="{ background: item.roleDetail.color.bg }">
|
|
|
<div
|
|
|
- v-for="(pItem, pIndex) in item.sentArr"
|
|
|
- :key="'wordsList' + pIndex"
|
|
|
- class="NNPE-words"
|
|
|
- :class="[
|
|
|
- pItem.chs != '“' && pItem.wordIndex == 0 ? 'textLeft' : 'textCenter',
|
|
|
- pItem.chs == '“' ? 'textRight' : '',
|
|
|
- ]"
|
|
|
+ v-if="item.enwords && config.isShowEN && curQue.enPosition && curQue.enPosition == 'top'"
|
|
|
+ :class="['enwords', sentIndex == index ? 'wordBlank' : '']"
|
|
|
>
|
|
|
- <template v-if="!pItem.width">
|
|
|
- <template v-if="pItem.isShow">
|
|
|
- <template
|
|
|
- v-if="
|
|
|
- (item.sentArr[pIndex + 1] &&
|
|
|
- item.sentArr[pIndex + 1].chs &&
|
|
|
- chsFhList.indexOf(item.sentArr[pIndex + 1].chs) > -1) ||
|
|
|
- (item.sentArr[pIndex + 1] &&
|
|
|
- item.sentArr[pIndex + 1].chs &&
|
|
|
- item.sentArr[pIndex + 1].chs == '#')
|
|
|
- "
|
|
|
- >
|
|
|
- <span class="NNPE-words-box">
|
|
|
+ {{ item.enwords }}
|
|
|
+ </div>
|
|
|
+ <div style="overflow: hidden; clear: both"></div>
|
|
|
+ <div class="NNPE-words-box">
|
|
|
+ <div
|
|
|
+ v-for="(pItem, pIndex) in item.sentArr"
|
|
|
+ :key="'wordsList' + pIndex"
|
|
|
+ class="NNPE-words"
|
|
|
+ :class="[
|
|
|
+ pItem.chs != '“' && pItem.wordIndex == 0 ? 'textLeft' : 'textCenter',
|
|
|
+ pItem.chs == '“' ? 'textRight' : '',
|
|
|
+ ]"
|
|
|
+ >
|
|
|
+ <template v-if="!pItem.width">
|
|
|
+ <template v-if="pItem.isShow">
|
|
|
+ <template
|
|
|
+ v-if="
|
|
|
+ (item.sentArr[pIndex + 1] &&
|
|
|
+ item.sentArr[pIndex + 1].chs &&
|
|
|
+ chsFhList.indexOf(item.sentArr[pIndex + 1].chs) > -1) ||
|
|
|
+ (item.sentArr[pIndex + 1] &&
|
|
|
+ item.sentArr[pIndex + 1].chs &&
|
|
|
+ item.sentArr[pIndex + 1].chs == '#')
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <span class="NNPE-words-box">
|
|
|
+ <template v-if="curQue.property.pinyin_position == 'top'">
|
|
|
+ <span
|
|
|
+ v-if="config.isShowPY && item.dhaspinyin"
|
|
|
+ class="NNPE-pinyin"
|
|
|
+ :class="[
|
|
|
+ pItem.className ? pItem.className : '',
|
|
|
+ sentIndex == index ? 'wordBlank' : '',
|
|
|
+ noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
|
|
|
+ ]"
|
|
|
+ :style="{
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
+ height:
|
|
|
+ attrib && attrib.pinyin_size
|
|
|
+ ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
+ : '22px',
|
|
|
+ }"
|
|
|
+ >{{ NumberList.indexOf(pItem.pinyin) == -1 ? pItem.pinyin : '' }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ <span
|
|
|
+ class="NNPE-chs"
|
|
|
+ :class="[
|
|
|
+ pItem.padding && config.isShowPY && item.dhaspinyin ? 'padding' : '',
|
|
|
+ sentIndex == index ? 'wordBlank' : '',
|
|
|
+ ]"
|
|
|
+ >
|
|
|
+ <template>
|
|
|
+ <span
|
|
|
+ v-for="(wItem, wIndex) in pItem.leg"
|
|
|
+ :key="'ci' + wIndex + pIndex + index"
|
|
|
+ :class="[
|
|
|
+ isPlaying &&
|
|
|
+ pItem.timeList &&
|
|
|
+ pItem.timeList[wIndex] &&
|
|
|
+ curTime >= pItem.timeList[wIndex].wordBg &&
|
|
|
+ curQue.wordTime &&
|
|
|
+ curQue.wordTime[index] &&
|
|
|
+ curTime <= curQue.wordTime[index].ed
|
|
|
+ ? 'active'
|
|
|
+ : '',
|
|
|
+ sentIndex == index ? 'wordBlank' : '',
|
|
|
+ ]"
|
|
|
+ :style="{
|
|
|
+ fontFamily: pItem.config.fontFamily,
|
|
|
+ textDecoration: pItem.config.textDecoration,
|
|
|
+ borderBottom: pItem.config.border === 'dotted' ? '1px dotted' : '',
|
|
|
+ fontWeight: pItem.config.fontWeight,
|
|
|
+ height:
|
|
|
+ attrib && attrib.font_size
|
|
|
+ ? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
+ : '28px',
|
|
|
+ fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
+ lineHeight:
|
|
|
+ attrib && attrib.font_size
|
|
|
+ ? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
+ : '28px',
|
|
|
+ display: 'inline-block',
|
|
|
+ color:
|
|
|
+ isPlaying &&
|
|
|
+ pItem.timeList &&
|
|
|
+ pItem.timeList[wIndex] &&
|
|
|
+ curTime >= pItem.timeList[wIndex].wordBg &&
|
|
|
+ curQue.wordTime &&
|
|
|
+ curQue.wordTime[index] &&
|
|
|
+ curTime <= curQue.wordTime[index].ed &&
|
|
|
+ attrib
|
|
|
+ ? attrib.topic_color
|
|
|
+ : pItem.config.color,
|
|
|
+ }"
|
|
|
+ >{{ NumberList.indexOf(pItem.pinyin) == -1 ? pItem.chs[wIndex] : '' }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </span>
|
|
|
+ <template v-if="curQue.property.pinyin_position == 'bottom'">
|
|
|
+ <span
|
|
|
+ v-if="config.isShowPY && item.dhaspinyin"
|
|
|
+ class="NNPE-pinyin"
|
|
|
+ :class="[
|
|
|
+ pItem.className ? pItem.className : '',
|
|
|
+ sentIndex == index ? 'wordBlank' : '',
|
|
|
+ noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
|
|
|
+ ]"
|
|
|
+ :style="{
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
+ height:
|
|
|
+ attrib && attrib.pinyin_size
|
|
|
+ ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
+ : '22px',
|
|
|
+ }"
|
|
|
+ >{{ NumberList.indexOf(pItem.pinyin) == -1 ? pItem.pinyin : '' }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </span>
|
|
|
+ <span class="NNPE-words-box">
|
|
|
+ <template v-if="curQue.property.pinyin_position == 'top'">
|
|
|
+ <span
|
|
|
+ v-if="config.isShowPY && item.dhaspinyin"
|
|
|
+ :class="[
|
|
|
+ 'NNPE-pinyin',
|
|
|
+ sentIndex == index ? 'wordBlank' : '',
|
|
|
+ noFont.indexOf(item.sentArr[pIndex + 1].pinyin) > -1 ? 'noFont' : '',
|
|
|
+ ]"
|
|
|
+ style="text-align: left"
|
|
|
+ :style="{
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
+ height:
|
|
|
+ attrib && attrib.pinyin_size
|
|
|
+ ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
+ : '22px',
|
|
|
+ }"
|
|
|
+ >{{
|
|
|
+ NumberList.indexOf(item.sentArr[pIndex + 1].pinyin) == -1
|
|
|
+ ? item.sentArr[pIndex + 1].pinyin
|
|
|
+ : ''
|
|
|
+ }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ <span class="NNPE-chs" style="text-align: left">
|
|
|
+ <span
|
|
|
+ :class="[
|
|
|
+ isPlaying &&
|
|
|
+ pItem.timeList[pItem.leg - 1] &&
|
|
|
+ curTime >= pItem.timeList[pItem.leg - 1].wordBg &&
|
|
|
+ curQue.wordTime &&
|
|
|
+ curQue.wordTime[index] &&
|
|
|
+ curTime <= curQue.wordTime[index].ed
|
|
|
+ ? 'active'
|
|
|
+ : '',
|
|
|
+ sentIndex == index ? 'wordBlank' : '',
|
|
|
+ ]"
|
|
|
+ :style="{
|
|
|
+ fontFamily: item.sentArr[pIndex + 1].config.fontFamily,
|
|
|
+ textDecoration: item.sentArr[pIndex + 1].config.textDecoration,
|
|
|
+ borderBottom:
|
|
|
+ item.sentArr[pIndex + 1].config.border === 'dotted' ? '1px dotted' : '',
|
|
|
+ fontWeight: item.sentArr[pIndex + 1].config.fontWeight,
|
|
|
+ height:
|
|
|
+ attrib && attrib.font_size
|
|
|
+ ? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
+ : '28px',
|
|
|
+ fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
+ lineHeight:
|
|
|
+ attrib && attrib.font_size
|
|
|
+ ? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
+ : '28px',
|
|
|
+ display: 'inline-block',
|
|
|
+ color:
|
|
|
+ isPlaying &&
|
|
|
+ pItem.timeList[pItem.leg - 1] &&
|
|
|
+ curTime >= pItem.timeList[pItem.leg - 1].wordBg &&
|
|
|
+ curQue.wordTime &&
|
|
|
+ curQue.wordTime[index] &&
|
|
|
+ curTime <= curQue.wordTime[index].ed &&
|
|
|
+ attrib
|
|
|
+ ? attrib.topic_color
|
|
|
+ : item.sentArr[pIndex + 1].config.color,
|
|
|
+ }"
|
|
|
+ >
|
|
|
+ {{
|
|
|
+ NumberList.indexOf(item.sentArr[pIndex + 1].pinyin) == -1
|
|
|
+ ? item.sentArr[pIndex + 1].chs
|
|
|
+ : ''
|
|
|
+ }}</span
|
|
|
+ >
|
|
|
+ </span>
|
|
|
+ <template v-if="curQue.property.pinyin_position == 'bottom'">
|
|
|
+ <span
|
|
|
+ v-if="config.isShowPY && item.dhaspinyin"
|
|
|
+ :class="[
|
|
|
+ 'NNPE-pinyin',
|
|
|
+ sentIndex == index ? 'wordBlank' : '',
|
|
|
+ noFont.indexOf(item.sentArr[pIndex + 1].pinyin) > -1 ? 'noFont' : '',
|
|
|
+ ]"
|
|
|
+ style="text-align: left"
|
|
|
+ :style="{
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
+ height:
|
|
|
+ attrib && attrib.pinyin_size
|
|
|
+ ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
+ : '22px',
|
|
|
+ }"
|
|
|
+ >{{
|
|
|
+ NumberList.indexOf(item.sentArr[pIndex + 1].pinyin) == -1
|
|
|
+ ? item.sentArr[pIndex + 1].pinyin
|
|
|
+ : ''
|
|
|
+ }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </span>
|
|
|
+ <span
|
|
|
+ v-if="
|
|
|
+ item.sentArr[pIndex + 2] &&
|
|
|
+ item.sentArr[pIndex + 2].chs &&
|
|
|
+ chsFhList.indexOf(item.sentArr[pIndex + 2].chs) > -1
|
|
|
+ "
|
|
|
+ class="NNPE-words-box"
|
|
|
+ >
|
|
|
+ <template v-if="curQue.property.pinyin_position == 'top'">
|
|
|
+ <span
|
|
|
+ v-if="config.isShowPY && item.dhaspinyin"
|
|
|
+ :class="[
|
|
|
+ 'NNPE-pinyin',
|
|
|
+ sentIndex == index ? 'wordBlank' : '',
|
|
|
+ noFont.indexOf(item.sentArr[pIndex + 2].pinyin) > -1 ? 'noFont' : '',
|
|
|
+ ]"
|
|
|
+ style="text-align: left"
|
|
|
+ :style="{
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
+ height:
|
|
|
+ attrib && attrib.pinyin_size
|
|
|
+ ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
+ : '22px',
|
|
|
+ }"
|
|
|
+ >{{
|
|
|
+ NumberList.indexOf(item.sentArr[pIndex + 2].pinyin) == -1
|
|
|
+ ? item.sentArr[pIndex + 2].pinyin
|
|
|
+ : ''
|
|
|
+ }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ <span class="NNPE-chs" style="text-align: left">
|
|
|
+ <span
|
|
|
+ :class="[
|
|
|
+ isPlaying &&
|
|
|
+ pItem.timeList[pItem.leg - 1] &&
|
|
|
+ curTime >= pItem.timeList[pItem.leg - 1].wordBg &&
|
|
|
+ curQue.wordTime &&
|
|
|
+ curQue.wordTime[index] &&
|
|
|
+ curTime <= curQue.wordTime[index].ed
|
|
|
+ ? 'active'
|
|
|
+ : '',
|
|
|
+ sentIndex == index ? 'wordBlank' : '',
|
|
|
+ ]"
|
|
|
+ :style="{
|
|
|
+ fontFamily: item.sentArr[pIndex + 2].config.fontFamily,
|
|
|
+ textDecoration: item.sentArr[pIndex + 2].config.textDecoration,
|
|
|
+ borderBottom:
|
|
|
+ item.sentArr[pIndex + 2].config.border === 'dotted' ? '1px dotted' : '',
|
|
|
+ fontWeight: item.sentArr[pIndex + 2].config.fontWeight,
|
|
|
+ height:
|
|
|
+ attrib && attrib.font_size
|
|
|
+ ? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
+ : '28px',
|
|
|
+ fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
+ lineHeight:
|
|
|
+ attrib && attrib.font_size
|
|
|
+ ? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
+ : '28px',
|
|
|
+ display: 'inline-block',
|
|
|
+ color:
|
|
|
+ isPlaying &&
|
|
|
+ pItem.timeList[pItem.leg - 1] &&
|
|
|
+ curTime >= pItem.timeList[pItem.leg - 1].wordBg &&
|
|
|
+ curQue.wordTime &&
|
|
|
+ curQue.wordTime[index] &&
|
|
|
+ curTime <= curQue.wordTime[index].ed &&
|
|
|
+ attrib
|
|
|
+ ? attrib.topic_color
|
|
|
+ : item.sentArr[pIndex + 2].config.color,
|
|
|
+ }"
|
|
|
+ >
|
|
|
+ {{
|
|
|
+ NumberList.indexOf(item.sentArr[pIndex + 2].pinyin) == -1
|
|
|
+ ? item.sentArr[pIndex + 2].chs
|
|
|
+ : ''
|
|
|
+ }}</span
|
|
|
+ >
|
|
|
+ </span>
|
|
|
+ <template v-if="curQue.property.pinyin_position == 'bottom'">
|
|
|
+ <span
|
|
|
+ v-if="config.isShowPY && item.dhaspinyin"
|
|
|
+ :class="[
|
|
|
+ 'NNPE-pinyin',
|
|
|
+ sentIndex == index ? 'wordBlank' : '',
|
|
|
+ noFont.indexOf(item.sentArr[pIndex + 2].pinyin) > -1 ? 'noFont' : '',
|
|
|
+ ]"
|
|
|
+ style="text-align: left"
|
|
|
+ :style="{
|
|
|
+ fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
+ height:
|
|
|
+ attrib && attrib.pinyin_size
|
|
|
+ ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
+ : '22px',
|
|
|
+ }"
|
|
|
+ >{{
|
|
|
+ NumberList.indexOf(item.sentArr[pIndex + 2].pinyin) == -1
|
|
|
+ ? item.sentArr[pIndex + 2].pinyin
|
|
|
+ : ''
|
|
|
+ }}</span
|
|
|
+ >
|
|
|
+ </template>
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
<template v-if="curQue.property.pinyin_position == 'top'">
|
|
|
<span
|
|
|
v-if="config.isShowPY && item.dhaspinyin"
|
|
|
class="NNPE-pinyin"
|
|
|
:class="[
|
|
|
+ pItem.chs != '“' && pItem.padding ? 'padding' : '',
|
|
|
pItem.className ? pItem.className : '',
|
|
|
sentIndex == index ? 'wordBlank' : '',
|
|
|
- noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
|
|
|
+ noFont.indexOf(item.pinyin) > -1 ? 'noFont' : '',
|
|
|
]"
|
|
|
:style="{
|
|
|
fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
@@ -220,9 +516,12 @@
|
|
|
>
|
|
|
</template>
|
|
|
<span
|
|
|
+ v-if="pItem.chs != '#'"
|
|
|
class="NNPE-chs"
|
|
|
:class="[
|
|
|
- pItem.padding && config.isShowPY && item.dhaspinyin ? 'padding' : '',
|
|
|
+ pItem.chs != '“' && pItem.padding && config.isShowPY && item.dhaspinyin
|
|
|
+ ? 'padding'
|
|
|
+ : '',
|
|
|
sentIndex == index ? 'wordBlank' : '',
|
|
|
]"
|
|
|
>
|
|
|
@@ -240,7 +539,6 @@
|
|
|
curTime <= curQue.wordTime[index].ed
|
|
|
? 'active'
|
|
|
: '',
|
|
|
- sentIndex == index ? 'wordBlank' : '',
|
|
|
]"
|
|
|
:style="{
|
|
|
fontFamily: pItem.config.fontFamily,
|
|
|
@@ -269,7 +567,7 @@
|
|
|
? attrib.topic_color
|
|
|
: pItem.config.color,
|
|
|
}"
|
|
|
- >{{ NumberList.indexOf(pItem.pinyin) == -1 ? pItem.chs[wIndex] : '' }}</span
|
|
|
+ >{{ NumberList.indexOf(pItem.chs[wIndex]) == -1 ? pItem.chs[wIndex] : '' }}</span
|
|
|
>
|
|
|
</template>
|
|
|
</span>
|
|
|
@@ -278,9 +576,9 @@
|
|
|
v-if="config.isShowPY && item.dhaspinyin"
|
|
|
class="NNPE-pinyin"
|
|
|
:class="[
|
|
|
+ pItem.chs != '“' && pItem.padding ? 'padding' : '',
|
|
|
pItem.className ? pItem.className : '',
|
|
|
sentIndex == index ? 'wordBlank' : '',
|
|
|
- noFont.indexOf(pItem.pinyin) > -1 ? 'noFont' : '',
|
|
|
]"
|
|
|
:style="{
|
|
|
fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
@@ -292,356 +590,63 @@
|
|
|
>{{ NumberList.indexOf(pItem.pinyin) == -1 ? pItem.pinyin : '' }}</span
|
|
|
>
|
|
|
</template>
|
|
|
- </span>
|
|
|
- <span class="NNPE-words-box">
|
|
|
- <template v-if="curQue.property.pinyin_position == 'top'">
|
|
|
- <span
|
|
|
- v-if="config.isShowPY && item.dhaspinyin"
|
|
|
- :class="[
|
|
|
- 'NNPE-pinyin',
|
|
|
- sentIndex == index ? 'wordBlank' : '',
|
|
|
- noFont.indexOf(item.sentArr[pIndex + 1].pinyin) > -1 ? 'noFont' : '',
|
|
|
- ]"
|
|
|
- style="text-align: left"
|
|
|
- :style="{
|
|
|
- fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
- height:
|
|
|
- attrib && attrib.pinyin_size
|
|
|
- ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
- : '22px',
|
|
|
- }"
|
|
|
- >{{
|
|
|
- NumberList.indexOf(item.sentArr[pIndex + 1].pinyin) == -1
|
|
|
- ? item.sentArr[pIndex + 1].pinyin
|
|
|
- : ''
|
|
|
- }}</span
|
|
|
- >
|
|
|
- </template>
|
|
|
- <span class="NNPE-chs" style="text-align: left">
|
|
|
- <span
|
|
|
- :class="[
|
|
|
- isPlaying &&
|
|
|
- pItem.timeList[pItem.leg - 1] &&
|
|
|
- curTime >= pItem.timeList[pItem.leg - 1].wordBg &&
|
|
|
- curQue.wordTime &&
|
|
|
- curQue.wordTime[index] &&
|
|
|
- curTime <= curQue.wordTime[index].ed
|
|
|
- ? 'active'
|
|
|
- : '',
|
|
|
- sentIndex == index ? 'wordBlank' : '',
|
|
|
- ]"
|
|
|
- :style="{
|
|
|
- fontFamily: item.sentArr[pIndex + 1].config.fontFamily,
|
|
|
- textDecoration: item.sentArr[pIndex + 1].config.textDecoration,
|
|
|
- borderBottom: item.sentArr[pIndex + 1].config.border === 'dotted' ? '1px dotted' : '',
|
|
|
- fontWeight: item.sentArr[pIndex + 1].config.fontWeight,
|
|
|
- height:
|
|
|
- attrib && attrib.font_size
|
|
|
- ? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
- : '28px',
|
|
|
- fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
- lineHeight:
|
|
|
- attrib && attrib.font_size
|
|
|
- ? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
- : '28px',
|
|
|
- display: 'inline-block',
|
|
|
- color:
|
|
|
- isPlaying &&
|
|
|
- pItem.timeList[pItem.leg - 1] &&
|
|
|
- curTime >= pItem.timeList[pItem.leg - 1].wordBg &&
|
|
|
- curQue.wordTime &&
|
|
|
- curQue.wordTime[index] &&
|
|
|
- curTime <= curQue.wordTime[index].ed &&
|
|
|
- attrib
|
|
|
- ? attrib.topic_color
|
|
|
- : item.sentArr[pIndex + 1].config.color,
|
|
|
- }"
|
|
|
- >
|
|
|
- {{
|
|
|
- NumberList.indexOf(item.sentArr[pIndex + 1].pinyin) == -1
|
|
|
- ? item.sentArr[pIndex + 1].chs
|
|
|
- : ''
|
|
|
- }}</span
|
|
|
- >
|
|
|
- </span>
|
|
|
- <template v-if="curQue.property.pinyin_position == 'bottom'">
|
|
|
- <span
|
|
|
- v-if="config.isShowPY && item.dhaspinyin"
|
|
|
- :class="[
|
|
|
- 'NNPE-pinyin',
|
|
|
- sentIndex == index ? 'wordBlank' : '',
|
|
|
- noFont.indexOf(item.sentArr[pIndex + 1].pinyin) > -1 ? 'noFont' : '',
|
|
|
- ]"
|
|
|
- style="text-align: left"
|
|
|
- :style="{
|
|
|
- fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
- height:
|
|
|
- attrib && attrib.pinyin_size
|
|
|
- ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
- : '22px',
|
|
|
- }"
|
|
|
- >{{
|
|
|
- NumberList.indexOf(item.sentArr[pIndex + 1].pinyin) == -1
|
|
|
- ? item.sentArr[pIndex + 1].pinyin
|
|
|
- : ''
|
|
|
- }}</span
|
|
|
- >
|
|
|
- </template>
|
|
|
- </span>
|
|
|
- <span
|
|
|
- v-if="
|
|
|
- item.sentArr[pIndex + 2] &&
|
|
|
- item.sentArr[pIndex + 2].chs &&
|
|
|
- chsFhList.indexOf(item.sentArr[pIndex + 2].chs) > -1
|
|
|
- "
|
|
|
- class="NNPE-words-box"
|
|
|
- >
|
|
|
- <template v-if="curQue.property.pinyin_position == 'top'">
|
|
|
- <span
|
|
|
- v-if="config.isShowPY && item.dhaspinyin"
|
|
|
- :class="[
|
|
|
- 'NNPE-pinyin',
|
|
|
- sentIndex == index ? 'wordBlank' : '',
|
|
|
- noFont.indexOf(item.sentArr[pIndex + 2].pinyin) > -1 ? 'noFont' : '',
|
|
|
- ]"
|
|
|
- style="text-align: left"
|
|
|
- :style="{
|
|
|
- fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
- height:
|
|
|
- attrib && attrib.pinyin_size
|
|
|
- ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
- : '22px',
|
|
|
- }"
|
|
|
- >{{
|
|
|
- NumberList.indexOf(item.sentArr[pIndex + 2].pinyin) == -1
|
|
|
- ? item.sentArr[pIndex + 2].pinyin
|
|
|
- : ''
|
|
|
- }}</span
|
|
|
- >
|
|
|
- </template>
|
|
|
- <span class="NNPE-chs" style="text-align: left">
|
|
|
- <span
|
|
|
- :class="[
|
|
|
- isPlaying &&
|
|
|
- pItem.timeList[pItem.leg - 1] &&
|
|
|
- curTime >= pItem.timeList[pItem.leg - 1].wordBg &&
|
|
|
- curQue.wordTime &&
|
|
|
- curQue.wordTime[index] &&
|
|
|
- curTime <= curQue.wordTime[index].ed
|
|
|
- ? 'active'
|
|
|
- : '',
|
|
|
- sentIndex == index ? 'wordBlank' : '',
|
|
|
- ]"
|
|
|
- :style="{
|
|
|
- fontFamily: item.sentArr[pIndex + 2].config.fontFamily,
|
|
|
- textDecoration: item.sentArr[pIndex + 2].config.textDecoration,
|
|
|
- borderBottom: item.sentArr[pIndex + 2].config.border === 'dotted' ? '1px dotted' : '',
|
|
|
- fontWeight: item.sentArr[pIndex + 2].config.fontWeight,
|
|
|
- height:
|
|
|
- attrib && attrib.font_size
|
|
|
- ? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
- : '28px',
|
|
|
- fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
- lineHeight:
|
|
|
- attrib && attrib.font_size
|
|
|
- ? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
- : '28px',
|
|
|
- display: 'inline-block',
|
|
|
- color:
|
|
|
- isPlaying &&
|
|
|
- pItem.timeList[pItem.leg - 1] &&
|
|
|
- curTime >= pItem.timeList[pItem.leg - 1].wordBg &&
|
|
|
- curQue.wordTime &&
|
|
|
- curQue.wordTime[index] &&
|
|
|
- curTime <= curQue.wordTime[index].ed &&
|
|
|
- attrib
|
|
|
- ? attrib.topic_color
|
|
|
- : item.sentArr[pIndex + 2].config.color,
|
|
|
- }"
|
|
|
- >
|
|
|
- {{
|
|
|
- NumberList.indexOf(item.sentArr[pIndex + 2].pinyin) == -1
|
|
|
- ? item.sentArr[pIndex + 2].chs
|
|
|
- : ''
|
|
|
- }}</span
|
|
|
- >
|
|
|
- </span>
|
|
|
- <template v-if="curQue.property.pinyin_position == 'bottom'">
|
|
|
- <span
|
|
|
- v-if="config.isShowPY && item.dhaspinyin"
|
|
|
- :class="[
|
|
|
- 'NNPE-pinyin',
|
|
|
- sentIndex == index ? 'wordBlank' : '',
|
|
|
- noFont.indexOf(item.sentArr[pIndex + 2].pinyin) > -1 ? 'noFont' : '',
|
|
|
- ]"
|
|
|
- style="text-align: left"
|
|
|
- :style="{
|
|
|
- fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
- height:
|
|
|
- attrib && attrib.pinyin_size
|
|
|
- ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
- : '22px',
|
|
|
- }"
|
|
|
- >{{
|
|
|
- NumberList.indexOf(item.sentArr[pIndex + 2].pinyin) == -1
|
|
|
- ? item.sentArr[pIndex + 2].pinyin
|
|
|
- : ''
|
|
|
- }}</span
|
|
|
- >
|
|
|
- </template>
|
|
|
- </span>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <template v-if="curQue.property.pinyin_position == 'top'">
|
|
|
- <span
|
|
|
- v-if="config.isShowPY && item.dhaspinyin"
|
|
|
- class="NNPE-pinyin"
|
|
|
- :class="[
|
|
|
- pItem.chs != '“' && pItem.padding ? 'padding' : '',
|
|
|
- pItem.className ? pItem.className : '',
|
|
|
- sentIndex == index ? 'wordBlank' : '',
|
|
|
- noFont.indexOf(item.pinyin) > -1 ? 'noFont' : '',
|
|
|
- ]"
|
|
|
- :style="{
|
|
|
- fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
- height:
|
|
|
- attrib && attrib.pinyin_size
|
|
|
- ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
- : '22px',
|
|
|
- }"
|
|
|
- >{{ NumberList.indexOf(pItem.pinyin) == -1 ? pItem.pinyin : '' }}</span
|
|
|
- >
|
|
|
- </template>
|
|
|
- <span
|
|
|
- v-if="pItem.chs != '#'"
|
|
|
- class="NNPE-chs"
|
|
|
- :class="[
|
|
|
- pItem.chs != '“' && pItem.padding && config.isShowPY && item.dhaspinyin ? 'padding' : '',
|
|
|
- sentIndex == index ? 'wordBlank' : '',
|
|
|
- ]"
|
|
|
- >
|
|
|
- <template>
|
|
|
- <span
|
|
|
- v-for="(wItem, wIndex) in pItem.leg"
|
|
|
- :key="'ci' + wIndex + pIndex + index"
|
|
|
- :class="[
|
|
|
- isPlaying &&
|
|
|
- pItem.timeList &&
|
|
|
- pItem.timeList[wIndex] &&
|
|
|
- curTime >= pItem.timeList[wIndex].wordBg &&
|
|
|
- curQue.wordTime &&
|
|
|
- curQue.wordTime[index] &&
|
|
|
- curTime <= curQue.wordTime[index].ed
|
|
|
- ? 'active'
|
|
|
- : '',
|
|
|
- ]"
|
|
|
- :style="{
|
|
|
- fontFamily: pItem.config.fontFamily,
|
|
|
- textDecoration: pItem.config.textDecoration,
|
|
|
- borderBottom: pItem.config.border === 'dotted' ? '1px dotted' : '',
|
|
|
- fontWeight: pItem.config.fontWeight,
|
|
|
- height:
|
|
|
- attrib && attrib.font_size
|
|
|
- ? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
- : '28px',
|
|
|
- fontSize: attrib && attrib.font_size ? attrib.font_size : '20px',
|
|
|
- lineHeight:
|
|
|
- attrib && attrib.font_size
|
|
|
- ? attrib.font_size.replace('pt', '') * 1.4 + 'pt'
|
|
|
- : '28px',
|
|
|
- display: 'inline-block',
|
|
|
- color:
|
|
|
- isPlaying &&
|
|
|
- pItem.timeList &&
|
|
|
- pItem.timeList[wIndex] &&
|
|
|
- curTime >= pItem.timeList[wIndex].wordBg &&
|
|
|
- curQue.wordTime &&
|
|
|
- curQue.wordTime[index] &&
|
|
|
- curTime <= curQue.wordTime[index].ed &&
|
|
|
- attrib
|
|
|
- ? attrib.topic_color
|
|
|
- : pItem.config.color,
|
|
|
- }"
|
|
|
- >{{ NumberList.indexOf(pItem.chs[wIndex]) == -1 ? pItem.chs[wIndex] : '' }}</span
|
|
|
- >
|
|
|
- </template>
|
|
|
- </span>
|
|
|
- <template v-if="curQue.property.pinyin_position == 'bottom'">
|
|
|
- <span
|
|
|
- v-if="config.isShowPY && item.dhaspinyin"
|
|
|
- class="NNPE-pinyin"
|
|
|
- :class="[
|
|
|
- pItem.chs != '“' && pItem.padding ? 'padding' : '',
|
|
|
- pItem.className ? pItem.className : '',
|
|
|
- sentIndex == index ? 'wordBlank' : '',
|
|
|
- ]"
|
|
|
- :style="{
|
|
|
- fontSize: attrib && attrib.pinyin_size ? attrib.pinyin_size : '14px',
|
|
|
- height:
|
|
|
- attrib && attrib.pinyin_size
|
|
|
- ? attrib.pinyin_size.replace('pt', '') * 1.5 + 'pt'
|
|
|
- : '22px',
|
|
|
- }"
|
|
|
- >{{ NumberList.indexOf(pItem.pinyin) == -1 ? pItem.pinyin : '' }}</span
|
|
|
- >
|
|
|
</template>
|
|
|
</template>
|
|
|
</template>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
- <span
|
|
|
- :style="{
|
|
|
- height: pItem.height + 'px',
|
|
|
- width: pItem.width + 'px',
|
|
|
- }"
|
|
|
- ></span>
|
|
|
- </template>
|
|
|
+ <template v-else>
|
|
|
+ <span
|
|
|
+ :style="{
|
|
|
+ height: pItem.height + 'px',
|
|
|
+ width: pItem.width + 'px',
|
|
|
+ }"
|
|
|
+ ></span>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div style="overflow: hidden; clear: both"></div>
|
|
|
+ <div
|
|
|
+ v-if="
|
|
|
+ item.enwords &&
|
|
|
+ config.isShowEN &&
|
|
|
+ (!curQue.enPosition || (curQue.enPosition && curQue.enPosition == 'bottom'))
|
|
|
+ "
|
|
|
+ :class="['enwords', sentIndex == index ? 'wordBlank' : '']"
|
|
|
+ >
|
|
|
+ {{ item.enwords }}
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ v-if="curQue.property.multilingual_position === 'para'"
|
|
|
+ class="multilingual-para"
|
|
|
+ :class="[item.isTitle ? 'multilingual-para-center' : '']"
|
|
|
+ >
|
|
|
+ {{
|
|
|
+ multilingualTextList[multilingual] && multilingualTextList[multilingual][index]
|
|
|
+ ? multilingualTextList[multilingual][index]
|
|
|
+ : ''
|
|
|
+ }}
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div style="overflow: hidden; clear: both"></div>
|
|
|
- <div
|
|
|
- v-if="
|
|
|
- item.enwords &&
|
|
|
- config.isShowEN &&
|
|
|
- (!curQue.enPosition || (curQue.enPosition && curQue.enPosition == 'bottom'))
|
|
|
- "
|
|
|
- :class="['enwords', sentIndex == index ? 'wordBlank' : '']"
|
|
|
- >
|
|
|
- {{ item.enwords }}
|
|
|
- </div>
|
|
|
- <div
|
|
|
- v-if="curQue.property.multilingual_position === 'para'"
|
|
|
- class="multilingual-para"
|
|
|
- :class="[item.isTitle ? 'multilingual-para-center' : '']"
|
|
|
- >
|
|
|
- {{
|
|
|
- multilingualTextList[multilingual] && multilingualTextList[multilingual][index]
|
|
|
- ? multilingualTextList[multilingual][index]
|
|
|
- : ''
|
|
|
- }}
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div v-show="sentIndex == index" class="Soundrecord-content">
|
|
|
- <div class="Soundrecord-content-inner">
|
|
|
- <Soundrecord
|
|
|
- v-if="refresh"
|
|
|
- type="promax"
|
|
|
- class="luyin-box"
|
|
|
- :TaskModel="TaskModel"
|
|
|
- :answer-record-list="
|
|
|
- curQue.Bookanswer.practiceModel[index] && curQue.Bookanswer.practiceModel[index].recordList
|
|
|
- "
|
|
|
- :tm-index="index"
|
|
|
- :sent-index="sentIndex"
|
|
|
- :attrib="attrib"
|
|
|
- @getWavblob="getWavblob"
|
|
|
- @handleParentPlay="handleParentPlay"
|
|
|
- @sentPause="sentPause"
|
|
|
- @handleWav="handleWav"
|
|
|
- />
|
|
|
- <!-- <div v-if="curQue.mp3_list && curQue.mp3_list.length > 0" class="compare-box">
|
|
|
+ <div v-show="sentIndex == index" class="Soundrecord-content">
|
|
|
+ <div class="Soundrecord-content-inner">
|
|
|
+ <Soundrecord
|
|
|
+ v-if="refresh"
|
|
|
+ type="promax"
|
|
|
+ class="luyin-box"
|
|
|
+ :TaskModel="TaskModel"
|
|
|
+ :answer-record-list="
|
|
|
+ curQue.Bookanswer.practiceModel[index] && curQue.Bookanswer.practiceModel[index].recordList
|
|
|
+ "
|
|
|
+ :tm-index="index"
|
|
|
+ :sent-index="sentIndex"
|
|
|
+ :attrib="attrib"
|
|
|
+ @getWavblob="getWavblob"
|
|
|
+ @handleParentPlay="handleParentPlay"
|
|
|
+ @sentPause="sentPause"
|
|
|
+ @handleWav="handleWav"
|
|
|
+ />
|
|
|
+ <!-- <div v-if="curQue.mp3_list && curQue.mp3_list.length > 0" class="compare-box">
|
|
|
<Audio-compare
|
|
|
:theme-color="attrib ? attrib.topic_color : '#e35454'"
|
|
|
:index="index"
|
|
|
@@ -658,43 +663,44 @@
|
|
|
:attrib="attrib"
|
|
|
/>
|
|
|
</div> -->
|
|
|
+ </div>
|
|
|
+ <span class="full-screen-icon" @click="fullScreen">
|
|
|
+ <svg-icon
|
|
|
+ icon-class="icon-full"
|
|
|
+ size="24"
|
|
|
+ :style="{
|
|
|
+ color: attrib && attrib.topic_color ? attrib.topic_color : '',
|
|
|
+ }"
|
|
|
+ />
|
|
|
+ </span>
|
|
|
</div>
|
|
|
- <span class="full-screen-icon" @click="fullScreen">
|
|
|
- <svg-icon
|
|
|
- icon-class="icon-full"
|
|
|
- size="24"
|
|
|
- :style="{
|
|
|
- color: attrib && attrib.topic_color ? attrib.topic_color : '',
|
|
|
- }"
|
|
|
- />
|
|
|
- </span>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <!-- <div class="multilingual" v-for="(items, indexs) in multilingualTextList" :key="indexs">
|
|
|
+ <!-- <div class="multilingual" v-for="(items, indexs) in multilingualTextList" :key="indexs">
|
|
|
{{ items }}
|
|
|
</div> -->
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template v-for="(items, indexs) in curQue.detail">
|
|
|
- <div
|
|
|
- v-if="
|
|
|
- curQue.property.multilingual_position === 'all' &&
|
|
|
- items.multilingualTextList &&
|
|
|
- items.multilingualTextList[multilingual] &&
|
|
|
- items.multilingualTextList[multilingual].length > 0
|
|
|
- "
|
|
|
- :key="indexs"
|
|
|
- class="multilingual"
|
|
|
- >
|
|
|
- <div class="multilingual-para" :class="[items.isTitle ? 'multilingual-para-center' : '']">
|
|
|
- {{
|
|
|
- items.multilingualTextList && items.multilingualTextList[multilingual]
|
|
|
- ? items.multilingualTextList[multilingual].join(' ')
|
|
|
- : ''
|
|
|
- }}
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
+ </template>
|
|
|
+ <template v-for="(items, indexs) in curQue.detail">
|
|
|
+ <div
|
|
|
+ v-if="
|
|
|
+ curQue.property.multilingual_position === 'all' &&
|
|
|
+ items.multilingualTextList &&
|
|
|
+ items.multilingualTextList[multilingual] &&
|
|
|
+ items.multilingualTextList[multilingual].length > 0
|
|
|
+ "
|
|
|
+ :key="indexs"
|
|
|
+ class="multilingual"
|
|
|
+ >
|
|
|
+ <div class="multilingual-para" :class="[items.isTitle ? 'multilingual-para-center' : '']">
|
|
|
+ {{
|
|
|
+ items.multilingualTextList && items.multilingualTextList[multilingual]
|
|
|
+ ? items.multilingualTextList[multilingual].join(' ')
|
|
|
+ : ''
|
|
|
+ }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </div>
|
|
|
<div
|
|
|
v-if="
|
|
|
((curQue.mp3_list && curQue.mp3_list.length > 0 && curQue.mp3_list[0].url) ||
|