|
@@ -9,6 +9,9 @@ |
|
|
<view class="top"> |
|
|
<view class="top"> |
|
|
<view class="title"> |
|
|
<view class="title"> |
|
|
<view class="call_record_time">{{date}}</view> |
|
|
<view class="call_record_time">{{date}}</view> |
|
|
|
|
|
<view class="hash" @click="delTheFullText" v-if="CHECKAUTHORITY('ccal')"> |
|
|
|
|
|
删除案例 |
|
|
|
|
|
</view> |
|
|
<view class="hash" @click="gotoChat" v-if="commentList.length"> |
|
|
<view class="hash" @click="gotoChat" v-if="commentList.length"> |
|
|
查看全部评论 |
|
|
查看全部评论 |
|
|
</view> |
|
|
</view> |
|
@@ -29,9 +32,10 @@ |
|
|
:class="{active: Math.floor(item.bg/1000) < playNow && Math.floor(item.ed/1000) > playNow, isGreen: item.isShow == 0}" |
|
|
:class="{active: Math.floor(item.bg/1000) < playNow && Math.floor(item.ed/1000) > playNow, isGreen: item.isShow == 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 class="avatar"> |
|
|
<image v-if="item.isShow == 0" src="https://static.quhouse.com/b11a7e1ccf914020b3ee23d3e4862637.png" mode="widthFix"> |
|
|
|
|
|
</image> |
|
|
|
|
|
<text v-else :style="[borderColor(item.speaker)]">{{ item.speaker | toCapital }}</text> |
|
|
|
|
|
|
|
|
<image v-if="item.isShow == 0" |
|
|
|
|
|
src="https://static.quhouse.com/b11a7e1ccf914020b3ee23d3e4862637.png" mode="widthFix"> |
|
|
|
|
|
</image> |
|
|
|
|
|
<text v-else :style="[borderColor(item.speaker)]">{{ item.speaker | toCapital }}</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class="content"> |
|
|
<view class="content"> |
|
|
<view v-html="item.onebest"></view> |
|
|
<view v-html="item.onebest"></view> |
|
@@ -217,7 +221,7 @@ |
|
|
ACTION: Symbol('zaudio'), // 唯一值区分每个页面的方法 |
|
|
ACTION: Symbol('zaudio'), // 唯一值区分每个页面的方法 |
|
|
isPageHide: false, // 是否息屏 |
|
|
isPageHide: false, // 是否息屏 |
|
|
duration: '', |
|
|
duration: '', |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nowPlaying: 0, // 当前播放位置 |
|
|
nowPlaying: 0, // 当前播放位置 |
|
|
stepPosition: 0, // 需要跳转的播放位置 |
|
|
stepPosition: 0, // 需要跳转的播放位置 |
|
|
}; |
|
|
}; |
|
@@ -281,55 +285,95 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
// 删除优秀案例 |
|
|
|
|
|
delTheFullText() { |
|
|
|
|
|
uni.showModal({ |
|
|
|
|
|
title: '提示', |
|
|
|
|
|
content: `确认删除该案例吗?`, |
|
|
|
|
|
showCancel: true, |
|
|
|
|
|
cancelText: '取消', |
|
|
|
|
|
confirmText: '确认删除', |
|
|
|
|
|
confirmColor: "#FA3534", |
|
|
|
|
|
success: res => { |
|
|
|
|
|
console.log(res) |
|
|
|
|
|
if (res.confirm) { |
|
|
|
|
|
this.delATD() |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 优秀案例删除 |
|
|
|
|
|
delATD() { |
|
|
|
|
|
this.$u.get('/addtodigest/delATD', { carId: this.customerId }).then(res => { |
|
|
|
|
|
console.log(res) |
|
|
|
|
|
// if () |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: '操作成功', |
|
|
|
|
|
icon: 'none', |
|
|
|
|
|
duration: 2000 |
|
|
|
|
|
}); |
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
|
uni.navigateBack() |
|
|
|
|
|
}, 2000) |
|
|
|
|
|
}).catch(e => { |
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
title: e.data.message, |
|
|
|
|
|
icon: 'none', |
|
|
|
|
|
duration: 2000 |
|
|
|
|
|
}); |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
borderColor(index) { |
|
|
borderColor(index) { |
|
|
let obj = { |
|
|
|
|
|
color: '', |
|
|
|
|
|
borderRadius: '', |
|
|
|
|
|
border: '' |
|
|
|
|
|
} |
|
|
|
|
|
switch (index) { |
|
|
|
|
|
case 1: |
|
|
|
|
|
obj.color = '#E6625B'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border= '2rpx solid #E6625B'; |
|
|
|
|
|
break; |
|
|
|
|
|
case 2: |
|
|
|
|
|
obj.color = '#FF981E'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border= '2rpx solid #FF981E'; |
|
|
|
|
|
break; |
|
|
|
|
|
case 3: |
|
|
|
|
|
obj.color = '#F6BD16'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border= '2rpx solid #F6BD16'; |
|
|
|
|
|
break; |
|
|
|
|
|
case 5: |
|
|
|
|
|
obj.color = '#4980C8'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border= '2rpx solid #4980C8'; |
|
|
|
|
|
break; |
|
|
|
|
|
case 6: |
|
|
|
|
|
obj.color = '#60CBEC'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border= '2rpx solid #60CBEC'; |
|
|
|
|
|
break; |
|
|
|
|
|
case 7: |
|
|
|
|
|
obj.color = '##FF981E'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border= '2rpx solid #FF981E'; |
|
|
|
|
|
break; |
|
|
|
|
|
case 8: |
|
|
|
|
|
obj.color = '#4F861E'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border= '2rpx solid #4F861E'; |
|
|
|
|
|
break; |
|
|
|
|
|
default: |
|
|
|
|
|
obj.color = '#9F61C8'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border= '2rpx solid #9F61C8'; |
|
|
|
|
|
break; |
|
|
|
|
|
} |
|
|
|
|
|
return obj |
|
|
|
|
|
|
|
|
let obj = { |
|
|
|
|
|
color: '', |
|
|
|
|
|
borderRadius: '', |
|
|
|
|
|
border: '' |
|
|
|
|
|
} |
|
|
|
|
|
switch (index) { |
|
|
|
|
|
case 1: |
|
|
|
|
|
obj.color = '#E6625B'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border = '2rpx solid #E6625B'; |
|
|
|
|
|
break; |
|
|
|
|
|
case 2: |
|
|
|
|
|
obj.color = '#FF981E'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border = '2rpx solid #FF981E'; |
|
|
|
|
|
break; |
|
|
|
|
|
case 3: |
|
|
|
|
|
obj.color = '#F6BD16'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border = '2rpx solid #F6BD16'; |
|
|
|
|
|
break; |
|
|
|
|
|
case 5: |
|
|
|
|
|
obj.color = '#4980C8'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border = '2rpx solid #4980C8'; |
|
|
|
|
|
break; |
|
|
|
|
|
case 6: |
|
|
|
|
|
obj.color = '#60CBEC'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border = '2rpx solid #60CBEC'; |
|
|
|
|
|
break; |
|
|
|
|
|
case 7: |
|
|
|
|
|
obj.color = '##FF981E'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border = '2rpx solid #FF981E'; |
|
|
|
|
|
break; |
|
|
|
|
|
case 8: |
|
|
|
|
|
obj.color = '#4F861E'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border = '2rpx solid #4F861E'; |
|
|
|
|
|
break; |
|
|
|
|
|
default: |
|
|
|
|
|
obj.color = '#9F61C8'; |
|
|
|
|
|
obj.borderRadius = '8rpx'; |
|
|
|
|
|
obj.border = '2rpx solid #9F61C8'; |
|
|
|
|
|
break; |
|
|
|
|
|
} |
|
|
|
|
|
return obj |
|
|
}, |
|
|
}, |
|
|
toKeywordsearch() { |
|
|
toKeywordsearch() { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
@@ -749,7 +793,7 @@ |
|
|
this.$zaudio.setAudio(data) |
|
|
this.$zaudio.setAudio(data) |
|
|
//渲染第一首音频 |
|
|
//渲染第一首音频 |
|
|
this.$zaudio.setRender(0) |
|
|
this.$zaudio.setRender(0) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.stepPosition != 0) { |
|
|
if (this.stepPosition != 0) { |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
this.stepPlay(this.stepPosition) |
|
|
this.stepPlay(this.stepPosition) |
|
@@ -1155,7 +1199,7 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.call_record_time_one { |
|
|
.call_record_time_one { |
|
|
padding-left:30rpx; |
|
|
|
|
|
|
|
|
padding-left: 30rpx; |
|
|
color: #70798d; |
|
|
color: #70798d; |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: space-between; |
|
|
justify-content: space-between; |
|
@@ -1240,7 +1284,7 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.scroll-Y .text .avatar { |
|
|
.scroll-Y .text .avatar { |
|
|
text{ |
|
|
|
|
|
|
|
|
text { |
|
|
display: block; |
|
|
display: block; |
|
|
width: 72rpx; |
|
|
width: 72rpx; |
|
|
height: 72rpx; |
|
|
height: 72rpx; |
|
@@ -1253,7 +1297,8 @@ |
|
|
font-weight: 500; |
|
|
font-weight: 500; |
|
|
box-sizing: border-box; |
|
|
box-sizing: border-box; |
|
|
} |
|
|
} |
|
|
image{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
image { |
|
|
width: 72rpx; |
|
|
width: 72rpx; |
|
|
height: 72rpx; |
|
|
height: 72rpx; |
|
|
} |
|
|
} |
|
@@ -1274,6 +1319,7 @@ |
|
|
color: #505050; |
|
|
color: #505050; |
|
|
line-height: 40rpx; |
|
|
line-height: 40rpx; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
.scroll-Y .text.active .content { |
|
|
.scroll-Y .text.active .content { |
|
|
color: #2671E2 !important; |
|
|
color: #2671E2 !important; |
|
|
position: relative; |
|
|
position: relative; |
|
|