Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

2804 righe
74 KiB

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