AI销管
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

1579 linhas
37 KiB

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