AI营销辅助 普强使用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1643 lines
38 KiB

  1. <template>
  2. <view class="translation">
  3. <!-- <view style="width: 690rpx;height: 64rpx;margin: 0 auto;margin-top: 30rpx;background: #F2F2F2;border-radius: 32rpx;
  4. display: flex;align-items: center;" @tap="toKeywordsearch()">
  5. <image style="width: 28rpx;height: 28rpx;margin-left: 30rpx;" src="/static/images/search.png" mode=""></image>
  6. <text style="margin-left: 10rpx;color: #999999;font-size: 24rpx;">请输入关键字</text>
  7. </view> -->
  8. <view class="top" style="margin-top: 30rpx;">
  9. <view class="title">
  10. <view class="call_record_time">{{date}}</view>
  11. </view>
  12. <view class="call_record_time_one">接待时长 {{alltimeStr}}
  13. <u-icon name="list-dot" color="#333" size="48" @click="showFile"></u-icon>
  14. <view class="audoioyouxiao" @click="alllogo()" v-if="Menulistisshow==true">
  15. {{userlistobj.validInvalidName||''}}
  16. </view>
  17. <view class="file-change" v-if="isshowFile">
  18. <view class="file-item" @click="filechange(item,index)"
  19. :class="csdFileindex == index ? 'fileactive' : ''" v-for="(item,index) in luyinList"
  20. :key="index">录音文件{{index+1}}</view>
  21. </view>
  22. <view class="diangweitupian" v-if="jiaoseshow">
  23. <image v-if="status==1" @click="tappick()" style="width: 100%;height: 100%;"
  24. src="../../static/images/pike.png" mode=""></image>
  25. <image v-if="status==0" @click="notappick()" style="width: 100%;height: 100%;"
  26. src="../../static/images/nopike.png" mode=""></image>
  27. </view>
  28. </view>
  29. <yz-audio :nowFileTime="nowTime" class="audio-container" ref="zyAudio" @ended="qeihuanwenjian"
  30. @timeUpdate="TimeUpdate" @sliderChangeComplate="sliderChangeComplate"></yz-audio>
  31. </view>
  32. <scroll-view :scroll-top="scrollTop" lower-threshold='20px' @scrolltolower="ltolower()"
  33. :scroll-into-view="scrollId" scroll-y="true" class="text scroll-Y">
  34. <!-- tab 栏切换 -->
  35. <view class="tab-box" id="top">
  36. <view class="yinpinshibie" @click="changeTab(0)" :class="{active: tab==0}">
  37. 音频识别
  38. </view>
  39. <view class="rate" @click="changeTab(1)" :class="{active: tab==1}">
  40. 评分
  41. </view>
  42. </view>
  43. <!-- 音频识别模块 -->
  44. <view v-if="tab==0">
  45. <!-- 聊天记录-->
  46. <view class="dialog-block" v-for="(dialog,i) in dialogList" :key="i">
  47. <view :id="'dialog'+i" class="fileName">录音文件
  48. <!-- {{i+1}} -->
  49. </view>
  50. <view class="text" :id="'dialog'+csdFileindex+'text'+item.bg"
  51. :class="{active: item.bg < playNow && item.ed > playNow && i==0}"
  52. v-for="(item,index) in dialog.message" :key="index" :data-speaker="item.speaker">
  53. <view class="avatar">
  54. <text :style="[SPEAKERSTYLE(item.speaker)]">{{ item.speaker | toCapital }}</text>
  55. </view>
  56. <view class="content">
  57. <view @longpress="changanxiaoguo(item,index,i)" v-html="item.onebest"></view>
  58. <view class="tankuangcss" :class="{bottoms:index == 0}" v-if="item.isshow">
  59. <view @click="clickcopy()"
  60. style="width: 60rpx;font-size: 24rpx;text-align: center;margin-left: 24rpx;">复制
  61. </view>
  62. <view @click="Oftenthewrongword()"
  63. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">常错词
  64. </view>
  65. <view v-if="jiaoseshow" @click="Addtheessence()"
  66. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 22rpx;">加精华
  67. </view>
  68. <view @click="clickbofang(dialog.backindex,item)"
  69. style="width: 80rpx;font-size: 24rpx;text-align: center;margin-left: 14rpx;">播放
  70. </view>
  71. </view>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. <!-- 评分模块 -->
  77. <view v-if="tab==1" class="rate-box">
  78. <view class="title">总执行率 {{totalRate}}%</view>
  79. <view v-for="(item,index) in ratelist" :key="index" class="u-m-b-14">
  80. <view class="level1">
  81. <view class="level-name u-line-1">
  82. {{item.name}}
  83. </view>
  84. <view class="level-progress">
  85. <view class="color" :style="{width: item.ratepercent/item.rate*100+'%'}"></view>
  86. </view>
  87. <view class="level-rate">{{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%</view>
  88. <image v-if="!item.show" class="arrow rotatearrow" @click="changeshow(item,1)"
  89. src="/static/images/down.png" mode="" />
  90. <image v-else class="arrow" @click="changeshow(item,0)" src="/static/images/up.png" mode="" />
  91. </view>
  92. <view class="level1-subbox" v-if="item.show">
  93. <view class="sub-name" v-for="(subitem,i) in item.children" :key="i">
  94. <view class="subitem-name u-line-1">{{subitem.name}}</view>
  95. <image class="checkimg" v-if="!subitem.selected" src="/static/images/rate-checked.png"
  96. mode="" />
  97. <image class="checkimg" v-else src="/static/images/rate-nocheck.png" mode="" />
  98. </view>
  99. </view>
  100. </view>
  101. </view>
  102. </scroll-view>
  103. <!-- 回到顶部 -->
  104. <view class="backTop" @click="gotoTop">
  105. <image src="/static/images/backTop.png" mode=""></image>
  106. </view>
  107. <!-- 加入常错词 -->
  108. <view class="zhezhoa" v-if="isshow2" @tap="Cancelout"></view>
  109. <view class="bounced" v-if="isshow2">
  110. <view class="tian-view">
  111. <viwe class="tian-view-t1"></viwe>
  112. <viwe class="tian-view-t2">常错词:</viwe>
  113. <viwe class="tian-view-t3">
  114. <input type="text" v-model="thewrongword" class="tian-input" placeholder="请输入" />
  115. </viwe>
  116. </view>
  117. <view class="tian-view">
  118. <viwe class="tian-view-t1"></viwe>
  119. <viwe class="tian-view-t2">正确词:</viwe>
  120. <viwe class="tian-view-t3">
  121. <input class="tian-input" v-model="reswrongword" type="text" placeholder="请输入" />
  122. </viwe>
  123. </view>
  124. <view class="bounced3">
  125. <view class="bounced3-1" @tap="Cancelout">取消</view>
  126. <view class="bounced3-2" @tap="Confirmtheexit">确认</view>
  127. </view>
  128. </view>
  129. <!-- 加精华 -->
  130. <view class="zhezhoa" v-if="isshow3" @tap="Cancelout2"></view>
  131. <view class="bounced" v-if="isshow3">
  132. <view class="jiajinghuatit">加精华</view>
  133. <view style="width: 100%;text-indent: 20rpx;font-size: 28rpx;">选择标签</view>
  134. <view class="jiajinghuaview">
  135. <view class="jighuaview2" v-for="(item,index) in biaoqianlist" :key="index"
  136. :class="biaoqianindex == index ? 'biaoqiantom' : ''">
  137. <view class="view1-text" @click="tapbiaoqianclisck(index)">{{item.name}}</view>
  138. </view>
  139. </view>
  140. <view class="bounced3">
  141. <view class="bounced3-1" @tap="Cancelout2">取消</view>
  142. <view class="bounced3-2" @tap="Confirmtheexit2">确认</view>
  143. </view>
  144. </view>
  145. <view class="zhezhoa" v-if="effective"></view>
  146. <view class="bounced" v-if="effective">
  147. <view class="jiajinghuatit">选择</view>
  148. <view>
  149. <view class="uni-list">
  150. <radio-group @change="radioChange">
  151. <label style="display: flex;align-items: center;font-size: 30rpx;
  152. width: 94%;height: 80rpx;margin: 0 auto;" v-for="(item, index) in effectiveitems" :key="item.value">
  153. <view style="margin-top: 2rpx;flex: 1; text-indent: 20rpx;">{{item.name}}</view>
  154. <view style="width: 80rpx;">
  155. <radio :value="item.value" :checked="index == effectiveindex" />
  156. </view>
  157. </label>
  158. </radio-group>
  159. </view>
  160. <view v-if="effectiveindex==4">
  161. <textarea class="ffectivetext" v-model="effectiveitext" placeholder="备注" />
  162. </view>
  163. </view>
  164. <view class="bounced3">
  165. <view class="bounced3-1" @click="effective=false">取消</view>
  166. <view class="bounced3-2" @click="effectiveAdd()">确认</view>
  167. </view>
  168. </view>
  169. </view>
  170. </template>
  171. <script>
  172. var util = require("../../utils/util.js");
  173. var config = require("../../config");
  174. export default {
  175. data() {
  176. return {
  177. recordPath: "",
  178. customerId: "",
  179. luyinList: [], //录音文件
  180. dialogList: [], //录音识别列表
  181. csdFileindex: 0,
  182. isshowFile: false, //录音列表隐藏
  183. date: "", //年月日
  184. tab: 0, // 默认是音频识别
  185. scrollTop: 0,
  186. scrollId: "",
  187. playNow: 0,
  188. alltimeStr: "00:00:00",
  189. ratelist: [], //评分列表
  190. totalRate: "",
  191. thewrongword: "", //错误词
  192. reswrongword: "", //正确词
  193. isshow2: false,
  194. messagelisy: [],
  195. isshow3: false,
  196. biaoqianlist: [],
  197. biaoqianindex: 0,
  198. changanitem: {},
  199. duihuawenjianid: "",
  200. biaoqianid: "",
  201. status: 0,
  202. userInfo: {},
  203. jiaoseshow: true,
  204. num: 0, //上拉 转写文件下标
  205. Bnum: 0, //下拉 转写文件下标
  206. itemobj: {},
  207. buildingID: '',
  208. userlistobj: {},
  209. Menulist: [],
  210. Menulistisshow: false,
  211. effective: false,
  212. effectiveindex: '0',
  213. effectiveitems: [{
  214. value: '1',
  215. name: '没电指派无录音',
  216. checked: true
  217. },
  218. {
  219. value: '2',
  220. name: '离线指派无录音',
  221. },
  222. {
  223. value: '3',
  224. name: '系统测试误操作'
  225. },
  226. {
  227. value: '4',
  228. name: '非接访场景录音'
  229. },
  230. {
  231. value: '5',
  232. name: '其他'
  233. }
  234. ],
  235. effectiveitext: '',
  236. textItself: '',
  237. argtextindex1: 0,
  238. argtextindex2: 0
  239. };
  240. },
  241. computed: {
  242. nowTime() {
  243. return this.getTime(this.luyinList[this.csdFileindex].recordDuration)
  244. },
  245. },
  246. onLoad: function(options) {
  247. this.status = options.status;
  248. this.customerId = options.customerId;
  249. this.itemobj = uni.getStorageSync('searchobj');
  250. this.stateisshow = options.stateisshow;
  251. },
  252. onShow() {
  253. this.Menulist = uni.getStorageSync('weapp_session_Menu_data');
  254. this.Menulist.forEach(item => {
  255. if (item.name == '标记有效无效接待') {
  256. this.Menulistisshow = true;
  257. }
  258. })
  259. this.buildingID = uni.getStorageSync('buildingID').id;
  260. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  261. if (this.userInfo.dataCode == 6) {
  262. this.jiaoseshow = false
  263. }
  264. if (this.stateisshow == 2) {
  265. var info = this.itemobj;
  266. } else {
  267. var pages = getCurrentPages();
  268. var currPage = pages[pages.length - 1]; //当前页面
  269. var info = currPage.data.info;
  270. }
  271. this.gituserlist()
  272. this.init(info)
  273. },
  274. methods: {
  275. effectiveAdd() {
  276. if (this.effectiveindex == 4) {
  277. if (this.effectiveitext.length == 0) {
  278. uni.showToast({
  279. title: '备注不能为空',
  280. icon: "none",
  281. duration: 2000
  282. });
  283. return
  284. }
  285. }
  286. this.effective = false;
  287. let parames = {
  288. id: this.customerId,
  289. validInvalid: '',
  290. validInvalid: 1,
  291. invalidReason: Number(this.effectiveindex) + 1,
  292. invalidNote: this.effectiveitext
  293. }
  294. this.$u.post("/customer/updateValidInvalid", parames).then(res => {
  295. console.log(res)
  296. this.gituserlist()
  297. })
  298. },
  299. radioChange(evt) {
  300. this.effectiveitext = "";
  301. for (let i = 0; i < this.effectiveitems.length; i++) {
  302. if (this.effectiveitems[i].value === evt.detail.value) {
  303. this.effectiveindex = i;
  304. break;
  305. }
  306. }
  307. },
  308. //标记
  309. alllogo() {
  310. var that = this;
  311. let msg = '';
  312. if (this.userlistobj.validInvalid != 0) {
  313. msg = '是否标记为"有效录音"?';
  314. uni.showModal({
  315. title: '提示',
  316. content: msg,
  317. success: function(res) {
  318. if (res.confirm) {
  319. let parames = {
  320. id: that.customerId,
  321. validInvalid: '',
  322. invalidReason: 0
  323. }
  324. if (that.userlistobj.validInvalid == 0) {
  325. parames.validInvalid = 1;
  326. } else {
  327. parames.validInvalid = 0;
  328. }
  329. that.$u.post("/customer/updateValidInvalid", parames).then(res => {
  330. console.log(res)
  331. that.gituserlist()
  332. })
  333. }
  334. }
  335. });
  336. } else {
  337. this.effective = true;
  338. }
  339. },
  340. //获取用户信息
  341. gituserlist() {
  342. this.$u.get("/matchKeywords/personalReceptionRecord", {
  343. customerId: this.customerId
  344. }).then(res => {
  345. res.endTime1 = res.endTime.substring(0, 19);
  346. this.userlistobj = res;
  347. })
  348. },
  349. toKeywordsearch() {
  350. this.stateisshow = 1;
  351. uni.navigateTo({
  352. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&status=" + this.status +
  353. "&skpl=" + "1"
  354. })
  355. },
  356. TimeUpdate(e) {
  357. const {
  358. currentTime,
  359. duration
  360. } = e;
  361. this.playNow = parseInt(currentTime * 1000)
  362. if (this.dialogList.length == 0) {
  363. return
  364. } else {
  365. const message = this.dialogList[0].message
  366. for (let i = 0; i < message.length; i++) {
  367. if (Number(message[i].bg) < this.playNow && Number(message[i].ed) > this.playNow) {
  368. this.scrollId = "dialog" + this.csdFileindex + "text" + message[i].bg;
  369. break;
  370. }
  371. }
  372. }
  373. this.$forceUpdate()
  374. },
  375. init(info) {
  376. const parames = {
  377. pageNum: 1,
  378. pageSize: 100,
  379. query: {
  380. customerId: this.customerId
  381. }
  382. }
  383. this.$u.post("/corpus/findByPage", parames).then(res => {
  384. if (res && res.length) {
  385. let alltime = 1;
  386. res.forEach(item => {
  387. alltime += item.recordDuration
  388. })
  389. this.alltimeStr = this.getTime(alltime)
  390. if (info) {
  391. res.forEach((item, index) => {
  392. if (item.id == info.customerId) {
  393. console.log(item.id)
  394. this.luyinList = res;
  395. this.csdFileindex = index;
  396. this.recordPath = res[index].recordPath
  397. this.date = res[index].receptionTime;
  398. this.isshowFile = false;
  399. this.getCorpusAnalysis(info);
  400. var itc = parseInt(info.bg / 1000)
  401. this.adasdasdasd(itc)
  402. }
  403. })
  404. } else {
  405. this.recordPath = res[0].recordPath
  406. this.date = res[0].receptionTime
  407. this.luyinList = res;
  408. this.getCorpusAnalysis()
  409. }
  410. console.log(res, '打印音频列表内容')
  411. this.zyAudio()
  412. }
  413. })
  414. },
  415. //录音实例
  416. zyAudio() {
  417. console.log('this.recordPath', this.recordPath)
  418. this.$refs.zyAudio.setSrc(this.recordPath)
  419. },
  420. //搜索跳转
  421. adasdasdasd(e) {
  422. this.$refs.zyAudio.seek(e)
  423. this.$refs.zyAudio.play();
  424. },
  425. //下一页
  426. ltolower() {
  427. var lengthcz = this.luyinList.length - 1;
  428. if (this.num >= lengthcz) {
  429. uni.showToast({
  430. title: '到底了',
  431. duration: 2000
  432. });
  433. return
  434. } else {
  435. this.num = this.num + 1;
  436. uni.showLoading({
  437. title: '加载中'
  438. });
  439. setTimeout(function() {
  440. uni.hideLoading();
  441. }, 2000);
  442. uni.request({
  443. url: config.service.getCorpusAnalysis + '?corpusId=' + this.luyinList[this.num].id +
  444. "&customerId=" + this.customerId, //仅为示例,并非真实接口地址。
  445. method: "GET",
  446. header: {
  447. 'content-type': 'application/json',
  448. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  449. },
  450. success: (data) => {
  451. if (data.data.code == 10000) {
  452. if (data.data.data.audioContent.length == 0) {
  453. setTimeout(function() {
  454. uni.hideLoading();
  455. }, 2000);
  456. } else {
  457. const jsonInfo = JSON.parse(data.data.data.audioContent);
  458. this.dialogList.push({
  459. message: jsonInfo,
  460. backindex: this.num
  461. });
  462. this.dialogList.forEach((asd, idx) => {
  463. asd.message.forEach((qwe, inde) => {
  464. qwe.isshow = false;
  465. })
  466. })
  467. }
  468. }
  469. },
  470. })
  471. }
  472. },
  473. //上一页
  474. rolltoupper() {
  475. if (this.csdFileindex == 0) {
  476. uni.showToast({
  477. title: '到头了',
  478. duration: 2000
  479. });
  480. return
  481. } else if (this.Bnum == 0) {
  482. uni.showToast({
  483. title: '到头了',
  484. duration: 2000
  485. });
  486. return
  487. } else {
  488. this.Bnum = this.Bnum - 1;
  489. uni.showLoading({
  490. title: '加载中'
  491. });
  492. setTimeout(function() {
  493. uni.hideLoading();
  494. }, 2000);
  495. uni.request({
  496. url: config.service.getCorpusAnalysis + '?corpusId=' + this.luyinList[this.Bnum].id +
  497. "&customerId=" + this.customerId, //仅为示例,并非真实接口地址。
  498. method: "GET",
  499. header: {
  500. 'content-type': 'application/json',
  501. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  502. },
  503. success: (data) => {
  504. if (data.data.code == 10000) {
  505. if (data.data.data.audioContent.length == 0) {
  506. setTimeout(function() {
  507. uni.hideLoading();
  508. }, 2000);
  509. } else {
  510. const jsonInfo = JSON.parse(data.data.data.audioContent);
  511. this.dialogList.unshift({
  512. message: jsonInfo
  513. });
  514. this.dialogList.forEach((asd, idx) => {
  515. asd.message.forEach((qwe, inde) => {
  516. qwe.isshow = false;
  517. })
  518. })
  519. }
  520. }
  521. },
  522. })
  523. }
  524. },
  525. // 取消全部加精
  526. notappick() {
  527. var that = this;
  528. uni.showModal({
  529. title: '提示',
  530. content: '确认取消加精?',
  531. success: function(res) {
  532. if (res.confirm) {
  533. console.log('用户点击确定');
  534. uni.request({
  535. url: config.service.delATD + "?carId=" + that.customerId,
  536. method: "GET",
  537. header: {
  538. 'content-type': 'application/json',
  539. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  540. .token
  541. },
  542. success: (data) => {
  543. if (data.data.code == 10000) {
  544. that.status = 1
  545. uni.showToast({
  546. title: '取消成功',
  547. duration: 2000
  548. });
  549. } else {
  550. uni.showToast({
  551. title: data.data.message,
  552. duration: 2000
  553. });
  554. }
  555. }
  556. })
  557. } else if (res.cancel) {
  558. console.log('用户点击取消');
  559. }
  560. }
  561. });
  562. },
  563. //全部加精
  564. tappick(i) {
  565. var that = this;
  566. uni.showModal({
  567. title: '提示',
  568. content: '确认加精?',
  569. success: function(res) {
  570. if (res.confirm) {
  571. console.log('用户点击确定');
  572. let objdata = {
  573. "carId": that.customerId, //客户id
  574. "status": 0,
  575. "itemId": that.buildingID,
  576. }
  577. uni.request({
  578. url: config.service.addATD,
  579. method: "POST",
  580. header: {
  581. 'content-type': 'application/json',
  582. 'Access-Token': uni.getStorageSync('weapp_session_login_data')
  583. .token
  584. },
  585. data: objdata,
  586. success: (data) => {
  587. if (data.data.code == 10000) {
  588. that.status = 0
  589. uni.showToast({
  590. title: '加精成功',
  591. duration: 2000
  592. });
  593. } else {
  594. uni.showToast({
  595. title: data.data.message,
  596. duration: 2000
  597. });
  598. }
  599. }
  600. })
  601. } else if (res.cancel) {
  602. console.log('用户点击取消');
  603. }
  604. }
  605. });
  606. },
  607. //标签选择
  608. tapbiaoqianclisck(index) {
  609. this.biaoqianindex = index;
  610. this.biaoqianid = this.biaoqianlist[index].id
  611. },
  612. //复制
  613. clickcopy() {
  614. var that = this;
  615. uni.setClipboardData({
  616. data: that.thewrongword,
  617. success: function() {
  618. that.dialogList.forEach(res => {
  619. res.message.forEach(asd => {
  620. asd.isshow = false;
  621. })
  622. })
  623. that.$forceUpdate();
  624. console.log('success');
  625. }
  626. });
  627. },
  628. //确认加入常错词
  629. Confirmtheexit() {
  630. if (this.thewrongword) {
  631. if (this.reswrongword) {
  632. let parames = {
  633. customerId: this.customerId,
  634. cupid: this.luyinList[this.csdFileindex].id,
  635. wrongWord: this.thewrongword, //错误词
  636. correctWord: this.reswrongword, //正确词
  637. translateHtmlContent: this.messagelisy,
  638. }
  639. this.isshow2 = false;
  640. let sas = this.textItself.replace(this.thewrongword, this.reswrongword)
  641. this.dialogList[this.argtextindex1].message[this.argtextindex2].onebest = sas
  642. this.dialogList.forEach(res => {
  643. res.message.forEach(asd => {
  644. asd.isshow = false;
  645. })
  646. })
  647. this.$u.post("/corpus/addCorrectWord", parames).then(data => {
  648. this.thewrongword = "";
  649. this.reswrongword = "";
  650. })
  651. } else {
  652. uni.showToast({
  653. title: '正确值不能为空',
  654. duration: 2000
  655. });
  656. return
  657. }
  658. } else {
  659. uni.showToast({
  660. title: '错误词不能为空',
  661. duration: 2000
  662. });
  663. return
  664. }
  665. },
  666. //取消加入常错词
  667. Cancelout() {
  668. this.isshow2 = false;
  669. this.dialogList.forEach(res => {
  670. res.message.forEach(asd => {
  671. asd.isshow = false;
  672. })
  673. })
  674. },
  675. //加入长错词
  676. Oftenthewrongword() {
  677. this.reswrongword = "";
  678. this.isshow2 = true;
  679. },
  680. //加精华
  681. Addtheessence() {
  682. this.isshow3 = true;
  683. this.biaoqianlist = []
  684. let parames = {
  685. "itemId": this.buildingID
  686. }
  687. this.$u.post("/addtodigest/findAllYi", parames).then(data => {
  688. this.biaoqianlist = data
  689. this.biaoqianlist.unshift({
  690. name: "逼单话术",
  691. id: 0
  692. })
  693. })
  694. },
  695. // 取消加精
  696. Cancelout2() {
  697. this.isshow3 = false;
  698. this.dialogList.forEach(res => {
  699. res.message.forEach(asd => {
  700. asd.isshow = false;
  701. })
  702. })
  703. },
  704. // 确认加精
  705. Confirmtheexit2() {
  706. if (this.biaoqianid) {
  707. this.biaoqianid = this.biaoqianid
  708. } else {
  709. this.biaoqianid = 0
  710. }
  711. this.isshow3 = false;
  712. this.dialogList.forEach(res => {
  713. res.message.forEach(asd => {
  714. asd.isshow = false;
  715. })
  716. })
  717. let objdata = {
  718. "carId": this.customerId, //客户id
  719. "startTime": this.changanitem.bg, //开始时间
  720. "startFile": this.duihuawenjianid, //对话所在录音文件id
  721. "endTime": this.changanitem.ed, //结束时间
  722. "marketingId": this.biaoqianid, //对应一级父id
  723. "jjTransfer": this.changanitem.onebest, //选中对话
  724. "status": 1
  725. }
  726. uni.request({
  727. url: config.service.addATD,
  728. method: "POST",
  729. header: {
  730. 'content-type': 'application/json',
  731. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  732. },
  733. data: objdata,
  734. success: (data) => {
  735. if (data.data.code == 10000) {
  736. uni.showToast({
  737. title: '加精成功',
  738. duration: 2000
  739. });
  740. } else {
  741. uni.showToast({
  742. title: data.data.message,
  743. duration: 2000
  744. });
  745. }
  746. }
  747. })
  748. },
  749. //长按对话
  750. changanxiaoguo(item, index, i) {
  751. this.messagelisy = [];
  752. this.changanitem = {};
  753. this.duihuawenjianid = "",
  754. this.dialogList.forEach(res => {
  755. res.message.forEach(asd => {
  756. asd.isshow = false;
  757. })
  758. })
  759. this.changanitem = item;
  760. this.duihuawenjianid = this.luyinList[this.csdFileindex].id;
  761. this.dialogList[i].message[index].isshow = !this.dialogList[i].message[index].isshow;
  762. this.textItself = item.onebest;
  763. let onebest = item.onebest;
  764. this.thewrongword = onebest.replace(/<.*?>/ig, "");
  765. // this.thewrongword = item.onebest;
  766. this.messagelisy = this.dialogList[i].message
  767. this.argtextindex1 = i;
  768. this.argtextindex2 = index;
  769. },
  770. //回到顶部
  771. gotoTop() {
  772. this.scrollId = null;
  773. this.$nextTick(() => {
  774. this.scrollId = "top";
  775. })
  776. },
  777. //切换tab
  778. changeTab(type) {
  779. if (type == 0) {
  780. this.tab = 0
  781. } else {
  782. this.tab = 1;
  783. this.getRatelist();
  784. }
  785. },
  786. //录音列表显示隐藏
  787. showFile() {
  788. this.isshowFile = !this.isshowFile;
  789. },
  790. //评分上下显隐
  791. changeshow(item, type) {
  792. if (type == 1) {
  793. item.show = true
  794. } else {
  795. item.show = false
  796. }
  797. },
  798. // 获取评分
  799. getRatelist() {
  800. if (this.ratelist.length == 0) {
  801. this.$u.get("/customer/findzkMByCusId", {
  802. cusId: this.customerId
  803. }).then(res => {
  804. if (res.length) {
  805. let level1 = []
  806. let level2rate = 0
  807. res.forEach(item => {
  808. if (item.pid == 0) {
  809. level1.push({
  810. id: item.marketingId,
  811. rate: item.fraction,
  812. name: item.name,
  813. sort: item.sort,
  814. show: false,
  815. ratepercent: 0,
  816. children: []
  817. })
  818. } else {
  819. if (item.selected == 0) {
  820. level2rate += item.fraction
  821. }
  822. }
  823. })
  824. this.totalRate = level2rate
  825. res.forEach(subitem => {
  826. let subitempid = subitem.pid
  827. level1.forEach(item => {
  828. if (subitempid == item.id) {
  829. if (subitem.selected == 0) {
  830. item.ratepercent += subitem.fraction
  831. }
  832. item.children.push({
  833. id: subitem.id,
  834. rate: subitem.fraction,
  835. selected: subitem.selected,
  836. name: subitem.name
  837. })
  838. }
  839. })
  840. })
  841. level1[0].show = true;
  842. this.ratelist = level1
  843. }
  844. setTimeout(function() {
  845. uni.hideLoading();
  846. }, 1000);
  847. })
  848. }
  849. },
  850. // 获取转义后的对话结果
  851. getCorpusAnalysis(info) {
  852. this.dialogList = [];
  853. uni.showLoading({
  854. title: '加载中'
  855. });
  856. uni.request({
  857. url: config.service.getCorpusAnalysis + '?corpusId=' + this.luyinList[this.csdFileindex].id +
  858. "&customerId=" + this.customerId, //仅为示例,并非真实接口地址。
  859. method: "GET",
  860. header: {
  861. 'content-type': 'application/json',
  862. 'Access-Token': uni.getStorageSync('weapp_session_login_data').token
  863. },
  864. success: (data) => {
  865. if (data.data.code == 10000) {
  866. if (data.data.data.audioContent.length == 0) {
  867. setTimeout(function() {
  868. uni.hideLoading();
  869. }, 2000);
  870. } else {
  871. const jsonInfo = JSON.parse(data.data.data.audioContent);
  872. if (this.luyinList[this.csdFileindex].recordDuration > 360) {
  873. //拿到总条数
  874. var stusnum = jsonInfo.length;
  875. this.dialogList.push({
  876. message: jsonInfo.splice(0, 80),
  877. backindex: this.csdFileindex
  878. });
  879. var auth_timetimer = setInterval(() => {
  880. stusnum -= 100;
  881. console.log("还剩下" + stusnum)
  882. if (stusnum <= 0) {
  883. console.log("停止")
  884. clearInterval(auth_timetimer);
  885. } else {
  886. console.log("添加")
  887. var newlistwang = [];
  888. newlistwang = jsonInfo.splice(0, 100);
  889. console.log("新数组", newlistwang)
  890. newlistwang.forEach(item => {
  891. this.dialogList[0].message.push(item)
  892. })
  893. }
  894. }, 1000);
  895. } else {
  896. this.dialogList.push({
  897. message: jsonInfo,
  898. backindex: this.csdFileindex
  899. });
  900. }
  901. this.dialogList.forEach((asd, idx) => {
  902. asd.message.forEach((qwe, inde) => {
  903. qwe.isshow = false;
  904. })
  905. })
  906. setTimeout(function() {
  907. uni.hideLoading();
  908. }, 2000);
  909. }
  910. } else {
  911. uni.hideLoading();
  912. uni.showModal({
  913. title: '提示',
  914. content: '请求数据失败,请重新尝试',
  915. showCancel: false
  916. });
  917. }
  918. },
  919. fail(error) {
  920. uni.hideLoading();
  921. uni.showModal({
  922. title: '提示',
  923. content: '网络异常,请重新尝试',
  924. showCancel: false
  925. });
  926. return false;
  927. }
  928. });
  929. },
  930. //替换方法
  931. brightKeyword(val, cc) {
  932. if (val.indexOf(cc) !== -1) {
  933. return val.replace(cc, `<font style='color: red'>${cc}</font>`);
  934. } else {
  935. return val;
  936. }
  937. },
  938. getTime(time) {
  939. return util.formatSecond(time)
  940. },
  941. //音频前进回退
  942. sliderChangeComplate(e) {
  943. this.$refs.zyAudio.seek(e.detail.value);
  944. this.$refs.zyAudio.play();
  945. },
  946. //长按点击播放
  947. clickbofang(dialog, item) {
  948. this.dialogList.forEach(res => {
  949. res.message.forEach(asd => {
  950. asd.isshow = false;
  951. })
  952. })
  953. this.$forceUpdate()
  954. if (dialog == this.csdFileindex) {
  955. let time = parseInt(item.bg / 1000)
  956. this.$refs.zyAudio.seek(time);
  957. this.$refs.zyAudio.play();
  958. return
  959. } else {
  960. let time = parseInt(item.bg / 1000)
  961. this.csdFileindex = dialog;
  962. this.recordPath = this.luyinList[dialog].recordPath;
  963. this.date = this.luyinList[dialog].receptionTime;
  964. this.getCorpusAnalysis()
  965. this.$refs.zyAudio.seek(time);
  966. this.$refs.zyAudio.play();
  967. }
  968. },
  969. // 文件切换播放
  970. filechange(item, i) {
  971. this.num = i; //下拉起始位置
  972. this.Bnum = i;
  973. this.csdFileindex = i;
  974. this.recordPath = item.recordPath;
  975. this.date = item.receptionTime;
  976. this.isshowFile = false;
  977. this.zyAudio()
  978. this.getCorpusAnalysis()
  979. this.$forceUpdate()
  980. },
  981. // 自动播放下一个文件
  982. qeihuanwenjian() {
  983. let index = this.csdFileindex + 1;
  984. if (index < this.luyinList.length) {
  985. this.csdFileindex = index;
  986. this.getCorpusAnalysis()
  987. let item = this.luyinList[this.csdFileindex];
  988. let i = this.csdFileindex;
  989. this.filechange(item, i)
  990. }
  991. },
  992. formatTime(num) {
  993. //格式化时间格式
  994. num = num.toFixed(0);
  995. let second = num % 60;
  996. if (second < 10) second = '0' + second;
  997. let min = Math.floor(num / 60);
  998. if (min < 10) min = '0' + min;
  999. return min + ":" + second;
  1000. },
  1001. changeEditing() {
  1002. this.dialogList.forEach(res => {
  1003. res.message.forEach(asd => {
  1004. asd.isshow = false;
  1005. })
  1006. })
  1007. }
  1008. },
  1009. }
  1010. </script>
  1011. <style lang="scss" scoped>
  1012. .ffectivetext {
  1013. width: 85%;
  1014. margin: 10rpx auto;
  1015. height: 100rpx;
  1016. padding: 20rpx;
  1017. border: 1rpx solid #E4F0FF;
  1018. }
  1019. .biaoqiantom {
  1020. background-color: #008EF2;
  1021. color: #FFFFFF;
  1022. border: none;
  1023. }
  1024. // 表单
  1025. .tian-view {
  1026. width: 570upx;
  1027. background-color: #FFFFFF;
  1028. border-bottom: 1px solid #ededee;
  1029. display: flex;
  1030. min-height: 96rpx;
  1031. .tian-view-t1 {
  1032. width: 20rpx;
  1033. font-size: 34rpx;
  1034. height: 34rpx;
  1035. line-height: 110rpx;
  1036. letter-spacing: 0px;
  1037. color: red;
  1038. }
  1039. .tian-view-t2 {
  1040. width: 30%;
  1041. min-height: 96rpx;
  1042. line-height: 96rpx;
  1043. font-size: 34rpx;
  1044. color: #333;
  1045. }
  1046. .tian-view-t3 {
  1047. width: 61%;
  1048. padding-top: 31rpx;
  1049. padding-bottom: 31rpx;
  1050. display: flex;
  1051. .tian-input {
  1052. width: 98%;
  1053. font-size: 34rpx;
  1054. border: none;
  1055. }
  1056. }
  1057. }
  1058. .zhezhoa {
  1059. position: fixed;
  1060. top: 0;
  1061. left: 0;
  1062. z-index: 999;
  1063. width: 100%;
  1064. height: 100vh;
  1065. opacity: 0.5;
  1066. background-color: #666666;
  1067. }
  1068. .bounced {
  1069. width: 570upx;
  1070. background: #FFFFFF;
  1071. z-index: 1000;
  1072. border-radius: 10upx;
  1073. position: fixed;
  1074. left: 50%;
  1075. top: 50%;
  1076. transform: translate(-50%, -50%);
  1077. /* 50%为自身尺寸的一半 */
  1078. .jiajinghuatit {
  1079. width: 100%;
  1080. height: 68rpx;
  1081. font-size: 30rpx;
  1082. text-align: center;
  1083. line-height: 68rpx;
  1084. }
  1085. .jiajinghuaview {
  1086. padding: 18rpx 18rpx 18rpx 18rpx;
  1087. display: flex;
  1088. flex-wrap: wrap;
  1089. .jiajinghuaview1 {
  1090. padding: 8rpx 8rpx 8rpx 8rpx;
  1091. font-size: 26rpx;
  1092. border-radius: 12rpx;
  1093. border: 1px solid #979797;
  1094. margin-left: 8rpx;
  1095. }
  1096. .jighuaview2 {
  1097. padding: 8rpx 18rpx 8rpx 18rpx;
  1098. font-size: 26rpx;
  1099. border-radius: 12rpx;
  1100. border: 1px solid #979797;
  1101. margin-left: 20rpx;
  1102. margin-top: 10rpx;
  1103. display: flex;
  1104. .view1-text {
  1105. text-align: center;
  1106. }
  1107. .view1-img {
  1108. width: 50rpx;
  1109. }
  1110. }
  1111. }
  1112. .bounced3 {
  1113. height: 100upx;
  1114. width: 100%;
  1115. margin-top: 40upx;
  1116. border-top: 1px solid #dddddd;
  1117. display: flex;
  1118. }
  1119. .bounced3-1 {
  1120. width: 50%;
  1121. height: 100%;
  1122. text-align: center;
  1123. line-height: 100upx;
  1124. border-right: 1px solid #dddddd;
  1125. font-size: 36upx;
  1126. color: #999999;
  1127. }
  1128. .bounced3-2 {
  1129. width: 50%;
  1130. height: 100%;
  1131. text-align: center;
  1132. line-height: 100upx;
  1133. font-size: 36upx;
  1134. color: #108ee9;
  1135. }
  1136. }
  1137. .translation {
  1138. padding-left: 30rpx;
  1139. padding-right: 30rpx;
  1140. background: #FFFFFF;
  1141. display: flex;
  1142. flex-direction: column;
  1143. height: 100vh;
  1144. }
  1145. .translation .top {
  1146. margin: 0 -30upx;
  1147. padding: 0 30upx;
  1148. background: #ffffff;
  1149. border-bottom: 1rpx solid #F2F2F2;
  1150. padding-bottom: 10rpx;
  1151. }
  1152. .translation .top .title {
  1153. display: flex;
  1154. justify-content: space-between;
  1155. .hash {
  1156. color: rgba(21, 144, 233, 1);
  1157. font-size: 24upx;
  1158. }
  1159. }
  1160. .call_record_time {
  1161. height: 44rpx;
  1162. font-size: 28rpx;
  1163. font-weight: 600;
  1164. color: #008EF2;
  1165. line-height: 44rpx;
  1166. }
  1167. .call_record_time_one {
  1168. height: 48rpx;
  1169. font-size: 24rpx;
  1170. font-weight: 500;
  1171. color: #70798d;
  1172. line-height: 48rpx;
  1173. display: flex;
  1174. justify-content: space-between;
  1175. position: relative;
  1176. .audoioyouxiao {
  1177. height: 46rpx;
  1178. position: absolute;
  1179. top: 0rpx;
  1180. right: 140rpx;
  1181. font-size: 30rpx;
  1182. }
  1183. .diangweitupian {
  1184. width: 46rpx;
  1185. height: 46rpx;
  1186. position: absolute;
  1187. top: 0rpx;
  1188. right: 75rpx;
  1189. }
  1190. .file-change {
  1191. position: absolute;
  1192. top: 50rpx;
  1193. right: 0rpx;
  1194. width: 184rpx;
  1195. background: #FFFFFF;
  1196. box-shadow: 0rpx 0rpx 6rpx 2rpx rgba(230, 230, 230, 0.5);
  1197. border-radius: 4rpx;
  1198. z-index: 99;
  1199. height: auto;
  1200. max-height: 600rpx;
  1201. overflow: auto;
  1202. }
  1203. .file-item {
  1204. width: 184rpx;
  1205. height: 60rpx;
  1206. line-height: 60rpx;
  1207. text-align: center;
  1208. font-size: 30rpx;
  1209. font-weight: 400;
  1210. color: #333333;
  1211. border-bottom: 1rpx solid #E2E2E2;
  1212. }
  1213. .file-item:last-child {
  1214. border: 0
  1215. }
  1216. .fileactive {
  1217. color: #008EF2
  1218. }
  1219. }
  1220. .audio-container {
  1221. width: 100%;
  1222. display: flex;
  1223. justify-content: space-between;
  1224. align-items: center;
  1225. .audio-head {
  1226. width: 60rpx;
  1227. height: 60rpx;
  1228. flex-shrink: 0;
  1229. }
  1230. .audio-head .image {
  1231. width: 100%;
  1232. height: 100%;
  1233. }
  1234. .audio-slider {
  1235. width: 96%;
  1236. position: relative;
  1237. padding: 2px 0rpx 0px 20px;
  1238. display: flex;
  1239. justify-content: space-between;
  1240. align-items: center;
  1241. }
  1242. .audio-slider .slider {
  1243. width: 100%;
  1244. padding: 0px 15rpx;
  1245. box-sizing: border-box;
  1246. }
  1247. .audio-time {
  1248. width: 110rpx;
  1249. text-align: right;
  1250. font-size: 24rpx;
  1251. line-height: 28rpx;
  1252. color: #70798D;
  1253. display: flex;
  1254. justify-content: space-between;
  1255. }
  1256. .audio-play {
  1257. width: 40rpx;
  1258. height: 40rpx;
  1259. flex-shrink: 0;
  1260. }
  1261. .audio-play .image {
  1262. width: 100%;
  1263. height: 100%;
  1264. }
  1265. }
  1266. .scroll-Y {
  1267. font-size: 36upx;
  1268. color: #999999;
  1269. background: #FFFFFF;
  1270. margin-top: 30upx;
  1271. flex: 1;
  1272. overflow-y: scroll;
  1273. width: 100%;
  1274. }
  1275. .scroll-Y .text {
  1276. margin: 50upx 30upx;
  1277. line-height: 80upx;
  1278. display: flex;
  1279. align-items: center;
  1280. }
  1281. .scroll-Y .text[data-speaker="2"],
  1282. .scroll-Y .text[data-speaker="4"],
  1283. .scroll-Y .text[data-speaker="6"] {
  1284. flex-direction: row-reverse;
  1285. text-align: right;
  1286. .content {
  1287. margin-left: 0;
  1288. margin-right: 30upx;
  1289. background: #F6F6F6;
  1290. color: #999999;
  1291. }
  1292. }
  1293. .scroll-Y .text .avatar {
  1294. width: 64upx;
  1295. height: 64upx;
  1296. line-height: 64upx;
  1297. text-align: center;
  1298. // border: 1rpx solid red;
  1299. font-size: 36rpx;
  1300. border-radius: 50%;
  1301. background: #F2F2F2;
  1302. color: #008EF2;
  1303. // display: flex;
  1304. // justify-content: center;
  1305. // align-items: center;
  1306. // image {
  1307. // width: 40upx;
  1308. // }
  1309. }
  1310. .scroll-Y .text .content {
  1311. margin-left: 30upx;
  1312. line-height: 60rpx;
  1313. text-align: left;
  1314. padding: 0 5px;
  1315. background: #2BC805;
  1316. border-radius: 8upx;
  1317. max-width: 442rpx;
  1318. color: #FFFFFF;
  1319. position: relative;
  1320. .tankuangcss {
  1321. position: absolute;
  1322. top: -140rpx;
  1323. left: -120rpx;
  1324. width: 308rpx;
  1325. height: 130rpx;
  1326. background-color: #333333;
  1327. font-size: 24rpx;
  1328. color: #FFFFFF;
  1329. padding-top: 4rpx;
  1330. padding-bottom: 4rpx;
  1331. display: flex;
  1332. flex-wrap: wrap;
  1333. border-radius: 15rpx;
  1334. z-index: 1000;
  1335. }
  1336. .bottoms {
  1337. top: unset;
  1338. bottom: -140rpx;
  1339. }
  1340. }
  1341. .scroll-Y .text.active .content {
  1342. color: #38FFF1;
  1343. position: relative;
  1344. }
  1345. .scroll-Y .text.active[data-speaker="2"] .content,
  1346. .scroll-Y .text.active[data-speaker="4"] .content,
  1347. .scroll-Y .text.active[data-speaker="6"] .content {
  1348. color: #FF7538;
  1349. position: relative;
  1350. }
  1351. .tab-box {
  1352. width: 100%;
  1353. display: flex;
  1354. justify-content: center;
  1355. align-items: center;
  1356. .yinpinshibie {
  1357. width: 156rpx;
  1358. height: 50rpx;
  1359. font-size: 36rpx;
  1360. font-weight: 400;
  1361. color: #333333;
  1362. text-align: center;
  1363. line-height: 50rpx;
  1364. letter-spacing: 2rpx;
  1365. margin-right: 188rpx;
  1366. &.active {
  1367. position: relative;
  1368. &::after {
  1369. position: absolute;
  1370. content: '';
  1371. width: 119rpx;
  1372. height: 8rpx;
  1373. background: #008EF2;
  1374. border-radius: 4rpx;
  1375. top: 50rpx;
  1376. right: 0;
  1377. left: 0;
  1378. margin: 0 auto;
  1379. }
  1380. }
  1381. }
  1382. .rate {
  1383. width: 156rpx;
  1384. height: 50rpx;
  1385. font-size: 36rpx;
  1386. font-weight: 400;
  1387. color: #333333;
  1388. line-height: 50rpx;
  1389. letter-spacing: 2rpx;
  1390. text-align: center;
  1391. &.active {
  1392. position: relative;
  1393. &::after {
  1394. position: absolute;
  1395. content: '';
  1396. width: 119rpx;
  1397. height: 8rpx;
  1398. background: #008EF2;
  1399. border-radius: 4rpx;
  1400. top: 50rpx;
  1401. right: 0;
  1402. left: 0;
  1403. margin: 0 auto;
  1404. }
  1405. }
  1406. }
  1407. }
  1408. .backTop {
  1409. width: 60upx;
  1410. height: 60upx;
  1411. background: rgba(211, 235, 253, 1);
  1412. box-shadow: 0upx 0upx 2upx 4upx rgba(38, 161, 255, 0.04);
  1413. border-radius: 50%;
  1414. position: fixed;
  1415. bottom: 200upx;
  1416. right: 8upx;
  1417. display: flex;
  1418. justify-content: center;
  1419. align-items: center;
  1420. image {
  1421. width: 26upx;
  1422. height: 34upx;
  1423. }
  1424. }
  1425. // 评分
  1426. .rate-box {
  1427. padding: 10rpx 20rpx;
  1428. .date {
  1429. width: 300rpx;
  1430. height: 33rpx;
  1431. font-size: 24rpx;
  1432. font-weight: 400;
  1433. color: #333333;
  1434. line-height: 33rpx;
  1435. letter-spacing: 1rpx;
  1436. margin-bottom: 8rpx;
  1437. }
  1438. .title {
  1439. width: 100%;
  1440. height: 42rpx;
  1441. font-size: 30rpx;
  1442. font-weight: 500;
  1443. color: #333333;
  1444. line-height: 42rpx;
  1445. letter-spacing: 2rpx;
  1446. margin-bottom: 20rpx;
  1447. }
  1448. .level1 {
  1449. display: flex;
  1450. align-items: center;
  1451. .level-name {
  1452. width: 104rpx;
  1453. height: 33rpx;
  1454. font-size: 24rpx;
  1455. font-weight: 500;
  1456. color: #333333;
  1457. line-height: 33rpx;
  1458. letter-spacing: 1rpx;
  1459. margin-right: 10rpx;
  1460. }
  1461. .level-progress {
  1462. flex: 1;
  1463. border-radius: 11rpx;
  1464. height: 21rpx;
  1465. background-color: #BEE4FF;
  1466. position: relative;
  1467. .color {
  1468. width: 0;
  1469. position: absolute;
  1470. top: 0;
  1471. left: 0;
  1472. height: 21rpx;
  1473. border-radius: 11rpx 0 0 11rpx;
  1474. background-color: #008EF2;
  1475. }
  1476. }
  1477. .level-rate {
  1478. width: 65rpx;
  1479. height: 33rpx;
  1480. font-size: 24rpx;
  1481. font-weight: 500;
  1482. color: #333333;
  1483. line-height: 33rpx;
  1484. letter-spacing: 1rpx;
  1485. margin: 0 20rpx 0 15rpx;
  1486. }
  1487. .arrow {
  1488. width: 37rpx;
  1489. height: 21rpx;
  1490. padding: 5rpx 20rpx;
  1491. }
  1492. .rotatearrow {
  1493. transform: rotate(270deg);
  1494. }
  1495. }
  1496. .level1-subbox {
  1497. display: flex;
  1498. margin-top: 20rpx;
  1499. flex-wrap: wrap;
  1500. .sub-name {
  1501. width: 50%;
  1502. display: flex;
  1503. margin-bottom: 18rpx;
  1504. .subitem-name {
  1505. width: 104rpx;
  1506. height: 33rpx;
  1507. font-size: 24rpx;
  1508. font-weight: 400;
  1509. color: #999999;
  1510. line-height: 33rpx;
  1511. letter-spacing: 1rpx;
  1512. margin-right: 12rpx;
  1513. }
  1514. .checkimg {
  1515. width: 27rpx;
  1516. height: 27rpx;
  1517. }
  1518. }
  1519. }
  1520. }
  1521. .dialog-block {
  1522. margin: 20rpx 0;
  1523. border-bottom: 1px solid #ccc;
  1524. .fileName {
  1525. text-align: center;
  1526. margin: 10rpx auto;
  1527. width: 115rpx;
  1528. height: 42rpx;
  1529. line-height: 42rpx;
  1530. background: #EFEFEF;
  1531. border-radius: 4rpx;
  1532. font-size: 20rpx;
  1533. font-weight: 400;
  1534. color: #333333;
  1535. }
  1536. }
  1537. </style>