Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

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