pending.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861
  1. <template>
  2. <scroll-view class="container" :scroll-y="scrollY" @scrolltolower="scrolltolower">
  3. <view class="top_bg" v-if="dataList.length"></view>
  4. <view class="body" v-if="dataList.length">
  5. <!-- 每一个订单区域 -->
  6. <view class="body_item" :class="{ body_events: isClick }" v-for="item in dataList" :key="item.id" @click="handleGoDetail(item)">
  7. <!-- 工单编号 -->
  8. <view class="item_title">
  9. <img src="../../static/images/repairsImg/order.png" />
  10. <view class="title_info">工单编号:{{ item.recordNo }}</view>
  11. </view>
  12. <!-- 报修时间 -->
  13. <view class="item_time">
  14. <view class="time_msg">
  15. 报修时间:
  16. <text>{{ item.reportTime }}</text>
  17. </view>
  18. <view class="time_type">{{ item.state }}</view>
  19. </view>
  20. <!-- 报修姓名 -->
  21. <view class="item_box">
  22. <view class="box_key">报修姓名:</view>
  23. <view class="box_value">{{ item.userName }}</view>
  24. </view>
  25. <!-- 报修电话 -->
  26. <view class="item_box">
  27. <view class="box_key">报修电话:</view>
  28. <view class="box_value phone" @click.stop="handleCallPhone(item.userPhone)">
  29. {{ item.userPhone }}
  30. <img src="../../static/images/repairsImg/phone.png" />
  31. </view>
  32. </view>
  33. <!-- 报修区域 -->
  34. <view class="item_box">
  35. <view class="box_key">报修区域:</view>
  36. <view class="box_value">{{ item.areaName }}</view>
  37. </view>
  38. <!-- 详细地址 -->
  39. <view class="item_box">
  40. <view class="box_key">详细地址:</view>
  41. <view class="box_value">{{ item.address }}</view>
  42. </view>
  43. <!-- 报修物品 -->
  44. <view class="item_box">
  45. <view class="box_key">报修物品:</view>
  46. <view class="box_value">{{ item.articleName }}</view>
  47. </view>
  48. <!-- 故障描述 -->
  49. <view class="item_box" v-if="item.description">
  50. <view class="box_key">故障描述:</view>
  51. <view class="box_value">{{ item.description }}</view>
  52. </view>
  53. <!-- 报修录音 -->
  54. <view class="item_box" v-if="item.voice">
  55. <view class="box_key">报修录音:</view>
  56. <view class="box_value">
  57. <view class="recording" @click.stop="handlePlayRecording(item)">
  58. <img class="voiceImg" :src="item.status ? '../../static/images/repairsImg/play_active.png' : '../../static/images/repairsImg/play.png'" />
  59. {{ item.voiceLength }}″
  60. </view>
  61. </view>
  62. </view>
  63. <!-- 上传图片 -->
  64. <view class="item_img">
  65. <view class="img_key">上传图片:</view>
  66. <img class="img_value" mode="aspectFill" :src="item.images[0]" @click.stop="handleLookImgs(item.images)" />
  67. </view>
  68. <!-- 按钮区域 -->
  69. <view class="item_btn">
  70. <img src="../../static/images/repairsImg/close.png" @click.stop="handleClose(item)" />
  71. <view class="btn_box type" v-if="btns.includes('延时')" @click.stop="handleDelay(item)">延时</view>
  72. <view class="btn_box type" v-if="btns.includes('接单')" @click.stop="handleOrderReceiving(item)">接单</view>
  73. <view class="btn_box type2" v-if="btns.includes('派单')" @click.stop="handleSendOrder(item)">派单</view>
  74. </view>
  75. </view>
  76. <!-- 关闭按钮弹窗 -->
  77. <uni-popup ref="popup_close" :is-mask-click="false">
  78. <view class="popup_close">
  79. <view class="close_reason">
  80. 关单原因:
  81. <picker @change="bindPickerChange" :value="activeIndex" :range="closeList" range-key="name">
  82. <view class="picker_input">
  83. {{ closeList[activeIndex].name }}
  84. <img src="../../static/images/repairsImg/bottom.png" />
  85. </view>
  86. </picker>
  87. </view>
  88. <view class="close_note">备注(二选一):</view>
  89. <view class="close_voice">
  90. <view class="voice_box" v-if="!recordingPath" @click="handleRecording">
  91. <img src="../../static/images/repairsImg/voice.png" />
  92. </view>
  93. <view v-if="!recordingPath" @click="handleRecording">点击录音</view>
  94. <view class="item_recording" v-if="recordingPath" @click="handlePlayRecordingPop">
  95. <img :src="recordingImg" />
  96. {{ recordingTime }}″
  97. </view>
  98. <view class="recording_icon" v-if="recordingPath" @click="handleDeleteRecording">×</view>
  99. </view>
  100. <textarea class="close_input" placeholder-style="color:#CCCCCC" placeholder="请输入备注" v-model="closeNote"></textarea>
  101. <view class="close_btn">
  102. <view class="btn_box cancel" @click="handleCloseCancel">取消</view>
  103. <view class="btn_box confirm" @click="handleCloseConfirm">确定</view>
  104. </view>
  105. </view>
  106. </uni-popup>
  107. <!-- 录音弹窗区域 -->
  108. <uni-popup :safe-area="true" background-color="#fff" ref="popup_recording">
  109. <view class="popup_recording">
  110. <recording @getTempFilePath="getTempFilePath" />
  111. </view>
  112. </uni-popup>
  113. </view>
  114. <!-- 没有数据时展示的图片 -->
  115. <view class="no_data" v-if="dataList.length === 0">
  116. <img src="../../pagesClockIn/static/imgs/nodata.png" />
  117. <view>暂无数据</view>
  118. </view>
  119. </scroll-view>
  120. </template>
  121. <script>
  122. import recording from '../components/recording.vue'
  123. const innerAudioContext = uni.createInnerAudioContext()
  124. export default {
  125. components: {
  126. recording
  127. },
  128. data() {
  129. return {
  130. scrollY: true,
  131. // 按钮权限
  132. btns: [],
  133. // 关闭按钮弹窗当前索引
  134. activeIndex: 0,
  135. // 关闭按钮弹窗选项数组
  136. closeList: [],
  137. // 工单数据数组
  138. dataList: [],
  139. // 当前页
  140. currentPage: 1,
  141. // 每页多少条
  142. pageCount: 4,
  143. // 总条数
  144. total: null,
  145. // 用户ID
  146. userId: '',
  147. // 订单id
  148. orderId: '',
  149. // 校区Id
  150. schoolId: '',
  151. // 每一个订单点击时是否触发事件 true 不触发 false 触发
  152. isClick: false,
  153. // 关闭订单备注
  154. closeNote: '',
  155. // 录音文件路径
  156. recordingPath: '',
  157. // 录音时长
  158. recordingTime: 0,
  159. // 录音图片地址
  160. recordingImg: '../../static/images/repairsImg/recording.jpg',
  161. // 播放状态
  162. playStatus: false,
  163. // 定时器标识
  164. timer: null
  165. }
  166. },
  167. mounted() {
  168. const repairsUserInfo = uni.getStorageSync('repairsUserInfo')
  169. this.userId = repairsUserInfo.userId
  170. this.btns = repairsUserInfo.btns
  171. this.schoolId = repairsUserInfo.schoolId
  172. this.getData()
  173. this.getCloseList()
  174. },
  175. methods: {
  176. // 滚动到底部触发回调
  177. scrolltolower() {
  178. if (this.total > this.dataList.length) {
  179. this.currentPage++
  180. this.getData()
  181. } else {
  182. uni.showToast({
  183. title: '没有更多数据了',
  184. icon: 'none'
  185. })
  186. }
  187. },
  188. // 获取关闭订单原因数组
  189. async getCloseList() {
  190. const res = await this.$myRequest_repairs({
  191. url: '/repairClose/queryRepairCloses'
  192. })
  193. // console.log(res)
  194. if (res.code === '200') {
  195. this.closeList = res.data
  196. }
  197. },
  198. // 获取待处理订单数据
  199. async getData() {
  200. const res = await this.$myRequest_repairs({
  201. url: '/repairRecord/queryPendingOrder',
  202. data: {
  203. currentPage: this.currentPage,
  204. pageCount: this.pageCount,
  205. schoolId: this.schoolId
  206. }
  207. })
  208. // console.log(res)
  209. if (res.code === '200') {
  210. this.total = res.data.totalCount
  211. res.data.list.forEach((ele) => {
  212. return (ele.status = false)
  213. })
  214. this.dataList = [...this.dataList, ...res.data.list]
  215. }
  216. },
  217. // 接单按钮回调
  218. handleOrderReceiving(item) {
  219. uni.showModal({
  220. content: '确定接单吗?',
  221. title: '提示',
  222. success: async (res) => {
  223. if (res.confirm) {
  224. const res = await this.$myRequest_repairs({
  225. url: '/repairRecord/receiveOrders',
  226. data: {
  227. recordId: item.id,
  228. userId: this.userId
  229. }
  230. })
  231. // console.log(res)
  232. if (res.code === '200') {
  233. uni.showToast({
  234. title: '接单成功',
  235. icon: 'success',
  236. mask: true
  237. })
  238. setTimeout(() => {
  239. this.dataList = []
  240. this.currentPage = 1
  241. this.getData()
  242. }, 1500)
  243. }
  244. }
  245. }
  246. })
  247. },
  248. // 关闭图标点击回调
  249. handleClose(item) {
  250. this.isClick = true
  251. this.orderId = item.id
  252. this.$refs.popup_close.open('center')
  253. },
  254. // 关闭弹窗确定按钮回调
  255. handleCloseConfirm() {
  256. if (this.closeNote && this.recordingPath) {
  257. uni.showToast({
  258. title: '录音和备注二选一,不能同时选择',
  259. icon: 'none',
  260. mask: true
  261. })
  262. return
  263. }
  264. if (!this.closeNote && !this.recordingPath) {
  265. uni.showToast({
  266. title: '请录音或者输入备注,二选一',
  267. icon: 'none',
  268. mask: true
  269. })
  270. return
  271. }
  272. uni.showModal({
  273. title: '提示',
  274. content: '确定关闭订单吗?',
  275. success: async (res) => {
  276. if (res.confirm) {
  277. const res = await this.$myRequest_repairs({
  278. url: '/repairRecord/closeOrder',
  279. data: {
  280. recordId: this.orderId,
  281. userId: this.userId,
  282. reason: this.closeList[this.activeIndex].name,
  283. remark: this.recordingPath ? this.recordingPath : this.closeNote,
  284. voiceLength: this.recordingPath ? this.recordingTime : ''
  285. }
  286. })
  287. // console.log(res)
  288. if (res.code === '200') {
  289. uni.showToast({
  290. title: '关单成功',
  291. icon: 'success',
  292. mask: true
  293. })
  294. this.handleCloseCancel()
  295. setTimeout(() => {
  296. this.dataList = []
  297. this.currentPage = 1
  298. this.getData()
  299. }, 1500)
  300. }
  301. this.isClick = false
  302. }
  303. }
  304. })
  305. },
  306. // 关闭按钮弹窗选中按钮时回调
  307. handleChangeItem(val) {
  308. this.activeIndex = val
  309. },
  310. // 延时按钮回调
  311. handleDelay(item) {
  312. uni.navigateTo({
  313. url: `/pagesRepairs/delay/delay?id=${item.id}`
  314. })
  315. },
  316. // 派单按钮回调
  317. handleSendOrder(item) {
  318. uni.navigateTo({
  319. url: `/pagesRepairs/helpPeople/helpPeople?type=1&id=${item.id}`
  320. })
  321. },
  322. // 点击电话号码回调
  323. handleCallPhone(phone) {
  324. // console.log(phone)
  325. uni.makePhoneCall({
  326. phoneNumber: phone
  327. })
  328. },
  329. // 点击图片回调
  330. handleLookImgs(img) {
  331. // console.log(img)
  332. uni.previewImage({
  333. urls: img
  334. })
  335. },
  336. // 点击录音播放回调
  337. handlePlayRecording(item) {
  338. this.dataList.forEach((ele) => {
  339. if (ele.id !== item.id) {
  340. ele.status = false
  341. }
  342. })
  343. innerAudioContext.src = item.voice
  344. if (!item.status) {
  345. item.status = true
  346. innerAudioContext.play()
  347. //播放结束
  348. innerAudioContext.onEnded(() => {
  349. item.status = false
  350. })
  351. } else {
  352. item.status = false
  353. innerAudioContext.stop()
  354. }
  355. },
  356. // 点击每一个订单回调
  357. handleGoDetail(item) {
  358. uni.navigateTo({
  359. url: `/pagesRepairs/repairDetails/repairDetails?id=${item.id}`
  360. })
  361. },
  362. // 关闭按钮弹窗选中按钮时回调
  363. bindPickerChange(e) {
  364. this.activeIndex = e.detail.value
  365. },
  366. // 点击录音按钮回调
  367. handleRecording() {
  368. uni.getSetting({
  369. success: (res) => {
  370. if (!res.authSetting['scope.record']) {
  371. uni.authorize({
  372. scope: 'scope.record',
  373. success(res) {
  374. // 授权成功
  375. uni.showToast({
  376. title: '授权成功',
  377. icon: 'none'
  378. })
  379. },
  380. fail() {
  381. uni.showModal({
  382. content: '检测到您没打开麦克风权限,是否去设置打开?',
  383. confirmText: '确认',
  384. cancelText: '取消',
  385. success: (res) => {
  386. if (res.confirm) {
  387. uni.openSetting({
  388. success: (res) => {}
  389. })
  390. } else {
  391. uni.showToast({
  392. title: '获取麦克风权限失败',
  393. icon: 'none'
  394. })
  395. }
  396. }
  397. })
  398. }
  399. })
  400. } else {
  401. this.$refs.popup_recording.open('bottom')
  402. }
  403. },
  404. fail() {
  405. uni.showToast({
  406. title: '获取麦克风权限失败',
  407. icon: 'none'
  408. })
  409. }
  410. })
  411. },
  412. // 点击录音播放回调
  413. handlePlayRecordingPop() {
  414. innerAudioContext.src = this.recordingPath
  415. if (!this.playStatus) {
  416. this.playStatus = true
  417. innerAudioContext.play()
  418. this.timer = setInterval(() => {
  419. if (this.recordingImg == '../../static/images/repairsImg/recording.jpg') {
  420. this.recordingImg = '../../static/images/repairsImg/recording2.jpg'
  421. } else if (this.recordingImg == '../../static/images/repairsImg/recording2.jpg') {
  422. this.recordingImg = '../../static/images/repairsImg/recording3.jpg'
  423. } else if (this.recordingImg == '../../static/images/repairsImg/recording3.jpg') {
  424. this.recordingImg = '../../static/images/repairsImg/recording.jpg'
  425. }
  426. }, 300)
  427. //播放结束
  428. innerAudioContext.onEnded(() => {
  429. clearInterval(this.timer)
  430. this.timer = null
  431. this.recordingImg = '../../static/images/repairsImg/recording.jpg'
  432. this.playStatus = false
  433. })
  434. } else {
  435. clearInterval(this.timer)
  436. this.recordingImg = '../../static/images/repairsImg/recording.jpg'
  437. this.playStatus = false
  438. innerAudioContext.stop()
  439. }
  440. },
  441. // 删除录音回调
  442. handleDeleteRecording() {
  443. if (this.playStatus) {
  444. uni.showToast({
  445. title: '播放中不能删除',
  446. icon: 'none',
  447. mask: true
  448. })
  449. } else {
  450. uni.showModal({
  451. title: '提示',
  452. content: '确定删除录音吗?',
  453. success: (res) => {
  454. if (res.confirm) {
  455. this.recordingPath = ''
  456. this.recordingTime = 0
  457. }
  458. }
  459. })
  460. }
  461. },
  462. // 关闭弹窗取消按钮回调
  463. handleCloseCancel() {
  464. this.isClick = false
  465. this.activeIndex = 0
  466. this.recordingPath = ''
  467. this.recordingTime = 0
  468. this.closeNote = ''
  469. this.$refs.popup_close.close()
  470. },
  471. // 自定义事件回调,获取录音文件路径
  472. getTempFilePath(path, time) {
  473. this.recordingPath = path
  474. this.recordingTime = time
  475. this.$refs.popup_recording.close()
  476. }
  477. }
  478. }
  479. </script>
  480. <style lang="scss" scoped>
  481. .container {
  482. width: 100vw;
  483. height: calc(100vh - 152rpx);
  484. font-size: 32rpx;
  485. overflow-y: auto;
  486. .top_bg {
  487. height: 165rpx;
  488. background-color: #6fb6b8;
  489. }
  490. .body {
  491. box-sizing: border-box;
  492. margin: auto;
  493. margin-top: -100rpx;
  494. padding: 2rpx;
  495. width: 690rpx;
  496. border-radius: 11rpx 11rpx 0 0;
  497. background-color: #fff;
  498. overflow-y: auto;
  499. .body_item {
  500. margin-bottom: 20rpx;
  501. padding-bottom: 35rpx;
  502. border-radius: 11rpx;
  503. box-shadow: 0 0 8rpx #d9d9d9;
  504. .item_title {
  505. display: flex;
  506. align-items: center;
  507. padding: 0 30rpx;
  508. height: 87rpx;
  509. border-bottom: 1rpx solid #e6e6e6;
  510. img {
  511. width: 30rpx;
  512. height: 30rpx;
  513. }
  514. .title_info {
  515. margin: 0 21rpx 0 13rpx;
  516. // font-size: 28rpx;
  517. }
  518. }
  519. .item_time {
  520. display: flex;
  521. justify-content: space-between;
  522. align-items: center;
  523. padding: 0 30rpx;
  524. height: 79rpx;
  525. .time_msg {
  526. color: #808080;
  527. text {
  528. color: #000000;
  529. }
  530. }
  531. .time_type {
  532. font-size: 32rpx;
  533. color: #ff5733;
  534. }
  535. }
  536. .item_box {
  537. display: flex;
  538. align-items: center;
  539. padding: 0 30rpx;
  540. line-height: 60rpx;
  541. .box_key {
  542. width: 160rpx;
  543. color: #808080;
  544. }
  545. .box_value {
  546. flex: 1;
  547. max-width: calc(100% - 160rpx);
  548. display: flex;
  549. align-items: center;
  550. img {
  551. margin-left: 10rpx;
  552. width: 45rpx;
  553. height: 45rpx;
  554. }
  555. .recording {
  556. display: flex;
  557. align-items: center;
  558. margin: 15rpx 0;
  559. width: 130rpx;
  560. height: 40rpx;
  561. color: #000;
  562. border-radius: 100rpx;
  563. border: 1rpx solid #cccccc;
  564. .voiceImg {
  565. margin: 0 12rpx;
  566. width: 30rpx;
  567. height: 30rpx;
  568. }
  569. }
  570. }
  571. .phone {
  572. color: #6fb6b8;
  573. }
  574. }
  575. .item_img {
  576. display: flex;
  577. align-items: center;
  578. padding: 0 30rpx;
  579. height: 120rpx;
  580. color: #808080;
  581. // font-size: 28rpx;
  582. .img_key {
  583. }
  584. .img_value {
  585. width: 120rpx;
  586. height: 120rpx;
  587. border-radius: 14rpx;
  588. }
  589. }
  590. .item_btn {
  591. display: flex;
  592. align-items: center;
  593. justify-content: flex-end;
  594. padding: 0 30rpx;
  595. margin-top: 35rpx;
  596. img {
  597. margin-right: auto;
  598. width: 56rpx;
  599. height: 56rpx;
  600. }
  601. .btn_box {
  602. display: flex;
  603. justify-content: center;
  604. align-items: center;
  605. margin-left: 16rpx;
  606. width: 174rpx;
  607. height: 68rpx;
  608. border-radius: 11rpx;
  609. }
  610. .type {
  611. color: #fff;
  612. background-color: #6fb6b8;
  613. }
  614. .type2 {
  615. color: #6fb6b8;
  616. background-color: #fff;
  617. border: 1rpx solid #6fb6b8;
  618. }
  619. }
  620. }
  621. .popup_close {
  622. // width: 690rpx;
  623. // border-radius: 19rpx;
  624. // background-color: #fff;
  625. // .close_box {
  626. // height: 100rpx;
  627. // line-height: 100rpx;
  628. // text-align: center;
  629. // font-size: 32rpx;
  630. // border: 1rpx solid #e6e6e6;
  631. // }
  632. // .radius {
  633. // border-radius: 19rpx 19rpx 0 0;
  634. // }
  635. // .active {
  636. // color: #fff;
  637. // background-color: #6fb6b8;
  638. // }
  639. // .close_btn {
  640. // display: flex;
  641. // align-items: center;
  642. // justify-content: space-evenly;
  643. // margin-top: 100rpx;
  644. // height: 121rpx;
  645. // .btn_box {
  646. // display: flex;
  647. // justify-content: center;
  648. // align-items: center;
  649. // width: 203rpx;
  650. // height: 72rpx;
  651. // border-radius: 9rpx;
  652. // font-size: 32rpx;
  653. // }
  654. // .cancel {
  655. // background-color: #e5e5e5;
  656. // color: #6fb6b8;
  657. // }
  658. // .confirm {
  659. // background-color: #6fb6b8;
  660. // color: #fff;
  661. // }
  662. // }
  663. width: 690rpx;
  664. border-radius: 19rpx;
  665. background-color: #fff;
  666. .close_reason {
  667. padding-top: 50rpx;
  668. margin-left: 80rpx;
  669. display: flex;
  670. align-items: center;
  671. .picker_input {
  672. display: flex;
  673. justify-content: space-between;
  674. align-items: center;
  675. padding: 10rpx 20rpx;
  676. width: 300rpx;
  677. border-radius: 14rpx;
  678. border: 1rpx solid #e6e6e6;
  679. img {
  680. width: 40rpx;
  681. height: 40rpx;
  682. }
  683. }
  684. }
  685. .close_note {
  686. margin: 20rpx 0 20rpx 80rpx;
  687. }
  688. .close_voice {
  689. display: flex;
  690. align-items: center;
  691. margin-top: 30rpx;
  692. margin-left: 80rpx;
  693. width: 500rpx;
  694. height: 94rpx;
  695. font-size: 32rpx;
  696. color: #cccccc;
  697. border-radius: 10rpx;
  698. border: 1rpx solid #cccccc;
  699. .voice_box {
  700. display: flex;
  701. justify-content: center;
  702. align-items: center;
  703. margin: 0 38rpx 0 33rpx;
  704. width: 101rpx;
  705. height: 47rpx;
  706. border-radius: 33rpx;
  707. box-shadow: 0px 0px 4rpx rgba(0, 0, 0, 0.25);
  708. img {
  709. width: 33rpx;
  710. height: 33rpx;
  711. }
  712. }
  713. .item_recording {
  714. margin-left: 35rpx;
  715. display: flex;
  716. align-items: center;
  717. width: 230rpx;
  718. height: 65rpx;
  719. color: #000;
  720. border-radius: 100rpx;
  721. border: 1rpx solid #cccccc;
  722. img {
  723. margin: 0 12rpx;
  724. width: 40rpx;
  725. height: 40rpx;
  726. }
  727. }
  728. .recording_icon {
  729. margin-left: auto;
  730. margin-right: 35rpx;
  731. font-size: 40rpx;
  732. }
  733. }
  734. .close_input {
  735. box-sizing: border-box;
  736. margin: 35rpx 40rpx 35rpx 80rpx;
  737. padding: 20rpx;
  738. width: 520rpx;
  739. height: 312rpx;
  740. border-radius: 14rpx;
  741. border: 1rpx solid #e6e6e6;
  742. }
  743. .close_btn {
  744. display: flex;
  745. align-items: center;
  746. justify-content: space-evenly;
  747. margin-top: 100rpx;
  748. height: 121rpx;
  749. .btn_box {
  750. display: flex;
  751. justify-content: center;
  752. align-items: center;
  753. width: 203rpx;
  754. height: 72rpx;
  755. border-radius: 9rpx;
  756. font-size: 32rpx;
  757. }
  758. .cancel {
  759. background-color: #e5e5e5;
  760. color: #6fb6b8;
  761. }
  762. .confirm {
  763. background-color: #6fb6b8;
  764. color: #fff;
  765. }
  766. }
  767. }
  768. .popup_recording {
  769. width: 100%;
  770. height: 460rpx;
  771. background-color: #fff;
  772. }
  773. .body_events {
  774. pointer-events: none;
  775. }
  776. }
  777. .no_data {
  778. text-align: center;
  779. color: #b3b3b3;
  780. font-size: 24rpx;
  781. img {
  782. margin: 215rpx auto 0;
  783. width: 480rpx;
  784. height: 508rpx;
  785. }
  786. }
  787. }
  788. </style>