Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 

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