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.
 
 
 

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