Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 

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