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.
 
 
 

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