AI销管
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

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