myRepairs.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892
  1. <template>
  2. <scroll-view class="container" :scroll-y="scrollY" @scrolltolower="scrolltolower">
  3. <!-- 顶部分段器区域 -->
  4. <view class="control">
  5. <view class="control_item" :class="{ active: current === index }" v-for="(item, index) in items" :key="index" @click="onClickItem(index)">{{ item }}</view>
  6. </view>
  7. <!-- 主体内容区域 -->
  8. <view class="body">
  9. <!-- 每一个记录区域 -->
  10. <view class="body_item" :class="{ body_events: isClick }" v-for="item in list" :key="item.id" @click="handleLookDetail(item)">
  11. <!-- 工单编号 -->
  12. <view class="item_title">
  13. <img src="../../static/images/repairsImg/order.png" />
  14. <view class="title_info">工单编号:{{ item.recordNo }}</view>
  15. <view class="title_type" v-if="item.timeoutStr">{{ item.timeoutStr }}</view>
  16. </view>
  17. <!-- 报修时间 -->
  18. <view class="item_time">
  19. <view class="time_msg">
  20. 报修时间:
  21. <text>{{ item.reportTime }}</text>
  22. </view>
  23. <view class="time_type" v-if="item.state === '待接单'">待接单</view>
  24. <view class="time_type color_type" v-if="item.state === '维修中'">维修中</view>
  25. <view class="time_type color_type" v-if="item.state === '转后勤'">转后勤</view>
  26. <view class="time_type color_type" v-if="item.state === '转单待审核'">转单待审核</view>
  27. <view class="time_type color_type" v-if="item.state === '协作待审核'">协作待审核</view>
  28. <view class="time_type color_type" v-if="item.state === '转线下'">转线下</view>
  29. <view class="time_type color_type" v-if="item.state === '转线下待审核'">转线下待审核</view>
  30. <view class="time_type" v-if="item.state === '待支付'">待支付</view>
  31. <view class="time_type color_type2" v-if="item.state === '已完成'">已完成</view>
  32. <view class="time_type" v-if="item.state === '已取消'">已取消</view>
  33. <view class="time_type color_type3" v-if="item.state === '已关单'">已关单</view>
  34. </view>
  35. <!-- 报修姓名 -->
  36. <view class="item_box">
  37. <view class="box_key">报修姓名:</view>
  38. <view class="box_value">{{ item.userName }}</view>
  39. </view>
  40. <!-- 部门 -->
  41. <view class="item_box" v-if="item.userClass">
  42. <view class="box_key">部门:</view>
  43. <view class="box_value">{{ item.userClass }}</view>
  44. </view>
  45. <!-- 报修电话 -->
  46. <view class="item_box">
  47. <view class="box_key">报修电话:</view>
  48. <view class="box_value phone" @click.stop="handleCallPhone(item.userPhone)">
  49. {{ item.userPhone }}
  50. <img src="../../static/images/repairsImg/phone.png" />
  51. </view>
  52. </view>
  53. <!-- 报修区域 -->
  54. <view class="item_box">
  55. <view class="box_key">报修区域:</view>
  56. <view class="box_value">{{ item.areaName }}</view>
  57. </view>
  58. <!-- 详细地址 -->
  59. <view class="item_box">
  60. <view class="box_key">详细地址:</view>
  61. <view class="box_value">{{ item.address }}</view>
  62. </view>
  63. <!-- 报修物品 -->
  64. <view class="item_box">
  65. <view class="box_key">报修物品:</view>
  66. <view class="box_value">{{ item.articleName }}</view>
  67. </view>
  68. <!-- 故障描述 -->
  69. <view class="item_box" v-if="item.descript">
  70. <view class="box_key">故障描述:</view>
  71. <view class="box_value">{{ item.descript }}</view>
  72. </view>
  73. <!-- 报修录音 -->
  74. <view class="item_box" v-if="item.voice">
  75. <view class="box_key">报修录音:</view>
  76. <view class="box_value">
  77. <view class="recording" @click.stop="handlePlayRecording(item)">
  78. <img class="voiceImg" :src="item.status ? '../../static/images/repairsImg/play_active.png' : '../../static/images/repairsImg/play.png'" />
  79. {{ item.voiceLength }}″
  80. </view>
  81. </view>
  82. </view>
  83. <!-- 上传图片 -->
  84. <view class="item_img">
  85. <view class="img_key">上传图片:</view>
  86. <img class="img_value" mode="aspectFill" :src="item.images[0]" @click.stop="handleLookImgs(item.images)" />
  87. </view>
  88. <!-- 维修师傅 -->
  89. <view class="item_time" v-if="item.maintenancerName">
  90. <view class="time_msg">
  91. 维修师傅:
  92. <text>{{ item.maintenancerName }}</text>
  93. </view>
  94. </view>
  95. <!-- 师傅电话 -->
  96. <view class="item_box" v-if="item.maintenancerPhone">
  97. <view class="box_key">师傅电话:</view>
  98. <view class="box_value phone" @click.stop="handleCallPhone(item.maintenancerPhone)">
  99. {{ item.maintenancerPhone }}
  100. <img src="../../static/images/repairsImg/phone.png" />
  101. </view>
  102. </view>
  103. <!-- 维修费用 -->
  104. <view class="item_box" v-if="item.price">
  105. <view class="box_key">维修费用:</view>
  106. <view class="box_value2 phone" @click.stop="checkFeeDetail(item)">
  107. {{ item.price }}元
  108. <img src="../../static/images/repairsImg/eye.png" />
  109. </view>
  110. </view>
  111. <!-- 按钮 -->
  112. <view class="item_btn" v-if="item.state !== '已取消' && item.state !== '已关单'">
  113. <view
  114. class="btn_box type"
  115. v-if="item.state === '待接单' || item.state === '维修中' || item.state === '转单审核' || item.state === '协作审核'"
  116. @click.stop="handleExpedite(item.id)"
  117. >
  118. 催单
  119. </view>
  120. <view class="btn_box type" v-if="item.state === '待支付'" @click.stop="handleBackOffice(item)">转后勤</view>
  121. <view class="btn_box type" v-if="item.state === '待支付'" @click.stop="handlePay(item)">支付</view>
  122. <view class="btn_box type2" v-if="item.state === '待接单' || item.state === '待支付'" @click.stop="handleRepeal(item.id)">撤销</view>
  123. <view class="btn_box type" v-if="item.state === '已完成' && item.evaluate === 1" @click.stop="handleEvaluate(item)">去评价</view>
  124. <view class="btn_box type3" v-if="item.state === '已完成' && item.evaluate === 0" @click.stop="">已评价</view>
  125. </view>
  126. <view class="item_btn2" v-else></view>
  127. </view>
  128. <!-- 维修费用弹窗 -->
  129. <uni-popup :is-mask-click="false" ref="popup_fee">
  130. <view class="pop_fee" @click.stop="">
  131. <view class="fee_title">
  132. 维修费用
  133. <text
  134. @click="
  135. $refs.popup_fee.close()
  136. isClick = false
  137. "
  138. >
  139. ×
  140. </text>
  141. </view>
  142. <view class="fee_list">
  143. <view class="fee_item" v-for="ele in consumables" :key="ele.id">
  144. <view class="fee_box">
  145. 耗材:
  146. <text>{{ ele.consumeName }}</text>
  147. </view>
  148. <view class="fee_box">
  149. 耗材单价:
  150. <text>{{ ele.price }}元</text>
  151. </view>
  152. <view class="fee_box">
  153. 耗材数量:
  154. <text>{{ ele.number }}</text>
  155. </view>
  156. <view class="fee_box">
  157. 耗材费用:
  158. <text>{{ ele.totalPrice }}元</text>
  159. </view>
  160. </view>
  161. </view>
  162. </view>
  163. </uni-popup>
  164. <!-- 转后勤弹窗 -->
  165. <uni-popup ref="popup_logistics" :is-mask-click="false">
  166. <view class="pop_logistics" @click.stop="">
  167. <view class="logistics_title">转后勤</view>
  168. <view class="logistics_body">
  169. <textarea placeholder-style="color:#CCCCCC" placeholder="请输入您宝贵的留言" v-model="logisticsValue"></textarea>
  170. </view>
  171. <view class="logistics_btn">
  172. <view
  173. class="btn_box cancel"
  174. @click="
  175. $refs.popup_logistics.close()
  176. isClick = false
  177. "
  178. >
  179. 取消
  180. </view>
  181. <view class="btn_box confirm" @click="handleLogisticsConfirm">确定</view>
  182. </view>
  183. </view>
  184. </uni-popup>
  185. <!-- 没有数据时展示的图片 -->
  186. <view class="body_no_data" v-if="list.length === 0">
  187. <img src="../../pagesClockIn/static/imgs/nodata.png" />
  188. <view>暂无数据</view>
  189. </view>
  190. </view>
  191. </scroll-view>
  192. </template>
  193. <script>
  194. const innerAudioContext = uni.createInnerAudioContext()
  195. export default {
  196. data() {
  197. return {
  198. // 每一个订单点击时是否触发事件 true 不触发 false 触发
  199. isClick: false,
  200. // 后勤弹窗输入框绑定数据
  201. logisticsValue: '',
  202. // 顶部分段器数组
  203. items: ['未完成(0)', '待支付(0)', '已完成(0)'],
  204. // 分段器数组当前索引
  205. current: 0,
  206. // 订单列表
  207. list: [],
  208. // 是否可以Y轴滚动
  209. scrollY: true,
  210. // 用户id,请求接口时的参数
  211. userId: '',
  212. // 当前页
  213. currentPage: 1,
  214. // 每页多少条数据
  215. pageCount: 5,
  216. // 列表总数据
  217. total: 0,
  218. // 维修费用耗材明细列表
  219. consumables: [],
  220. // 当前操作的记录Id
  221. recordId: ''
  222. }
  223. },
  224. mounted() {
  225. this.userId = uni.getStorageSync('repairsUserInfo').userId
  226. this.getRepairCount()
  227. this.getRepairList()
  228. },
  229. methods: {
  230. // 获取每个状态的订单总数量
  231. async getRepairCount() {
  232. const res = await this.$myRequest_repairs({
  233. url: '/repairRecord/getRepairRecordCountByUserId',
  234. data: {
  235. userId: this.userId
  236. }
  237. })
  238. // console.log(res)
  239. if (res.code === '200') {
  240. this.items = [`未完成(${res.data.incomplete})`, `待支付(${res.data.confirmed})`, `已完成(${res.data.finished})`]
  241. }
  242. },
  243. // 获取订单列表数据
  244. async getRepairList() {
  245. const res = await this.$myRequest_repairs({
  246. url: '/repairRecord/getRepairRecordsByUserId',
  247. data: {
  248. userId: this.userId,
  249. currentPage: this.currentPage,
  250. pageCount: this.pageCount,
  251. state: this.current - 0 + 1
  252. }
  253. })
  254. // console.log(res)
  255. if (res.code === '200') {
  256. res.data.list.forEach((ele) => {
  257. return (ele.status = false)
  258. })
  259. this.list = [...this.list, ...res.data.list]
  260. this.total = res.data.totalCount
  261. // 当页面没有数据时,页面禁止滚动
  262. if (this.list.length === 0) {
  263. this.scrollY = false
  264. } else {
  265. this.scrollY = true
  266. }
  267. } else {
  268. // 请求数据失败页面禁止滚动
  269. this.scrollY = false
  270. }
  271. },
  272. // 滚动到底部触发回调
  273. scrolltolower() {
  274. if (this.total > this.list.length) {
  275. this.currentPage++
  276. this.getRepairList()
  277. } else {
  278. uni.showToast({
  279. title: '没有更多数据了',
  280. icon: 'none'
  281. })
  282. }
  283. },
  284. // 分段器切换回调
  285. onClickItem(index) {
  286. // 清空数组
  287. this.list = []
  288. // 重置当前页面可以滚动
  289. this.scrollY = true
  290. // 重置请求数据当前页参数
  291. this.currentPage = 1
  292. // 改变分段器索引
  293. this.current = index
  294. this.getRepairList()
  295. this.getRepairCount()
  296. },
  297. // 转后勤弹窗确定按钮回调
  298. async handleLogisticsConfirm() {
  299. if (!this.logisticsValue) {
  300. uni.showToast({
  301. title: '留言不能为空',
  302. icon: 'none'
  303. })
  304. return
  305. }
  306. const res = await this.$myRequest_repairs({
  307. url: '/repairLeaveMessage/transferToLogistics',
  308. method: 'post',
  309. data: {
  310. recordId: this.recordId,
  311. userId: this.userId,
  312. content: this.logisticsValue
  313. }
  314. })
  315. // console.log(res)
  316. if (res.code === '200') {
  317. uni.showToast({
  318. title: '转后勤成功',
  319. icon: 'success',
  320. mask: true
  321. })
  322. this.$refs.popup_logistics.close()
  323. this.isClick = false
  324. } else {
  325. uni.showToast({
  326. title: res.message,
  327. icon: 'fail'
  328. })
  329. }
  330. },
  331. // 催单按钮回调
  332. handleExpedite(id) {
  333. uni.showModal({
  334. title: '提示',
  335. content: '确定催单吗?',
  336. success: async (res) => {
  337. if (res.confirm) {
  338. const res = await this.$myRequest_repairs({
  339. url: '/repairRecord/repairRecordReminder',
  340. data: {
  341. recordId: id
  342. }
  343. })
  344. // console.log(res)
  345. if (res.code === '200') {
  346. uni.showToast({
  347. title: '催单成功',
  348. icon: 'success',
  349. mask: true
  350. })
  351. }
  352. }
  353. }
  354. })
  355. },
  356. // 撤销按钮回调
  357. handleRepeal(id) {
  358. uni.showModal({
  359. title: '提示',
  360. content: '确定撤销吗?',
  361. success: async (res) => {
  362. if (res.confirm) {
  363. const res = await this.$myRequest_repairs({
  364. url: '/repairRecord/revokeRepairRecordById',
  365. method: 'get',
  366. data: {
  367. id
  368. }
  369. })
  370. // console.log(res)
  371. if (res.code === '200') {
  372. uni.showToast({
  373. title: '撤销成功',
  374. icon: 'success',
  375. mask: true
  376. })
  377. setTimeout(() => {
  378. this.list = []
  379. this.currentPage = 1
  380. this.getRepairList()
  381. }, 1500)
  382. }
  383. }
  384. }
  385. })
  386. },
  387. // 查看维修费用回调
  388. checkFeeDetail(item) {
  389. this.$refs.popup_fee.open('center')
  390. this.consumables = item.consumables
  391. this.isClick = true
  392. },
  393. // 转后勤按钮回调
  394. handleBackOffice(item) {
  395. this.recordId = item.id
  396. this.isClick = true
  397. this.$refs.popup_logistics.open('center')
  398. },
  399. // 去评价按钮回调
  400. handleEvaluate(item) {
  401. let recordId = item.id
  402. uni.navigateTo({
  403. url: `/pagesRepairs/evaluate/evaluate?recordId=${recordId}`
  404. })
  405. },
  406. // 点击工单编号区域回调
  407. handleLookDetail(item) {
  408. uni.navigateTo({
  409. url: `/pagesRepairs/repairDetails/repairDetails?id=${item.id}`
  410. })
  411. },
  412. // 点击电话号码回调
  413. handleCallPhone(phone) {
  414. uni.makePhoneCall({
  415. phoneNumber: phone
  416. })
  417. },
  418. // 点击图片回调
  419. handleLookImgs(img) {
  420. uni.previewImage({
  421. urls: img
  422. })
  423. },
  424. // 点击支付按钮回调
  425. async handlePay(item) {
  426. const res = await this.$myRequest_repairs({
  427. url: '/repairRecord/pay',
  428. method: 'post',
  429. data: {
  430. recordId: item.id,
  431. openid: uni.getStorageSync('openId'),
  432. totalPrice: item.price
  433. }
  434. })
  435. // console.log(res)
  436. if (res.code === '200') {
  437. uni.requestPayment({
  438. provider: 'wxpay',
  439. timeStamp: res.data.timeStamp,
  440. nonceStr: res.data.nonceStr,
  441. package: 'prepay_id=' + res.data.prepay_id,
  442. signType: res.data.signType,
  443. paySign: res.data.paySign,
  444. success: (res) => {
  445. if (res.errMsg == 'requestPayment:ok') {
  446. uni.showToast({
  447. title: '支付成功',
  448. icon: 'success',
  449. mask: true
  450. })
  451. setTimeout(() => {
  452. // 清空数组
  453. this.list = []
  454. // 重置当前页面可以滚动
  455. this.scrollY = true
  456. // 重置请求数据当前页参数
  457. this.currentPage = 1
  458. this.getRepairList()
  459. this.getRepairCount()
  460. }, 1500)
  461. } else {
  462. uni.showToast({
  463. title: '支付失败',
  464. icon: 'error',
  465. mask: true
  466. })
  467. }
  468. },
  469. fail: (err) => {
  470. if (err.errMsg === 'requestPayment:fail cancel') {
  471. uni.showToast({
  472. title: '支付已取消',
  473. icon: 'none',
  474. mask: true
  475. })
  476. }
  477. }
  478. })
  479. } else {
  480. uni.showToast({
  481. title: res.message,
  482. icon: 'none',
  483. mask: true
  484. })
  485. }
  486. },
  487. // 点击录音播放回调
  488. handlePlayRecording(item) {
  489. this.list.forEach((ele) => {
  490. if (ele.id !== item.id) {
  491. ele.status = false
  492. }
  493. })
  494. innerAudioContext.src = item.voice
  495. if (!item.status) {
  496. item.status = true
  497. innerAudioContext.play()
  498. //播放结束
  499. innerAudioContext.onEnded(() => {
  500. item.status = false
  501. })
  502. } else {
  503. item.status = false
  504. innerAudioContext.stop()
  505. }
  506. }
  507. }
  508. }
  509. </script>
  510. <style lang="scss" scoped>
  511. .container {
  512. display: flex;
  513. flex-direction: column;
  514. box-sizing: border-box;
  515. padding: 0 30rpx;
  516. width: 100vw;
  517. height: calc(100vh - 152rpx);
  518. overflow-y: auto;
  519. // 隐藏滚动条
  520. ::-webkit-scrollbar {
  521. width: 0;
  522. height: 0;
  523. color: transparent;
  524. }
  525. .control {
  526. display: flex;
  527. box-sizing: border-box;
  528. margin: 26rpx 0 29rpx;
  529. padding: 6rpx;
  530. width: 100%;
  531. height: 88rpx;
  532. border-radius: 18rpx;
  533. background-color: #f2f2f2;
  534. .control_item {
  535. flex: 1;
  536. display: flex;
  537. justify-content: center;
  538. align-items: center;
  539. height: 76rpx;
  540. font-size: 32rpx;
  541. }
  542. .active {
  543. border-radius: 18rpx;
  544. background-color: #fff;
  545. }
  546. }
  547. .body {
  548. // height: calc(100vh - 190rpx);
  549. // overflow-y: auto;
  550. padding-bottom: 25rpx;
  551. .body_item {
  552. margin: 10rpx 10rpx 30rpx;
  553. // height: 799rpx;
  554. border-radius: 11rpx;
  555. box-shadow: 0 0 8rpx #d9d9d9;
  556. .item_title {
  557. display: flex;
  558. align-items: center;
  559. padding: 0 30rpx;
  560. height: 87rpx;
  561. border-bottom: 1rpx solid #e6e6e6;
  562. img {
  563. width: 30rpx;
  564. height: 30rpx;
  565. }
  566. .title_info {
  567. margin: 0 21rpx 0 13rpx;
  568. font-size: 28rpx;
  569. }
  570. .title_type {
  571. width: 137rpx;
  572. height: 47rpx;
  573. line-height: 47rpx;
  574. text-align: center;
  575. border-radius: 136rpx;
  576. color: #ff5733;
  577. font-size: 24rpx;
  578. border: 1rpx solid #ff5733;
  579. }
  580. }
  581. .item_time {
  582. display: flex;
  583. justify-content: space-between;
  584. align-items: center;
  585. padding: 0 30rpx;
  586. height: 79rpx;
  587. .time_msg {
  588. font-size: 28rpx;
  589. color: #808080;
  590. text {
  591. color: #000000;
  592. }
  593. }
  594. .time_type {
  595. font-size: 32rpx;
  596. color: #ff5733;
  597. }
  598. .color_type {
  599. color: #1e7dfb;
  600. }
  601. .color_type2 {
  602. color: #6fb6b8;
  603. }
  604. .color_type3 {
  605. color: #cccccc;
  606. }
  607. }
  608. .item_box {
  609. display: flex;
  610. padding: 0 30rpx;
  611. line-height: 60rpx;
  612. font-size: 28rpx;
  613. .box_key {
  614. // width: 145rpx;
  615. color: #808080;
  616. }
  617. .box_value {
  618. max-width: calc(100% - 145rpx);
  619. display: flex;
  620. align-items: center;
  621. img {
  622. margin-top: 5rpx;
  623. margin-left: 10rpx;
  624. width: 28rpx;
  625. height: 28rpx;
  626. }
  627. .recording {
  628. display: flex;
  629. align-items: center;
  630. margin: 15rpx 0;
  631. width: 130rpx;
  632. height: 40rpx;
  633. color: #000;
  634. border-radius: 100rpx;
  635. border: 1rpx solid #cccccc;
  636. .voiceImg {
  637. margin: 0 12rpx;
  638. width: 30rpx;
  639. height: 30rpx;
  640. }
  641. }
  642. }
  643. .box_value2 {
  644. display: flex;
  645. align-items: center;
  646. img {
  647. margin-top: -2rpx;
  648. margin-left: 14rpx;
  649. width: 46rpx;
  650. height: 46rpx;
  651. }
  652. }
  653. .phone {
  654. color: #6fb6b8;
  655. }
  656. }
  657. .item_img {
  658. display: flex;
  659. align-items: center;
  660. padding: 0 30rpx;
  661. height: 120rpx;
  662. color: #808080;
  663. font-size: 28rpx;
  664. .img_key {
  665. }
  666. .img_value {
  667. width: 120rpx;
  668. height: 120rpx;
  669. border-radius: 14rpx;
  670. }
  671. }
  672. .item_btn {
  673. display: flex;
  674. align-items: center;
  675. justify-content: flex-end;
  676. padding: 0 30rpx;
  677. height: 153rpx;
  678. .btn_box {
  679. display: flex;
  680. justify-content: center;
  681. align-items: center;
  682. margin-left: 16rpx;
  683. width: 174rpx;
  684. height: 68rpx;
  685. font-size: 28rpx;
  686. border-radius: 11rpx;
  687. }
  688. .type {
  689. color: #fff;
  690. background-color: #6fb6b8;
  691. }
  692. .type2 {
  693. color: #6fb6b8;
  694. background-color: #fff;
  695. border: 1rpx solid #6fb6b8;
  696. }
  697. .type3 {
  698. color: #6fb6b8;
  699. background-color: #eee;
  700. }
  701. }
  702. .item_btn2 {
  703. height: 50rpx;
  704. }
  705. }
  706. .pop_fee {
  707. padding-bottom: 10rpx;
  708. border-radius: 19rpx;
  709. background-color: #fff;
  710. .fee_title {
  711. display: flex;
  712. justify-content: space-between;
  713. align-items: center;
  714. box-sizing: border-box;
  715. padding: 0 31rpx 0 42rpx;
  716. width: 690rpx;
  717. height: 110rpx;
  718. font-size: 32rpx;
  719. font-weight: bold;
  720. border-radius: 19rpx 19rpx 0 0;
  721. border-bottom: 1rpx solid #e6e6e6;
  722. text {
  723. font-size: 45rpx;
  724. font-weight: 400;
  725. color: #808080;
  726. }
  727. }
  728. .fee_list {
  729. max-height: 50vh;
  730. overflow-y: auto;
  731. .fee_item {
  732. border-bottom: 1rpx solid #e6e6e6;
  733. .fee_box {
  734. display: flex;
  735. align-items: center;
  736. padding-left: 42rpx;
  737. height: 80rpx;
  738. font-size: 28rpx;
  739. color: #808080;
  740. text {
  741. color: #000000;
  742. }
  743. }
  744. }
  745. }
  746. }
  747. .pop_logistics {
  748. border-radius: 19rpx;
  749. background-color: #fff;
  750. .logistics_title {
  751. display: flex;
  752. justify-content: center;
  753. align-items: center;
  754. width: 690rpx;
  755. height: 110rpx;
  756. font-size: 32rpx;
  757. font-weight: bold;
  758. border-radius: 19rpx 19rpx 0 0;
  759. border-bottom: 1rpx solid #e6e6e6;
  760. }
  761. .logistics_body {
  762. height: 440rpx;
  763. border-bottom: 1rpx solid #e6e6e6;
  764. textarea {
  765. box-sizing: border-box;
  766. margin: 35rpx 40rpx;
  767. padding: 20rpx;
  768. width: 610rpx;
  769. height: 370rpx;
  770. font-size: 28rpx;
  771. border-radius: 14rpx;
  772. border: 1rpx solid #e6e6e6;
  773. }
  774. }
  775. .logistics_btn {
  776. display: flex;
  777. align-items: center;
  778. justify-content: space-evenly;
  779. height: 121rpx;
  780. .btn_box {
  781. display: flex;
  782. justify-content: center;
  783. align-items: center;
  784. width: 203rpx;
  785. height: 72rpx;
  786. border-radius: 9rpx;
  787. font-size: 32rpx;
  788. }
  789. .cancel {
  790. background-color: #e5e5e5;
  791. color: #6fb6b8;
  792. }
  793. .confirm {
  794. background-color: #6fb6b8;
  795. color: #fff;
  796. }
  797. }
  798. }
  799. .body_events {
  800. pointer-events: none;
  801. }
  802. .body_no_data {
  803. text-align: center;
  804. color: #b3b3b3;
  805. font-size: 24rpx;
  806. img {
  807. margin: 150rpx auto 50rpx;
  808. width: 480rpx;
  809. height: 508rpx;
  810. }
  811. }
  812. }
  813. }
  814. </style>