AI销管
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

2770 lines
74 KiB

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