index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846
  1. <template>
  2. <view>
  3. <view>
  4. <!-- 头部 -->
  5. <header>
  6. <view class="head">
  7. <image src="../../static/list-img.png" mode="aspectFit"></image>
  8. <!-- 公告 -->
  9. <view class="notice">
  10. <view class="notice-content" style="margin-top: 16rpx">
  11. <view class="notice-first">
  12. <image src="../../static/喇叭.png"></image>
  13. <text style="line-height: 66rpx; margin-left: -22rpx">公告:</text>
  14. <uni-notice-bar
  15. :single="true"
  16. background-color="white"
  17. color="blue"
  18. :scrollable="true"
  19. :text="notices"
  20. :speed="30"
  21. />
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. <!-- 跳转导航 -->
  27. <view class="nav">
  28. <navigator url="../repair-form/index" class="nav1">
  29. <image src="../../static/put.png"></image>
  30. <view>前往报修</view>
  31. </navigator>
  32. <navigator url="../personal-information/index" class="nav2">
  33. <image src="../../static/information.png"></image>
  34. <view>修改信息</view>
  35. </navigator>
  36. </view>
  37. </header>
  38. <!-- 报修订单 -->
  39. <view class="content">
  40. <!-- 导航与报修单间的灰色背景 -->
  41. <view class="point"></view>
  42. <view class="list-text">----报修订单----</view>
  43. <!-- <view class="list-text" v-if="Studentlist.length!==0">
  44. ----报修订单----
  45. </view> -->
  46. <!-- <view class="list-text" v-else>
  47. ----暂无数据----
  48. </view> -->
  49. <!-- 订单 -->
  50. <view class="content-list" v-for="(item, index) in Studentlist" :key="index" @click="handleLookInfo(item)">
  51. <text class="num">订单:{{ item.orderId }}</text>
  52. <text class="newList">{{ item.orderStatus == 0 ? '等待后台分配' : '' }}</text>
  53. <!-- 新订单 -->
  54. <text class="waitList">{{ item.orderStatus == 1 ? '等待维修工接单' : '' }}</text>
  55. <!-- 待接单 -->
  56. <text class="readyList">{{ item.orderStatus == 2 ? '维修工已接单' : '' }}</text>
  57. <!-- 已接单 -->
  58. <text class="finishList">{{ item.orderStatus == 3 ? '维修完成' : '' }}</text>
  59. <!-- 维修完成 -->
  60. <text class="refuseList">{{ item.orderStatus == 4 ? '已退单' : '' }}</text>
  61. <!-- 已退单 -->
  62. <view class="list">
  63. <view>故障原因:{{ item.repairsFault.faultName }}</view>
  64. <view>维修人员:{{ item.repairsWork.workName == null ? '等待分配' : item.repairsWork.workName }}</view>
  65. <view>宿舍楼栋:{{ item.repairsStudent.dormNumber }}</view>
  66. <view>提交时间:{{ item.orderCommitTime }}</view>
  67. <view>预约时间:{{ item.orderExpectedTime }}</view>
  68. <view v-if="item.orderStatus == 2">维修时间:{{ item.orderRepairTime }}</view>
  69. <view v-if="item.orderStatus == 3">完成时间:{{ item.orderCompleteTime }}</view>
  70. <!-- <view>
  71. {{ item.orderStatus == 3 ? "完成时间:" : "预约时间:"
  72. }}{{
  73. item.orderStatus == 3
  74. ? item.orderCompleteTime
  75. : item.orderExpectedTime
  76. }}
  77. </view> -->
  78. </view>
  79. <button
  80. @click.stop="appraise(item)"
  81. v-if="item.orderStatus == 3 && item.orderAdvice == null"
  82. style="
  83. width: 185rpx;
  84. height: 36rpx;
  85. background-color: rgba(42, 130, 228, 1);
  86. color: white;
  87. font-size: 24rpx;
  88. border-radius: 32rpx;
  89. "
  90. >
  91. 维修后评价
  92. </button>
  93. <view class="sug">{{ item.orderStatus == 3 && item.orderAdvice !== null ? '已评价' : '' }}</view>
  94. <button class="sug_left" v-if="item.orderStatus == 0" @click.stop="handleDelete(item)">撤回订单</button>
  95. </view>
  96. <!-- xiaxia -->
  97. <view class="content-list" @click="handleLookInfo(item)">
  98. <text class="num">订单:{{ 'DZ165437348' }}</text>
  99. <text class="finishList">{{ '维修完成' }}</text>
  100. <view class="list">
  101. <view>故障原因:{{ '水龙头破裂' }}</view>
  102. <view>维修人员:{{ '李海聪' }}</view>
  103. <view>宿舍楼栋:{{ '19栋1单元203' }}</view>
  104. <view>提交时间:{{ '2023-12-13 14:00' }}</view>
  105. <view>
  106. {{ '完成时间:2022-12-13 18:11' }}
  107. </view>
  108. </view>
  109. <button
  110. @click.stop="appraise(item)"
  111. style="
  112. width: 185rpx;
  113. height: 36rpx;
  114. background-color: rgba(42, 130, 228, 1);
  115. color: white;
  116. font-size: 24rpx;
  117. border-radius: 32rpx;
  118. "
  119. >
  120. 维修后评价
  121. </button>
  122. </view>
  123. <view class="content-list" @click="handleLookInfo(item)">
  124. <text class="num">订单:{{ 'DZ165437348' }}</text>
  125. <text class="readyList">{{ '维修工已接单' }}</text>
  126. <view class="list">
  127. <view>故障原因:{{ '设备不在线' }}</view>
  128. <view>维修人员:{{ '赵一' }}</view>
  129. <view>宿舍楼栋:{{ '19栋1单元203' }}</view>
  130. <view>提交时间:{{ '2023-12-17 14:00' }}</view>
  131. <view>
  132. {{ '预约时间:2022-12-17 18:11' }}
  133. </view>
  134. </view>
  135. </view>
  136. <view class="content-list" @click="handleLookInfo(item)">
  137. <text class="num">订单:{{ 'DZ165437348' }}</text>
  138. <text class="readyList">{{ '维修工已接单' }}</text>
  139. <view class="list">
  140. <view>故障原因:{{ '设备不在线' }}</view>
  141. <view>维修人员:{{ '李四' }}</view>
  142. <view>宿舍楼栋:{{ '19栋1单元203' }}</view>
  143. <view>提交时间:{{ '2023-12-17 14:00' }}</view>
  144. <view>
  145. {{ '预约时间:2022-12-17 18:11' }}
  146. </view>
  147. </view>
  148. <button class="sug_left" @click.stop="handleDelete()">撤回订单</button>
  149. </view>
  150. <view class="isOver">----我是有底线的----</view>
  151. <!-- <view class="isOver" v-if="flag">
  152. ----我是有底线的----
  153. </view> -->
  154. </view>
  155. </view>
  156. <!-- 查看详情弹窗 -->
  157. <uni-popup ref="popup" background-color="#fff">
  158. <view class="popup_view" v-if="info">
  159. <view class="popup_title">订单信息</view>
  160. <view class="popup_item">订单号:{{ info.orderId }}</view>
  161. <view class="popup_item">报修类型:{{ info.repairsFault.faultName }}</view>
  162. <view class="popup_item">酒店楼栋:{{ info.repairsStudent.dormNumber }}</view>
  163. <view class="popup_item">提交时间:{{ info.orderCommitTime }}</view>
  164. <view class="popup_item">预约时间:{{ info.orderExpectedTime }}</view>
  165. <view class="popup_item">联系电话:{{ info.repairsStudent.studentPhone }}</view>
  166. <view class="popup_item">备选电话:{{ info.repairsStudent.studentOtherPhone }}</view>
  167. <view class="popup_item" v-if="info.orderBack">退回原因:{{ info.orderBack }}</view>
  168. <view class="popup_item" v-if="info.orderAdvice">修后评价:{{ info.orderAdvice }}</view>
  169. <view class="popup_img">
  170. <text>故障图片:</text>
  171. <image
  172. v-for="(item, index) in info.orderImages"
  173. :key="index"
  174. :src="item ? item : '../../static/no-image.gif'"
  175. mode="aspectFit"
  176. @click="handleBig(index)"
  177. ></image>
  178. </view>
  179. </view>
  180. </uni-popup>
  181. <!-- 图片放大弹窗 -->
  182. <uni-popup ref="popup2">
  183. <view class="popup_view" v-if="info" style="padding: 0px">
  184. <image
  185. v-for="(item, index) in info.orderImages"
  186. :key="index"
  187. :src="item ? item : '../../static/no-image.gif'"
  188. v-if="index == activeIndex"
  189. ></image>
  190. </view>
  191. </uni-popup>
  192. <!-- 修改评价遮罩层 -->
  193. <view class="box" v-if="dialogShow">
  194. <view id="dialog">
  195. <view class="replace">修后评价</view>
  196. <view class="uni-textarea">
  197. <textarea
  198. v-model="inputcontent"
  199. placeholder-style="color:rgba(229, 229, 229, 0.7)"
  200. cols="20"
  201. row="2"
  202. placeholder="请输入内容"
  203. />
  204. </view>
  205. <view class="cancle" @click="cancle">取消</view>
  206. <view class="agree" @click="agree">确定</view>
  207. </view>
  208. </view>
  209. </view>
  210. </template>
  211. <script>
  212. export default {
  213. data() {
  214. return {
  215. pageNum: 1,
  216. pageSize: 6,
  217. total: '',
  218. dialogShow: false,
  219. flag: false,
  220. notices: '',
  221. Studentlist: [],
  222. value: [],
  223. inputcontent: '',
  224. orderId: null,
  225. info: null,
  226. activeIndex: null,
  227. studentCampus: null,
  228. }
  229. },
  230. onLoad() {
  231. let res = uni.getStorageSync('student')
  232. if (res.studentCampus == 0) {
  233. this.studentCampus = '黄家湖校区'
  234. } else if (res.studentCampus == 1) {
  235. this.studentCampus = '墨轩湖校区'
  236. }
  237. this.getNotice()
  238. this.getStudentlist()
  239. },
  240. methods: {
  241. // 获取最新公告数据
  242. async getNotice() {
  243. let res = await this.$myRequest({
  244. method: 'post',
  245. url: `/notice/releaseNotice`,
  246. })
  247. // console.log(res)
  248. if (res.status == 200) {
  249. this.notices = res.data.noticeContent
  250. } else {
  251. console.log('获取最新公告数据失败')
  252. }
  253. },
  254. // 获取学生订单
  255. async getStudentlist() {
  256. let res = await this.$myRequest({
  257. method: 'post',
  258. url: `/order/queryAllOrderByStudentId`,
  259. data: {
  260. pageNum: this.pageNum,
  261. pageSize: this.pageSize,
  262. },
  263. })
  264. // console.log(res)
  265. if (res.status == 200) {
  266. this.total = res.data.total
  267. this.Studentlist = [...this.Studentlist, ...res.data.list]
  268. uni.hideLoading()
  269. } else {
  270. console.log('获取订单数据失败')
  271. }
  272. },
  273. // 下拉刷新
  274. onPullDownRefresh() {
  275. this.flag = false
  276. this.Studentlist = []
  277. this.pageNum = 1
  278. this.getStudentlist()
  279. this.getNotice()
  280. setTimeout(() => {
  281. uni.stopPullDownRefresh()
  282. }, 1000)
  283. },
  284. // 上拉加载+结尾语句显示
  285. onReachBottom() {
  286. if (this.Studentlist.length < this.total) {
  287. uni.showLoading({
  288. title: '数据加载中',
  289. })
  290. this.pageNum++
  291. this.getStudentlist()
  292. } else {
  293. this.flag = true
  294. }
  295. },
  296. // 点击维修后评价按钮回调
  297. appraise(item) {
  298. this.dialogShow = true
  299. this.inputcontent = ''
  300. this.orderId = item.orderId
  301. },
  302. // 弹窗确定按钮回调
  303. agree() {
  304. if (this.inputcontent == '') {
  305. uni.showToast({
  306. title: '请输入内容',
  307. icon: 'none',
  308. duration: 2000,
  309. })
  310. } else {
  311. this.dialogShow = false
  312. this.getsuggest()
  313. }
  314. },
  315. // 弹窗取消按钮回调
  316. cancle() {
  317. this.dialogShow = false
  318. this.inputcontent = ''
  319. uni.showToast({
  320. title: '已取消评价',
  321. icon: 'none',
  322. duration: 2000,
  323. })
  324. },
  325. // 修后评价请求
  326. async getsuggest() {
  327. let res = await this.$myRequest({
  328. method: 'post',
  329. url: `/order/updateOrderAdvice?orderAdvice=${this.inputcontent}&orderId=${this.orderId}`,
  330. })
  331. // console.log(res)
  332. if (res.status == 200) {
  333. uni.showToast({
  334. title: '评价成功',
  335. icon: 'success',
  336. })
  337. this.Studentlist = []
  338. this.pageNum = 1
  339. uni.pageScrollTo({
  340. scrollTop: 0,
  341. })
  342. this.getStudentlist()
  343. } else {
  344. console.log('修后评价请求失败')
  345. }
  346. },
  347. // 查看详情回调
  348. async handleLookInfo(item) {
  349. this.info = null
  350. this.$refs.popup.open()
  351. if (item.orderStatus == 0 || item.orderStatus == 4) {
  352. let res = await this.$myRequest({
  353. method: 'post',
  354. url: `/order/queryByOrderIdNotWork?orderId=${item.orderId}`,
  355. })
  356. // console.log(res)
  357. this.$nextTick(() => {
  358. this.info = res.data
  359. this.info.orderImages = this.info.orderImages.split(';')
  360. })
  361. } else {
  362. let res = await this.$myRequest({
  363. method: 'post',
  364. url: `/order/queryByOrderId?orderId=${item.orderId}`,
  365. })
  366. // console.log(res)
  367. this.$nextTick(() => {
  368. this.info = res.data
  369. this.info.orderImages = this.info.orderImages.split(';')
  370. })
  371. }
  372. },
  373. // 点击图片放大
  374. handleBig(index) {
  375. this.activeIndex = index
  376. this.$refs.popup2.open()
  377. },
  378. // 撤回订单请求
  379. handleDelete(item) {
  380. uni.showModal({
  381. title: '提示',
  382. content: '确定撤回订单吗?',
  383. success: async (res) => {
  384. if (res.confirm) {
  385. let res = await this.$myRequest({
  386. url: `/order/deleteOrderById?orderId=${item.orderId}`,
  387. method: 'post',
  388. })
  389. // console.log(res)
  390. if (res.status == 200) {
  391. uni.showToast({
  392. title: '撤回成功',
  393. icon: 'success',
  394. })
  395. this.Studentlist = []
  396. this.pageNum = 1
  397. uni.pageScrollTo({
  398. scrollTop: 0,
  399. })
  400. this.getStudentlist()
  401. } else {
  402. uni.showToast({
  403. title: '撤回失败',
  404. icon: 'error',
  405. })
  406. }
  407. } else if (res.cancel) {
  408. // console.log('用户点击取消');
  409. }
  410. },
  411. })
  412. },
  413. },
  414. }
  415. </script>
  416. <style lang="scss" scoped>
  417. header {
  418. // position: fixed;
  419. // top: 0;
  420. // right: 0;
  421. // left: 0;
  422. // background-color: ;
  423. // z-index: 99;
  424. .head {
  425. position: relative;
  426. height: 420rpx;
  427. background-size: 100%;
  428. margin-left: 36rpx;
  429. margin-right: 36rpx;
  430. margin-top: -96rpx;
  431. image {
  432. width: 100%;
  433. }
  434. .notice {
  435. position: relative;
  436. margin-top: -96rpx;
  437. width: 100%;
  438. height: 68rpx;
  439. font-size: 30rpx;
  440. font-weight: 700;
  441. -moz-box-shadow: 0 0 10rpx #d3d3d3;
  442. -webkit-box-shadow: 0 0 10rpx #d3d3d3;
  443. box-shadow: 0 0 10rpx #d3d3d3;
  444. // .uni-noticebar {
  445. // position: absolute;
  446. // width: 77%;
  447. // height: 20%;
  448. // top: 14rpx;
  449. // right: 26rpx;
  450. // display: flex;
  451. // box-sizing: border-box;
  452. // flex-direction: row;
  453. // align-items: center;
  454. // padding: 20rpx 2rpx;
  455. // margin-bottom: 20rpx;
  456. // }
  457. image {
  458. width: 24rpx;
  459. height: 24rpx;
  460. left: -30rpx;
  461. }
  462. .notice-first {
  463. margin-left: 60rpx;
  464. color: black;
  465. }
  466. .notice-second {
  467. float: right;
  468. margin-right: 68rpx;
  469. margin-bottom: 16rpx;
  470. color: black;
  471. width: 76%;
  472. height: 86rpx;
  473. }
  474. }
  475. }
  476. .nav {
  477. position: absolute;
  478. width: 100%;
  479. height: 236rpx;
  480. margin-left: -48rpx;
  481. margin-top: 28rpx;
  482. }
  483. .nav1 image {
  484. position: absolute;
  485. left: 114rpx;
  486. top: 60rpx;
  487. width: 123rpx;
  488. height: 123rpx;
  489. font-size: 48rpx;
  490. border-radius: 80rpx;
  491. box-shadow: 0 0 10px #06c;
  492. }
  493. .nav1 view {
  494. position: absolute;
  495. left: 254rpx;
  496. // top: 70rpx;
  497. line-height: 156rpx;
  498. font-size: 30rpx;
  499. font-weight: 700;
  500. }
  501. .nav2 image {
  502. position: absolute;
  503. right: 165rpx;
  504. width: 123rpx;
  505. height: 123rpx;
  506. font-size: 48rpx;
  507. top: 60rpx;
  508. border-radius: 80rpx;
  509. box-shadow: 0 0 10px #06c;
  510. }
  511. .nav2 view {
  512. position: absolute;
  513. right: 26rpx;
  514. // top: 70rpx;
  515. line-height: 126rpx;
  516. font-size: 24rpx;
  517. font-size: 30rpx;
  518. font-weight: 700;
  519. }
  520. .nav .nav1 {
  521. width: 272rpx;
  522. height: 156rpx;
  523. margin-top: 40rpx;
  524. margin-left: 106rpx;
  525. }
  526. .nav .nav2 {
  527. width: 272rpx;
  528. height: 130rpx;
  529. margin-top: -140rpx;
  530. margin-left: 468rpx;
  531. }
  532. }
  533. .content {
  534. // margin-top: 550rpx;
  535. padding-top: 550rpx;
  536. height: 1200rpx;
  537. background-color: rgba(255, 255, 255, 1);
  538. }
  539. .point {
  540. height: 14rpx;
  541. // font-weight: 700;
  542. // margin-left: 40rpx;
  543. }
  544. .list-text {
  545. margin-top: 30rpx;
  546. font-size: 24rpx;
  547. text-align: center;
  548. color: rgba(80, 80, 80, 0.27);
  549. }
  550. .content-list {
  551. position: relative;
  552. width: 95%;
  553. height: 290rpx;
  554. margin: 0 auto;
  555. margin-top: 22rpx;
  556. padding-left: 20rpx;
  557. font-size: 24rpx;
  558. border-radius: 28rpx 28rpx 0rpx 0rpx;
  559. // border: 2rpx solid rgba(229, 229, 229, 0.62);
  560. background-color: rgba(229, 229, 229, 0.62);
  561. }
  562. .num {
  563. float: left;
  564. margin-left: 14rpx;
  565. margin-top: 18rpx;
  566. font-size: 28rpx;
  567. font-weight: 700;
  568. color: rgba(42, 130, 228, 1);
  569. }
  570. .newList {
  571. float: right;
  572. margin-top: 20rpx;
  573. margin-right: 32rpx;
  574. color: rgba(255, 141, 26, 1);
  575. }
  576. .readyList {
  577. float: right;
  578. margin-top: 20rpx;
  579. margin-right: 4rpx;
  580. color: rgba(212, 48, 48, 1);
  581. }
  582. .waitList {
  583. float: right;
  584. margin-top: 20rpx;
  585. margin-right: 4rpx;
  586. color: rgba(212, 48, 48, 1);
  587. }
  588. .finishList {
  589. float: right;
  590. margin-top: 20rpx;
  591. margin-right: 4rpx;
  592. color: yellowgreen;
  593. }
  594. .refuseList {
  595. float: right;
  596. margin-top: 20rpx;
  597. margin-right: 4rpx;
  598. color: rgba(212, 48, 48, 1);
  599. }
  600. .list {
  601. float: left;
  602. margin-left: -328rpx;
  603. margin-top: 72rpx;
  604. font-size: 28rpx;
  605. }
  606. .content-list button {
  607. position: absolute;
  608. bottom: 20rpx;
  609. right: 42rpx;
  610. line-height: 36rpx;
  611. }
  612. .content-list .sug {
  613. position: absolute;
  614. bottom: 30rpx;
  615. right: 42rpx;
  616. color: #333333;
  617. }
  618. .content-list .sug_left {
  619. position: absolute;
  620. bottom: 16rpx;
  621. // left: -640rpx;
  622. width: 160rpx;
  623. height: 36rpx;
  624. font-size: 24rpx;
  625. border-radius: 32rpx;
  626. // background-color: orange;
  627. }
  628. .isOver {
  629. width: 100%;
  630. height: 100rpx;
  631. line-height: 100rpx;
  632. text-align: center;
  633. font-size: 24rpx;
  634. color: rgba(80, 80, 80, 0.27);
  635. }
  636. .popup_view {
  637. box-sizing: border-box;
  638. width: 600rpx;
  639. height: 860rpx;
  640. padding: 50rpx;
  641. overflow-y: auto;
  642. image {
  643. width: 100%;
  644. height: 100%;
  645. }
  646. .popup_title {
  647. font-size: 20px;
  648. }
  649. .popup_item {
  650. margin: 20rpx 0;
  651. }
  652. .popup_img {
  653. display: flex;
  654. image {
  655. margin: 0 6rpx;
  656. width: 100rpx;
  657. height: 200rpx;
  658. background-color: #eee;
  659. }
  660. }
  661. }
  662. .content {
  663. margin-top: 230rpx;
  664. padding: 0 10rpx;
  665. // height: 1200rpx;
  666. background-color: rgba(255, 255, 255, 1);
  667. .point {
  668. height: 14rpx;
  669. background-color: rgba(229, 229, 229, 0.62);
  670. }
  671. .list-text {
  672. margin-top: 30rpx;
  673. font-size: 24rpx;
  674. text-align: center;
  675. color: rgba(80, 80, 80, 0.27);
  676. }
  677. .content-list {
  678. position: relative;
  679. margin-top: 22rpx;
  680. padding: 20rpx;
  681. height: 280rpx;
  682. border-radius: 28rpx 28rpx 28rpx 28rpx;
  683. font-size: 24rpx;
  684. background-color: rgba(229, 229, 229, 0.62);
  685. .num {
  686. float: left;
  687. margin-left: 14rpx;
  688. margin-top: 18rpx;
  689. font-weight: 700;
  690. color: rgba(42, 130, 228, 1);
  691. }
  692. .newList {
  693. float: right;
  694. margin-top: 20rpx;
  695. margin-right: 32rpx;
  696. color: rgba(255, 141, 26, 1);
  697. }
  698. .readyList {
  699. float: right;
  700. margin-top: 20rpx;
  701. margin-right: 4rpx;
  702. color: rgba(212, 48, 48, 1);
  703. }
  704. .waitList {
  705. float: right;
  706. margin-top: 20rpx;
  707. margin-right: 4rpx;
  708. color: orange;
  709. }
  710. .finishList {
  711. float: right;
  712. margin-top: 20rpx;
  713. margin-right: 4rpx;
  714. color: blue;
  715. }
  716. .refuseList {
  717. float: right;
  718. margin-top: 20rpx;
  719. margin-right: 4rpx;
  720. color: rgba(212, 48, 48, 1);
  721. }
  722. .list {
  723. float: left;
  724. margin-left: -280rpx;
  725. margin-top: 64rpx;
  726. }
  727. }
  728. }
  729. #dialog {
  730. position: absolute;
  731. top: 0;
  732. right: 0;
  733. bottom: 0;
  734. left: 0;
  735. width: 80%;
  736. height: 180px;
  737. text-align: center;
  738. margin: auto;
  739. background-color: white;
  740. border-radius: 10px;
  741. }
  742. textarea {
  743. height: 100px;
  744. width: 90%;
  745. margin-top: 5px;
  746. margin-left: 5%;
  747. text-align: left;
  748. border: 1px solid rgba(229, 229, 229, 0.62);
  749. font-size: 14px;
  750. }
  751. .box {
  752. position: fixed;
  753. top: 0;
  754. left: 0;
  755. margin: 0;
  756. width: 100%;
  757. height: 100%;
  758. background: rgba(0, 0, 0, 0.3);
  759. }
  760. .replace {
  761. width: 100%;
  762. height: 16%;
  763. margin-top: 4%;
  764. font-size: 28rpx;
  765. color: rgba(80, 80, 80, 1);
  766. }
  767. .cancle {
  768. position: absolute;
  769. top: 78%;
  770. width: 50%;
  771. height: 22%;
  772. line-height: 2;
  773. background-color: white;
  774. border-radius: 0 0 0 16rpx;
  775. border-top: 1px solid rgba(229, 229, 229, 0.62);
  776. border-right: 1px solid rgba(229, 229, 229, 0.62);
  777. }
  778. .agree {
  779. position: absolute;
  780. top: 78%;
  781. width: 50%;
  782. height: 22%;
  783. right: 0;
  784. line-height: 2;
  785. background-color: white;
  786. border-top: 1px solid rgba(229, 229, 229, 0.62);
  787. border-left: 1px solid rgba(229, 229, 229, 0.62);
  788. border-radius: 0 0 16rpx 0;
  789. }
  790. </style>