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.
 
 
 

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