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.
 
 
 

2151 lines
58 KiB

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