No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

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