浏览代码

违禁声文

dev
jyt 2 年前
父节点
当前提交
51f920f240
共有 1 个文件被更改,包括 41 次插入3 次删除
  1. +41
    -3
      pages/center/prohibited/details.vue

+ 41
- 3
pages/center/prohibited/details.vue 查看文件

@@ -49,7 +49,9 @@

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

.play {


正在加载...
取消
保存