AI销管
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 

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