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.
 
 
 

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