Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 

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