repairs.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827
  1. <template>
  2. <view class="container">
  3. <!-- 公告区域 -->
  4. <view class="notice">
  5. <uni-notice-bar show-icon single speed="10" :scrollable="true" background-color="#fff" color="#000" :text="repairsNotice" />
  6. </view>
  7. <view class="gap"></view>
  8. <!-- 报修区域 -->
  9. <view class="box_item">
  10. <view class="item_title">
  11. 报修区域
  12. <text>*</text>
  13. </view>
  14. <view class="item_info" :class="{ item_color: repairsArea }" @click="handleSelectArea">
  15. {{ repairsArea ? repairsArea : '请选择报修区域' }}
  16. </view>
  17. <view class="item_icon" @click="handleSelectArea">
  18. <img src="../../static/images/repairsImg/right.png" />
  19. </view>
  20. </view>
  21. <!-- 详细地址区域 -->
  22. <view class="box_item">
  23. <view class="item_title">
  24. 详细地址
  25. <text>*</text>
  26. </view>
  27. <view class="item_info">
  28. <view class="item_input">
  29. <input placeholder-style="color:#CCCCCC" type="text" placeholder="请输入详细地址" v-model="repairsAddress" />
  30. </view>
  31. </view>
  32. </view>
  33. <!-- 报修物品区域 -->
  34. <view class="box_item">
  35. <view class="item_title">
  36. 报修物品
  37. <text>*</text>
  38. </view>
  39. <view class="item_info" :class="{ item_color: repairsGoods }" @click="handleSelectGoods">
  40. {{ repairsGoods ? repairsGoods : '请选择报修物品' }}
  41. </view>
  42. <view class="item_icon" @click="handleSelectGoods">
  43. <img src="../../static/images/repairsImg/right.png" />
  44. </view>
  45. </view>
  46. <!-- 故障描述 -->
  47. <view class="box_item2">
  48. <view class="item2_title">故障描述</view>
  49. <view class="item2_info">
  50. <view class="item2_textarea">
  51. <textarea placeholder-style="color:#CCCCCC" placeholder="请输入故障描述" v-model="repairsDescription"></textarea>
  52. </view>
  53. </view>
  54. </view>
  55. <!-- 报修录音区域 -->
  56. <view class="box_item">
  57. <view class="item_title">报修录音</view>
  58. <view class="item_info" v-if="!recordingPath">
  59. <view class="info_icon" @click="handleRecording">
  60. <img src="../../static/images/repairsImg/voice.png" />
  61. </view>
  62. <view class="info_tips" @click="handleRecording">点击录音</view>
  63. </view>
  64. <view class="item_recording" v-else @click="handlePlayRecording">
  65. <img :src="recordingImg" />
  66. {{ recordingTime }}″
  67. </view>
  68. <view class="recording_icon" v-if="recordingPath" @click="handleDeleteRecording">×</view>
  69. </view>
  70. <!-- 录音弹窗区域 -->
  71. <uni-popup :safe-area="true" background-color="#fff" ref="popup_recording">
  72. <view class="popup_recording">
  73. <recording @getTempFilePath="getTempFilePath" />
  74. </view>
  75. </uni-popup>
  76. <!-- 上传照片区域 -->
  77. <view class="box_item3">
  78. <view class="item3_title">
  79. 上传照片
  80. <span>*</span>
  81. <text>(可上传三张,请上传局部图和区域图)</text>
  82. </view>
  83. <uni-file-picker
  84. ref="filePicker"
  85. limit="3"
  86. v-model="imgList"
  87. fileMediatype="image"
  88. :image-styles="imageStyles"
  89. mode="grid"
  90. @select="select"
  91. @delete="handleDelete"
  92. ></uni-file-picker>
  93. </view>
  94. <!-- 报修姓名区域 -->
  95. <view class="box_item">
  96. <view class="item_title">
  97. 报修姓名
  98. <text>*</text>
  99. </view>
  100. <view class="item_info">
  101. <view class="item_input">
  102. <input placeholder-style="color:#CCCCCC" type="text" placeholder="请输入报修姓名" v-model="repairsName" />
  103. </view>
  104. </view>
  105. </view>
  106. <!-- 联系电话区域 -->
  107. <view class="box_item">
  108. <view class="item_title">
  109. 联系电话
  110. <text>*</text>
  111. </view>
  112. <view class="item_info">
  113. <view class="item_input">
  114. <input placeholder-style="color:#CCCCCC" type="number" placeholder="请输入联系电话" maxlength="11" v-model="repairsPhone" />
  115. </view>
  116. </view>
  117. </view>
  118. <!-- 底部区域 -->
  119. <view class="foot">
  120. <view class="foot_btn" @click="handleAffirmSub">确认提交</view>
  121. <view class="foot_phone" @click="handleCallPhone(urgencyPhone)">紧急电话 {{ urgencyPhone }}</view>
  122. <view class="foot_phone" @click="handleCallPhone(searchPhone)">服务监督电话 {{ searchPhone }}</view>
  123. </view>
  124. <!-- 消息通知按钮区域 -->
  125. <view class="fixed" @tap="handleClickFixed">
  126. <view class="fixed_box">
  127. <img src="../../static/images/repairsImg/message.png" />
  128. 消息通知
  129. </view>
  130. </view>
  131. <!-- 用于图片压缩的canvas画布 -->
  132. <canvas
  133. :style="{
  134. width: cw + 'px',
  135. height: cw + 'px',
  136. position: 'absolute',
  137. zIndex: -1,
  138. left: '-10000rpx',
  139. top: '-10000rpx'
  140. }"
  141. canvas-id="zipCanvas"
  142. ></canvas>
  143. <!--画布结束-->
  144. </view>
  145. </template>
  146. <script>
  147. import recording from '../components/recording.vue'
  148. // 图片压缩方法
  149. import getLessLimitSizeImage from '../util/imageCompress.js'
  150. const innerAudioContext = uni.createInnerAudioContext()
  151. export default {
  152. components: {
  153. recording
  154. },
  155. data() {
  156. return {
  157. // 报修公告
  158. repairsNotice: '',
  159. // 报修区域
  160. repairsArea: '',
  161. // 楼栋ID
  162. buildId: null,
  163. // 报修地址
  164. repairsAddress: '',
  165. // 报修物品
  166. repairsGoods: '',
  167. // 报修物品ID
  168. articleId: '',
  169. // 故障描述
  170. repairsDescription: '',
  171. // 报修姓名
  172. repairsName: '',
  173. // 联系电话
  174. repairsPhone: '',
  175. // 紧急电话
  176. urgencyPhone: '',
  177. // 服务电话
  178. searchPhone: '',
  179. // 播放状态
  180. playStatus: false,
  181. // 定时器标识
  182. timer: null,
  183. // 录音图片地址
  184. recordingImg: '../../static/images/repairsImg/recording.jpg',
  185. // 录音文件路径
  186. recordingPath: '',
  187. // 录音时长
  188. recordingTime: 0,
  189. // 显示的图片数据
  190. imgList: [],
  191. // 上传的图片数据
  192. subImgList: [],
  193. // 图片上传框的样式
  194. imageStyles: {
  195. width: 60,
  196. height: 60
  197. },
  198. //画板边长默认是屏幕宽度,正方形画布
  199. cw: uni.getSystemInfoSync().windowWidth,
  200. // 当前校区Id
  201. schoolId: null
  202. }
  203. },
  204. mounted() {
  205. console.log('报修页面加载')
  206. uni.$on('addRepairsArea', this.addRepairsArea)
  207. uni.$on('addRepairsGoods', this.addRepairsGoods)
  208. //在ios下静音时播放没有声音,默认为true,改为false静音时播放有声音
  209. uni.setInnerAudioOption({
  210. obeyMuteSwitch: false
  211. })
  212. this.getRepairNotice()
  213. this.getSetPhone()
  214. },
  215. methods: {
  216. // 获取紧急电话和服务监督电话
  217. async getSetPhone() {
  218. const res = await this.$myRequest_repairs({
  219. url: '/repairSystemSetting/queryRepairSystemSetting'
  220. })
  221. // console.log(res)
  222. if (res.code === '200') {
  223. this.urgencyPhone = res.data.emergencyCall
  224. this.searchPhone = res.data.servicePhone
  225. }
  226. },
  227. // 获取首页公告展示数据
  228. async getRepairNotice() {
  229. const res = await this.$myRequest_repairs({
  230. url: '/repairNoticeSetting/queryRepairNoticeSettingByTop'
  231. })
  232. // console.log(res)
  233. if (res.code === '200') {
  234. this.repairsNotice = res.data.noticeStr
  235. }
  236. },
  237. // 确认提交按钮回调
  238. handleAffirmSub() {
  239. const flag = this.handleValidate()
  240. if (flag) {
  241. uni.showModal({
  242. title: '提示',
  243. content: '确认提交吗?',
  244. success: async (res) => {
  245. if (res.confirm) {
  246. const repairsUserInfo = uni.getStorageSync('repairsUserInfo')
  247. const res = await this.$myRequest_repairs({
  248. url: '/repairRecord/insertRepairRecord',
  249. method: 'post',
  250. data: {
  251. // 报修区域ID
  252. areaId: this.repairsArea,
  253. // 详细地址
  254. address: this.repairsAddress,
  255. // 报修物品ID
  256. articleId: this.articleId,
  257. // 故障描述
  258. description: this.repairsDescription,
  259. // 报修录音
  260. voice: this.recordingPath,
  261. // 报修录音时长
  262. voiceLength: this.voiceLength,
  263. // 故障图片集合
  264. images: this.subImgList,
  265. // 报修姓名
  266. userName: this.repairsName,
  267. // 报修电话
  268. userPhone: this.repairsPhone,
  269. // 报修人ID
  270. userId: repairsUserInfo.userId,
  271. // 校区ID
  272. schoolId: this.schoolId,
  273. // 楼栋ID
  274. buildId: this.buildId
  275. }
  276. })
  277. // console.log(res)
  278. if (res.code === '200') {
  279. uni.showToast({
  280. title: res.message,
  281. icon: 'success'
  282. })
  283. // 重置数据
  284. this.repairsArea = ''
  285. this.repairsAddress = ''
  286. this.repairsGoods = ''
  287. this.articleId = ''
  288. this.repairsDescription = ''
  289. this.recordingPath = ''
  290. this.imgList = []
  291. this.subImgList = []
  292. this.repairsName = ''
  293. this.repairsPhone = ''
  294. this.schoolId = null
  295. this.buildId = null
  296. // 不是用户报修的单,则跳转回首页
  297. if (repairsUserInfo.routes.includes('首页')) {
  298. setTimeout(() => {
  299. uni.reLaunch({
  300. url: '/pagesRepairs/box/box'
  301. })
  302. }, 1500)
  303. }
  304. }
  305. }
  306. }
  307. })
  308. }
  309. },
  310. // 验证信息是否符合规范
  311. handleValidate() {
  312. const reName = /^[\u4e00-\u9fa5]{2,4}$/
  313. const rePhone = /^[1][3,4,5,7,8,9][0-9]{9}$/
  314. if (!this.repairsArea) {
  315. uni.showToast({
  316. title: '请选择报修区域',
  317. icon: 'none'
  318. })
  319. return
  320. }
  321. if (!this.repairsAddress) {
  322. uni.showToast({
  323. title: '请输入详细地址',
  324. icon: 'none'
  325. })
  326. return
  327. }
  328. if (!this.repairsGoods) {
  329. uni.showToast({
  330. title: '请选择报修物品',
  331. icon: 'none'
  332. })
  333. return
  334. }
  335. if (this.subImgList.length == 0) {
  336. uni.showToast({
  337. title: '请上传报修照片',
  338. icon: 'none'
  339. })
  340. return
  341. }
  342. if (!this.repairsName) {
  343. uni.showToast({
  344. title: '请输入报修姓名',
  345. icon: 'none'
  346. })
  347. return false
  348. }
  349. if (!reName.test(this.repairsName)) {
  350. uni.showToast({
  351. title: '姓名格式有误',
  352. icon: 'none'
  353. })
  354. return false
  355. }
  356. if (!this.repairsPhone) {
  357. uni.showToast({
  358. title: '请输入联系电话',
  359. icon: 'none'
  360. })
  361. return false
  362. }
  363. if (!rePhone.test(this.repairsPhone)) {
  364. uni.showToast({
  365. title: '电话号码格式有误',
  366. icon: 'none'
  367. })
  368. return false
  369. }
  370. return true
  371. },
  372. // 全局自定义事件
  373. addRepairsArea(e) {
  374. console.log(e)
  375. this.repairsArea = e.data
  376. this.schoolId = e.schoolId
  377. this.buildId = e.buildId
  378. },
  379. // 全局自定义事件
  380. addRepairsGoods(e) {
  381. console.log(e)
  382. this.repairsGoods = e.data
  383. this.articleId = e.articleId
  384. },
  385. // 删除录音回调
  386. handleDeleteRecording() {
  387. if (this.playStatus) {
  388. uni.showToast({
  389. title: '播放中不能删除',
  390. icon: 'none',
  391. mask: true
  392. })
  393. } else {
  394. uni.showModal({
  395. title: '提示',
  396. content: '确定删除录音吗?',
  397. success: (res) => {
  398. if (res.confirm) {
  399. this.recordingPath = ''
  400. this.recordingTime = 0
  401. }
  402. }
  403. })
  404. }
  405. },
  406. // 点击录音播放回调
  407. handlePlayRecording() {
  408. innerAudioContext.src = this.recordingPath
  409. if (!this.playStatus) {
  410. this.playStatus = true
  411. innerAudioContext.play()
  412. this.timer = setInterval(() => {
  413. if (this.recordingImg == '../../static/images/repairsImg/recording.jpg') {
  414. this.recordingImg = '../../static/images/repairsImg/recording2.jpg'
  415. } else if (this.recordingImg == '../../static/images/repairsImg/recording2.jpg') {
  416. this.recordingImg = '../../static/images/repairsImg/recording3.jpg'
  417. } else if (this.recordingImg == '../../static/images/repairsImg/recording3.jpg') {
  418. this.recordingImg = '../../static/images/repairsImg/recording.jpg'
  419. }
  420. }, 300)
  421. //播放结束
  422. innerAudioContext.onEnded(() => {
  423. clearInterval(this.timer)
  424. this.timer = null
  425. this.recordingImg = '../../static/images/repairsImg/recording.jpg'
  426. this.playStatus = false
  427. })
  428. } else {
  429. clearInterval(this.timer)
  430. this.recordingImg = '../../static/images/repairsImg/recording.jpg'
  431. this.playStatus = false
  432. innerAudioContext.stop()
  433. }
  434. },
  435. // 自定义事件回调,获取录音文件路径
  436. getTempFilePath(path, time) {
  437. this.recordingPath = path
  438. this.recordingTime = time
  439. this.$refs.popup_recording.close()
  440. },
  441. // 选择图片回调
  442. select(e) {
  443. // console.log(e)
  444. e.tempFiles.forEach((item) => {
  445. //这里的id和页面中写的html代码的canvas的id要一致
  446. let canvasId = 'zipCanvas'
  447. //原图的路径
  448. let imagePath = item.path
  449. //大小限制1024kb
  450. let limitSize = 1024
  451. //初始绘画区域是画布自身的宽度也就是屏幕宽度
  452. let drawWidth = uni.getSystemInfoSync().windowWidth
  453. getLessLimitSizeImage(canvasId, imagePath, limitSize, drawWidth, (resPath) => {
  454. uni.showLoading({
  455. title: '上传中'
  456. })
  457. uni.uploadFile({
  458. url: `https://chtech.ncjti.edu.cn/campusMaintenance/repair-api/repair/api/repairRecord/uploadFile`,
  459. filePath: resPath,
  460. name: 'file',
  461. header: {
  462. token: uni.getStorageSync('repairsUserInfo').token,
  463. user_head: uni.getStorageSync('repairsUserInfo').userhead
  464. },
  465. success: (uploadFileRes) => {
  466. // console.log(JSON.parse(uploadFileRes.data))
  467. this.subImgList.push(JSON.parse(uploadFileRes.data).data.resultUrl)
  468. this.imgList.push({
  469. url: item.path,
  470. name: ''
  471. })
  472. uni.hideLoading()
  473. },
  474. fail: () => {
  475. uni.showToast({
  476. title: '上传失败',
  477. icon: 'error'
  478. })
  479. }
  480. })
  481. })
  482. })
  483. },
  484. // 删除图片回调
  485. handleDelete(e) {
  486. // console.log(e);
  487. const num = this.imgList.findIndex((v) => v.url === e.tempFilePath)
  488. this.subImgList.splice(num, 1)
  489. this.imgList.splice(num, 1)
  490. },
  491. // 点击报修区域回调
  492. handleSelectArea() {
  493. uni.navigateTo({
  494. url: '/pagesRepairs/selectArea/selectArea'
  495. })
  496. },
  497. // 点击报修物品回调
  498. handleSelectGoods() {
  499. if (this.schoolId) {
  500. uni.navigateTo({
  501. url: `/pagesRepairs/selectGoods/selectGoods?schoolId=${this.schoolId}`
  502. })
  503. } else {
  504. uni.showToast({
  505. title: '请先选择报修区域',
  506. icon: 'none'
  507. })
  508. }
  509. },
  510. // 点击消息通知按钮回调
  511. handleClickFixed() {
  512. uni.navigateTo({
  513. url: '/pagesRepairs/message/message'
  514. })
  515. },
  516. // 点击电话号码回调
  517. handleCallPhone(phone) {
  518. uni.makePhoneCall({
  519. phoneNumber: phone
  520. })
  521. },
  522. // 点击录音按钮回调
  523. handleRecording() {
  524. uni.getSetting({
  525. success: (res) => {
  526. if (!res.authSetting['scope.record']) {
  527. uni.authorize({
  528. scope: 'scope.record',
  529. success(res) {
  530. // 授权成功
  531. uni.showToast({
  532. title: '授权成功',
  533. icon: 'none'
  534. })
  535. },
  536. fail() {
  537. uni.showModal({
  538. content: '检测到您没打开麦克风权限,是否去设置打开?',
  539. confirmText: '确认',
  540. cancelText: '取消',
  541. success: (res) => {
  542. if (res.confirm) {
  543. uni.openSetting({
  544. success: (res) => {}
  545. })
  546. } else {
  547. uni.showToast({
  548. title: '获取麦克风权限失败',
  549. icon: 'none'
  550. })
  551. }
  552. }
  553. })
  554. }
  555. })
  556. } else {
  557. this.$refs.popup_recording.open('bottom')
  558. }
  559. },
  560. fail() {
  561. uni.showToast({
  562. title: '获取麦克风权限失败',
  563. icon: 'none'
  564. })
  565. }
  566. })
  567. }
  568. }
  569. }
  570. </script>
  571. <style lang="scss" scoped>
  572. .container {
  573. width: 100vw;
  574. height: calc(100vh - 152rpx);
  575. overflow-y: auto;
  576. .notice {
  577. height: 90rpx;
  578. }
  579. .gap {
  580. height: 12rpx;
  581. background-color: #f2f2f2;
  582. }
  583. .box_item {
  584. display: flex;
  585. align-items: center;
  586. margin: 0 30rpx;
  587. height: 105rpx;
  588. font-size: 28rpx;
  589. border-bottom: 1rpx solid #e6e6e6;
  590. .item_title {
  591. width: 190rpx;
  592. font-weight: bold;
  593. text {
  594. margin-left: 5rpx;
  595. color: #d43030;
  596. }
  597. }
  598. .item_info {
  599. flex: 1;
  600. display: flex;
  601. align-items: center;
  602. padding: 0 10rpx;
  603. height: 100%;
  604. color: #cccccc;
  605. .item_input {
  606. width: 100%;
  607. height: 105rpx;
  608. input {
  609. height: 105rpx;
  610. line-height: 105rpx;
  611. color: #000;
  612. }
  613. }
  614. .info_icon {
  615. display: flex;
  616. justify-content: center;
  617. align-items: center;
  618. width: 79rpx;
  619. height: 37rpx;
  620. border-radius: 33rpx;
  621. border: 1rpx solid #e6e6e6;
  622. img {
  623. width: 26rpx;
  624. height: 26rpx;
  625. }
  626. }
  627. .info_tips {
  628. margin-left: 33rpx;
  629. font-size: 28rpx;
  630. color: #cccccc;
  631. }
  632. }
  633. .item_color {
  634. color: #000;
  635. }
  636. .item_icon {
  637. width: 38rpx;
  638. height: 38rpx;
  639. img {
  640. width: 100%;
  641. height: 100%;
  642. }
  643. }
  644. .item_recording {
  645. display: flex;
  646. align-items: center;
  647. width: 200rpx;
  648. height: 50rpx;
  649. border-radius: 100rpx;
  650. border: 1rpx solid #cccccc;
  651. img {
  652. margin: 0 12rpx;
  653. width: 40rpx;
  654. height: 40rpx;
  655. }
  656. }
  657. .recording_icon {
  658. margin-left: auto;
  659. font-size: 40rpx;
  660. }
  661. }
  662. .box_item2 {
  663. display: flex;
  664. align-items: center;
  665. margin: 0 30rpx;
  666. height: 237rpx;
  667. font-size: 28rpx;
  668. border-bottom: 1rpx solid #e6e6e6;
  669. .item2_title {
  670. width: 190rpx;
  671. font-weight: bold;
  672. text {
  673. margin-left: 5rpx;
  674. color: #d43030;
  675. }
  676. }
  677. .item2_info {
  678. flex: 1;
  679. padding: 0 10rpx;
  680. .item2_textarea {
  681. display: flex;
  682. align-items: center;
  683. width: 100%;
  684. height: 237rpx;
  685. textarea {
  686. box-sizing: border-box;
  687. padding: 20rpx;
  688. width: 500rpx;
  689. height: 176rpx;
  690. border: 1rpx solid #e6e6e6;
  691. border-radius: 6rpx;
  692. }
  693. }
  694. }
  695. }
  696. .box_item3 {
  697. margin: 0 30rpx;
  698. height: 246rpx;
  699. border-bottom: 1rpx solid #e6e6e6;
  700. .item3_title {
  701. height: 95rpx;
  702. line-height: 95rpx;
  703. font-size: 28rpx;
  704. font-weight: bold;
  705. span {
  706. margin-left: 5rpx;
  707. color: #d43030;
  708. }
  709. text {
  710. font-size: 24rpx;
  711. color: #808080;
  712. font-weight: 400;
  713. }
  714. }
  715. }
  716. .foot {
  717. display: flex;
  718. flex-direction: column;
  719. align-items: center;
  720. margin: 0 30rpx;
  721. height: 407rpx;
  722. .foot_btn {
  723. margin-top: 167rpx;
  724. width: 100%;
  725. height: 100rpx;
  726. line-height: 100rpx;
  727. text-align: center;
  728. color: #fff;
  729. font-size: 32rpx;
  730. border-radius: 12rpx;
  731. background-color: #6fb6b8;
  732. }
  733. .foot_phone {
  734. margin-top: 30rpx;
  735. color: #b3b3b3;
  736. font-size: 24rpx;
  737. }
  738. }
  739. .fixed {
  740. z-index: 2;
  741. position: fixed;
  742. right: 0;
  743. bottom: 200rpx;
  744. display: flex;
  745. justify-content: center;
  746. align-items: center;
  747. width: 211rpx;
  748. height: 90rpx;
  749. border-radius: 150rpx 0 0 150rpx;
  750. border: 1rpx solid #d9d9d9;
  751. background-color: #fff;
  752. box-shadow: 0 0 7rpx #d9d9d9;
  753. .fixed_box {
  754. display: flex;
  755. align-items: center;
  756. font-size: 28rpx;
  757. img {
  758. margin-right: 10rpx;
  759. width: 38rpx;
  760. height: 38rpx;
  761. }
  762. }
  763. }
  764. .popup_recording {
  765. width: 100%;
  766. height: 460rpx;
  767. background-color: #fff;
  768. }
  769. }
  770. </style>