detail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  1. <template>
  2. <view class="tour-container">
  3. <uni-nav-bar fixed="true" statusBar="true" left-icon="back" title="量具送检工单详情" @clickLeft="back" right-icon="scan" @clickRight="HandlScanCode"></uni-nav-bar>
  4. <view class="tour-wrapper">
  5. <view class="tour_tally-content">
  6. <KdTabs v-model="active" @change="handleTabChange" :list="['基本信息', '量具送检设备']" />
  7. <view class="kd-baseInfo" v-show="active === 0">
  8. <view class="kd-cell">
  9. <text class="kd-label">工单编号</text>
  10. {{ worksheetInfo.code }}
  11. </view>
  12. <view class="kd-cell">
  13. <text class="kd-label">计划名称</text>
  14. <text class="kd-content">{{ worksheetInfo.planName }}</text>
  15. </view>
  16. <!-- <view class="kd-cell">
  17. <text class="kd-label">巡点检周期</text>
  18. <text class="kd-content"
  19. >{{ worksheetInfo.cycleValue
  20. }}{{ cycleOptObj[worksheetInfo.cycleType] }}</text
  21. >
  22. </view> -->
  23. <view class="kd-cell">
  24. <text class="kd-label">设备分类</text>
  25. <text class="kd-content">{{ worksheetInfo.categoryName }}</text>
  26. </view>
  27. <view class="kd-cell">
  28. <text class="kd-label">巡检设备总数</text>
  29. <text class="kd-content text-warning">{{ worksheetInfo.finishNum }}/{{ worksheetInfo.total }}</text>
  30. </view>
  31. <view class="kd-cell">
  32. <text class="kd-label">计划完成时长</text>
  33. {{ worksheetInfo.duration }}分钟
  34. </view>
  35. <view class="kd-cell">
  36. <text class="kd-label">实际完成时长</text>
  37. {{ finishTime(worksheetInfo.acceptTime, worksheetInfo.finishTime) }}
  38. </view>
  39. <view class="kd-cell">
  40. <text class="kd-label">实际开始时间</text>
  41. {{ worksheetInfo.acceptTime }}
  42. </view>
  43. <view class="kd-cell">
  44. <text class="kd-label">实际完成时间</text>
  45. {{ worksheetInfo.finishTime }}
  46. </view>
  47. <!-- <u-button type="primary" size="large" text="开始执行"></u-button> -->
  48. <template>
  49. <template v-if="worksheetInfo.orderStatus === 0">
  50. <button class="btn-execute" type="primary" @click="handleExecute">开始执行</button>
  51. <button class="btn-reassignment" type="primary" @click="handleAssign">转派</button>
  52. </template>
  53. <button v-else-if="worksheetInfo.orderStatus === 2" class="btn-execute" type="primary" @click="handleReport">报工</button>
  54. <button v-else-if="worksheetInfo.orderStatus === 3" :disabled="true" class="btn-execute" type="primary">已报工</button>
  55. </template>
  56. </view>
  57. <view class="kd-equipment" v-show="active === 1">
  58. <view class="kd-type-box">
  59. <text :class="{ 'type—active': typeActive === index }" v-for="(item, index) in equpStatus" :key="index" @click="typeChange(index)">{{ item.name }}</text>
  60. </view>
  61. <view class="kd-list-container">
  62. <u-list @scrolltolower="scrolltolower">
  63. <u-list-item v-for="(item, index) in euqiList" :key="index">
  64. <view class="kd-card">
  65. <view class="kd-card-wrapper">
  66. <view class="kd-cell">
  67. <text class="kd-label">设备编码</text>
  68. {{ item.code }}
  69. </view>
  70. <view class="kd-cell">
  71. <text class="kd-label">设备名称</text>
  72. {{ item.name }}
  73. </view>
  74. <view class="kd-cell">
  75. <text class="kd-label">设备型号</text>
  76. {{ item.model }}
  77. </view>
  78. <view class="kd-cell">
  79. <text class="kd-label">设备位置</text>
  80. {{ item.deviceLocationName.pathName }}
  81. </view>
  82. <view class="kd-cell">
  83. <text class="kd-label">执行结果</text>
  84. <text class="status-box text-warning" v-if="item.executeStatus === 0">待检</text>
  85. <text class="status-box text-primary" v-else-if="item.executeStatus === 1">已检</text>
  86. <text class="status-box text-danger" v-else-if="item.executeStatus === 2">缺陷</text>
  87. <text class="status-box text-primary" v-else-if="item.executeStatus === 3">已报修</text>
  88. </view>
  89. </view>
  90. <view class="card-footer">
  91. <button v-if="item.orderStatus == 2 && item.executeStatus == 0" type="primary" class="primary-btn" @click="handleCheck(item)">检查</button>
  92. <template v-if="item.orderStatus && item.orderStatus === 3">
  93. <button type="default" v-if="item.resultStatus === 3" @click="handLbxDetail(item)">报修详情</button>
  94. <button type="default" v-else-if="item.resultStatus === 2" @click="handLbx(item)">报修</button>
  95. </template>
  96. <button type="default" v-if="[0, 2, 3].includes(item.orderStatus) && item.executeStatus != 0" @click="checkDetail(item)">检查详情</button>
  97. </view>
  98. </view>
  99. </u-list-item>
  100. </u-list>
  101. </view>
  102. </view>
  103. </view>
  104. <uni-popup ref="inputDialog" type="dialog">
  105. <uni-popup-dialog
  106. ref="inputClose"
  107. mode="input"
  108. title="您当前已超出计划完成时间,请填写原因"
  109. placeholder="请输入内容"
  110. :before-close="true"
  111. @close="handleClose"
  112. @confirm="timeoutCauseConfirm"></uni-popup-dialog>
  113. </uni-popup>
  114. </view>
  115. <u-modal :show="modalShow" title="提示" @confirm="modalShow = false">
  116. <view>
  117. 您还有
  118. <text class="text-warning">{{ worksheetInfo.awaitInspectSum }}</text>
  119. 台设备待检,不可报工
  120. </view>
  121. </u-modal>
  122. <Assign ref="assignRef" @success="assignSuccess" />
  123. <!-- <ScanCode @scancodedate="scancodedate"></ScanCode> -->
  124. </view>
  125. </template>
  126. <script>
  127. import { getWorkOrderDetail, getDeviceList, startExecuting, signingWork } from '@/api/myTicket/index.js'
  128. import { get, post, postJ } from '@/utils/api.js'
  129. import Assign from '@/components/Assign.vue'
  130. import CellInfo from '@/components/CellInfo.vue'
  131. import KdTabs from '@/components/KdTabs.vue'
  132. import ScanCode from '@/components/ScanCode.vue'
  133. export default {
  134. components: {
  135. CellInfo,
  136. KdTabs,
  137. Assign,
  138. ScanCode
  139. },
  140. data() {
  141. return {
  142. modalShow: false,
  143. active: 0,
  144. typeActive: 0,
  145. statusList: {
  146. 0: '待接收',
  147. 1: '执行中',
  148. 3: '已完成'
  149. },
  150. pageId: '',
  151. planId: '',
  152. workOrderCode: '',
  153. worksheetInfo: {
  154. equiList: [],
  155. workOrder: {}
  156. },
  157. equpStatus: [
  158. // {
  159. // name: '全部',
  160. // value: []
  161. // },
  162. {
  163. name: '全部',
  164. value: -1
  165. },
  166. {
  167. name: '待检',
  168. value: 0
  169. },
  170. {
  171. name: '已检',
  172. value: 1
  173. },
  174. {
  175. name: '缺陷',
  176. value: 2
  177. }
  178. ],
  179. euqiList: [],
  180. equipPage: 1,
  181. isEnd: false,
  182. cycleOptObj: {
  183. 1: '时/次',
  184. 2: '天/次',
  185. 3: '周/次',
  186. 4: '月/次',
  187. 5: '年/次',
  188. 11: '次/天',
  189. 12: '次/周',
  190. 13: '次/月',
  191. 14: '次/年'
  192. },
  193. barType: 0,
  194. qrContent: null,
  195. chooseTab: false
  196. }
  197. },
  198. async onLoad(options) {
  199. console.log('onLoad--------')
  200. console.log('options------------', options)
  201. // this.workOrderCode = options.workOrderCode
  202. this.pageId = options.id
  203. this.planId = options.planId
  204. // this.chooseTab = options.chooseTab
  205. this.getInfo()
  206. // 设备台账跳转详情
  207. // if (options.qrContent) {
  208. // this.qrContent = options.qrContent
  209. // await this.getInfo()
  210. // this.cbScancodedate({
  211. // code: this.qrContent
  212. // })
  213. // }
  214. },
  215. onShow() {
  216. console.log('onShow--------')
  217. this.getInfo()
  218. if (this.chooseTab) {
  219. this.active = 1
  220. this.typeChange(2)
  221. } else {
  222. this.typeChange(0)
  223. }
  224. // let _this = this
  225. // uni.$off('scancodedate') // 每次进来先 移除全局自定义事件监听器
  226. // uni.$on('scancodedate', function (data) {
  227. // _this.cbScancodedate(data)
  228. // })
  229. },
  230. onUnload() {
  231. uni.$off('scancodedate')
  232. },
  233. onHide() {
  234. uni.$off('scancodedate')
  235. },
  236. methods: {
  237. // 扫码枪扫码
  238. cbScancodedate(data) {
  239. this.Scancodedate(data.code)
  240. },
  241. // 相机扫码
  242. HandlScanCode() {
  243. let _this = this
  244. uni.scanCode({
  245. onlyFromCamera: true,
  246. success: function (res) {
  247. _this.Scancodedate(res.result)
  248. }
  249. })
  250. },
  251. Scancodedate(code) {
  252. let _this = this
  253. if (this.worksheetInfo.status.code === 0) {
  254. uni.showModal({
  255. title: '提示',
  256. content: '工单未开启执行,不可进行巡点检操作,请先点击“开始执行”!',
  257. confirmText: '开始执行', //这块是确定按钮的文字
  258. cancelText: '取消', //这块是取消的文字
  259. success: function (res) {
  260. if (res.confirm) {
  261. _this.handleExecute() // 执行确认后的操作
  262. } else {
  263. // 执行取消后的操作
  264. }
  265. }
  266. })
  267. return
  268. }
  269. this.qrContent = code.trim()
  270. this.barType = this.setBarType(this.qrContent)
  271. _this.getData()
  272. },
  273. // 设置barType
  274. setBarType(val) {
  275. let index = val.indexOf('@_@')
  276. let result = 0
  277. if (index !== -1) {
  278. let item = val.substr(index + 3, 1)
  279. if (item) {
  280. result = Number(item)
  281. }
  282. }
  283. return result
  284. },
  285. // 根据条码请求设备数据
  286. getData() {
  287. let par = {
  288. barType: this.barType,
  289. qrContent: this.qrContent
  290. }
  291. uni.showLoading({
  292. title: '加载中',
  293. mask: true
  294. })
  295. postJ(this.apiUrl + '/scan/getAssetInfo', par)
  296. .then(res => {
  297. let data = res.data
  298. this.matchEquipment(data)
  299. })
  300. .finally(() => {
  301. uni.hideLoading()
  302. })
  303. },
  304. matchEquipment(data) {
  305. let par = {
  306. assetCode: data.assetCode,
  307. workOrderId: this.worksheetInfo.id
  308. }
  309. console.log('par', par)
  310. post(this.apiUrl + '/workOrder/scanMatching', par).then(res => {
  311. let data = res.data
  312. if (!data) {
  313. uni.showModal({
  314. title: '提示',
  315. content: '本工单中,无此设备!',
  316. confirmText: '好的', //这块是确定按钮的文字
  317. showCancel: false,
  318. success: function (res) {
  319. if (res.confirm) {
  320. // 执行确认后的操作
  321. } else {
  322. // 执行取消后的操作
  323. }
  324. }
  325. })
  326. } else {
  327. // 未报工
  328. if (this.worksheetInfo.status.code === 1) {
  329. this.handleCheck(data)
  330. }
  331. // 已报工
  332. if (this.worksheetInfo.status.code === 3) {
  333. this.checkDetail(data)
  334. }
  335. }
  336. })
  337. },
  338. handleAssign() {
  339. console.log(this.worksheetInfo)
  340. this.$refs.assignRef.open(this.worksheetInfo.id)
  341. },
  342. assignSuccess() {
  343. this.back()
  344. },
  345. // 报工
  346. handleReport() {
  347. if (this.worksheetInfo.finishNum !== this.worksheetInfo.total) {
  348. uni.showToast({
  349. title: '请完成巡检设备检查',
  350. icon: 'none'
  351. })
  352. } else {
  353. if (new Date(this.worksheetInfo.acceptTime).getTime() + this.worksheetInfo.duration * 60 * 1000 < new Date().getTime()) {
  354. this.$refs.inputDialog.open()
  355. return
  356. }
  357. this._report()
  358. }
  359. },
  360. handleClose() {
  361. this.$refs.inputDialog.close()
  362. },
  363. timeoutCauseConfirm(value) {
  364. if (!value) {
  365. uni.showToast({
  366. title: '请输入超时原因',
  367. icon: 'none'
  368. })
  369. return
  370. }
  371. this.$refs.inputDialog.close()
  372. this._report(value)
  373. },
  374. _report(timeoutCause = '') {
  375. signingWork({ id: this.pageId, timeoutCause: timeoutCause }).then(() => {
  376. uni.showToast({
  377. icon: 'success',
  378. title: '操作成功!',
  379. duration: 2000
  380. })
  381. this.getInfo()
  382. })
  383. // post(
  384. // this.apiUrl + '/workOrder/reportWork',
  385. // {
  386. // workOrderId: this.pageId,
  387. // timeoutCause
  388. // },
  389. // true,
  390. // false
  391. // )
  392. // .then(res => {
  393. // let _this = this
  394. // if (res?.success) {
  395. // let data = res.data
  396. // if (data.length) {
  397. // uni.showModal({
  398. // title: '提示',
  399. // content: `有${data.length}台设备被标记为缺陷,是否要报修?`,
  400. // cancelText: '取消', // 取消按钮的文字
  401. // confirmText: '报修', // 确认按钮的文字
  402. // showCancel: true, // 是否显示取消按钮,默认为 true
  403. // success: res => {
  404. // if (res.confirm) {
  405. // if (data.length > 1) {
  406. // uni.navigateTo({
  407. // url: `/pages/tour_tally/detail/detail?workOrderCode=${this.workOrderCode}&id=${this.pageId}&chooseTab=true`
  408. // })
  409. // } else {
  410. // uni.navigateTo({
  411. // url: `/pages/repair/repair/index?source=5&workOrderCode=${this.workOrderCode}&equiCode=${data[0].equiCode}&equiId=${data[0].equiId}&workOrderId=${this.pageId}&equiName=${data[0].equiName}&equiModel=${data[0].equiModel}&equiLocation=${data[0].equiLocation}`
  412. // })
  413. // }
  414. // } else {
  415. // _this.getInfo()
  416. // }
  417. // }
  418. // })
  419. // } else {
  420. // uni.showToast({
  421. // icon: 'success',
  422. // title: '操作成功!',
  423. // duration: 2000
  424. // })
  425. // this.getInfo()
  426. // }
  427. // }
  428. // /* if (res?.success) {
  429. // uni.showToast({
  430. // icon: "success",
  431. // title: "操作成功!",
  432. // duration: 2000,
  433. // });
  434. // this.getInfo();
  435. // } */
  436. // })
  437. // .catch(res => {
  438. // if (res.code === '4444') {
  439. // this.$refs.inputDialog.open()
  440. // } else if (res.code === '5555') {
  441. // this.modalShow = true
  442. // // uni.showModal({
  443. // // title: '提示',
  444. // // content: `您还有 ${this.worksheetInfo.awaitInspectSum} 台设备待检,不可报工`,
  445. // // success: function (res) {},
  446. // // showCancel: false
  447. // // })
  448. // }
  449. // })
  450. },
  451. // 执行工单
  452. handleExecute() {
  453. startExecuting({ id: this.pageId }).then(() => {
  454. uni.showToast({
  455. icon: 'success',
  456. title: '操作成功!',
  457. duration: 2000
  458. })
  459. this.getInfo()
  460. })
  461. // post(this.apiUrl + '/workOrder/execute', {
  462. // workOrderCode: this.workOrderCode
  463. // }).then(res => {
  464. // if (res?.success) {
  465. // uni.showToast({
  466. // icon: 'success',
  467. // title: '操作成功!',
  468. // duration: 2000
  469. // })
  470. // this.getInfo()
  471. // }
  472. // })
  473. },
  474. //巡点检设备加载更多
  475. scrolltolower() {
  476. if (this.isEnd) return
  477. this.equipPage++
  478. this.getEquipList()
  479. },
  480. // 巡点检设备列表
  481. getEquipList() {
  482. const params = {
  483. planId: this.planId,
  484. status: this.equpStatus[this.typeActive].value,
  485. pageNum: 1,
  486. size: 9999
  487. }
  488. getDeviceList(params).then(data => {
  489. if (this.equipPage === 1) {
  490. this.euqiList = data.list
  491. } else {
  492. this.euqiList.push(...data.list)
  493. }
  494. this.isEnd = this.euqiList.length >= data.count
  495. })
  496. // post(this.apiUrl + `/workOrder/getEquipmentListApp?page=${this.equipPage}&size=10`, params, true).then(res => {
  497. // if (res?.success) {
  498. // if (this.equipPage === 1) {
  499. // this.euqiList = res.data.records
  500. // } else {
  501. // this.euqiList.push(...res.data.records)
  502. // }
  503. // this.isEnd = this.euqiList.length >= res.data.total
  504. // }
  505. // })
  506. },
  507. handleTabChange(value) {
  508. if (value === 1) {
  509. this.typeChange(0)
  510. }
  511. },
  512. finishTime(start, end) {
  513. if (!end) return ''
  514. let dur = new Date(end).getTime() - new Date(start).getTime()
  515. return Math.ceil(dur / 1000 / 60) + '分钟'
  516. },
  517. // 设备状态切换
  518. typeChange(type) {
  519. this.typeActive = type
  520. this.equipPage = 1
  521. this.getEquipList()
  522. },
  523. handleCheck({ id }) {
  524. // uni.navigateTo({
  525. // url: `/pages/tour_tally/check/index?id=${id}&equiName=${equiName}&equiCode=${equiCode}&workOrderId=${this.pageId}&workOrderCode=${this.workOrderCode}`
  526. // })
  527. uni.navigateTo({
  528. url: `/pages/tour_tally/check/index?id=${id}`
  529. })
  530. },
  531. checkDetail({ id }) {
  532. uni.navigateTo({
  533. url: `/pages/tour_tally/check/detail?id=${id}`
  534. })
  535. },
  536. getInfo() {
  537. getWorkOrderDetail({ workId: this.pageId }).then(data => {
  538. this.worksheetInfo = data
  539. })
  540. // return post(this.apiUrl + '/workOrder/getDetailsApp', {
  541. // workOrderCode: this.workOrderCode
  542. // }).then(res => {
  543. // if (res?.success) {
  544. // this.worksheetInfo = res.data
  545. // }
  546. // })
  547. },
  548. // 报修
  549. handLbx(item) {
  550. console.log('item', item)
  551. uni.navigateTo({
  552. url: `/pages/repair/repair/index?source=5&workOrderCode=${this.workOrderCode}&equiCode=${item.equiCode}&equiId=${item.equiId}&workOrderId=${this.pageId}&equiName=${item.equiName}&equiModel=${item.equiModel}&equiLocation=${item.equiLocation}`
  553. })
  554. },
  555. // 报修详情
  556. handLbxDetail(item) {
  557. uni.navigateTo({
  558. url: `/pages/repair/detail/detail?id=${item.repairId}`
  559. })
  560. }
  561. }
  562. }
  563. </script>
  564. <style lang="scss" scoped>
  565. @import '@/components/submitted.scss';
  566. .list-cell {
  567. display: flex;
  568. align-items: center;
  569. justify-content: space-between;
  570. color: $uni-text-color-grey;
  571. padding: 5rpx 20rpx;
  572. }
  573. .font-sm {
  574. font-size: $uni-font-size-sm;
  575. }
  576. .font-text {
  577. color: $uni-text-color;
  578. }
  579. .btn-execute {
  580. background-color: $j-primary-border-green;
  581. width: 450rpx;
  582. margin-top: 5vh;
  583. }
  584. .btn-reassignment {
  585. color: $uni-color-primary;
  586. background-color: transparent;
  587. border: none;
  588. box-shadow: none;
  589. &::after {
  590. display: none;
  591. }
  592. }
  593. .tour-container {
  594. position: fixed;
  595. top: 0;
  596. bottom: 0;
  597. width: 100vw;
  598. display: flex;
  599. flex-direction: column;
  600. /deep/.u-popup {
  601. flex: none !important;
  602. }
  603. }
  604. .tour-wrapper {
  605. position: relative;
  606. flex: 1;
  607. }
  608. .tour_tally-content {
  609. padding-top: 40rpx;
  610. box-sizing: border-box;
  611. // height: calc(100vh - 88rpx);
  612. position: absolute;
  613. top: 0;
  614. bottom: 0;
  615. left: 0;
  616. right: 0;
  617. display: flex;
  618. flex-direction: column;
  619. }
  620. .kd-cell {
  621. min-height: 90rpx;
  622. border-bottom: 1px dashed #dadada;
  623. display: flex;
  624. align-items: center;
  625. .kd-label {
  626. display: inline-block;
  627. width: 7em;
  628. font-weight: bold;
  629. }
  630. .kd-content {
  631. flex: 1;
  632. word-break: break-all;
  633. }
  634. }
  635. .kd-baseInfo {
  636. padding: 0 32rpx;
  637. font-size: 28rpx;
  638. }
  639. .kd-equipment {
  640. flex: 1;
  641. display: flex;
  642. flex-direction: column;
  643. overflow: hidden;
  644. .kd-type-box {
  645. text-align: center;
  646. padding: 26rpx 0;
  647. text {
  648. display: inline-block;
  649. width: 120rpx;
  650. padding: 4rpx 0;
  651. color: #333;
  652. margin: 0 8rpx;
  653. &.type—active {
  654. background-color: rgba(215, 215, 215, 1);
  655. }
  656. }
  657. }
  658. .kd-list-container {
  659. flex: 1;
  660. display: flex;
  661. flex-direction: column;
  662. overflow: hidden;
  663. padding: 12rpx 18rpx;
  664. background-color: $page-bg;
  665. .u-list {
  666. flex: 1;
  667. height: 100% !important;
  668. }
  669. }
  670. }
  671. .kd-card {
  672. background-color: #fff;
  673. margin-bottom: 20rpx;
  674. padding: 8rpx 0;
  675. font-size: 28rpx;
  676. word-break: break-all;
  677. .kd-card-wrapper {
  678. padding: 0 30rpx;
  679. border-bottom: 1px solid #dadada;
  680. }
  681. .kd-cell {
  682. line-height: 60rpx;
  683. }
  684. .kd-cell:last-of-type {
  685. border-bottom: none;
  686. }
  687. .status-box {
  688. margin-right: 16rpx;
  689. }
  690. .card-footer {
  691. display: flex;
  692. justify-content: flex-end;
  693. align-items: center;
  694. padding: 8rpx 0 20rpx;
  695. button {
  696. width: 180rpx;
  697. height: 56rpx;
  698. line-height: 56rpx;
  699. font-size: 28rpx;
  700. margin: 0 8rpx;
  701. }
  702. .primary-btn {
  703. background-color: $j-primary-border-green;
  704. }
  705. }
  706. }
  707. </style>