You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

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