選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

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