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.
 
 
 

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