You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

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