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.
 
 
 

2773 lines
73 KiB

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