AI销管
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

2378 рядки
60 KiB

  1. <template>
  2. <view class="box">
  3. <view class="headbox">
  4. <!-- 顶部时间 -->
  5. <view class="headboxhead">
  6. <view class="boxhead1">{{datetiem}}</view>
  7. <view class="boxhead2" v-if="permissions.commonly3">
  8. <image v-if="Alladdtodigest==1" @click="tappick()" src="../../../../static/images/pike.png" mode="">
  9. </image>
  10. <image v-if="Alladdtodigest==0" @click="notappick()" src="../../../../static/images/nopike.png"
  11. mode=""></image>
  12. </view>
  13. </view>
  14. <!-- <view class="inputbox" v-if="guanjianciishow">
  15. <view class="thisinput" @click="tosearch()">
  16. 请输入或选择
  17. </view>
  18. </view> -->
  19. <!-- 标记顾问 -->
  20. <view class="headboxbott">
  21. <view class="headovfu">
  22. <u-tabs-swiper ref="tabs" font-size="30" :bold="true" swiper-width="600" :current="roleindex"
  23. @change="tapspagek2()" inactive-color="#b1b1b1" active-color="#008ef2" :list="tablist"
  24. :is-scroll="true">
  25. </u-tabs-swiper>
  26. </view>
  27. <view class="headpade" v-if="permissions.commonly1">
  28. <view class="biaoji" @tap="tagtap()">标记</view>
  29. </view>
  30. </view>
  31. </view>
  32. <scroll-view :scroll-top="scrollTop" lower-threshold='100px' @scrolltolower="ltolower()" upper-threshold='40px'
  33. @scrolltoupper="rolltoupper()" :scroll-into-view="scrollId" scroll-y="true" class="zhuti text scroll-Y">
  34. <!-- 聊天记录-->
  35. <view class="dialog-block" v-for="(dialog,i) in dialogList" :key="i">
  36. <view :id="'dialog'+i" class="fileName">录音文件</view>
  37. <view class="text" :id="'dialog'+csdFileindex+'text'+item.bg"
  38. :class="{active: Math.floor(item.bg/1000) <= playNow && Math.floor(item.ed/1000) > playNow, isGreen: item.isShow == 0 }"
  39. v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker">
  40. <view class="avatar">
  41. <view :style="[SPEAKERSTYLE(item.speaker)]">
  42. <image v-if="item.isShow == 0" :src="Aimg.replace(/[\r\n]/g,'')" mode="widthFix">
  43. </image>
  44. <text v-else>{{ item.speaker | toCapital }}</text>
  45. </view>
  46. </view>
  47. <view class="contentInfo">
  48. <view class="info">
  49. <text class="AudioUserName">{{ item.speaker | toCapital }}</text>
  50. <text>{{conversionTiame(item.bg/1000)}}</text>
  51. </view>
  52. <view class="contentMain">
  53. <view class="content">
  54. <view @longpress.stop="changanxiaoguo(item,index,i)" v-html="item.onebest"></view>
  55. <view class="tankuangcss" :class="{bottoms:index == 0}" v-if="item.isshow">
  56. <view @click="clickcopy()"
  57. style="width: 60rpx;font-size: 24rpx;text-align: center;margin-left: 24rpx;">
  58. 复制
  59. </view>
  60. <view @click="Oftenthewrongword()" v-if="permissions.commonly4"
  61. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">
  62. 常错词
  63. </view>
  64. <view v-if="permissions.commonly3" @click="Addtheessence()"
  65. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">
  66. 加精华
  67. </view>
  68. <!-- 暂时注释掉 -->
  69. <!-- <view @click="clickbofang(dialog.backindex,item)"
  70. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 14rpx;">播放
  71. </view> -->
  72. <view @click="Modifyrole(index,item)"
  73. style="font-size: 24rpx;text-align: center;margin-left: 14rpx;">修改角色
  74. </view>
  75. </view>
  76. </view>
  77. <image @click="clickbofang(dialog.backindex,item)" class="play"
  78. src="@/static/images/recordingManagement/play.png"></image>
  79. </view>
  80. </view>
  81. </view>
  82. </view>
  83. </scroll-view>
  84. <view class="bottombox">
  85. <!-- 播放块 -->
  86. <zaudio :duration="duration" theme="theme4"></zaudio>
  87. <!-- 底部弹框 -->
  88. <view class="botbotmm">
  89. <view class="tmmchen" @click="guanjiancishifo()">
  90. <image src="../../../../static/images/audioinfo1.png" mode=""></image>
  91. <view>关键词</view>
  92. </view>
  93. <view class="fill"></view>
  94. <view class="tmmchen" @click="Receivedetailsabouttab('intention')">
  95. <image src="../../../../static/images/audioinfo3.png" mode=""></image>
  96. <view>客户意向</view>
  97. </view>
  98. <view class="fill"></view>
  99. <view class="tmmchen" @click="Receivedetailsabouttab('Pinspeak')">
  100. <image src="../../../../static/images/audioinfo4.png" mode=""></image>
  101. <view>销讲执行</view>
  102. </view>
  103. <view class="fill"></view>
  104. <view class="tmmchen" @click="Receivedetailsabouttab('Receivedetailsabout')">
  105. <image src="../../../../static/images/audioinfo2.png" mode=""></image>
  106. <view>接待信息</view>
  107. </view>
  108. </view>
  109. </view>
  110. <!-- 回到顶部 -->
  111. <!-- <view class="backTop" @click="gotoTop">
  112. <image src="/static/images/backTop.png" mode=""></image>
  113. </view> -->
  114. <!-- 标记 -->
  115. <view class="zhezhoa" v-if="biojiisshow" @tap="unmarktap()"></view>
  116. <view class="bounced" v-if="biojiisshow">
  117. <view class="jiajinghuatit">标记为顾问</view>
  118. <view
  119. style="width: 95%;display: flex;flex-wrap: wrap;margin: 0 auto;padding-top: 30rpx;padding-bottom: 30rpx;">
  120. <view class="viewclace" :class="roleindexbiaoji == index ? 'bosdttom' : ''" @click="biaojixuanze(index)"
  121. v-for="(item,index) in tablist.slice(1,tablist.length)" :key="index">
  122. <view>{{item.name}}</view>
  123. </view>
  124. </view>
  125. <view class="bounced3" style="margin-top: 20rpx;">
  126. <view class="bounced3-1" @tap="unmarktap()">取消</view>
  127. <view class="bounced3-2" @tap="Confirmthetag()">确认</view>
  128. </view>
  129. </view>
  130. <!-- 接待详情 -->
  131. <view class="zhezhoa" @click="clenReceivedetailsabout()" v-if="Receivedetailsabout"></view>
  132. <view class="followingpop-up" v-if="Receivedetailsabout">
  133. <view class="guanbibox">
  134. <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../../../static/images/Shutdown.png"
  135. mode=""></image>
  136. <view class="cenisboxtab">
  137. <view class="cenisboxtabview">
  138. <view>接待详情</view>
  139. </view>
  140. </view>
  141. </view>
  142. <view class="cenisbox">
  143. <view
  144. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  145. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待顾问</view>
  146. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.agentName}}</view>
  147. </view>
  148. <view
  149. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  150. <view style="width: 25%;color: #666666;font-size: 26rpx;">意向项目</view>
  151. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.projectName}}</view>
  152. </view>
  153. <view
  154. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  155. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待开始时间</view>
  156. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.staTime}}</view>
  157. </view>
  158. <view
  159. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  160. <view style="width: 25%;color: #666666;font-size: 26rpx;">接待结束时间</view>
  161. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.endTime1}}</view>
  162. </view>
  163. <view
  164. style="width: 96%;height: 26rpx;display: flex;margin: 0 auto; margin-top: 40rpx;align-items: center;">
  165. <view style="width: 25%;color: #666666;font-size: 26rpx;">录音时长</view>
  166. <view style="width: 75%;color: #333333;font-size: 26rpx;">{{userlistobj.mm}}分钟</view>
  167. </view>
  168. </view>
  169. </view>
  170. <!-- 销讲执行 -->
  171. <view class="zhezhoa" @click="clenReceivedetailsabout()" v-if="Pinspeak"></view>
  172. <view class="followingpop-up" v-if="Pinspeak">
  173. <view class="guanbibox">
  174. <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../../../static/images/Shutdown.png"
  175. mode=""></image>
  176. <view class="cenisboxtab">
  177. <view class="cenisboxtabview">
  178. <view>销讲执行</view>
  179. </view>
  180. </view>
  181. </view>
  182. <view class="pingfenbox">
  183. <view :class="{ activecllasscet: zhixingcenterindex == 0 }" @click="recordclick(0)">销讲总执行率{{totalRate}}%
  184. </view>
  185. <view v-if="permissions.commonly6" :class="{ activecllasscet: zhixingcenterindex == 1 }"
  186. @click="recordclick(1)">禁忌执行</view>
  187. </view>
  188. <view v-if="zhixingcenterindex == 0" class="cenisbox">
  189. <view
  190. style="width: 100%;height: 80rpx;border-bottom: 1rpx solid #E0E0E0;display: flex;align-items: center;">
  191. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 20rpx;">指标</view>
  192. <view style="flex: 1;font-size: 28rpx;color: #333333;font-weight: 600;text-indent: 170rpx;">执行率
  193. </view>
  194. </view>
  195. <view class="Level-box" v-for="(item,index) in ratelist" :key="index">
  196. <view class="Level1che" @click="changeshow(item,1)">
  197. <view class="title1">{{item.name.substring(0,8)}}</view>
  198. <view class="leve1-jindu">
  199. <view class="jindutiao">
  200. <view class="huanxing" :style="{width: item.ratepercent/item.rate*100+'%'}"></view>
  201. <view class="text">{{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%</view>
  202. </view>
  203. </view>
  204. <view class="jiantobox">
  205. <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png" mode="" />
  206. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  207. </view>
  208. </view>
  209. <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i">
  210. <view class="Level2che" @click="changeshow2(subitem,1)">
  211. <view class="title1">{{subitem.name.substring(0,8)}}</view>
  212. <view class="leve1-jindu">
  213. <view class="zhixing" v-if="!subitem.selected">已执行</view>
  214. <view class="zhixing2" v-else>未执行</view>
  215. </view>
  216. <view class="jiantobox">
  217. <image v-if="!subitem.show" class="arrow rotatearrow" src="/static/images/down.png"
  218. mode="" />
  219. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  220. </view>
  221. </view>
  222. <view class="hsnrtest" v-if="subitem.show">话术内容</view>
  223. <view class="Level3che" @tap="clickaudeopal(che)" v-if="subitem.show"
  224. v-for="(che,inc) in subitem.children" :key='inc'>
  225. <view class="title1">{{inc+1}}.{{che.name}}</view>
  226. <view class="jiantobox">
  227. <image v-if="che.selected==0" class="arrow" src="/static/images/rate-checked.png"
  228. mode="" />
  229. </view>
  230. </view>
  231. <view v-if="subitem.show" style="width: 100%;height: 30rpx;"></view>
  232. </view>
  233. </view>
  234. </view>
  235. <view v-if="zhixingcenterindex == 1">
  236. <view v-if="prohibitedlist.length!=0" class="title1-12" @click="tapbadge(item)"
  237. v-for="(item,index) in prohibitedlist" :key='index'>{{index+1}}.{{item}}</view>
  238. <view v-if="prohibitedlist.length==0" style="width: 100%;text-align: center;margin-top: 60rpx;">暂无数据
  239. </view>
  240. </view>
  241. </view>
  242. <!-- 客户意向 -->
  243. <view class="zhezhoa" @click="clenReceivedetailsabout()" v-if="intention"></view>
  244. <view class="followingpop-up" v-if="intention">
  245. <view class="guanbibox">
  246. <image class="guanbixen" @click="clenReceivedetailsabout()" src="../../../../static/images/Shutdown.png"
  247. mode=""></image>
  248. <view class="cenisboxtab">
  249. <view class="cenisboxtabview">
  250. <view>客户意向</view>
  251. </view>
  252. </view>
  253. </view>
  254. <view class="pingfenbox">
  255. <view :class="{ activecllasscet: kehuyixiangcenterindex == 0 }" @click="customerofintention(0)">系统分析
  256. </view>
  257. <view :class="{ activecllasscet: kehuyixiangcenterindex == 1 }" @click="customerofintention(1)">人工校准
  258. </view>
  259. </view>
  260. <view v-if="kehuyixiangcenterindex==0" class="cenisbox">
  261. <view style="width: 100%;height: 100%;text-align: center;margin-top: 200rpx;"
  262. v-if="Acquirecustomerintentlist.length==0">
  263. 暂无数据
  264. </view>
  265. <view v-if="Acquirecustomerintentlist.length!=0" class="jianbox"
  266. v-for="(item,index) in Acquirecustomerintentlist" :key='index'>
  267. <view class="jianbox-cen">
  268. <view class="jianboxtext">{{item.name}}</view>
  269. <view class="jianboxjian" @click="Acquishow(index)">
  270. <image v-if="item.isshow==false" class="jiantop" src="/static/images/jiantop.png" mode="">
  271. </image>
  272. <image v-if="item.isshow==true" class="jiantop1" src="/static/images/jianbutton.png"
  273. mode=""></image>
  274. </view>
  275. </view>
  276. <view style="width: 690rpx;margin: 0 auto;display: flex;flex-wrap: wrap;" v-if="item.isshow==true">
  277. <view class="sdfsaf" v-if="chend.showType==0" v-for="(chend,i) in item.children" :key='i'
  278. @click="argece(chend)">
  279. <view class="jiangshang sdfsaf">{{chend.text}}</view>
  280. </view>
  281. <view class="sdfsaf" v-if="chend.showType==1" @click="argece(chend)"
  282. v-for="(chend,i) in item.children" :key='i'>
  283. <view class="jiangshang1 sdfsaf">{{chend.text}}</view>
  284. </view>
  285. </view>
  286. </view>
  287. </view>
  288. <view class="cenisbox" v-if="kehuyixiangcenterindex==1">
  289. <view style="width: 100%;height: 100%;text-align: center;margin-top: 200rpx;"
  290. v-if="Acquirecustomerintentlist2.length==0">
  291. 暂无数据
  292. </view>
  293. <view class="jianbox" v-if="Acquirecustomerintentlist2.length!=0"
  294. v-for="(item,index) in Acquirecustomerintentlist2" :key='index'>
  295. <view class="jianbox-cen">
  296. <view class="jianboxtext">{{item.name}}</view>
  297. <view class="jianboxjian" @click="Acquishow2(index)">
  298. <image v-if="item.isshow==false" class="jiantop" src="/static/images/jiantop.png" mode="">
  299. </image>
  300. <image v-if="item.isshow==true" class="jiantop1" src="/static/images/jianbutton.png"
  301. mode=""></image>
  302. </view>
  303. </view>
  304. <view class="bioqianwayl" v-if="item.isshow==true">
  305. <view class="jiangshang" v-for="(chend,i) in item.children" :key='i' v-if="chend.selected==0">
  306. {{chend.text}}
  307. </view>
  308. </view>
  309. </view>
  310. </view>
  311. <view class="calibration" v-if="permissions.commonly5" @click="tocalibration()">校准</view>
  312. </view>
  313. <!-- 加入常错词 -->
  314. <view class="zhezhoa" v-if="isshow2" @tap="Cancelout"></view>
  315. <u-modal v-model="isshow2" title="添加常错词" :show-cancel-button="true" @cancel="Cancelout" @confirm="Confirmtheexit">
  316. <view class="tian-view">
  317. <viwe class="tian-view-t1"></viwe>
  318. <viwe class="tian-view-t2">常错词:</viwe>
  319. <viwe class="tian-view-t3">
  320. <textarea :auto-height="true" type="text" v-model="thewrongword" :disabled="isNum" class="tian-input" placeholder="请输入" />
  321. </viwe>
  322. </view>
  323. <view class="tian-view" style="margin-bottom: 74rpx;">
  324. <viwe class="tian-view-t1"></viwe>
  325. <viwe class="tian-view-t2">正确词:</viwe>
  326. <viwe class="tian-view-t3">
  327. <input class="tian-input" v-model="reswrongword" type="text" placeholder="请输入" />
  328. </viwe>
  329. </view>
  330. </u-modal>
  331. <!-- <view class="bounced" v-if="isshow2">
  332. <view class="tian-view">
  333. <viwe class="tian-view-t1"></viwe>
  334. <viwe class="tian-view-t2">常错词:</viwe>
  335. <viwe class="tian-view-t3">
  336. <input type="text" v-model="thewrongword" class="tian-input" placeholder="请输入" />
  337. </viwe>
  338. </view>
  339. <view class="tian-view">
  340. <viwe class="tian-view-t1"></viwe>
  341. <viwe class="tian-view-t2">正确词:</viwe>
  342. <viwe class="tian-view-t3">
  343. <input class="tian-input" v-model="reswrongword" type="text" placeholder="请输入" />
  344. </viwe>
  345. </view>
  346. <view class="bounced3">
  347. <view class="bounced3-1" @tap="Cancelout">取消</view>
  348. <view class="bounced3-2" @tap="Confirmtheexit">确认</view>
  349. </view>
  350. </view> -->
  351. <!-- 加精华 -->
  352. <view class="zhezhoa" v-if="isshow3" @tap="Cancelout2"></view>
  353. <view class="bounced" v-if="isshow3">
  354. <view class="jiajinghuatit">加精华</view>
  355. <view style="width: 100%;text-indent: 20rpx;font-size: 28rpx;">选择标签</view>
  356. <view class="jiajinghuaview">
  357. <view class="jighuaview2" v-for="(item,index) in biaoqianlist" :key="index"
  358. :class="biaoqianindex == index ? 'biaoqiantom' : ''">
  359. <view class="view1-text" @click="tapbiaoqianclisck(index)">{{item.name}}</view>
  360. </view>
  361. </view>
  362. <view class="bounced3">
  363. <view class="bounced3-1" @tap="Cancelout2">取消</view>
  364. <view class="bounced3-2" @tap="Confirmtheexit2">确认</view>
  365. </view>
  366. </view>
  367. </view>
  368. </template>
  369. <script>
  370. var app = getApp();
  371. var util = require("../../../../utils/util.js");
  372. var config = require("../../../../config");
  373. import zaudio from '@/components/uniapp-zaudio/zaudio';
  374. export default {
  375. components: {
  376. zaudio
  377. },
  378. data() {
  379. return {
  380. kehuyixiangcenterindex: 0,
  381. Acquirecustomerintentlist2: [],
  382. zhixingcenterindex: 0,
  383. prohibitedlist: [],
  384. guanjianciishow: false,
  385. Aimg: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAACqVBMVEUAAAD////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////9/f3////9/f39/f3////////9/f3////////////9/f3////9/f39/f3////9/f3////////9/f3////9/f3////////////////9/f39/f3////////9/f39/f3////9/f39/f3////////9/f39/f3////////9/f39/f39/f3////////////////+/v7+/v7////+/v7////+/v7////+/v7+/v7////////+/v7+/v7////+/v7////+/v7////////////////////////////+/v7////+/v7////+/v7+/v7////////////+/v7////+/v7////+/v7+/v7////////+/v7////+/v7////////+/v7////////+/v7////+/v7+/v7+/v7////////+/v7+/v7////+/v7+/v7////+/v7////+/v7////+/v7////+/v7+/v7////+/v7+/v7////+/v7////+/v7////+/v7+/v7////+/v5jdC9iAAAA4nRSTlMAAQIDBAUGBwgLDA0ODxARExQVFhgbHB4fICEiIyQmJygpKy4wMTIzNDY3ODk6Oz0+P0BBQkRGR0lKTE5PUFFTVFVXWFlcXV9gYWJjZWZnaGlqa2xtbm9wcXJzdHV2d3h6e319foGBgoODh4mKiouMjI2QkZKSk5OUlpeYmZmam5ycnZ+foKGio6SmqKmpq6yur7CwsbGytba5uru8wMDBwcLCw8XGx8jJysrLzM7P0dLT1dXW1tfY2drc3N7f4OHh5Obm5+jp6uvs7vDx8vLz8/T09fX29/f4+fn6+vz8/f7+RVDt+wAAA55JREFUGBntwf9/1HMAB/DX7XYbuXWV1cyMoixfugrRGNXytW33pbVdJ83XkiMLSb4LJd/zZUi0SKT5FmGS77HUVaixnHP2+kt8vt3Zbp/3+7P3XR5+8XziP1E4uiYcrh1bjMNi6NzXumnoeX3eSOSrpHUv+zi0ogJ5qd3JLN1XuJGzwqW0sW4oclT0Im19XIqcuNdQ4D0vcnEDhdYgB2f+SbFZUHbEdkrsLYeqFko9CEVH7qJUohxqLqODO6BmLR18XwAVRQfpZDxUnExHjVBRR0eroGIZHX0AFe10tA8qdtNZIRR00VEPVLxLRzuh4jk62gIVy+joSaiI0tECqPDT0blQ4f6RDpI+KHmYDjZBzWQ6aIaibZSK+6BoOqViUOXqoER8BJSdlqJYFDm4h0LveJAD7+cUiFciJ1U/01aiGjk65zfaSF6EnE3azQEO1iAPFZuZZes45MUT3cM+emLFyNfwK3fQ8k1sFA6L0cElTzx9d1OVC/8bNG/gzY+GQaKk461gCQZr8iMHSNZD4nySv6wYj0EYFv2UhqcgcTsN70ePhtzER3+lJe6BxXP9jTctvrl1yS1jkLaNlkTbBR6IlF3dyT78sHh+oqkSlrJe/uOH1jGw4apem2I/1yLtGRo6kRZiP73t57mQxb+Z2dqRdikNtyLtBWb78Cz05bomyQH+KIGljIYaWNxxDtC72ouMgsdpZzosHhqqYDmFdraOQNpttHUfLKU0TITlKtra6IZpCu3tgMVPQx0sG2ivDqaVFDgOppk0LIbJm6C9DTB1UCAMU4SGZ2GqocAumL6jQBtMMRq2wLScAik3dMV/UWB/EQwrafgSpk6KlEJ3LIXOgGE9DQdgqKDQSdBNoNAiGL6i6SjowhSaAt1UCm2CzpOk6QTonqfQJdBdSKGkD5pKWqZCU7iHQtdB10KxWmjOpqUJmtMp9gB091LsIWiCtCyFZiHFXoZuHcW+hiZGy0vQvE2xT6DbTolKAI/R8hmA4SmKdUG3jxIhAG/QkigAZlAi6QJQTJk2AF1MGwXcRRkfgJGU2V8EHzP8wBeUqQQwllKTcCozpuFESk0AMJNSC3AxM8KYT6lpAFootRGLmLEQ6ynVCCBAqcSQ1cy4f8ghSs0HcMzvlKp+lRmvVFMqNQ6aaIoyd3Yy49vllOmuh+H4WZFIpFnTpJmjadTM1oQ1oVAgFNQENA0N9f01BIKh8OzGOU3NkbmXzwuV41/wNztgHKhu7WKTAAAAAElFTkSuQmCC",
  386. scrollTop: 0,
  387. scrollId: "",
  388. roleindex: 0,
  389. biojiisshow: false, //标记显隐
  390. roleindexbiaoji: 0, //标记下标
  391. tablist: [], //标记集合
  392. Receivedetailsabout: false, //接待详情显示隐藏
  393. Pinspeak: false,
  394. intention: false,
  395. yixingindex: 0, //意向,统计切换
  396. customerId: '',
  397. luyinList: [],
  398. recordPath: '', //
  399. datetiem: '',
  400. Alladdtodigest: 0,
  401. textindex: 0, //下拉 转写文件下标
  402. toptextindex: 0, //上拉 转写文件下标
  403. dialogList: [], //录音识别列表
  404. csdFileindex: 0,
  405. speaker: '',
  406. newluyinList: [],
  407. playNow: 0,
  408. ratelist: [],
  409. totalRate: '',
  410. userlistobj: {},
  411. Acquirecustomerintentlist: [],
  412. options1: [],
  413. messagelisy: [],
  414. changanitem: {},
  415. duihuawenjianid: "",
  416. thewrongword: "", //错误词
  417. reswrongword: "", //正确词
  418. // jiaoseshow:true,
  419. isshow2: false,
  420. isshow3: false,
  421. biaoqianid: "",
  422. biaoqianlist: [],
  423. biaoqianindex: 0,
  424. dshfkjsdkksodofydwfkhwdfkjh: 0,
  425. buildingID: '',
  426. // methodsisshow:false,
  427. calibration: 0,
  428. textItself: '',
  429. argtextindex1: 0,
  430. argtextindex2: 0,
  431. permissions: {
  432. commonly1: false,
  433. commonly2: false,
  434. commonly3: false,
  435. commonly4: false,
  436. commonly5: false,
  437. },
  438. ACTION: Symbol('zaudio'), // 唯一值区分每个页面的方法
  439. isPageHide: false, // 是否息屏
  440. duration: '', // 总时长
  441. };
  442. },
  443. computed: {
  444. conversionTiame() {
  445. return (e) => {
  446. return this.getTime(e);
  447. }
  448. },
  449. },
  450. onLoad(options) {
  451. this.customerId = options.customerId;
  452. this.$zaudio.autoPlay = true
  453. //注意: 不同的回调方法, 相同的业务函数方法名, 不会相互影响;
  454. this.$zaudio.on('stop', this.ACTION, () => {
  455. console.log('我是强制暂停或关闭小程序音频浮窗触发的')
  456. })
  457. this.$zaudio.on('seek', this.ACTION, (time) => {
  458. this.sliderChangeComplate(this.TIMEEVENT(time))
  459. })
  460. this.$zaudio.on('playing', this.ACTION, (obj) => {
  461. this.duration = obj.duration
  462. this.TimeUpdate(this.TIMEEVENT(obj.current))
  463. })
  464. this.$zaudio.on('error', this.ACTION, e => {
  465. // this.qeihuanwenjian()
  466. console.log(e, '加载失败')
  467. })
  468. this.$zaudio.on('ended', this.ACTION, e => {
  469. this.$zaudio.stop()
  470. this.init({bg: 0, customerId: this.customerId})
  471. })
  472. uni.$on('Receivedetailabout', info => {
  473. this.init(info)
  474. })
  475. },
  476. onShow() {
  477. //实时渲染当前的播放状态
  478. this.$zaudio.syncRender()
  479. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  480. this.permissions.commonly1 = newmenulist.bjgw;
  481. // this.permissions.commonly2=newmenulist.jdwxbj;
  482. this.permissions.commonly3 = newmenulist.swyxal;
  483. this.permissions.commonly4 = newmenulist.ccc;
  484. this.permissions.commonly5 = newmenulist.xz;
  485. this.permissions.commonly6 = newmenulist.ckwjzx;
  486. //1 标记顾问 bjgw
  487. //1 接待无效标记 jdwxbj
  488. //1 设为优秀案例 swyxal
  489. // 常错词 ccc
  490. // 校准 xz
  491. this.intention = false;
  492. this.kehuyixiangcenterindex = 0;
  493. this.buildingID = uni.getStorageSync('buildingID').id;
  494. var pages = getCurrentPages();
  495. var currPage = pages[pages.length - 1]; //当前页面
  496. var info = currPage.data.info;
  497. if (info) {
  498. info = info;
  499. console.log('1')
  500. } else {
  501. info = {
  502. bg: 0
  503. }
  504. }
  505. !this.isPageHide && this.init(info)
  506. },
  507. onHide() {
  508. this.isPageHide = true
  509. },
  510. // 销毁实例
  511. onUnload() {
  512. //卸载不需要的业务和获取播放状态的业务,提高页面性能
  513. this.$zaudio.off('seek', this.ACTION);
  514. this.$zaudio.off('stop', this.ACTION);
  515. this.$zaudio.off('playing', this.ACTION);
  516. },
  517. methods: {
  518. // 跳转详情
  519. argece(item) {
  520. if (item.selected == 0) {
  521. this.Pinspeak = false
  522. uni.navigateTo({
  523. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  524. .keywordsId + "&type=" + 1 + '&UpDateEvent=Receivedetailabout'
  525. })
  526. }
  527. },
  528. //关键词点击
  529. tapbadge(item) {
  530. //进搜索页面
  531. uni.navigateTo({
  532. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item +
  533. "&skpl=" + "2" + '&UpDateEvent=Receivedetailabout'
  534. })
  535. },
  536. recordclick(i) {
  537. this.zhixingcenterindex = i;
  538. if (i == 0) {
  539. this.getRatelist()
  540. } else {
  541. console.log('999')
  542. this.huoqujinji()
  543. }
  544. },
  545. //获取禁忌
  546. huoqujinji() {
  547. uni.showLoading({
  548. title: '加载中'
  549. });
  550. this.$u.get("/customer/findTabooWordsByCusId", {
  551. cusId: this.customerId
  552. }).then(res => {
  553. if (res.length) {
  554. this.prohibitedlist = res;
  555. }
  556. setTimeout(function() {
  557. uni.hideLoading();
  558. }, 1000);
  559. })
  560. },
  561. guanjiancishifo() {
  562. uni.navigateTo({
  563. url: '/pages/center/Piabodata/Customerportrait/Detailsofthesearch?customerId=' + this
  564. .customerId + '&UpDateEvent=Receivedetailabout'
  565. })
  566. },
  567. tosearch() {
  568. uni.navigateTo({
  569. url: '/pages/center/Piabodata/Customerportrait/Detailsofthesearch?customerId=' + this
  570. .customerId + '&UpDateEvent=Receivedetailabout'
  571. })
  572. },
  573. //标签选择
  574. tapbiaoqianclisck(index) {
  575. console.log(index)
  576. this.biaoqianindex = index;
  577. this.biaoqianid = this.biaoqianlist[index].id
  578. },
  579. //加精华
  580. Addtheessence() {
  581. this.isshow3 = true;
  582. this.biaoqianlist = []
  583. let parames = {
  584. "itemId": this.buildingID
  585. }
  586. this.$u.post("/addtodigest/findAllYi", parames).then(data => {
  587. this.biaoqianlist = data
  588. this.biaoqianlist.unshift({
  589. name: "逼单话术",
  590. id: 0
  591. })
  592. })
  593. // util.getRequestPromise(config.service.findAllYi, {}, false).then(data => {
  594. // this.biaoqianlist = data
  595. // this.biaoqianlist.unshift({
  596. // name: "逼单话术",
  597. // id: 0
  598. // })
  599. // });
  600. },
  601. // 取消加精
  602. Cancelout2() {
  603. this.isshow3 = false;
  604. this.dialogList.forEach(res => {
  605. res.message.forEach(asd => {
  606. asd.isshow = false;
  607. })
  608. })
  609. },
  610. // 确认加精
  611. Confirmtheexit2() {
  612. if (this.biaoqianid) {
  613. this.biaoqianid = this.biaoqianid
  614. } else {
  615. this.biaoqianid = 0
  616. }
  617. this.isshow3 = false;
  618. this.dialogList.forEach(res => {
  619. res.message.forEach(asd => {
  620. asd.isshow = false;
  621. })
  622. })
  623. let objdata = {
  624. "itemId": this.buildingID,
  625. "carId": this.customerId, //客户id
  626. "startTime": this.changanitem.bg, //开始时间
  627. "startFile": this.duihuawenjianid, //对话所在录音文件id
  628. "endTime": this.changanitem.ed, //结束时间
  629. "marketingId": this.biaoqianid, //对应一级父id
  630. "jjTransfer": this.changanitem.onebest, //选中对话
  631. "status": 1
  632. }
  633. uni.request({
  634. url: config.service.addATD,
  635. method: "POST",
  636. header: {
  637. 'content-type': 'application/json',
  638. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  639. },
  640. data: objdata,
  641. success: (data) => {
  642. if (data.data.code == 10000) {
  643. uni.showToast({
  644. title: '加精成功',
  645. duration: 2000
  646. });
  647. } else {
  648. uni.showToast({
  649. title: data.data.message,
  650. duration: 2000
  651. });
  652. }
  653. }
  654. })
  655. },
  656. //确认加入常错词
  657. Confirmtheexit() {
  658. if (this.thewrongword) {
  659. if (this.reswrongword) {
  660. let parames = {
  661. customerId: this.customerId,
  662. cupid: this.luyinList[this.csdFileindex].id,
  663. wrongWord: this.thewrongword, //错误词
  664. correctWord: this.reswrongword, //正确词
  665. translateHtmlContent: this.messagelisy,
  666. }
  667. this.isshow2 = false;
  668. let sas = this.textItself.replace(this.thewrongword, this.reswrongword)
  669. this.dialogList[this.argtextindex1].message[this.argtextindex2].onebest = sas;
  670. this.dialogList.forEach(res => {
  671. res.message.forEach(asd => {
  672. asd.isshow = false;
  673. })
  674. })
  675. this.$u.post("/corpus/addCorrectWord", parames).then(data => {
  676. this.thewrongword = "";
  677. this.reswrongword = "";
  678. })
  679. } else {
  680. uni.showToast({
  681. title: '正确值不能为空',
  682. duration: 2000
  683. });
  684. return
  685. }
  686. } else {
  687. uni.showToast({
  688. title: '错误词不能为空',
  689. duration: 2000
  690. });
  691. return
  692. }
  693. },
  694. //取消加入常错词
  695. Cancelout() {
  696. this.isshow2 = false;
  697. this.dialogList.forEach(res => {
  698. res.message.forEach(asd => {
  699. asd.isshow = false;
  700. })
  701. })
  702. },
  703. //加入长错词
  704. Oftenthewrongword() {
  705. this.reswrongword = "";
  706. this.isshow2 = true;
  707. },
  708. //长按对话
  709. changanxiaoguo(item, index, i) {
  710. this.messagelisy = [];
  711. this.changanitem = {};
  712. this.duihuawenjianid = "",
  713. this.dialogList.forEach(res => {
  714. res.message.forEach(asd => {
  715. asd.isshow = false;
  716. })
  717. })
  718. this.changanitem = item;
  719. this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
  720. this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow;
  721. this.textItself = item.onebest;
  722. let onebest = item.onebest;
  723. this.thewrongword = onebest.replace(/<.*?>/ig, "");
  724. this.messagelisy = this.dialogList[i].message
  725. this.argtextindex1 = i;
  726. this.argtextindex2 = index;
  727. this.$forceUpdate()
  728. },
  729. TimeUpdate(currentTime) {
  730. this.playNow = Number(currentTime)
  731. if (this.dialogList.length == 0) {
  732. return
  733. } else {
  734. const message = this.dialogList[0].message;
  735. if (!message) return
  736. for (let i = 0; i < message.length; i++) {
  737. if ((Math.floor(message[i].bg / 1000) <= this.playNow && this.playNow < Math.floor(message[i].ed /
  738. 1000))) {
  739. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  740. break;
  741. }
  742. if (i < message.length - 1 && Math.floor(message[i].ed / 1000) < this.playNow && this.playNow <
  743. Math.floor(message[i + 1].bg / 1000)) {
  744. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  745. break;
  746. }
  747. }
  748. }
  749. this.$forceUpdate()
  750. },
  751. init(info) {
  752. const parames = {
  753. pageNum: 1,
  754. pageSize: 100,
  755. query: {
  756. customerId: this.customerId
  757. }
  758. }
  759. this.$u.post("/corpus/findByPage", parames).then(res => {
  760. if (res && res.length) {
  761. this.luyinList = res;
  762. this.recordPath = res[0].recordPath;
  763. this.calibration = res[0].calibration;
  764. if (this.calibration == 0) {
  765. this.kehuyixiangcenterindex = 0;
  766. } else {
  767. this.kehuyixiangcenterindex = 1;
  768. }
  769. this.datetiem = res[0].receptionTime;
  770. this.Alladdtodigest = res[0].status;
  771. this.getCorpusAnalysis(info)
  772. if (info.bg == 0) this.zyAudio()
  773. }
  774. })
  775. },
  776. // 获取转义后的对话结果
  777. getCorpusAnalysis(info) {
  778. this.dialogList = [];
  779. this.newluyinList = []
  780. uni.request({
  781. url: config.service.getCorpusAnal + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  782. "&bg=" + info.bg + "&speaker=" + this.roleindex, //仅为示例,并非真实接口地址。并非真实接口地址。
  783. method: "GET",
  784. header: {
  785. 'content-type': 'application/json',
  786. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  787. },
  788. success: (data) => {
  789. this.tablist = [];
  790. let jsonInfo = JSON.parse(data.data.data.audioContent);
  791. for (var i = 0; i <= data.data.data.speakerNum; i++) {
  792. if (i === 0) {
  793. this.tablist.push({
  794. name: '全部'
  795. })
  796. } else {
  797. this.tablist.push({
  798. name: String.fromCharCode(i + 64)
  799. })
  800. }
  801. }
  802. this.tablist[data.data.data.speaker].name = this.tablist[data.data.data.speaker].name +
  803. "顾问";
  804. this.roleindexbiaoji = data.data.data.speaker - 1;
  805. this.dshfkjsdkksodofydwfkhwdfkjh = data.data.data.speaker - 1;
  806. this.speaker = data.data.data.speaker;
  807. //上拉标记点
  808. this.textindex = data.data.data.index;
  809. //下拉标记点
  810. this.toptextindex = data.data.data.index;
  811. jsonInfo.forEach(item => {
  812. item.message = JSON.parse(item.onebest)
  813. item.backindex = this.csdFileindex;
  814. if (info.onebest) {
  815. item.message.forEach(che => {
  816. if (che.onebest == info.onebest) {
  817. che.onebest =
  818. `<font style='color: red'>${che.onebest}</font>`;
  819. }
  820. })
  821. }
  822. })
  823. this.newluyinList = jsonInfo;
  824. this.dialogList.push(jsonInfo[this.textindex]);
  825. this.dialogList.forEach(res => {
  826. res.message.forEach(asd => {
  827. asd.isshow = false;
  828. })
  829. })
  830. this.adasdasdasd(Math.floor(info.bg / 1000))
  831. }
  832. })
  833. },
  834. //复制
  835. clickcopy() {
  836. var that = this;
  837. uni.setClipboardData({
  838. data: that.thewrongword,
  839. success: function() {
  840. that.dialogList.forEach(res => {
  841. res.message.forEach(asd => {
  842. asd.isshow = false;
  843. })
  844. })
  845. that.$forceUpdate();
  846. console.log('success');
  847. }
  848. });
  849. },
  850. //长按点击播放
  851. clickbofang(dialog, item) {
  852. this.dialogList.forEach(res => {
  853. res.message.forEach(asd => {
  854. asd.isshow = false;
  855. })
  856. })
  857. this.$forceUpdate()
  858. let platetime = item.bg;
  859. let newtime = item.bg / 1000;
  860. this.dialogList = []
  861. uni.request({
  862. url: config.service.fastForward + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  863. "&bg=" + platetime, //仅为示例,并非真实接口地址。
  864. method: "GET",
  865. header: {
  866. 'content-type': 'application/json',
  867. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  868. },
  869. success: (data) => {
  870. this.textindex = data.data.data.index;
  871. this.toptextindex = data.data.data.index;
  872. this.dialogList.push(this.newluyinList[data.data.data.index])
  873. this.stepPlay(newtime);
  874. }
  875. })
  876. },
  877. // 音频前进回退
  878. sliderChangeComplate(currentTime) {
  879. this.dialogList = []
  880. this.$u.get(config.service.fastForward, {
  881. corpusId: this.luyinList[this.csdFileindex].id,
  882. bg: (currentTime * 1000) || 0
  883. }).then(data => {
  884. this.textindex = data.index;
  885. this.toptextindex = data.index;
  886. if (data.index > this.newluyinList.length) {
  887. this.dialogList.push(this.newluyinList[0])
  888. } else {
  889. this.dialogList.push(this.newluyinList[data.index])
  890. }
  891. })
  892. },
  893. //搜索跳转
  894. adasdasdasd(e) {
  895. this.stepPlay(e)
  896. },
  897. formatTime(num) {
  898. //格式化时间格式
  899. num = num.toFixed(0);
  900. let second = num % 60;
  901. if (second < 10) second = '0' + second;
  902. let min = Math.floor(num / 60);
  903. if (min < 10) min = '0' + min;
  904. return min + ":" + second;
  905. },
  906. //意向统计切换
  907. Intentiontoswitch(i) {
  908. this.yixingindex = i;
  909. if (i == 1) {
  910. this.statistical()
  911. }
  912. },
  913. statistical() {
  914. this.$u.get("/matchKeywords/findCARKeywords", {
  915. customerId: this.customerId
  916. }).then(res => {
  917. res.forEach(item => {
  918. if (item.isInterval == 0) {
  919. item.name = item.name + item.unit + '-' + item.endName + item.unit;
  920. }
  921. })
  922. this.options1 = res;
  923. })
  924. },
  925. //接待详情点击
  926. Receivedetailsabouttab(stringa) {
  927. if (stringa == 'Receivedetailsabout') {
  928. this.gituserlist()
  929. this.Receivedetailsabout = true;
  930. } else if (stringa == 'Pinspeak') {
  931. this.getRatelist()
  932. this.Pinspeak = true;
  933. } else {
  934. if (this.kehuyixiangcenterindex == 0) {
  935. this.Acquirecustomerintent()
  936. } else {
  937. this.Acquirecustomerintent2()
  938. }
  939. this.intention = true;
  940. }
  941. },
  942. //获取用户信息
  943. gituserlist() {
  944. this.$u.get("/matchKeywords/personalReceptionRecord", {
  945. customerId: this.customerId
  946. }).then(res => {
  947. res.endTime1 = res.endTime.substring(0, 19);
  948. this.userlistobj = res;
  949. })
  950. },
  951. Acquishow2(i) {
  952. this.Acquirecustomerintentlist2[i].isshow = !this.Acquirecustomerintentlist2[i].isshow;
  953. },
  954. tocalibration() {
  955. uni.navigateTo({
  956. url: '/pages/mine/calibration?id=' + this.customerId
  957. });
  958. },
  959. customerofintention(i) {
  960. this.kehuyixiangcenterindex = i;
  961. if (i == 0) {
  962. this.Acquirecustomerintent()
  963. } else {
  964. this.Acquirecustomerintent2()
  965. }
  966. },
  967. //获取人工校准意向信息
  968. Acquirecustomerintent2() {
  969. this.Acquirecustomerintentlist2 = [];
  970. this.$u.get("/matchKeywords/findManualCalibration", {
  971. customerId: this.customerId,
  972. type: 1
  973. }).then(res => {
  974. res.forEach(item => {
  975. item.isshow = true;
  976. item.children.forEach(chend => {
  977. if (chend.isInterval == 0) {
  978. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  979. .unit
  980. } else {
  981. chend.text = chend.name
  982. }
  983. })
  984. })
  985. this.Acquirecustomerintentlist2 = res;
  986. })
  987. },
  988. //获取意向信息
  989. Acquirecustomerintent() {
  990. this.$u.get("/matchKeywords/findSystemAnalysis", {
  991. customerId: this.customerId
  992. }).then(res => {
  993. res.forEach(item => {
  994. item.isshow = true;
  995. item.children.forEach(chend => {
  996. if (chend.isInterval == 0) {
  997. chend.text = chend.name + chend.unit + '-' + chend.endName + chend
  998. .unit
  999. } else {
  1000. chend.text = chend.name
  1001. }
  1002. })
  1003. })
  1004. this.Acquirecustomerintentlist = res;
  1005. })
  1006. },
  1007. Acquishow(i) {
  1008. this.Acquirecustomerintentlist[i].isshow = !this.Acquirecustomerintentlist[i].isshow;
  1009. },
  1010. Edittag(item, chend, index, i) {
  1011. var selected = '';
  1012. if (chend.selected == 0) {
  1013. selected = 1;
  1014. this.Acquirecustomerintentlist[index].children[i].selected = 1;
  1015. } else {
  1016. selected = 0;
  1017. this.Acquirecustomerintentlist[index].children[i].selected = 0;
  1018. }
  1019. this.$u.post("/matchKeywords/updatePersonalMatchData", {
  1020. carId: this.customerId,
  1021. selected: selected,
  1022. name: chend.name,
  1023. pid: chend.pid,
  1024. level: chend.level,
  1025. endName: chend.endName,
  1026. keywordsId: chend.keywordsId
  1027. }).then(res => {
  1028. })
  1029. },
  1030. //取消接待详情
  1031. clenReceivedetailsabout() {
  1032. this.Receivedetailsabout = false;
  1033. this.Pinspeak = false;
  1034. this.intention = false;
  1035. },
  1036. //标记选择角色
  1037. biaojixuanze(index) {
  1038. this.roleindexbiaoji = index;
  1039. },
  1040. //标记顾问
  1041. tagtap() {
  1042. this.biojiisshow = !this.biojiisshow;
  1043. },
  1044. //取消标记
  1045. unmarktap() {
  1046. this.biojiisshow = false;
  1047. this.roleindexbiaoji = this.dshfkjsdkksodofydwfkhwdfkjh;
  1048. },
  1049. //确认标记
  1050. Confirmthetag() {
  1051. var num = this.roleindexbiaoji + 1;
  1052. uni.request({
  1053. url: config.service.markConsultant + '?id=' + this.luyinList[this.csdFileindex].id +
  1054. "&speaker=" + num + '&customerId=' + this.customerId, //仅为示例,并非真实接口地址。
  1055. method: "GET",
  1056. header: {
  1057. 'content-type': 'application/json',
  1058. 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
  1059. },
  1060. success: (data) => {
  1061. this.biojiisshow = false;
  1062. this.biaojiyuyi()
  1063. this.fenjiaoseunfo()
  1064. uni.showToast({
  1065. title: '标记成功',
  1066. duration: 2000
  1067. });
  1068. },
  1069. })
  1070. },
  1071. //标记语义词
  1072. biaojiyuyi() {
  1073. let parames = {
  1074. carId: this.customerId
  1075. }
  1076. this.$u.post("/matchKeywords/toMatchKeywords", parames).then(res => {
  1077. console.log(res)
  1078. })
  1079. },
  1080. //标记tab切换
  1081. tapspagek2(index) {
  1082. this.roleindex = index;
  1083. this.newluyinList = [];
  1084. this.fenjiaoseunfo()
  1085. },
  1086. //分角色标记刷新
  1087. //分角色标记刷新
  1088. fenjiaoseunfo() {
  1089. var bgcd = this.playNow * 1000;
  1090. this.newluyinList = [];
  1091. this.dialogList = [];
  1092. let obj = {
  1093. corpusId: this.luyinList[this.csdFileindex].id,
  1094. bg: bgcd,
  1095. speaker: this.roleindex
  1096. }
  1097. this.$u.get(config.service.getCorpusAnal, obj).then((data) => {
  1098. this.tablist = [];
  1099. let jsonInfo = JSON.parse(data.audioContent);
  1100. for (var i = 0; i <= data.speakerNum; i++) {
  1101. if (i === 0) {
  1102. this.tablist.push({
  1103. name: '全部'
  1104. })
  1105. } else {
  1106. this.tablist.push({
  1107. name: String.fromCharCode(i + 64)
  1108. })
  1109. }
  1110. }
  1111. if (data.speaker == null) {
  1112. this.roleindexbiaoji = 0;
  1113. this.dshfkjsdkksodofydwfkhwdfkjh = 0;
  1114. } else {
  1115. this.tablist[data.speaker].name = this.tablist[data.speaker]
  1116. .name + "顾问";
  1117. this.roleindexbiaoji = data.speaker - 1;
  1118. this.dshfkjsdkksodofydwfkhwdfkjh = data.speaker - 1;
  1119. }
  1120. if (this.roleindex > this.tablist.length - 1) {
  1121. this.roleindex = this.tablist.length - 1
  1122. this.fenjiaoseunfo()
  1123. }
  1124. this.speaker = data.speaker;
  1125. //上拉标记点
  1126. this.textindex = data.index;
  1127. //下拉标记点
  1128. this.toptextindex = data.index;
  1129. jsonInfo.forEach(item => {
  1130. item.message = JSON.parse(item.onebest)
  1131. item.backindex = this.csdFileindex
  1132. })
  1133. this.newluyinList = jsonInfo;
  1134. if (this.textindex == null) {
  1135. return
  1136. } else {
  1137. this.dialogList.push(jsonInfo[this.textindex]);
  1138. }
  1139. })
  1140. },
  1141. getTime(time) {
  1142. return util.formatSecond(time)
  1143. },
  1144. //回到顶部
  1145. gotoTop() {
  1146. this.scrollId = null;
  1147. this.$nextTick(() => {
  1148. this.scrollId = "top";
  1149. })
  1150. },
  1151. //评分上下显隐
  1152. changeshow(item, type) {
  1153. item.show = !item.show;
  1154. },
  1155. changeshow2(item, type) {
  1156. item.show = !item.show;
  1157. },
  1158. // 获取评分
  1159. getRatelist() {
  1160. if (this.ratelist.length == 0) {
  1161. uni.showLoading({
  1162. title: '加载中'
  1163. });
  1164. this.$u.get("/customer/findzkMByCusId", {
  1165. cusId: this.customerId
  1166. }).then(res => {
  1167. if (res.length) {
  1168. let level1 = []
  1169. let level2rate = 0
  1170. res.forEach(item => {
  1171. if (item.pid == 0) {
  1172. level1.push({
  1173. id: item.marketingId,
  1174. rate: item.fraction,
  1175. name: item.name,
  1176. sort: item.sort,
  1177. show: false,
  1178. ratepercent: 0,
  1179. children: []
  1180. })
  1181. } else {
  1182. if (item.selected == 0) {
  1183. level2rate += item.fraction
  1184. }
  1185. }
  1186. })
  1187. this.totalRate = level2rate;
  1188. res.forEach(subitem => {
  1189. let subitempid = subitem.pid
  1190. level1.forEach(item => {
  1191. if (subitempid == item.id) {
  1192. if (subitem.selected == 0) {
  1193. item.ratepercent += subitem.fraction
  1194. }
  1195. item.children.push({
  1196. id: subitem.id,
  1197. rate: subitem.fraction,
  1198. selected: subitem.selected,
  1199. name: subitem.name,
  1200. show: false,
  1201. marketingId: subitem.marketingId,
  1202. children: []
  1203. })
  1204. }
  1205. })
  1206. })
  1207. res.forEach(subitem => {
  1208. let subitempid = subitem.pid
  1209. level1.forEach(chen => {
  1210. chen.children.forEach(zxc => {
  1211. if (subitempid == zxc.marketingId) {
  1212. zxc.children.push({
  1213. id: subitem.id,
  1214. rate: subitem.fraction,
  1215. selected: subitem.selected,
  1216. name: subitem.name,
  1217. marketingId: subitem.marketingId,
  1218. })
  1219. }
  1220. })
  1221. })
  1222. })
  1223. level1[0].show = true;
  1224. level1[0].children[0].show = true;
  1225. this.ratelist = level1
  1226. }
  1227. setTimeout(function() {
  1228. uni.hideLoading();
  1229. }, 1000);
  1230. })
  1231. }
  1232. },
  1233. //评分点击
  1234. clickaudeopal(item) {
  1235. if (item.selected == 0) {
  1236. this.Pinspeak = false
  1237. uni.navigateTo({
  1238. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  1239. .marketingId + '&type=0' + '&UpDateEvent=Receivedetailabout'
  1240. })
  1241. }
  1242. },
  1243. //下一页
  1244. ltolower() {
  1245. var lengthcz = this.newluyinList.length - 1;
  1246. if (this.textindex >= lengthcz) {
  1247. uni.showToast({
  1248. title: '到底了',
  1249. duration: 2000
  1250. });
  1251. return
  1252. } else {
  1253. this.textindex = this.textindex + 1;
  1254. this.newluyinList[this.textindex].message.forEach(item => {
  1255. this.dialogList[0].message.push(item)
  1256. })
  1257. }
  1258. console.log("下一页", this.textindex)
  1259. },
  1260. //上一页
  1261. rolltoupper() {
  1262. if (this.toptextindex == 0) {
  1263. return
  1264. } else {
  1265. if (this.dialogList[0] == undefined) {
  1266. return
  1267. } else {
  1268. this.toptextindex = this.toptextindex - 1;
  1269. let reverselist = this.newluyinList[this.toptextindex].message;
  1270. let runlist = reverselist.reverse();
  1271. runlist.forEach(item => {
  1272. this.dialogList[0].message.unshift(item)
  1273. })
  1274. }
  1275. }
  1276. console.log("上一页", this.toptextindex)
  1277. },
  1278. // 取消全部加精
  1279. notappick() {
  1280. var that = this;
  1281. uni.showModal({
  1282. title: '提示',
  1283. content: '确认取消加精?',
  1284. success: function(res) {
  1285. if (res.confirm) {
  1286. console.log('用户点击确定');
  1287. uni.request({
  1288. url: config.service.delATD + "?carId=" + that.customerId + '&itemId=' +
  1289. that.buildingID,
  1290. method: "GET",
  1291. header: {
  1292. 'content-type': 'application/json',
  1293. 'Authorization': 'Bearer ' + uni.getStorageSync(
  1294. 'weapp_session_login_data').token
  1295. },
  1296. success: (data) => {
  1297. if (data.data.code == 10000) {
  1298. that.Alladdtodigest = 1
  1299. uni.showToast({
  1300. title: '取消成功',
  1301. duration: 2000
  1302. });
  1303. } else {
  1304. uni.showToast({
  1305. title: data.data.message,
  1306. duration: 2000
  1307. });
  1308. }
  1309. }
  1310. })
  1311. } else if (res.cancel) {
  1312. console.log('用户点击取消');
  1313. }
  1314. }
  1315. });
  1316. },
  1317. //全部加精
  1318. tappick() {
  1319. var that = this;
  1320. uni.showModal({
  1321. title: '提示',
  1322. content: '确认加精?',
  1323. success: function(res) {
  1324. if (res.confirm) {
  1325. console.log('用户点击确定');
  1326. let objdata = {
  1327. "carId": that.customerId, //客户id
  1328. "status": 0,
  1329. "itemId": that.buildingID,
  1330. }
  1331. uni.request({
  1332. url: config.service.addATD,
  1333. method: "POST",
  1334. header: {
  1335. 'content-type': 'application/json',
  1336. 'Authorization': 'Bearer ' + uni.getStorageSync(
  1337. 'weapp_session_login_data').token
  1338. },
  1339. data: objdata,
  1340. success: (data) => {
  1341. if (data.data.code == 10000) {
  1342. that.Alladdtodigest = 0
  1343. uni.showToast({
  1344. title: '加精成功',
  1345. duration: 2000
  1346. });
  1347. } else {
  1348. uni.showToast({
  1349. title: data.data.message,
  1350. duration: 2000
  1351. });
  1352. }
  1353. }
  1354. })
  1355. } else if (res.cancel) {
  1356. console.log('用户点击取消');
  1357. }
  1358. }
  1359. });
  1360. },
  1361. //录音实例
  1362. zyAudio() {
  1363. let data = [{
  1364. src: this.recordPath,
  1365. title: '录音音频',
  1366. singer: '',
  1367. coverImgUrl: ''
  1368. }]
  1369. this.$zaudio.setAudio(data)
  1370. //渲染第一首音频
  1371. this.$zaudio.setRender(0)
  1372. setTimeout(() => {
  1373. this.$zaudio.operate()
  1374. }, 150)
  1375. },
  1376. // 跳转指定位置播放
  1377. stepPlay(t) {
  1378. this.$zaudio.seek(t)
  1379. if (this.$zaudio.paused) {
  1380. this.$zaudio.operate()
  1381. }
  1382. }
  1383. }
  1384. };
  1385. </script>
  1386. <style lang="scss" scoped>
  1387. .box {
  1388. width: 100%;
  1389. height: 100vh;
  1390. display: flex;
  1391. flex-direction: column;
  1392. .pingfenbox {
  1393. width: 100%;
  1394. height: 60rpx;
  1395. line-height: 60rpx;
  1396. border-bottom: 1px solid #E0E0E0;
  1397. display: flex;
  1398. }
  1399. .pingfenbox view {
  1400. flex: 1;
  1401. text-align: center;
  1402. font-size: 28rpx;
  1403. text-indent: 20rpx;
  1404. }
  1405. .activecllasscet {
  1406. background: #2671E2;
  1407. color: #FFFFFF;
  1408. }
  1409. .title1-12 {
  1410. font-size: 28rpx;
  1411. color: #2671E2;
  1412. font-weight: 400;
  1413. text-indent: 30rpx;
  1414. margin-top: 18rpx;
  1415. }
  1416. .headbox {
  1417. width: 100%;
  1418. min-height: 173rpx;
  1419. border-bottom: 1px solid #E0E0E0;
  1420. }
  1421. .zhuti {
  1422. flex: 1;
  1423. overflow: auto;
  1424. }
  1425. .bottombox {
  1426. width: 100%;
  1427. height: 170rpx;
  1428. border-top: 1px solid #E0E0E0;
  1429. .bottomhead {
  1430. width: 100%;
  1431. height: 81rpx;
  1432. border-bottom: 1px solid #E0E0E0;
  1433. display: flex;
  1434. justify-content: space-between;
  1435. align-items: center;
  1436. .audio-slider {
  1437. width: 87%;
  1438. display: flex;
  1439. justify-content: space-between;
  1440. align-items: center;
  1441. padding-right: 30rpx;
  1442. }
  1443. .audio-slider .slider {
  1444. width: 100%;
  1445. padding: 0px 15rpx;
  1446. box-sizing: border-box;
  1447. }
  1448. .audio-time {
  1449. width: 110rpx;
  1450. text-align: right;
  1451. font-size: 26rpx;
  1452. line-height: 28rpx;
  1453. color: #70798D;
  1454. display: flex;
  1455. justify-content: space-between;
  1456. }
  1457. .audio-play {
  1458. width: 48rpx;
  1459. height: 48rpx;
  1460. flex-shrink: 0;
  1461. }
  1462. .audio-play .image {
  1463. width: 100%;
  1464. height: 100%;
  1465. margin-left: 30rpx;
  1466. }
  1467. }
  1468. .botbotmm {
  1469. width: 100%;
  1470. height: 88rpx;
  1471. display: flex;
  1472. align-items: center;
  1473. }
  1474. }
  1475. }
  1476. .headboxhead {
  1477. width: 100%;
  1478. height: 84rpx;
  1479. border-bottom: 1px solid #E0E0E0;
  1480. display: flex;
  1481. .boxhead1 {
  1482. width: 50%;
  1483. color: #303030;
  1484. height: 84rpx;
  1485. line-height: 84rpx;
  1486. font-size: 28rpx;
  1487. text-indent: 30rpx;
  1488. }
  1489. .boxhead2 {
  1490. width: 46%;
  1491. height: 84rpx;
  1492. text-align: right;
  1493. }
  1494. }
  1495. .boxhead2 image {
  1496. width: 36rpx;
  1497. height: 36rpx;
  1498. margin-top: 24rpx;
  1499. }
  1500. .headboxbott {
  1501. width: 100%;
  1502. height: 88rpx;
  1503. display: flex;
  1504. align-items: center;
  1505. .headovfu {
  1506. flex: 1;
  1507. height: 88rpx;
  1508. overflow: hidden;
  1509. }
  1510. .headpade {
  1511. width: 160rpx;
  1512. height: 60rpx;
  1513. display: flex;
  1514. justify-content: center;
  1515. align-items: center;
  1516. border-left: 1px solid #D6D6D6;
  1517. .biaoji {
  1518. width: 100rpx;
  1519. height: 48rpx;
  1520. background: #E6625B;
  1521. border-radius: 24rpx;
  1522. text-align: center;
  1523. line-height: 48rpx;
  1524. color: #FFFFFF;
  1525. font-size: 26rpx;
  1526. }
  1527. }
  1528. }
  1529. .fill {
  1530. width: 2rpx;
  1531. height: 41rpx;
  1532. background: #E0E0E0;
  1533. }
  1534. .tmmchen {
  1535. width: 25%;
  1536. height: 88rpx;
  1537. text-align: center;
  1538. color: #666666;
  1539. font-size: 18rpx;
  1540. }
  1541. .tmmchen image {
  1542. width: 40rpx;
  1543. height: 40rpx;
  1544. margin-top: 10rpx;
  1545. margin-bottom: 2rpx;
  1546. }
  1547. .zhezhoa {
  1548. position: fixed;
  1549. top: 0;
  1550. left: 0;
  1551. z-index: 999;
  1552. width: 100%;
  1553. height: 100vh;
  1554. opacity: 0.5;
  1555. background-color: #666666;
  1556. }
  1557. .followingpop-up {
  1558. width: 100%;
  1559. height: 75vh;
  1560. background: #FFFFFF;
  1561. position: fixed;
  1562. background: #FFFFFF;
  1563. left: 0px;
  1564. bottom: 0px;
  1565. z-index: 1000;
  1566. display: flex;
  1567. flex-direction: column;
  1568. // position: relative;
  1569. .calibration {
  1570. width: 90rpx;
  1571. height: 90rpx;
  1572. background: #2671E2;
  1573. text-align: center;
  1574. line-height: 90rpx;
  1575. border-radius: 50%;
  1576. color: #FFFFFF;
  1577. position: absolute;
  1578. right: 30rpx;
  1579. bottom: 100rpx;
  1580. }
  1581. .guanbibox {
  1582. width: 100%;
  1583. padding-bottom: 20rpx;
  1584. margin-top: 20rpx;
  1585. border-bottom: 1px solid #E0E0E0;
  1586. position: relative;
  1587. .guanbixen {
  1588. width: 30rpx;
  1589. height: 30rpx;
  1590. position: absolute;
  1591. right: 30rpx;
  1592. top: 6rpx;
  1593. }
  1594. .cenisboxtab {
  1595. width: 100%;
  1596. display: flex;
  1597. .cenisboxtabview {
  1598. flex: 1;
  1599. display: flex;
  1600. align-items: center;
  1601. justify-content: center;
  1602. color: #333333;
  1603. font-size: 30rpx;
  1604. font-weight: 600;
  1605. }
  1606. }
  1607. }
  1608. .cenisbox {
  1609. flex: 1;
  1610. overflow: auto;
  1611. .jianbox {
  1612. width: 100%;
  1613. border-bottom: 1px solid #E0E0E0;
  1614. padding-top: 24rpx;
  1615. padding-bottom: 24rpx;
  1616. .jianbox-cen {
  1617. width: 100%;
  1618. height: 78rpx;
  1619. // border-bottom: 1px solid #E0E0E0;
  1620. display: flex;
  1621. .jianboxtext {
  1622. flex: 1;
  1623. height: 100%;
  1624. font-size: 30rpx;
  1625. font-weight: 600;
  1626. line-height: 78rpx;
  1627. color: #333333;
  1628. text-indent: 30rpx;
  1629. }
  1630. .jianboxjian {
  1631. width: 80rpx;
  1632. height: 100%;
  1633. line-height: 78rpx;
  1634. text-align: center;
  1635. }
  1636. }
  1637. .bioqianwayl {
  1638. width: 690rpx;
  1639. margin: 0 auto;
  1640. display: flex;
  1641. flex-wrap: wrap;
  1642. }
  1643. .bioqianwayl view {
  1644. padding-left: 24rpx;
  1645. padding-right: 24rpx;
  1646. padding-top: 10rpx;
  1647. padding-bottom: 10rpx;
  1648. margin-right: 24rpx;
  1649. margin-top: 20rpx;
  1650. border-radius: 8rpx;
  1651. font-size: 26rpx;
  1652. }
  1653. }
  1654. }
  1655. }
  1656. .jiantop {
  1657. width: 14rpx;
  1658. height: 24rpx;
  1659. }
  1660. .jiantop1 {
  1661. width: 20rpx;
  1662. height: 14rpx;
  1663. }
  1664. .sdfsaf {
  1665. padding-left: 24rpx;
  1666. padding-right: 24rpx;
  1667. padding-top: 10rpx;
  1668. padding-bottom: 10rpx;
  1669. border-radius: 8rpx;
  1670. font-size: 26rpx;
  1671. }
  1672. .yixingindexclass {
  1673. border-bottom: 3px solid #2671E2;
  1674. }
  1675. .cenisboxdspl {
  1676. width: 94%;
  1677. margin: 0 auto;
  1678. padding-bottom: 24rpx;
  1679. display: flex;
  1680. flex-wrap: wrap;
  1681. .cenisboxdsplview {
  1682. padding-left: 24rpx;
  1683. padding-right: 24rpx;
  1684. padding-top: 10rpx;
  1685. padding-bottom: 10rpx;
  1686. background: #F4F8FD;
  1687. color: #2671E2;
  1688. font-size: 26rpx;
  1689. margin-right: 24rpx;
  1690. margin-top: 24rpx;
  1691. }
  1692. }
  1693. .bounced {
  1694. width: 570upx;
  1695. background: #FFFFFF;
  1696. z-index: 1000;
  1697. border-radius: 10upx;
  1698. position: fixed;
  1699. left: 50%;
  1700. top: 50%;
  1701. transform: translate(-50%, -50%);
  1702. /* 50%为自身尺寸的一半 */
  1703. .jiajinghuatit {
  1704. width: 100%;
  1705. height: 68rpx;
  1706. font-size: 30rpx;
  1707. text-align: center;
  1708. line-height: 68rpx;
  1709. }
  1710. .jiajinghuaview {
  1711. padding: 18rpx 18rpx 18rpx 18rpx;
  1712. display: flex;
  1713. flex-wrap: wrap;
  1714. .jiajinghuaview1 {
  1715. padding: 8rpx 8rpx 8rpx 8rpx;
  1716. font-size: 26rpx;
  1717. border-radius: 12rpx;
  1718. border: 1px solid #979797;
  1719. margin-left: 8rpx;
  1720. }
  1721. .jighuaview2 {
  1722. padding: 8rpx 18rpx 8rpx 18rpx;
  1723. font-size: 26rpx;
  1724. border-radius: 12rpx;
  1725. border: 1px solid #979797;
  1726. margin-left: 20rpx;
  1727. margin-top: 10rpx;
  1728. display: flex;
  1729. .view1-text {
  1730. text-align: center;
  1731. }
  1732. .view1-img {
  1733. width: 50rpx;
  1734. }
  1735. }
  1736. }
  1737. .bounced3 {
  1738. height: 100upx;
  1739. width: 100%;
  1740. margin-top: 40upx;
  1741. border-top: 1px solid #dddddd;
  1742. display: flex;
  1743. }
  1744. .bounced3-1 {
  1745. width: 50%;
  1746. height: 100%;
  1747. text-align: center;
  1748. line-height: 100upx;
  1749. border-right: 1px solid #dddddd;
  1750. font-size: 36upx;
  1751. color: #999999;
  1752. }
  1753. .bounced3-2 {
  1754. width: 50%;
  1755. height: 100%;
  1756. text-align: center;
  1757. line-height: 100upx;
  1758. font-size: 36upx;
  1759. color: #108ee9;
  1760. }
  1761. }
  1762. .viewclace {
  1763. width: 100rpx;
  1764. height: 40rpx;
  1765. text-align: center;
  1766. line-height: 40rpx;
  1767. border-radius: 14rpx;
  1768. margin-right: 34rpx;
  1769. margin-top: 16rpx;
  1770. font-size: 24rpx;
  1771. }
  1772. .bosdttom {
  1773. color: #FFFFFF;
  1774. background-color: #2671E2;
  1775. }
  1776. .dialog-block {
  1777. margin: 20rpx 0;
  1778. border-bottom: 1px solid #ccc;
  1779. .fileName {
  1780. text-align: center;
  1781. margin: 10rpx auto;
  1782. width: 115rpx;
  1783. height: 42rpx;
  1784. line-height: 42rpx;
  1785. background: #EFEFEF;
  1786. border-radius: 4rpx;
  1787. font-size: 20rpx;
  1788. font-weight: 400;
  1789. color: #333333;
  1790. }
  1791. }
  1792. .scroll-Y {
  1793. font-size: 36upx;
  1794. color: #999999;
  1795. background: #FFFFFF;
  1796. margin-top: 30upx;
  1797. flex: 1;
  1798. overflow-y: scroll;
  1799. width: 100%;
  1800. }
  1801. .scroll-Y .text {
  1802. margin: 50upx 30upx;
  1803. line-height: 80upx;
  1804. display: flex;
  1805. align-items: center;
  1806. }
  1807. .scroll-Y .text[data-speaker="2"],
  1808. .scroll-Y .text[data-speaker="4"],
  1809. .scroll-Y .text[data-speaker="6"] {
  1810. flex-direction: row-reverse;
  1811. text-align: right;
  1812. .contentInfo {
  1813. .info {
  1814. color: #ccc;
  1815. font-size: 18rpx;
  1816. font-size: 30rpx;
  1817. padding: 0 28rpx;
  1818. display: flex;
  1819. flex-direction: row-reverse;
  1820. .AudioUserName {
  1821. margin-left: 10rpx;
  1822. }
  1823. }
  1824. .contentMain {
  1825. display: flex;
  1826. flex-direction: row-reverse;
  1827. align-items: center;
  1828. .content {
  1829. margin-left: 0;
  1830. margin-right: 30upx;
  1831. }
  1832. .play {
  1833. width: 50rpx;
  1834. height: 50rpx;
  1835. margin-right: 20rpx;
  1836. }
  1837. }
  1838. }
  1839. }
  1840. .scroll-Y .text .avatar {
  1841. margin-top: 80rpx;
  1842. width: 64upx;
  1843. height: 64upx;
  1844. line-height: 64upx;
  1845. text-align: center;
  1846. // border: 1rpx solid red;
  1847. font-size: 36rpx;
  1848. border-radius: 50%;
  1849. background: #F2F2F2;
  1850. color: #008EF2;
  1851. // display: flex;
  1852. // justify-content: center;
  1853. // align-items: center;
  1854. image {
  1855. width: 40upx;
  1856. }
  1857. }
  1858. .scroll-Y .text .content {
  1859. margin-left: 30upx;
  1860. line-height: 60rpx;
  1861. text-align: left;
  1862. padding: 0 5px;
  1863. border-radius: 8upx;
  1864. max-width: 442rpx;
  1865. position: relative;
  1866. .tankuangcss {
  1867. position: absolute;
  1868. top: -140rpx;
  1869. left: -120rpx;
  1870. width: 308rpx;
  1871. height: 130rpx;
  1872. background-color: #333333;
  1873. font-size: 24rpx;
  1874. color: #FFFFFF;
  1875. padding-top: 4rpx;
  1876. padding-bottom: 4rpx;
  1877. display: flex;
  1878. flex-wrap: wrap;
  1879. border-radius: 15rpx;
  1880. z-index: 1000;
  1881. }
  1882. }
  1883. .scroll-Y .text.active .content {
  1884. color: #FF7538 !important;
  1885. position: relative;
  1886. }
  1887. .scroll-Y .text.active[data-speaker="2"] .content,
  1888. .scroll-Y .text.active[data-speaker="4"] .content,
  1889. .scroll-Y .text.active[data-speaker="6"] .content {
  1890. color: #FF7538 !important;
  1891. position: relative;
  1892. }
  1893. .scroll-Y .text {
  1894. .contentInfo {
  1895. .info {
  1896. .AudioUserName {
  1897. margin-right: 10rpx;
  1898. }
  1899. }
  1900. }
  1901. }
  1902. .scroll-Y .text .avatar {
  1903. width: 64upx;
  1904. height: 64upx;
  1905. line-height: 64upx;
  1906. text-align: center;
  1907. font-size: 36rpx;
  1908. border-radius: 50%;
  1909. background: #F2F2F2;
  1910. color: #008EF2;
  1911. image {
  1912. width: 40upx;
  1913. }
  1914. }
  1915. .scroll-Y .text .contentInfo .info {
  1916. color: #ccc;
  1917. font-size: 18rpx;
  1918. font-size: 30rpx;
  1919. padding: 0 28rpx;
  1920. }
  1921. .scroll-Y .text .contentInfo .contentMain {
  1922. display: flex;
  1923. align-items: center;
  1924. }
  1925. .scroll-Y .text .contentInfo .contentMain .content {
  1926. margin-left: 30upx;
  1927. line-height: 60rpx;
  1928. text-align: left;
  1929. padding: 0 5px;
  1930. border-radius: 8upx;
  1931. max-width: 442rpx;
  1932. background: #F6F6F6;
  1933. color: #999999;
  1934. position: relative;
  1935. .tankuangcss {
  1936. position: absolute;
  1937. top: -140rpx;
  1938. left: -120rpx;
  1939. width: 308rpx;
  1940. height: 130rpx;
  1941. background-color: #333333;
  1942. font-size: 24rpx;
  1943. color: #FFFFFF;
  1944. padding-top: 4rpx;
  1945. padding-bottom: 4rpx;
  1946. display: flex;
  1947. flex-wrap: wrap;
  1948. border-radius: 15rpx;
  1949. z-index: 1000;
  1950. }
  1951. .bottoms {
  1952. top: unset;
  1953. bottom: -140rpx;
  1954. }
  1955. }
  1956. .scroll-Y .text .contentInfo .contentMain .play {
  1957. width: 50rpx;
  1958. height: 50rpx;
  1959. margin-left: 20rpx;
  1960. }
  1961. .backTop {
  1962. width: 60upx;
  1963. height: 60upx;
  1964. background: rgba(211, 235, 253, 1);
  1965. box-shadow: 0upx 0upx 2upx 4upx rgba(38, 161, 255, 0.04);
  1966. border-radius: 50%;
  1967. position: fixed;
  1968. bottom: 200upx;
  1969. right: 8upx;
  1970. display: flex;
  1971. justify-content: center;
  1972. align-items: center;
  1973. image {
  1974. width: 26upx;
  1975. height: 34upx;
  1976. }
  1977. }
  1978. .jiangshang {
  1979. color: #2671E2;
  1980. background: #F4F8FD;
  1981. }
  1982. .jiangshang1 {
  1983. color: #FFFFFF;
  1984. background: #999999;
  1985. }
  1986. // 表单
  1987. .tian-view {
  1988. width: 570upx;
  1989. background-color: #FFFFFF;
  1990. border-bottom: 1px solid #ededee;
  1991. display: flex;
  1992. min-height: 96rpx;
  1993. .tian-view-t1 {
  1994. width: 20rpx;
  1995. font-size: 34rpx;
  1996. height: 34rpx;
  1997. line-height: 110rpx;
  1998. letter-spacing: 0px;
  1999. color: red;
  2000. }
  2001. .tian-view-t2 {
  2002. width: 30%;
  2003. min-height: 96rpx;
  2004. line-height: 96rpx;
  2005. font-size: 34rpx;
  2006. color: #333;
  2007. }
  2008. .tian-view-t3 {
  2009. width: 61%;
  2010. padding-top: 31rpx;
  2011. padding-bottom: 31rpx;
  2012. display: flex;
  2013. .tian-input {
  2014. width: 98%;
  2015. font-size: 34rpx;
  2016. border: none;
  2017. }
  2018. }
  2019. }
  2020. .inputbox {
  2021. width: 100%;
  2022. height: 100rpx;
  2023. display: flex;
  2024. align-items: center;
  2025. justify-content: center;
  2026. border-bottom: 1px solid #E0E0E0;
  2027. .thisinput {
  2028. width: 94%;
  2029. height: 52rpx;
  2030. background: #FFFFFF;
  2031. border-radius: 8rpx;
  2032. border: 1px solid #C9C9C9;
  2033. color: #333333;
  2034. font-size: 26rpx;
  2035. text-indent: 26rpx;
  2036. line-height: 52rpx;
  2037. }
  2038. }
  2039. .biaoqiantom {
  2040. background-color: #008EF2;
  2041. color: #FFFFFF;
  2042. border: none;
  2043. }
  2044. .Level-box {
  2045. padding-bottom: 2rpx;
  2046. .hhhbox {
  2047. width: 100%;
  2048. padding-left: 30rpx;
  2049. padding-right: 30rpx;
  2050. border-bottom: 1rpx solid #E0E0E0;
  2051. background: #FFFFFF;
  2052. // padding-bottom: 32rpx;
  2053. .hsnrtest {
  2054. height: 24rpx;
  2055. font-size: 24rpx;
  2056. font-weight: 400;
  2057. color: #666666;
  2058. line-height: 24rpx;
  2059. }
  2060. .Level3che {
  2061. width: 100%;
  2062. height: 28rpx;
  2063. display: flex;
  2064. line-height: 28rpx;
  2065. align-items: center;
  2066. margin-top: 30rpx;
  2067. .title1 {
  2068. flex: 1;
  2069. font-size: 28rpx;
  2070. color: #2671E2;
  2071. font-weight: 400;
  2072. }
  2073. .jiantobox {
  2074. width: 30rpx;
  2075. height: 30rpx;
  2076. display: flex;
  2077. align-items: center;
  2078. .arrow {
  2079. width: 28rpx;
  2080. height: 28rpx;
  2081. }
  2082. }
  2083. }
  2084. }
  2085. .Level2che {
  2086. width: 100%;
  2087. height: 88rpx;
  2088. display: flex;
  2089. line-height: 88rpx;
  2090. align-items: center;
  2091. .title1 {
  2092. flex: 2;
  2093. font-size: 28rpx;
  2094. color: #333333;
  2095. font-weight: 400;
  2096. }
  2097. .leve1-jindu {
  2098. flex: 3;
  2099. display: flex;
  2100. justify-content: center;
  2101. align-items: center;
  2102. .zhixing {
  2103. width: 108rpx;
  2104. height: 44rpx;
  2105. background: #2671E2;
  2106. border-radius: 4rpx;
  2107. font-size: 28rpx;
  2108. text-align: center;
  2109. line-height: 44rpx;
  2110. color: #FFFFFF;
  2111. }
  2112. .zhixing2 {
  2113. width: 108rpx;
  2114. height: 44rpx;
  2115. background: #F8F8F8;
  2116. border-radius: 4rpx;
  2117. font-size: 28rpx;
  2118. text-align: center;
  2119. line-height: 44rpx;
  2120. color: #999999;
  2121. }
  2122. }
  2123. .jiantobox {
  2124. width: 30rpx;
  2125. height: 30rpx;
  2126. display: flex;
  2127. align-items: center;
  2128. .arrow {
  2129. width: 30rpx;
  2130. height: 18rpx;
  2131. }
  2132. }
  2133. }
  2134. .Level1che {
  2135. width: 100%;
  2136. height: 94rpx;
  2137. background: #F5F5F5;
  2138. display: flex;
  2139. line-height: 94rpx;
  2140. align-items: center;
  2141. padding-left: 30rpx;
  2142. padding-right: 30rpx;
  2143. .title1 {
  2144. flex: 2;
  2145. font-size: 30rpx;
  2146. color: #333333;
  2147. font-weight: 400;
  2148. }
  2149. .leve1-jindu {
  2150. flex: 3;
  2151. .jindutiao {
  2152. width: 96%;
  2153. height: 28rpx;
  2154. background: #D5EEE2;
  2155. line-height: 28rpx;
  2156. border-radius: 14rpx;
  2157. position: relative;
  2158. .huanxing {
  2159. height: 100%;
  2160. background: #4FC78F;
  2161. border-radius: 14rpx;
  2162. }
  2163. .text {
  2164. position: absolute;
  2165. top: 0rpx;
  2166. right: 0rpx;
  2167. font-size: 28rpx;
  2168. font-weight: 400;
  2169. color: #333333;
  2170. }
  2171. }
  2172. }
  2173. .jiantobox {
  2174. width: 30rpx;
  2175. height: 30rpx;
  2176. display: flex;
  2177. align-items: center;
  2178. .arrow {
  2179. width: 30rpx;
  2180. height: 18rpx;
  2181. }
  2182. }
  2183. }
  2184. }
  2185. .rotatearrow {
  2186. transform: rotate(270deg);
  2187. }
  2188. .scroll-Y .isGreen .contentInfo .contentMain .content {
  2189. background: #2BC805 !important;
  2190. color: #FFFFFF;
  2191. }
  2192. /deep/ .u-model-title{
  2193. padding: 34rpx 0 16rpx !important;
  2194. }
  2195. </style>