|
@@ -38,45 +38,77 @@ |
|
|
<view class="text" :id="'dialog'+csdFileindex+'text'+item.bg" |
|
|
<view class="text" :id="'dialog'+csdFileindex+'text'+item.bg" |
|
|
:class="{active: item.bg < playNow && item.ed > playNow && i==0}" |
|
|
:class="{active: item.bg < playNow && item.ed > playNow && i==0}" |
|
|
v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker"> |
|
|
v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker"> |
|
|
<view class="avatar"> |
|
|
|
|
|
<view v-if="item.speaker == 1" style="color: #60CBEC;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>A</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 2" style="color: #EC8B47;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>B</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 3" style="color: #4F861E;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>C</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 4" style="color: #9F61C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>D</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 5" style="color: #4980C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>E</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view v-if="item.speaker == 6" style="color: #60CBEC;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>F</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 7" style="color: #EC8B47;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>G</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 8" style="color: #4F861E;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>H</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 9" style="color: #9F61C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>I</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="avatar"> |
|
|
|
|
|
<view v-if="item.speaker == 1" style="color: #60CBEC;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>A</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 2" style="color: #EC8B47;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>B</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 3" style="color: #4F861E;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>C</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 4" style="color: #9F61C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>D</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 5" style="color: #4980C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>E</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view v-if="item.speaker == 6" style="color: #60CBEC;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>F</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 7" style="color: #EC8B47;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>G</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 8" style="color: #4F861E;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>H</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 9" style="color: #9F61C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>I</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 10" style="color: #9F61C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>J</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 11" style="color: #9F61C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>K</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 12" style="color: #9F61C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>L</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 13" style="color: #9F61C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>M</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 14" style="color: #9F61C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>N</text> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 15" style="color: #9F61C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>O</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view v-if="item.speaker == 16" style="color: #9F61C8;"> |
|
|
|
|
|
<image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix"></image> |
|
|
|
|
|
<text v-else>P</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="content"> |
|
|
<view class="content"> |
|
|
<view @longpress="changanxiaoguo(item,index,i)" v-html="item.onebest"></view> |
|
|
<view @longpress="changanxiaoguo(item,index,i)" v-html="item.onebest"></view> |
|
|
<view class="tankuangcss" v-if="item.isshow"> |
|
|
<view class="tankuangcss" v-if="item.isshow"> |
|
@@ -695,49 +727,78 @@ |
|
|
success: (data) => { |
|
|
success: (data) => { |
|
|
this.tablist=[]; |
|
|
this.tablist=[]; |
|
|
let jsonInfo = JSON.parse(data.data.data.audioContent); |
|
|
let jsonInfo = JSON.parse(data.data.data.audioContent); |
|
|
for(var i=0;i<=data.data.data.speakerNum;i++){ |
|
|
|
|
|
if(i==0){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'全部' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==1){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'A' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==2){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'B' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==3){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'C' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==4){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'D' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==5){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'E' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==6){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'F' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==7){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'G' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==8){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'H' |
|
|
|
|
|
}) |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'I' |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
for(var i=0;i<=data.data.data.speakerNum;i++){ |
|
|
|
|
|
if(i==0){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'全部' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==1){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'A' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==2){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'B' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==3){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'C' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==4){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'D' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==5){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'E' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==6){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'F' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==7){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'G' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==8){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'H' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==9){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'I' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==10){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'J' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==11){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'K' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==12){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'L' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==13){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'M' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==14){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'N' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==15){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'O' |
|
|
|
|
|
}) |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'P' |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
this.tablist[data.data.data.speaker].name=this.tablist[data.data.data.speaker].name+"顾问"; |
|
|
this.tablist[data.data.data.speaker].name=this.tablist[data.data.data.speaker].name+"顾问"; |
|
|
this.roleindexbiaoji=data.data.data.speaker-1; |
|
|
this.roleindexbiaoji=data.data.data.speaker-1; |
|
|
this.dshfkjsdkksodofydwfkhwdfkjh=data.data.data.speaker-1; |
|
|
this.dshfkjsdkksodofydwfkhwdfkjh=data.data.data.speaker-1; |
|
@@ -1032,49 +1093,78 @@ |
|
|
success: (data) => { |
|
|
success: (data) => { |
|
|
this.tablist=[]; |
|
|
this.tablist=[]; |
|
|
let jsonInfo = JSON.parse(data.data.data.audioContent); |
|
|
let jsonInfo = JSON.parse(data.data.data.audioContent); |
|
|
for(var i=0;i<=data.data.data.speakerNum;i++){ |
|
|
|
|
|
if(i==0){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'全部' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==1){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'A' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==2){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'B' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==3){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'C' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==4){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'D' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==5){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'E' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==6){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'F' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==7){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'G' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==8){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'H' |
|
|
|
|
|
}) |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'I' |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
for(var i=0;i<=data.data.data.speakerNum;i++){ |
|
|
|
|
|
if(i==0){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'全部' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==1){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'A' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==2){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'B' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==3){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'C' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==4){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'D' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==5){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'E' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==6){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'F' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==7){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'G' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==8){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'H' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==9){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'I' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==10){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'J' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==11){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'K' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==12){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'L' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==13){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'M' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==14){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'N' |
|
|
|
|
|
}) |
|
|
|
|
|
}else if(i==15){ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'O' |
|
|
|
|
|
}) |
|
|
|
|
|
}else{ |
|
|
|
|
|
this.tablist.push({ |
|
|
|
|
|
name:'P' |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
this.tablist[data.data.data.speaker].name=this.tablist[data.data.data.speaker].name+"顾问"; |
|
|
this.tablist[data.data.data.speaker].name=this.tablist[data.data.data.speaker].name+"顾问"; |
|
|
this.roleindexbiaoji=data.data.data.speaker-1; |
|
|
this.roleindexbiaoji=data.data.data.speaker-1; |
|
|
this.dshfkjsdkksodofydwfkhwdfkjh=data.data.data.speaker-1; |
|
|
this.dshfkjsdkksodofydwfkhwdfkjh=data.data.data.speaker-1; |
|
|