universalityAudit.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756
  1. <template>
  2. <view :style='{"margin-bottom":dataobj.taskId?"280rpx":"180rpx"}'>
  3. <view class="topInfo">
  4. <view class="topInfo-item">
  5. <view class="flex info">
  6. <view class="logo">
  7. <image src="../../../static/img/reject.png" mode="" v-if="dataobj.status == '已驳回'"
  8. style="height: 40rpx;"></image><!-- 驳回 -->
  9. <image src="../../../static/img/tongguo.png" mode="" v-if="dataobj.status == '已通过'"
  10. style="height: 40rpx;"></image><!-- 通过 -->
  11. <!-- v-if="status == '审核中' || status == '待决策人审核'" -->
  12. <image src="../../../static/img/daishenhe.png" mode="" style="height: 40rpx;"></image>
  13. <!-- 待审核 -->
  14. </view>
  15. <!-- {{auditList.length > 0 ?auditList[auditList.length - 1].operatorMajorRoleName:""}} -->
  16. <view class="infoText">{{dataobj.approveStatus?dataobj.approveStatus:dataobj.status}}</view>
  17. </view>
  18. <view class="infoData">{{dataobj.updateDate}}</view>
  19. </view>
  20. </view>
  21. <view>
  22. <u-form :model="dataobj" ref="uForm">
  23. <u-form-item label="类型"><view style='text-align:right;width:100%;color:#AFB3BF;'>{{dataobj.businessType}}</view></u-form-item>
  24. <u-form-item :border-bottom='false' :label-position='"top"' label="备注">
  25. <view class="u-textarea-style">
  26. <view class="right-bottom">
  27. {{dataobj.remark.length}}/2000个字
  28. </view>
  29. <textarea style='font-size:12px;' disabled maxlength="2000" v-model='dataobj.remark' placeholder="请输入备注信息" name="" id="" cols="30" rows="11"></textarea>
  30. </view>
  31. </u-form-item>
  32. </u-form>
  33. <u-form :label-position='"top"' ref="uForm">
  34. <u-form-item :border-bottom='false' :label="'共'+imglist.length+'个附件'">
  35. <view style='width:100%;border-top:1px solid #EEEEEE;' v-if='imglist.length>0'>
  36. <view style="justify-content: space-between;" class='flex' v-for='item in imglist'>
  37. <view class="img_item">
  38. <view class="" style="width: 16%;">
  39. <image
  40. v-if="item.type == 'pdf'"
  41. class="imgsign" src="../../../static/img/oa_office/pdf3.png"
  42. mode=""></image>
  43. <image v-else-if="item.type == 'xls'||item.type == 'xlsx'"
  44. class="imgsign" src="../../../static/img/oa_office/excle3.png"
  45. mode=""></image>
  46. <image v-else-if="item.type == 'doc'||item.type == 'docx'"
  47. class="imgsign" src="../../../static/img/oa_office/word3.png"
  48. mode=""></image>
  49. <image v-else class="imgsign" :src="item.appendixPath" mode="">
  50. </image>
  51. </view>
  52. <view class="" style="width: 70%;">
  53. <view class="char_css">{{item.appendixName}}</view>
  54. <view class="img_size">{{item.appendixSize}}</view>
  55. </view>
  56. <view style="color: #22C572;" class="img_dowload" @click="openDocument(item)">
  57. 下载
  58. </view>
  59. </view>
  60. <!-- <u-icon name="attach" ></u-icon> -->
  61. <!-- <image style='width: 200rpx;height: 200rpx;' :src="item" mode=""></image> -->
  62. </view>
  63. </view>
  64. </u-form-item>
  65. </u-form>
  66. <u-form ref="uForm">
  67. <view class="form_top">审批流</view>
  68. <view class="content2">
  69. <view v-for="(item,index) in auditList" :key='index' class="audit">
  70. <view class="row" v-if='item.desc!="_PLACEHOLDER_"'>
  71. <view class="left">
  72. <view class="item1">
  73. <view class="item-content">{{item.operatorTitle}}</view>
  74. <view v-if="item.status=='success'" class='status success'>
  75. <u-icon name="checkmark" color="#2979ff" size="24"></u-icon>
  76. </view>
  77. <view v-if="item.status=='error'" class='status error'>
  78. <u-icon name="close" color="rgb(245, 108, 108)" size="24"></u-icon>
  79. </view>
  80. <view v-if="item.status=='question'" class='status question'>
  81. <u-icon name="question" color="#f9ae3d" size="24"></u-icon>
  82. </view>
  83. </view>
  84. </view>
  85. <view class="right">
  86. <view class="right-item">
  87. <view class="item2">
  88. <view class="name">{{item.desc}}
  89. </view>
  90. <!-- <view class='time'>{{item.updateDate}}</view> -->
  91. <view v-if="item.status=='success'" class="status success">
  92. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  93. v-if='!item.commonStaffs1&&index!=0'>已审核</text></view>
  94. <view v-if="item.status=='error'" class="status error">
  95. {{item.commonStaffs1?item.staffscontent:item.operatorName}}<text
  96. v-if='!item.commonStaffs1'>{{item.workflowHistoricTasks ? "已驳回":''}}</text>
  97. </view>
  98. <view v-if="item.status=='question'" class="status question">
  99. {{item.commonStaffs1?item.staffscontent:''}}<text
  100. v-if='!item.commonStaffs1'>未审核</text></view>
  101. <!-- <view class="status success">吕波(已审核)</view> -->
  102. </view>
  103. <view v-if='index==0||item.workflowHistoricTasks&&item.workflowHistoricTasks.length>0'
  104. class='time'>
  105. {{item.updateDate}}
  106. </view>
  107. </view>
  108. <view v-if='item.auditMind' class="right-content">
  109. {{item.auditMind}}
  110. </view>
  111. </view>
  112. <view v-if='item.commonStaffs1' class="right">
  113. <u-icon @click='showcontent(item)' :name="item.showflow?'arrow-up':'arrow-down'" size="28">
  114. </u-icon>
  115. </view>
  116. </view>
  117. <view v-if='item.showflow' style='padding:10px 0 0 50px;'>
  118. <view class='row2'>
  119. <view v-for='item1 in item.commonStaffs1' style='margin:5px;text-align:center;'>
  120. <view class="item-content">
  121. <u-icon v-if='item1.status' name="checkmark" color="#fff" size="14"></u-icon>
  122. <u-icon v-if='!item1.status' name="question" color="#f9ae3d" size="14"></u-icon>
  123. </view>
  124. <view class="name">{{item1.staffName}}</view>
  125. </view>
  126. </view>
  127. </view>
  128. <view class="row-line" v-if="index!= auditList.length - 1&&item.desc!='_PLACEHOLDER_'"></view>
  129. </view>
  130. </view>
  131. </u-form>
  132. </view>
  133. <view v-if='show' class="shade">
  134. <view class="wrap">
  135. <view class="alert-top">
  136. <view class="title">
  137. {{title}}
  138. </view>
  139. <u-icon name="close" class="close" color="#8890B1" @click="close()"></u-icon>
  140. </view>
  141. <view class="u-textarea-style">
  142. <view class="right-bottom">
  143. {{auditMind.length}}/1000个字
  144. </view>
  145. <u-input class="" v-model='auditMind' placeholder="请在此输入审核意见" type="textarea" height="414"
  146. maxlength="1000" />
  147. </view>
  148. <view @click='close()' class="cancel">取消</view>
  149. <view @click='passSubmit()' class="confirm">确定</view>
  150. </view>
  151. </view>
  152. <view style='padding:10px;' class='flex bottom-btn'>
  153. <u-button v-if='dataobj.taskId' @click='reject' type="error" class="btn1" hover-class='none'>驳回</u-button>
  154. <u-button v-if='dataobj.taskId' @click='pass' type="success" class="btn2">通过</u-button>
  155. <u-button v-if='!dataobj.taskId' @click="fanHui" type="success" class="btn1" hover-class='none'>返回</u-button>
  156. </view>
  157. </view>
  158. </template>
  159. <script>
  160. export default {
  161. data() {
  162. return {
  163. id:'',
  164. dataobj:{},
  165. show:false,
  166. auditMind:'',
  167. title:'',
  168. imglist:[],
  169. auditList:[]
  170. }
  171. },
  172. onLoad(options){
  173. this.id=options.id
  174. console.log(options.id)
  175. },
  176. onShow(){
  177. // this.$nextTick(()=>{
  178. this.getList()
  179. // })
  180. },
  181. methods: {
  182. pass() {
  183. this.show = true
  184. this.title = '审核意见(通过)'
  185. },
  186. reject() {
  187. this.show = true
  188. this.title = '驳回原因(驳回)'
  189. },
  190. // 驳回
  191. rejectSubmit() {
  192. var that = this
  193. if (!this.auditMind) {
  194. this.$api.msg('驳回原因不能为空!')
  195. } else {
  196. this.show = false
  197. uni.showModal({
  198. content: "是否确定驳回?",
  199. showCancel: true,
  200. confirmText: '确定',
  201. success: function(res) {
  202. if (res.confirm) {
  203. that.audit(that.dataobj, 0, false, true, that.auditMind)
  204. }
  205. }
  206. })
  207. }
  208. },
  209. //通过
  210. passSubmit() {
  211. var that = this
  212. if (this.title == '驳回原因(驳回)') {
  213. this.rejectSubmit()
  214. } else {
  215. this.show = false
  216. uni.showModal({
  217. content: "是否确定通过?",
  218. showCancel: true,
  219. confirmText: '确定',
  220. success: function(res) {
  221. if (res.confirm) {
  222. that.audit(that.dataobj, 0, true, 2, that.auditMind)
  223. }
  224. }
  225. })
  226. }
  227. },
  228. //审核方法
  229. audit(list, index, status, status2, reason) {
  230. uni.showLoading({
  231. title: "审核中"
  232. })
  233. let that = this
  234. this.$api.doRequest('post', '/newWorkflow/api/handle', {
  235. taskId: list.taskId,
  236. approved: status,
  237. auditMind: this.auditMind ,
  238. needReapply: status2 != undefined ? true : false,
  239. }).then(res => {
  240. if (status == true) {
  241. this.$api.msg('通过成功')
  242. } else if (status == false) {
  243. this.$api.msg('驳回成功')
  244. }
  245. setTimeout(function() {
  246. uni.navigateBack()
  247. }, 1000);
  248. })
  249. },
  250. fanHui() {
  251. uni.navigateBack()
  252. },
  253. close() {
  254. this.show = false
  255. },
  256. getList(){
  257. var that =this
  258. this.$api.doRequest('get', '/generalAuditInfo/getGeneralAuditInfo', {
  259. id:this.id
  260. }).then(res => {
  261. this.dataobj=res.data.data
  262. this.$api.doRequest('get', '/appendix/query/getFileList', {
  263. appendixIds: that.dataobj.addressUrl
  264. }).then(res1 => {
  265. that.imglist = res1.data.data
  266. for (let i = 0; i < that.imglist.length; i++) {//获取后缀
  267. if (that.imglist[i].appendixName) {
  268. let index = that.imglist[i].appendixName.lastIndexOf(".")
  269. that.imglist[i].type = that.imglist[i].appendixName.substring(index+1)
  270. }
  271. }
  272. })
  273. // 查流程
  274. this.$api.doRequest('get', '/workflow/query/workflowDefinitions', {
  275. businessCode: 'GENERAL-AUDIT-APPROVE',
  276. tmpCompId: uni.getStorageSync('pcUserInfo').compId
  277. }).then(res1 => {
  278. this.$api.doRequest('get', '/commonUser/getHis', {
  279. workflowId: res1.data.data[0].id,
  280. businessKey: this.id,
  281. branch:that.dataobj.businessType?that.dataobj.businessType:'zt'
  282. }).then(response => {
  283. uni.hideLoading()
  284. for (let i = 0; i < response.data.data.length; i++) {
  285. this.$set(response.data.data[i], 'status', 'question')
  286. console.log(response.data.data[i].workflowHistoricTasks, i)
  287. if (response.data.data[i].commonStaffs) {
  288. response.data.data[i].showflow = false
  289. response.data.data[i].operatorTitle = response.data.data[i]
  290. .desc.substring(0, 2)
  291. response.data.data[i].operatorName = response.data.data[i]
  292. .desc
  293. response.data.data[i].staffscontent = '共' + response.data
  294. .data[i].commonStaffs.length + '人,当前审核' + response.data
  295. .data[i].workflowHistoricTasks.length + '人'
  296. if (response.data.data[i].workflowHistoricTasks && response
  297. .data.data[i].workflowHistoricTasks.length > 0) {
  298. if (response.data.data[i].workflowHistoricTasks
  299. .length != response.data.data[i].commonStaffs
  300. .length) {
  301. // response.data.data[i].status='question'
  302. this.$set(response.data.data[i], 'status',
  303. 'question')
  304. } else {
  305. this.$set(response.data.data[i], 'status',
  306. 'success')
  307. // response.data.data[i].status='success'
  308. }
  309. response.data.data[i].workflowlen = response.data.data[
  310. i].workflowHistoricTasks.length
  311. var workflowdata = response.data.data[i]
  312. .workflowHistoricTasks
  313. var staffsdata = response.data.data[i].commonStaffs
  314. for (let q = 0; q < staffsdata.length; q++) {
  315. staffsdata[q].status = false
  316. staffsdata[q].staffTitle = staffsdata[q].staffName
  317. for (let k = 0; k < workflowdata.length; k++) {
  318. if (staffsdata[q].staffId == workflowdata[k]
  319. .operatorId) {
  320. staffsdata[q].status = true
  321. }
  322. }
  323. }
  324. }
  325. response.data.data[i].commonStaffs1 = response.data.data[i]
  326. .commonStaffs
  327. } else {
  328. if (response.data.data[i].workflowHistoricTasks && response
  329. .data.data[i].workflowHistoricTasks.length > 0) {
  330. var len = response.data.data[i].workflowHistoricTasks
  331. .length - 1
  332. if (response.data.data[i].workflowHistoricTasks[len]
  333. .approved) {
  334. this.$set(response.data.data[i], 'status',
  335. 'success')
  336. } else {
  337. this.$set(response.data.data[i], 'status', 'error')
  338. }
  339. response.data.data[i].operatorTitle = response.data
  340. .data[i].workflowHistoricTasks[len].operatorName
  341. .substring(response.data.data[i]
  342. .workflowHistoricTasks[0].operatorName.length -
  343. 2)
  344. response.data.data[i].operatorName = response.data
  345. .data[i].workflowHistoricTasks[len].operatorName
  346. var time = new Date(response.data.data[i]
  347. .workflowHistoricTasks[len].claimTime)
  348. .getTime()
  349. response.data.data[i].updateDate = this.$u.timeFormat(
  350. time, 'mm.dd hh:MM')
  351. response.data.data[i].auditMind = response.data.data[i]
  352. .workflowHistoricTasks[len].auditMind
  353. } else {
  354. this.$set(response.data.data[i], 'status', 'question')
  355. // response.data.data[i].status='question'
  356. if (response.data.data[i].desc == '总经理助理审核') {
  357. response.data.data[i].operatorTitle = '总助'
  358. } else if (response.data.data[i].desc == '杜大光审核') {
  359. response.data.data[i].operatorTitle = '大光'
  360. } else {
  361. response.data.data[i].operatorTitle = response.data
  362. .data[i].desc.substring(0, 2)
  363. }
  364. response.data.data[i].operatorName = response.data
  365. .data[i].desc
  366. var time1 = new Date(response.data.data[i].updateDate)
  367. .getTime()
  368. response.data.data[i].updateDate = this.$u.timeFormat(
  369. time1, 'mm.dd hh:MM')
  370. response.data.data[i].auditMind = ''
  371. }
  372. }
  373. }
  374. console.log(response.data.data)
  375. for(let i = 0 ;i<response.data.data.length;i++){
  376. if(response.data.data[i].status == "error"){
  377. this.auditCheck = "error"
  378. break;
  379. }else if(response.data.data[i].status == "question"){
  380. this.auditCheck = "question"
  381. break;
  382. }else{
  383. this.auditCheck = "success"
  384. }
  385. }
  386. this.auditList = response.data.data
  387. var time2 = new Date(this.dataobj.createDate).getTime()
  388. var time3 = this.$u.timeFormat(time2, 'mm.dd hh:MM')
  389. this.auditList.unshift({
  390. operatorTitle: this.dataobj.creater.substring(0, 2),
  391. operatorName: this.dataobj.creater,
  392. updateDate: time3,
  393. auditMind: '',
  394. desc: '发起申请',
  395. showflow: false,
  396. commonStaffs1: null,
  397. commonStaffs: null,
  398. workflowHistoricTasks: [],
  399. status: 'success'
  400. })
  401. })
  402. })
  403. })
  404. }
  405. }
  406. }
  407. </script>
  408. <style lang="scss" scoped>
  409. .bottom-btn {
  410. width: 100%;
  411. position: fixed;
  412. bottom: 0;
  413. display: flex;
  414. z-index: 2;
  415. left: 0;
  416. background-color: #f8f8f8;
  417. flex-direction: column;
  418. .btn1,
  419. .btn2 {
  420. width: 100%;
  421. margin-bottom: 26rpx;
  422. border-radius: 90rpx;
  423. }
  424. .btn1 {
  425. background: white;
  426. color: #00C265;
  427. }
  428. }
  429. .content2 {
  430. background: white;
  431. margin: 20rpx 0;
  432. border-radius: 20rpx;
  433. padding: 20rpx;
  434. .row {
  435. display: flex;
  436. .left {
  437. display: flex;
  438. align-items: center;
  439. .item1 {
  440. position: relative;
  441. .item-content {
  442. background: #617AE0;
  443. width: 44px;
  444. height: 44px;
  445. border-radius: 22px;
  446. line-height: 44px;
  447. text-align: center;
  448. font-size: 15px;
  449. color: #fff;
  450. }
  451. .status {
  452. position: absolute;
  453. border-radius: 50%;
  454. padding: 0px 2px;
  455. right: -3px;
  456. bottom: -3px;
  457. background: #fff;
  458. }
  459. .status.success {
  460. border: 1px solid rgb(60, 156, 255);
  461. }
  462. .status.error {
  463. border: 1px solid rgb(245, 108, 108);
  464. }
  465. .status.question {
  466. border: 1px solid #f9ae3d;
  467. }
  468. }
  469. }
  470. .right {
  471. width: 80%;
  472. // color: #B0B1B5;
  473. margin-top: 10px;
  474. .right-content {
  475. background: #F2F3F7;
  476. margin-left: 10px;
  477. margin-top: 10px;
  478. padding: 10px;
  479. border-radius: 5px;
  480. color: #B0B1B5;
  481. }
  482. .right-item {
  483. display: flex;
  484. justify-content: space-between;
  485. .time {
  486. color: #999;
  487. }
  488. .item2 {
  489. margin-left: 20rpx;
  490. margin-top: -7px;
  491. .name {
  492. font-size: 28rpx;
  493. font-weight: 800;
  494. margin-bottom: 4px;
  495. }
  496. .status.success {
  497. color: #6CC48C;
  498. }
  499. .status.error {
  500. color: rgb(245, 108, 108);
  501. }
  502. .status.question {
  503. color: #f9ae3d;
  504. }
  505. }
  506. }
  507. }
  508. }
  509. .row2 {
  510. display: flex;
  511. .item-content {
  512. background: #22C572;
  513. width: 30px;
  514. height: 30px;
  515. border-radius: 50%;
  516. line-height: 30px;
  517. text-align: center;
  518. font-size: 12px;
  519. color: #fff;
  520. padding: 0 2px;
  521. margin: 0 auto;
  522. }
  523. .status {
  524. position: absolute;
  525. top: 0;
  526. right: 0;
  527. }
  528. }
  529. .row-line {
  530. width: 1px;
  531. height: 30px;
  532. background: #F2F2F2;
  533. margin: 10rpx 50rpx;
  534. }
  535. .audit {
  536. margin-top: 20rpx;
  537. }
  538. }
  539. .u-form {
  540. margin: 20rpx;
  541. background: #fff;
  542. border-radius: 10px;
  543. padding: 30rpx 10px;
  544. .u-form-item {
  545. line-height: 30px;
  546. padding: 0px 0;
  547. font-size: 26rpx;
  548. }
  549. }
  550. .u-textarea-style {
  551. margin: 20rpx;
  552. background: #F9F9FA;
  553. border-radius: 10px;
  554. border: 1px solid #EEEEEE;
  555. padding: 10rpx 20rpx;
  556. position: relative;
  557. height:240px;
  558. /deep/.uni-textarea-textarea{
  559. width: 80%;
  560. }
  561. .right-bottom {
  562. position: absolute;
  563. right: 20rpx;
  564. bottom: 20rpx;
  565. color: #AFB3BF;
  566. }
  567. }
  568. .form_top {
  569. border-bottom: 1px solid #F5F6FA;
  570. padding-bottom: 10px;
  571. margin-bottom: 18rpx;
  572. font-size: 30rpx;
  573. font-weight: 600;
  574. }
  575. .form_view{
  576. margin: 20rpx 0;
  577. border-radius: 20rpx;
  578. background: #F9F9FA;
  579. padding: 30rpx 20rpx;
  580. margin-top: 30rpx;
  581. }
  582. .label_css {
  583. font-size: 26rpx;
  584. color: #878C9C;
  585. }
  586. .input_css {
  587. font-size: 20rpx;
  588. }
  589. .img_item {
  590. display: flex;
  591. width: 100%;
  592. margin: 10px 0;
  593. padding: 0 10rpx;
  594. .imgsign{
  595. width: 25px;
  596. height: 25px;
  597. margin-top: 6px;
  598. }
  599. .char_css {
  600. font-size: 28rpx;
  601. font-weight: 600;
  602. display: -webkit-box;
  603. overflow: hidden;
  604. /*! autoprefixer: off; */
  605. -webkit-box-orient: vertical;
  606. -webkit-line-clamp: 1;
  607. -webkit-box-orient: vertical;
  608. text-overflow: ellipsis;
  609. word-break: break-all;
  610. }
  611. .img_size{
  612. color: #B0B3BF;
  613. font-size: 12px;
  614. margin-top: 5px;
  615. }
  616. .img_dowload {
  617. width: 14%;
  618. color: #22C572;
  619. text-align: right;
  620. }
  621. }
  622. .shade {
  623. position: fixed;
  624. top: 0;
  625. left: 0;
  626. height: 100%;
  627. width: 100%;
  628. background: rgba(0, 0, 0, 0.4);
  629. z-index: 3;
  630. .wrap {
  631. position: absolute;
  632. left: 0;
  633. top: 0;
  634. right: 0;
  635. bottom: 0;
  636. margin: auto;
  637. background: #fff;
  638. width: calc(100% - 198rpx);
  639. height: 700rpx;
  640. border-radius: 20rpx;
  641. .alert-top {
  642. padding: 33rpx;
  643. display: flex;
  644. justify-content: center;
  645. align-items: center;
  646. position: relative;
  647. }
  648. .title {
  649. font-size: 32rpx;
  650. font-weight: 600;
  651. color: #333333;
  652. }
  653. .close {
  654. position: absolute;
  655. right: 33rpx;
  656. }
  657. }
  658. }
  659. .cancel,
  660. .confirm {
  661. position: absolute;
  662. display: inline-block;
  663. width: 50%;
  664. text-align: center;
  665. bottom: 0;
  666. padding: 10px;
  667. border-top: 1px solid #eee;
  668. font-size: 34rpx;
  669. }
  670. .cancel {
  671. left: 0;
  672. border-right: 1px solid #eee;
  673. color: #AFB3BF;
  674. }
  675. .confirm {
  676. right: 0;
  677. color: #22C572;
  678. }
  679. .topInfo {
  680. height: 210rpx;
  681. background: linear-gradient(270deg, #22C572 0%, #34DE8A 100%);
  682. padding: 30rpx;
  683. .topInfo-item {
  684. height: 150rpx;
  685. background-color: #FFFFFF;
  686. border-radius: 20rpx;
  687. padding: 40rpx;
  688. .logo {
  689. width: 40rpx;
  690. height: 40rpx;
  691. margin-top: 8rpx;
  692. }
  693. .infoText {
  694. font-size: 36rpx;
  695. font-weight: 600;
  696. margin-left: 20rpx;
  697. }
  698. .infoData {
  699. color: #878C9C;
  700. font-size: 26rpx;
  701. margin-top: 10rpx;
  702. }
  703. }
  704. }
  705. </style>