| @@ -49,7 +49,9 @@ | |||||
| <view class="contentInfo"> | <view class="contentInfo"> | ||||
| <view class="info"> | <view class="info"> | ||||
| <text class="AudioUserName">{{ item.speaker | toCapital }}</text> | |||||
| <!-- <text class="AudioUserName">{{ item.speaker | toCapital }}</text> --> | |||||
| <text class="AudioUserName" v-if="item.isShow == 0">{{ item.username }}</text> | |||||
| <text class="AudioUserName" v-else>{{ item.speaker | toCapital }}</text> | |||||
| <text>{{conversionTiame(item.bg/1000)}}</text> | <text>{{conversionTiame(item.bg/1000)}}</text> | ||||
| </view> | </view> | ||||
| <view class="contentMain"> | <view class="contentMain"> | ||||
| @@ -101,7 +103,9 @@ | |||||
| </view> | </view> | ||||
| <view class="contentInfo"> | <view class="contentInfo"> | ||||
| <view class="info"> | <view class="info"> | ||||
| <text class="AudioUserName">{{ item.speaker | toCapital }}</text> | |||||
| <!-- <text class="AudioUserName">{{ item.speaker | toCapital }}</text> --> | |||||
| <text class="AudioUserName" v-if="item.isShow == 0">{{ item.username }}</text> | |||||
| <text class="AudioUserName" v-else>{{ item.speaker | toCapital }}</text> | |||||
| <text>{{conversionTiame(item.bg/1000)}}</text> | <text>{{conversionTiame(item.bg/1000)}}</text> | ||||
| </view> | </view> | ||||
| <view class="contentMain"> | <view class="contentMain"> | ||||
| @@ -252,6 +256,7 @@ | |||||
| findTabooWordsList: [], // 违禁词列表 | findTabooWordsList: [], // 违禁词列表 | ||||
| nextPageObj: JSON.parse(uni.getStorageSync('nextPageObj')), // 当前页面筛选内容 | nextPageObj: JSON.parse(uni.getStorageSync('nextPageObj')), // 当前页面筛选内容 | ||||
| isMerge: 0, // 默认合并 | isMerge: 0, // 默认合并 | ||||
| isSw:false, | |||||
| } | } | ||||
| }, | }, | ||||
| computed: { | computed: { | ||||
| @@ -599,6 +604,14 @@ | |||||
| this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1; | this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1; | ||||
| } | } | ||||
| if(data.data.data.viewNameFlag == 1){ | |||||
| let p = [{name:'顾问'}] | |||||
| this.tablist = [...this.tablist,...p] | |||||
| this.isSw = true | |||||
| }else{ | |||||
| this.isSw = false | |||||
| } | |||||
| this.speaker = data.data.data.speaker; | this.speaker = data.data.data.speaker; | ||||
| //上拉标记点 | //上拉标记点 | ||||
| this.textindex = data.data.data.index; | this.textindex = data.data.data.index; | ||||
| @@ -679,9 +692,27 @@ | |||||
| var bgcd = this.sliderValue * 1000; | var bgcd = this.sliderValue * 1000; | ||||
| this.newluyinList = []; | this.newluyinList = []; | ||||
| this.dialogList = []; | this.dialogList = []; | ||||
| let voFlagValue; | |||||
| if(this.roleindex==0){ | |||||
| voFlagValue = 0 | |||||
| }else{ | |||||
| voFlagValue = 1 | |||||
| } | |||||
| let tempRoleIndex; | |||||
| if(this.isSw){ | |||||
| if(this.roleindex==this.tablist.length-1){ | |||||
| tempRoleIndex = 0 | |||||
| }else{ | |||||
| tempRoleIndex = this.roleindex | |||||
| } | |||||
| }else{ | |||||
| tempRoleIndex = this.roleindex | |||||
| } | |||||
| uni.request({ | uni.request({ | ||||
| url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id + | url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id + | ||||
| "&bg=" + bgcd + "&speaker=" + this.roleindex, //仅为示例,并非真实接口地址。 | |||||
| "&bg=" + bgcd + "&speaker=" + tempRoleIndex + "&voFlag=" + voFlagValue, //仅为示例,并非真实接口地址。 | |||||
| method: "GET", | method: "GET", | ||||
| header: { | header: { | ||||
| 'content-type': 'application/json', | 'content-type': 'application/json', | ||||
| @@ -716,6 +747,12 @@ | |||||
| 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; | ||||
| } | } | ||||
| if(data.data.data.viewNameFlag == 1){ | |||||
| let p = [{name:'顾问'}] | |||||
| this.tablist = [...this.tablist,...p] | |||||
| } | |||||
| if (this.roleindex > this.tablist.length - 1) { | if (this.roleindex > this.tablist.length - 1) { | ||||
| this.roleindex = this.tablist.length - 1 | this.roleindex = this.tablist.length - 1 | ||||
| this.fenjiaoseunfo() | this.fenjiaoseunfo() | ||||
| @@ -1212,6 +1249,7 @@ | |||||
| .content { | .content { | ||||
| margin-left: 0; | margin-left: 0; | ||||
| margin-right: 30upx; | margin-right: 30upx; | ||||
| margin: 0 30upx; | |||||
| } | } | ||||
| .play { | .play { | ||||