Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

2812 linhas
74 KiB

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