Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

2480 rindas
63 KiB

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