No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

2997 líneas
78 KiB

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