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

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