|
@@ -59,7 +59,6 @@
|
|
<svg-icon icon-class="icon-wrapper" class="wrapper"></svg-icon>
|
|
<svg-icon icon-class="icon-wrapper" class="wrapper"></svg-icon>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <magazine-video v-if="magazineVideoShow" @closeWord="closeWord" style="margin-top:24px"></magazine-video>
|
|
|
|
<template v-if="resArr.length > 0">
|
|
<template v-if="resArr.length > 0">
|
|
<div class="table-box">
|
|
<div class="table-box">
|
|
<div
|
|
<div
|
|
@@ -68,85 +67,84 @@
|
|
:key="'detail' + index"
|
|
:key="'detail' + index"
|
|
>
|
|
>
|
|
<div class="wordsList-box">
|
|
<div class="wordsList-box">
|
|
- <!-- class="nnpr-sentence-box-new" -->
|
|
|
|
<div class="nnpe-sentence-box">
|
|
<div class="nnpe-sentence-box">
|
|
<div v-for="(pItem, pIndex) in item.wordsList" :key="'wordsList' + pIndex">
|
|
<div v-for="(pItem, pIndex) in item.wordsList" :key="'wordsList' + pIndex">
|
|
<template v-if="pItem.pno!==0">
|
|
<template v-if="pItem.pno!==0">
|
|
<template v-if="pItem.isShow">
|
|
<template v-if="pItem.isShow">
|
|
- <div
|
|
|
|
- :class="[
|
|
|
|
- 'NNPE-words',
|
|
|
|
- isPlaying &&
|
|
|
|
- item.timeList &&
|
|
|
|
- item.timeList[pItem.sno] &&
|
|
|
|
- curTime >= item.timeList[pItem.sno].s &&
|
|
|
|
- curTime <= item.timeList[pItem.sno].e
|
|
|
|
- ? 'sentActive'
|
|
|
|
- : '',
|
|
|
|
- pItem.pno == paraIndex && pItem.sno == sentIndex
|
|
|
|
- ? 'overActive'
|
|
|
|
- : '',
|
|
|
|
- ]"
|
|
|
|
- @click="
|
|
|
|
- handleChangeTime(
|
|
|
|
|
|
+ <div
|
|
|
|
+ :class="[
|
|
|
|
+ 'NNPE-words',
|
|
|
|
+ isPlaying &&
|
|
item.timeList &&
|
|
item.timeList &&
|
|
item.timeList[pItem.sno] &&
|
|
item.timeList[pItem.sno] &&
|
|
- item.timeList[pItem.sno].s
|
|
|
|
- )
|
|
|
|
- "
|
|
|
|
- @mouseover="handleMouseover(pItem)"
|
|
|
|
- @mouseleave="handleMouseleave"
|
|
|
|
- >
|
|
|
|
- <span
|
|
|
|
- class="NNPE-chs"
|
|
|
|
- :class="[
|
|
|
|
- isPlaying &&
|
|
|
|
- item.timeList &&
|
|
|
|
- item.timeList[pItem.sno] &&
|
|
|
|
- item.timeList[pItem.sno].tokens[pIndex]&&
|
|
|
|
- curTime >=
|
|
|
|
- item.timeList[pItem.sno].tokens[pIndex].s &&
|
|
|
|
- curTime <= item.timeList[pItem.sno].e
|
|
|
|
- ? 'wordActive'
|
|
|
|
- : '',
|
|
|
|
- pItem.tokens[9]===' '?'marginRight':''
|
|
|
|
- ]"
|
|
|
|
- :style="{fontSize:wordFontsize + 'px',color: isPlaying &&
|
|
|
|
|
|
+ curTime >= item.timeList[pItem.sno].s &&
|
|
|
|
+ curTime <= item.timeList[pItem.sno].e
|
|
|
|
+ ? 'sentActive'
|
|
|
|
+ : '',
|
|
|
|
+ pItem.pno == paraIndex && pItem.sno == sentIndex
|
|
|
|
+ ? 'overActive'
|
|
|
|
+ : '',
|
|
|
|
+ ]"
|
|
|
|
+ @click="
|
|
|
|
+ handleChangeTime(
|
|
|
|
+ item.timeList &&
|
|
|
|
+ item.timeList[pItem.sno] &&
|
|
|
|
+ item.timeList[pItem.sno].s
|
|
|
|
+ )
|
|
|
|
+ "
|
|
|
|
+ @mouseover="handleMouseover(pItem)"
|
|
|
|
+ @mouseleave="handleMouseleave"
|
|
|
|
+ >
|
|
|
|
+ <span
|
|
|
|
+ class="NNPE-chs"
|
|
|
|
+ :class="[
|
|
|
|
+ isPlaying &&
|
|
item.timeList &&
|
|
item.timeList &&
|
|
item.timeList[pItem.sno] &&
|
|
item.timeList[pItem.sno] &&
|
|
item.timeList[pItem.sno].tokens[pIndex]&&
|
|
item.timeList[pItem.sno].tokens[pIndex]&&
|
|
curTime >=
|
|
curTime >=
|
|
item.timeList[pItem.sno].tokens[pIndex].s &&
|
|
item.timeList[pItem.sno].tokens[pIndex].s &&
|
|
- curTime <= item.timeList[pItem.sno].tokens[pIndex].e?colorObj.statisticValue:colorObj.contentColor}"
|
|
|
|
- >{{ pItem.tokens[2] }}</span
|
|
|
|
- >
|
|
|
|
- <span
|
|
|
|
- class="NNPE-chs NNPE-chs-both"
|
|
|
|
- v-if="item.wordsList[pIndex + 1] &&
|
|
|
|
- item.wordsList[pIndex + 1].tokens[2] &&
|
|
|
|
- enFhList.indexOf(item.wordsList[pIndex + 1].tokens[2]) > -1"
|
|
|
|
- :class="[
|
|
|
|
- isPlaying &&
|
|
|
|
- item.timeList &&
|
|
|
|
- item.timeList[pItem.sno] &&
|
|
|
|
- item.timeList[pItem.sno].tokens[pIndex]&&
|
|
|
|
- curTime >=
|
|
|
|
- item.timeList[pItem.sno].tokens[pIndex].s &&
|
|
|
|
- curTime <= item.timeList[pItem.sno].e
|
|
|
|
- ? 'wordActive'
|
|
|
|
- : '',
|
|
|
|
- item.wordsList[pIndex + 1].tokens[9]===' '?'marginRight':''
|
|
|
|
- ]"
|
|
|
|
- :style="{fontSize:wordFontsize + 'px',color: isPlaying &&
|
|
|
|
|
|
+ curTime <= item.timeList[pItem.sno].e
|
|
|
|
+ ? 'wordActive'
|
|
|
|
+ : '',
|
|
|
|
+ pItem.tokens[9]===' '?'marginRight':''
|
|
|
|
+ ]"
|
|
|
|
+ :style="{fontSize:wordFontsize + 'px',color: isPlaying &&
|
|
|
|
+ item.timeList &&
|
|
|
|
+ item.timeList[pItem.sno] &&
|
|
|
|
+ item.timeList[pItem.sno].tokens[pIndex]&&
|
|
|
|
+ curTime >=
|
|
|
|
+ item.timeList[pItem.sno].tokens[pIndex].s &&
|
|
|
|
+ curTime <= item.timeList[pItem.sno].tokens[pIndex].e?colorObj.statisticValue:colorObj.contentColor}"
|
|
|
|
+ >{{ pItem.tokens[2] }}</span
|
|
|
|
+ >
|
|
|
|
+ <span
|
|
|
|
+ class="NNPE-chs NNPE-chs-both"
|
|
|
|
+ v-if="item.wordsList[pIndex + 1] &&
|
|
|
|
+ item.wordsList[pIndex + 1].tokens[2] &&
|
|
|
|
+ enFhList.indexOf(item.wordsList[pIndex + 1].tokens[2]) > -1"
|
|
|
|
+ :class="[
|
|
|
|
+ isPlaying &&
|
|
item.timeList &&
|
|
item.timeList &&
|
|
item.timeList[pItem.sno] &&
|
|
item.timeList[pItem.sno] &&
|
|
item.timeList[pItem.sno].tokens[pIndex]&&
|
|
item.timeList[pItem.sno].tokens[pIndex]&&
|
|
curTime >=
|
|
curTime >=
|
|
item.timeList[pItem.sno].tokens[pIndex].s &&
|
|
item.timeList[pItem.sno].tokens[pIndex].s &&
|
|
- curTime <= item.timeList[pItem.sno].tokens[pIndex].e?colorObj.statisticValue:colorObj.contentColor}"
|
|
|
|
- >{{ item.wordsList[pIndex + 1].tokens[2] }}</span
|
|
|
|
- >
|
|
|
|
- </div>
|
|
|
|
|
|
+ curTime <= item.timeList[pItem.sno].e
|
|
|
|
+ ? 'wordActive'
|
|
|
|
+ : '',
|
|
|
|
+ item.wordsList[pIndex + 1].tokens[9]===' '?'marginRight':''
|
|
|
|
+ ]"
|
|
|
|
+ :style="{fontSize:wordFontsize + 'px',color: isPlaying &&
|
|
|
|
+ item.timeList &&
|
|
|
|
+ item.timeList[pItem.sno] &&
|
|
|
|
+ item.timeList[pItem.sno].tokens[pIndex]&&
|
|
|
|
+ curTime >=
|
|
|
|
+ item.timeList[pItem.sno].tokens[pIndex].s &&
|
|
|
|
+ curTime <= item.timeList[pItem.sno].tokens[pIndex].e?colorObj.statisticValue:colorObj.contentColor}"
|
|
|
|
+ >{{ item.wordsList[pIndex + 1].tokens[2] }}</span
|
|
|
|
+ >
|
|
|
|
+ </div>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</template>
|
|
</div>
|
|
</div>
|
|
@@ -174,7 +172,6 @@ export default {
|
|
return {
|
|
return {
|
|
resArr: [],
|
|
resArr: [],
|
|
curTime: 0, //单位s
|
|
curTime: 0, //单位s
|
|
- chsFhList: [",", "。", "“", ":", "》", "《", "?", "!", ";", "("],
|
|
|
|
enFhList: [
|
|
enFhList: [
|
|
",",
|
|
",",
|
|
".",
|
|
".",
|
|
@@ -214,16 +211,9 @@ export default {
|
|
"‘ll",
|
|
"‘ll",
|
|
"”",
|
|
"”",
|
|
],
|
|
],
|
|
- lastEnFhlist: [',','.',';',':','?','!'],
|
|
|
|
- firstEnFhlist: ["'","‘","“",'"',"("],
|
|
|
|
- noPaddingList: ['(', '"'],
|
|
|
|
articleImg: {}, // 文章图片
|
|
articleImg: {}, // 文章图片
|
|
paraIndex: -1, //段落索引
|
|
paraIndex: -1, //段落索引
|
|
sentIndex: -1, // 句子索引
|
|
sentIndex: -1, // 句子索引
|
|
- articleAuthor:'初二版 · 第 815 期 · 2023-05-15 · OUR WORLD · BY TEENS', // 作者信息
|
|
|
|
- magazineVideoShow: false,
|
|
|
|
- paraNumber: 1,
|
|
|
|
-
|
|
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -242,80 +232,7 @@ export default {
|
|
this.curTime = curTime * 1000;
|
|
this.curTime = curTime * 1000;
|
|
},
|
|
},
|
|
handleData() {
|
|
handleData() {
|
|
- let _this = this;
|
|
|
|
- _this.paraNumber = 1
|
|
|
|
let resArr = [];
|
|
let resArr = [];
|
|
- // let leg = this.curQue.detail.length;
|
|
|
|
- // let curQue = JSON.parse(JSON.stringify(this.curQue));
|
|
|
|
- // curQue.detail.forEach((dItem, dIndex) => {
|
|
|
|
- // let paraArr = [];
|
|
|
|
- // if (dItem.paragraphAttr&&dItem.paragraphAttr.paragraphIndentation&&!dItem.isTitle) {
|
|
|
|
- // paraArr = [
|
|
|
|
- // {
|
|
|
|
- // width: 9,
|
|
|
|
- // height: 20,
|
|
|
|
- // },
|
|
|
|
- // {
|
|
|
|
- // width: 9,
|
|
|
|
- // height: 20,
|
|
|
|
- // },
|
|
|
|
- // ];
|
|
|
|
- // }
|
|
|
|
- // dItem.segList.forEach((sItem, sIndex) => {
|
|
|
|
- // sItem.forEach((wItem, wIndex) => {
|
|
|
|
- // let styles = ''
|
|
|
|
- // if(dItem.wordStyle&&dItem.wordStyle[sIndex]&&dItem.wordStyle[sIndex][wIndex]){
|
|
|
|
- // for(let k in dItem.wordStyle[sIndex][wIndex]){
|
|
|
|
- // if(dItem.wordStyle[sIndex][wIndex][k]&&k!='styleList'&&k!='paddingList'){
|
|
|
|
- // styles += dItem.wordStyle[sIndex][wIndex][k]+' '
|
|
|
|
- // }else if(k =='styleList'||k=='paddingList'){
|
|
|
|
- // dItem.wordStyle[sIndex][wIndex][k].forEach(itemK=>{
|
|
|
|
- // styles += itemK + ' '
|
|
|
|
- // })
|
|
|
|
- // }
|
|
|
|
- // }
|
|
|
|
- // }
|
|
|
|
- // let obj = {
|
|
|
|
- // paraIndex: dIndex, //段落索引
|
|
|
|
- // sentIndex: sIndex, //在段落中句子索引
|
|
|
|
- // wordIndex: wIndex, //单词的索引
|
|
|
|
- // en: wItem,
|
|
|
|
- // padding: true,
|
|
|
|
- // isShow: this.mergeWordSymbol(wItem),
|
|
|
|
- // className: styles,
|
|
|
|
- // };
|
|
|
|
- // //this.judgePad(sItem, obj, wIndex);
|
|
|
|
- // paraArr.push(obj);
|
|
|
|
- // });
|
|
|
|
- // });
|
|
|
|
-
|
|
|
|
- // let curSentencesLeg = dItem.sentences.length;
|
|
|
|
- // let startLeg = dIndex == 0 ? 0 : curQue.detail[dIndex - 1].endLeg;
|
|
|
|
- // let endLeg = startLeg + curSentencesLeg;
|
|
|
|
- // dItem.endLeg = endLeg;
|
|
|
|
- // let timeList = curQue.wordTime.slice(startLeg, endLeg);
|
|
|
|
-
|
|
|
|
- // if(dItem.isTitle||(dItem.isLittleTitle&&dItem.paragraphAttr.paragraphLittleNumber&&dItem.paragraphAttr.paragraphLittleNumber==false)||(dItem.isLittleTitle&&!dItem.paragraphAttr.paragraphLittleNumber) || (dItem.paragraphAttr&&!dItem.paragraphAttr.paragraphNumber)){
|
|
|
|
- // dItem.paraNumber = ''
|
|
|
|
- // }else{
|
|
|
|
- // dItem.paraNumber = _this.paraNumber
|
|
|
|
- // _this.paraNumber ++
|
|
|
|
- // }
|
|
|
|
- // let paraObj = {
|
|
|
|
- // wordsList: paraArr,
|
|
|
|
- // timeList: timeList,
|
|
|
|
- // isTitle: dItem.isTitle,
|
|
|
|
- // paraNumber: dItem.paraNumber
|
|
|
|
- // };
|
|
|
|
- // resArr.push(paraObj);
|
|
|
|
- // });
|
|
|
|
- // this.resArr = resArr;
|
|
|
|
- // // 循环文章图片
|
|
|
|
- // if (curQue.img_list) {
|
|
|
|
- // curQue.img_list.forEach((item) => {
|
|
|
|
- // _this.articleImg[item.imgNumber] = item.id;
|
|
|
|
- // });
|
|
|
|
- // }
|
|
|
|
let articleInfo = JSON.parse(JSON.stringify(this.articleInfo));
|
|
let articleInfo = JSON.parse(JSON.stringify(this.articleInfo));
|
|
let leg = articleInfo.art_corpus_data.sentList[articleInfo.art_corpus_data.sentList.length-1].pno
|
|
let leg = articleInfo.art_corpus_data.sentList[articleInfo.art_corpus_data.sentList.length-1].pno
|
|
for(let i=0;i<leg+1;i++){
|
|
for(let i=0;i<leg+1;i++){
|
|
@@ -356,14 +273,6 @@ export default {
|
|
this.paraIndex = -1;
|
|
this.paraIndex = -1;
|
|
this.sentIndex = -1;
|
|
this.sentIndex = -1;
|
|
},
|
|
},
|
|
- // 讲解视频
|
|
|
|
- handleVideo(){
|
|
|
|
- this.magazineVideoShow = true
|
|
|
|
- },
|
|
|
|
- // 关闭视频
|
|
|
|
- closeWord(){
|
|
|
|
- this.magazineVideoShow = false
|
|
|
|
- },
|
|
|
|
},
|
|
},
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
created() {},
|
|
created() {},
|
|
@@ -388,12 +297,6 @@ export default {
|
|
width: 100%;
|
|
width: 100%;
|
|
.nnpe-article-author{
|
|
.nnpe-article-author{
|
|
margin: 24px 0;
|
|
margin: 24px 0;
|
|
- &.nnpe-article-author-left{
|
|
|
|
- text-align: left;
|
|
|
|
- }
|
|
|
|
- &.nnpe-article-author-right{
|
|
|
|
- text-align: right;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
h2{
|
|
h2{
|
|
&.sentActive {
|
|
&.sentActive {
|
|
@@ -414,38 +317,12 @@ export default {
|
|
padding-bottom: 40px;
|
|
padding-bottom: 40px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .index {
|
|
|
|
- width: 48px;
|
|
|
|
- box-sizing: border-box;
|
|
|
|
- padding: 8px;
|
|
|
|
- text-align: right;
|
|
|
|
- border-right: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
|
- b {
|
|
|
|
- font-weight: 400;
|
|
|
|
- color: #000000;
|
|
|
|
- line-height: 1.5;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
.wordsList-box {
|
|
.wordsList-box {
|
|
flex: 1;
|
|
flex: 1;
|
|
padding: 6px 0 12px 0;
|
|
padding: 6px 0 12px 0;
|
|
- &.wordsList-box-indent{
|
|
|
|
- padding-left: 42px;
|
|
|
|
- }
|
|
|
|
.nnpe-sentence-box {
|
|
.nnpe-sentence-box {
|
|
display: flex;
|
|
display: flex;
|
|
flex-flow: wrap;
|
|
flex-flow: wrap;
|
|
- &.nnpe-sentence-box-right{
|
|
|
|
- justify-content: flex-end;
|
|
|
|
- }
|
|
|
|
- .nnpe-paragraph-con{
|
|
|
|
- line-height: 24px;
|
|
|
|
- padding: 0 3px;
|
|
|
|
- }
|
|
|
|
- .nnpr-sentence-box-new{
|
|
|
|
- clear: both;
|
|
|
|
- overflow: hidden;
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
> img {
|
|
> img {
|
|
max-width: 50%;
|
|
max-width: 50%;
|
|
@@ -459,31 +336,6 @@ export default {
|
|
clear: both;
|
|
clear: both;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
display: flex;
|
|
display: flex;
|
|
- &.NNPE-detail-title {
|
|
|
|
- .wordsList-box {
|
|
|
|
- > div {
|
|
|
|
- display: flex;
|
|
|
|
- justify-content: center;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- &.NNPE-detail-title-left {
|
|
|
|
- .wordsList-box {
|
|
|
|
- .nnpe-sentence-box {
|
|
|
|
- justify-content: flex-start;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- &.NNPE-detail-title-right {
|
|
|
|
- .wordsList-box {
|
|
|
|
- .nnpe-sentence-box {
|
|
|
|
- justify-content: flex-end;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- &.NNPE-detail-littleTitle{
|
|
|
|
- margin-bottom: -18px;
|
|
|
|
- }
|
|
|
|
.NNPE-words {
|
|
.NNPE-words {
|
|
float: left;
|
|
float: left;
|
|
padding: 0;
|
|
padding: 0;
|
|
@@ -529,20 +381,6 @@ export default {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
- .explain-video{
|
|
|
|
- background: #FFB224;
|
|
|
|
- border-color: #FFB224;
|
|
|
|
- color: #FFFFFF;
|
|
|
|
- width: 136px;
|
|
|
|
- height: 48px;
|
|
|
|
- padding: 0;
|
|
|
|
- font-weight: 500;
|
|
|
|
- font-size: 16px;
|
|
|
|
- border-radius: 30px;
|
|
|
|
- .svg-icon{
|
|
|
|
- margin-right: 8px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
.aduioLine-box{
|
|
.aduioLine-box{
|
|
width: 516px;
|
|
width: 516px;
|
|
@@ -564,187 +402,4 @@ export default {
|
|
width: 430px;
|
|
width: 430px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
-<style lang="scss">
|
|
|
|
-.words-notes {
|
|
|
|
- position: fixed;
|
|
|
|
- width: 475px;
|
|
|
|
- z-index: 2;
|
|
|
|
- .close-btn {
|
|
|
|
- position: absolute;
|
|
|
|
- width: 32px;
|
|
|
|
- height: 32px;
|
|
|
|
- box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.25);
|
|
|
|
- // background: url("../../../../assets/newImage/common/icon-close-write.png")
|
|
|
|
- // center no-repeat;
|
|
|
|
- background-size: cover;
|
|
|
|
- top: -40px;
|
|
|
|
- right: 0px;
|
|
|
|
- border-radius: 40px;
|
|
|
|
- }
|
|
|
|
- .words-top {
|
|
|
|
- background: #ffffff;
|
|
|
|
- box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.25);
|
|
|
|
- border-radius: 8px;
|
|
|
|
- margin-bottom: 10px;
|
|
|
|
- padding: 8px 24px;
|
|
|
|
- > div {
|
|
|
|
- display: flex;
|
|
|
|
- }
|
|
|
|
- p {
|
|
|
|
- font-size: 16px;
|
|
|
|
- line-height: 150%;
|
|
|
|
- color: #000000;
|
|
|
|
- margin: 8px 0;
|
|
|
|
- &.hasCn{
|
|
|
|
- font-family: 'Smartisan';
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- b {
|
|
|
|
- font-size: 16px;
|
|
|
|
- line-height: 150%;
|
|
|
|
- color: #000000;
|
|
|
|
- margin: 8px 16px;
|
|
|
|
- max-width: 70%;
|
|
|
|
- word-break: break-word;
|
|
|
|
- }
|
|
|
|
- .shiyi {
|
|
|
|
- margin-left: 16px;
|
|
|
|
- font-size: 16px;
|
|
|
|
- line-height: 150%;
|
|
|
|
- color: #000000;
|
|
|
|
- flex: 1;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .words-bottom {
|
|
|
|
- background: #ffffff;
|
|
|
|
- box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.25);
|
|
|
|
- border-radius: 8px;
|
|
|
|
- padding: 16px 24px 24px 40px;
|
|
|
|
- max-height: 350px;
|
|
|
|
- overflow: auto;
|
|
|
|
- h3 {
|
|
|
|
- text-align: right;
|
|
|
|
- font-size: 14px;
|
|
|
|
- line-height: 16px;
|
|
|
|
- font-weight: normal;
|
|
|
|
- color: rgba($color: #000000, $alpha: 0.2);
|
|
|
|
- margin: 0;
|
|
|
|
- }
|
|
|
|
- b {
|
|
|
|
- font-size: 24px;
|
|
|
|
- line-height: 28px;
|
|
|
|
- margin: 8px 0 16px 0;
|
|
|
|
- color: #000000;
|
|
|
|
- display: block;
|
|
|
|
- }
|
|
|
|
- span {
|
|
|
|
- font-size: 16px;
|
|
|
|
- line-height: 150%;
|
|
|
|
- color: #000000;
|
|
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
- a {
|
|
|
|
- margin: 0 0 0 8px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .voice-box {
|
|
|
|
- display: flex;
|
|
|
|
- :first-child {
|
|
|
|
- a {
|
|
|
|
- margin-right: 24px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .shiyi {
|
|
|
|
- padding: 11px 0 2px 0;
|
|
|
|
- max-height: 116px;
|
|
|
|
- overflow: hidden;
|
|
|
|
- > div {
|
|
|
|
- display: flex;
|
|
|
|
- margin: 5px 0;
|
|
|
|
- }
|
|
|
|
- b {
|
|
|
|
- font-weight: normal;
|
|
|
|
- font-size: 16px;
|
|
|
|
- line-height: 150%;
|
|
|
|
- color: #000000;
|
|
|
|
- margin: 0 4px 0 0;
|
|
|
|
- // width: ;
|
|
|
|
- }
|
|
|
|
- p {
|
|
|
|
- font-size: 16px;
|
|
|
|
- line-height: 150%;
|
|
|
|
- color: #000000;
|
|
|
|
- width: 350px;
|
|
|
|
- margin: 0;
|
|
|
|
- }
|
|
|
|
- .hasCn{
|
|
|
|
- font-family: 'Smartisan';
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .text-right {
|
|
|
|
- text-align: right;
|
|
|
|
- a {
|
|
|
|
- // background: url("../../../../assets/adult/detail.png") center right
|
|
|
|
- // no-repeat;
|
|
|
|
- background-size: 24px;
|
|
|
|
- padding-right: 26px;
|
|
|
|
- color: #000000;
|
|
|
|
- opacity: 0.3;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .play {
|
|
|
|
- width: 16px;
|
|
|
|
- height: 16px;
|
|
|
|
- cursor: pointer;
|
|
|
|
- display: inline-block;
|
|
|
|
- margin: 12px 0;
|
|
|
|
- &.playBtn {
|
|
|
|
- // background: url("../../../../assets/NNPE/icon-voice.png")
|
|
|
|
- // no-repeat left top;
|
|
|
|
- background-size: 100% 100%;
|
|
|
|
- }
|
|
|
|
- &.voice-playing {
|
|
|
|
- // background: url("../../../../assets/NNPE/icon-voice-play-blue.png")
|
|
|
|
- // no-repeat left top;
|
|
|
|
- background-size: 100% 100%;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-.words-annotation {
|
|
|
|
- position: fixed;
|
|
|
|
- z-index: 2;
|
|
|
|
- background: #394D95;
|
|
|
|
- box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.25);
|
|
|
|
- border-radius: 8px;
|
|
|
|
- width: 345px;
|
|
|
|
- padding: 16px;
|
|
|
|
- .close-btn {
|
|
|
|
- position: absolute;
|
|
|
|
- width: 32px;
|
|
|
|
- height: 32px;
|
|
|
|
- box-shadow: 0px 4px 24px rgba(0, 0, 0, 0.25);
|
|
|
|
- // background: url("../../../../assets/NNPE/icon-close-blue.png")
|
|
|
|
- // center no-repeat;
|
|
|
|
- background-size: cover;
|
|
|
|
- top: -32px;
|
|
|
|
- right: -32px;
|
|
|
|
- border-radius: 40px;
|
|
|
|
- }
|
|
|
|
- b {
|
|
|
|
- display: block;
|
|
|
|
- font-size: 16px;
|
|
|
|
- line-height: 19px;
|
|
|
|
- color: #ffffff;
|
|
|
|
- margin-bottom: 8px;
|
|
|
|
- word-break: break-word;
|
|
|
|
- }
|
|
|
|
- p {
|
|
|
|
- font-size: 16px;
|
|
|
|
- line-height: 19px;
|
|
|
|
- color: #ffffff;
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
</style>
|
|
</style>
|