hallpay.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790
  1. <template>
  2. <view class="center">
  3. <view class="top">
  4. <view class="top-main">
  5. <view class="num" style="color: #888888;">挂售价格¥{{ info.price }}</view>
  6. <!-- <image class="top-image" src="../../static/img/copy.png" mode=""></image> -->
  7. </view>
  8. <view class="top-main" style="margin-top: 30rpx;">
  9. <view class="num">
  10. <text>实际支付¥ {{ info.actual_price }}</text>
  11. </view>
  12. <!-- <image class="top-image" src="../../static/img/copy.png" mode=""></image> -->
  13. </view>
  14. <view v-if="status == 1">
  15. <view class="downtime"
  16. v-if="stopTime.stopTimeH < 0 || stopTime.stopTimeM < 0 || stopTime.stopTimeS < 0">订单已过期</view>
  17. <view class="downtime" v-else>
  18. <uni-countdowns color="#FFFFFF" splitor-color="#FD3B39" background-color="#FD3B39"
  19. border-color="#FD3B39" :show-day="false" :hour="stopTime.stopTimeH" :minute="stopTime.stopTimeM"
  20. :second="stopTime.stopTimeS"></uni-countdowns>
  21. </view>
  22. </view>
  23. </view>
  24. <view class="product flex">
  25. <image class="product-image" :src="info.image" mode=""></image>
  26. <view class="product-info">
  27. <view class="title">{{ info.name }}</view>
  28. <view class="title buyId">
  29. <text>卖家ID:</text>
  30. {{ info.collection_id }}
  31. </view>
  32. <view class="title buyName">
  33. <text>卖家昵称:</text>
  34. {{ info.c_nickname }}
  35. </view>
  36. <view class="title buyPhone">
  37. <text>卖家手机号:</text>
  38. {{ zfb != '' ? zfb.phone : wx != '' ? wx.phone : bank.phone }}
  39. </view>
  40. </view>
  41. </view>
  42. <view class="main">
  43. <view class="main-tip">请向以下账号自行转账(任选一种方式)</view>
  44. <view class="main-title flex">
  45. <view class="main-item">
  46. <view class="mt-item" @click="change('0')" :class="{ current: tabCurrentIndex === 0 }"
  47. v-if="zfb != ''">
  48. <image class="mt-image"
  49. :src="tabCurrentIndex == 0 ? '../../static/img/aliD.png' : '../../static/img/ali.png'"
  50. mode=""></image>
  51. <view class="mt-font" :class="{ current: tabCurrentIndex === 0 }">支付宝</view>
  52. </view>
  53. </view>
  54. <view class="main-item">
  55. <view class="mt-item" @click="change('1')" :class="{ current: tabCurrentIndex === 1 }"
  56. v-if="bank != ''">
  57. <image class="mt-image1"
  58. :src="tabCurrentIndex == 1 ? '../../static/img/bankD.png' : '../../static/img/bank.png'"
  59. mode=""></image>
  60. <view class="mt-font" :class="{ current: tabCurrentIndex === 1 }">银行卡</view>
  61. </view>
  62. </view>
  63. <view class="main-item">
  64. <view class="mt-item" @click="change('2')" :class="{ current: tabCurrentIndex === 2 }"
  65. v-if="wx != ''">
  66. <image class="mt-image2"
  67. :src="tabCurrentIndex == 2 ? '../../static/img/yueD.png' : '../../static/img/yue.png'"
  68. mode=""></image>
  69. <view class="mt-font" :class="{ current: tabCurrentIndex === 2 }">微信</view>
  70. </view>
  71. </view>
  72. </view>
  73. <swiper class="swiper-box" :duration="500" @change="changeTab"
  74. :style="{ height: tabCurrentIndex == 2 ? '450rpx' : tabCurrentIndex == 1 ? '340rpx' : '450rpx' }"
  75. :current="tabCurrentIndex" disable-touch>
  76. <swiper-item class="tab-content" v-if="zfb != ''">
  77. <scroll-view scroll-y="true" style="height: 100%;">
  78. <view class="tc-item flex">
  79. <view class="tcitem-name">账号</view>
  80. <view class="ali-name">{{ zfb.payment }}</view>
  81. <image class="tcitem-image" src="../../static/img/copy.png" mode=""
  82. @click="copy(zfb.payment)"></image>
  83. </view>
  84. <view class="tc-item flex">
  85. <view class="tcitem-name">姓名</view>
  86. <view class="ali-name">{{ zfb.name }}</view>
  87. <image class="tcitem-image" src="../../static/img/copy.png" mode="" @click="copy(zfb.name)">
  88. </image>
  89. </view>
  90. <view class="tc-item">
  91. <view class="upload-title" style="color: #9d9d9d;">支付宝二维码</view>
  92. <view class="upload-main" @click="lookimg(zfb.image)">
  93. <image class="upload-image" :src="zfb.image" mode="aspectFit"></image>
  94. </view>
  95. </view>
  96. </scroll-view>
  97. </swiper-item>
  98. <swiper-item class="tab-content" v-else></swiper-item>
  99. <swiper-item class="tab-content" v-if="bank != ''">
  100. <scroll-view scroll-y="true" style="height: 100%;">
  101. <view class="tc-item flex">
  102. <view class="tcitem-name">姓名</view>
  103. <view class="ali-name">{{ bank.name }}</view>
  104. <image class="tcitem-image" src="../../static/img/copy.png" mode=""
  105. @click="copy(bank.name)"></image>
  106. </view>
  107. <view class="tc-item flex">
  108. <view class="tcitem-name">银行</view>
  109. <view class="ali-name">{{ bank.bank }}</view>
  110. <image class="tcitem-image" src="../../static/img/copy.png" mode=""
  111. @click="copy(bank.bank)"></image>
  112. </view>
  113. <view class="tc-item flex">
  114. <view class="tcitem-name">支行</view>
  115. <view class="ali-name">{{ bank.bank_name }}</view>
  116. <image @click="copy(bank.bank_name)" class="tcitem-image" src="../../static/img/copy.png"
  117. mode=""></image>
  118. </view>
  119. <view class="tc-item flex">
  120. <view class="tcitem-name">账号</view>
  121. <view class="ali-name">{{ bank.payment }}</view>
  122. <image class="tcitem-image" src="../../static/img/copy.png" mode=""
  123. @click="copy(bank.payment)"></image>
  124. </view>
  125. </scroll-view>
  126. </swiper-item>
  127. <swiper-item class="tab-content" v-else></swiper-item>
  128. <swiper-item class="tab-content" v-if="wx != ''">
  129. <scroll-view scroll-y="true" style="height: 100%;">
  130. <view class="tc-item flex">
  131. <view class="tcitem-name">账号</view>
  132. <view class="ali-name">{{ wx.payment }}</view>
  133. <image class="tcitem-image" src="../../static/img/copy.png" mode=""
  134. @click="copy(wx.payment)"></image>
  135. </view>
  136. <view class="tc-item flex">
  137. <view class="tcitem-name">姓名</view>
  138. <view class="ali-name">{{ wx.name }}</view>
  139. <image class="tcitem-image" src="../../static/img/copy.png" mode="" @click="copy(wx.name)">
  140. </image>
  141. </view>
  142. <view class="tc-item">
  143. <view class="upload-title" style="color: #9d9d9d;">微信二维码</view>
  144. <view class="upload-main" @click="lookimg(wx.image)">
  145. <image class="upload-image" :src="wx.image" mode="aspectFit"></image>
  146. </view>
  147. </view>
  148. </scroll-view>
  149. </swiper-item>
  150. <swiper-item class="tab-content" v-else></swiper-item>
  151. </swiper>
  152. </view>
  153. <view class="upload">
  154. <view class="upload-title">上传支付截图</view>
  155. <view class="upload-main">
  156. <image class="upload-image" src="../../static/img/add.png" mode="" v-if="!image" @click="uploads">
  157. </image>
  158. <image class="upload-image" :src="image" mode="" @click="uploads" v-if="image"></image>
  159. <view class="upload-font">点击上传支付截图</view>
  160. </view>
  161. </view>
  162. <view class="contentBottomHeight"></view>
  163. <view class="bottom flex">
  164. <view class="bottom-item" @click.stop="tocall()">
  165. <image class="bi-image" src="../../static/img/call.png" mode=""></image>
  166. <view class="bottom-font">联系卖家</view>
  167. </view>
  168. <view class="shu"></view>
  169. <view class="bottom-item" @click.stop="openKf()">
  170. <image class="bi-image" src="../../static/img/kf.png" mode=""></image>
  171. <view class="bottom-font">联系客服</view>
  172. </view>
  173. <view class="btn" @click.stop="buy()">完成上传</view>
  174. </view>
  175. <uni-popup ref="popupkf" type="center">
  176. <view class="popup-box">
  177. <view class="img">
  178. <image src="../../static/img/img009.png" mode=""></image>
  179. </view>
  180. <view class="mian">
  181. <view class="delivery">
  182. <view class="title">已经为您定制专属客服</view>
  183. <image src="../../static/img/img010.png" mode=""></image>
  184. </view>
  185. <view class="nocancel">客服VX:{{ text }}</view>
  186. <view class="comfirm-box">
  187. <view class="cancel" @click="cancel">取消</view>
  188. <view class="comfirm" @click="copy(text)">复制微信</view>
  189. </view>
  190. </view>
  191. </view>
  192. </uni-popup>
  193. <canvas canvas-id="canvas" v-if="canvasStatus"
  194. :style="{width: canvasWidth + 'px', height: canvasHeight + 'px',position: 'absolute',left:'-100000px',top:'-100000px'}"></canvas>
  195. <uni-popup ref="popup" type="center">
  196. <view class="alertprogress">
  197. {{progress}}%
  198. </view>
  199. </uni-popup>
  200. </view>
  201. </template>
  202. <script>
  203. import uniCountdowns from '@/components/uni-countdown/uni-countdowns.vue';
  204. import uniCopy from '@/components/js_sdk/xb-copy/uni-copy.js';
  205. import {
  206. user_auction_order,
  207. upload,
  208. up_image,
  209. edit_voucher,
  210. time
  211. } from '@/api/order.js';
  212. import {
  213. timeComputed
  214. } from '@/utils/rocessor.js';
  215. // import { json } from 'node:stream/consumers';
  216. export default {
  217. components: {
  218. uniCountdowns
  219. },
  220. data() {
  221. return {
  222. type: 1,
  223. // 倒计时
  224. stopTime: {
  225. stopTimeH: 0,
  226. stopTimeM: 0,
  227. stopTimeS: 0
  228. },
  229. tabCurrentIndex: 0,
  230. id: '',
  231. info: '',
  232. bank: '',
  233. wx: '',
  234. zfb: '',
  235. image: '',
  236. status: 1,
  237. text: '123456',
  238. payTime: '',
  239. upFileLoding: false,
  240. canvasStatus: false,
  241. canvasWidth: 0,
  242. canvasHeight: 0,
  243. progress: 0,
  244. };
  245. },
  246. onLoad(option) {
  247. this.id = option.ordid;
  248. this.getpayTime();
  249. if (option.type) {
  250. this.type = option.type;
  251. }
  252. },
  253. methods: {
  254. uploads() {
  255. const that = this;
  256. if (that.upFileLoding) {
  257. return
  258. }
  259. that.upFileLoding = true;
  260. setTimeout(() => {
  261. that.upFileLoding = false;
  262. }, 1000);
  263. that.canvasStatus = true;
  264. upload({
  265. filename: ''
  266. }, (res) => {
  267. that.image = res[0].url;
  268. that.canvasStatus = false
  269. }, (res) => {
  270. that.canvasStatus = false
  271. }, (res) => {
  272. that.canvasWidth = res.w
  273. that.canvasHeight = res.h
  274. }, (res) => {
  275. // console.log(res,'res');
  276. if (res.progress == 100) {
  277. this.$refs.popup.close()
  278. uni.showToast({
  279. title: '上传成功'
  280. });
  281. } else if (res.progress == 0) {
  282. this.$refs.popup.open()
  283. }
  284. that.progress = res.progress;
  285. // console.log(res,'进度条');
  286. })
  287. },
  288. getpayTime() {
  289. time().then(({
  290. data
  291. }) => {
  292. this.payTime = data.tow_time * 1 * 60;
  293. this.loadData();
  294. });
  295. },
  296. loadData() {
  297. user_auction_order({
  298. type: 1,
  299. order_id: this.id
  300. }).then(({
  301. data
  302. }) => {
  303. let time = data.time * 1 > data.radd_time * 1 ? data.time : data.radd_time;
  304. let now_time = '';
  305. if (data.auction_gu.end_time_two) {
  306. now_time = timeComputed(time + data.auction_gu.end_time_two * 1 * 60);
  307. } else {
  308. now_time = timeComputed(time + this.payTime);
  309. }
  310. this.status = data.status;
  311. this.stopTime.stopTimeH = now_time.hours;
  312. this.stopTime.stopTimeM = now_time.minutes;
  313. this.stopTime.stopTimeS = now_time.seconds;
  314. this.info = data;
  315. this.zfb = data.zfb;
  316. this.wx = data.wx;
  317. this.bank = data.bank;
  318. console.log(data.zfb.length, '123456');
  319. if (data.zfb.length == []) {
  320. this.tabCurrentIndex = 1;
  321. if (data.bank.length == []) {
  322. this.tabCurrentIndex = 2;
  323. }
  324. }
  325. console.log(this.tabCurrentIndex);
  326. });
  327. },
  328. nav(url) {
  329. uni.navigateTo({
  330. url
  331. });
  332. },
  333. copy(value) {
  334. let obj = this;
  335. let content = value; //需要复制的内容
  336. console.log('复制的内容:', content);
  337. // content = typeof content === 'string' ? content : content.toString(); // 复制内容,必须字符串,数字需要转换为字符串
  338. const result = uniCopy(content);
  339. if (result === false) {
  340. uni.showToast({
  341. title: '不支持'
  342. });
  343. } else {
  344. uni.showToast({
  345. title: '复制成功',
  346. icon: 'none'
  347. });
  348. }
  349. },
  350. tocall() {
  351. let num = this.zfb != '' ? this.zfb.phone : this.wx != '' ? this.wx.phone : this.bank.phone;
  352. console.log(num);
  353. uni.makePhoneCall({
  354. phoneNumber: num //仅为示例
  355. });
  356. },
  357. // 查看大图
  358. lookimg(src) {
  359. console.log(src);
  360. let arr = [src];
  361. uni.previewImage({
  362. current: src,
  363. urls: arr
  364. });
  365. },
  366. //swiper 切换
  367. changeTab(e) {
  368. this.tabCurrentIndex = e.target.current;
  369. },
  370. toBack() {
  371. uni.navigateBack({});
  372. },
  373. change(num) {
  374. this.tabCurrentIndex = num * 1;
  375. },
  376. // 打开客服
  377. openKf() {
  378. this.$refs.popupkf.open();
  379. },
  380. // 关闭客服
  381. cancel() {
  382. this.$refs.popupkf.close();
  383. },
  384. buy() {
  385. if (this.image == '') {
  386. return this.$api.msg('请上传支付凭证');
  387. }
  388. if (this.type == 1) {
  389. up_image({
  390. id: this.info.id,
  391. image: this.image
  392. }).then(({
  393. data
  394. }) => {
  395. uni.navigateTo({
  396. url: '/pages/money/success'
  397. });
  398. });
  399. }
  400. if (this.type == 2) {
  401. edit_voucher({
  402. order_id: this.id,
  403. image: this.image
  404. }).then(({
  405. data
  406. }) => {
  407. uni.navigateTo({
  408. url: '/pages/money/success'
  409. });
  410. });
  411. }
  412. }
  413. }
  414. };
  415. </script>
  416. <style lang="less">
  417. .center {
  418. background: #f8f6f6;
  419. min-height: 100%;
  420. height: auto;
  421. }
  422. .top {
  423. margin-top: 10rpx;
  424. background-color: #ffffff;
  425. padding: 56rpx 0;
  426. display: flex;
  427. flex-direction: column;
  428. justify-content: center;
  429. align-items: center;
  430. .top-main {
  431. display: flex;
  432. justify-content: center;
  433. align-items: center;
  434. line-height: 1;
  435. .num {
  436. font-size: 28rpx;
  437. font-family: PingFang SC;
  438. font-weight: bold;
  439. color: #fd3b39;
  440. text {
  441. font-size: 50rpx;
  442. }
  443. }
  444. .top-image {
  445. margin-left: 10rpx;
  446. width: 26rpx;
  447. height: 28rpx;
  448. }
  449. }
  450. .downtime {
  451. margin-top: 20rpx;
  452. }
  453. }
  454. .product {
  455. margin-top: 20rpx;
  456. padding: 35rpx 35rpx 40rpx 35rpx;
  457. background-color: #ffffff;
  458. justify-content: flex-start;
  459. align-items: flex-start;
  460. .product-image {
  461. width: 210rpx;
  462. height: 210rpx;
  463. border-radius: 10rpx;
  464. }
  465. .product-info {
  466. margin-left: 26rpx;
  467. padding-top: 10rpx;
  468. line-height: 1;
  469. .title {
  470. line-height: 1;
  471. font-size: 30rpx;
  472. font-family: PingFang SC;
  473. font-weight: bold;
  474. color: #333333;
  475. text {
  476. color: #999999;
  477. }
  478. }
  479. .buyId {
  480. margin-top: 30rpx;
  481. }
  482. .buyName {
  483. margin-top: 24rpx;
  484. }
  485. .buyPhone {
  486. margin-top: 24rpx;
  487. }
  488. }
  489. }
  490. .main {
  491. margin-top: 20rpx;
  492. padding: 30rpx 0 40rpx;
  493. background: #ffffff;
  494. .main-tip {
  495. padding: 0 30rpx;
  496. font-size: 30rpx;
  497. font-family: PingFang SC;
  498. font-weight: 500;
  499. color: #999999;
  500. }
  501. .main-title {
  502. margin-top: 34rpx;
  503. justify-content: flex-start;
  504. .current {
  505. background: linear-gradient(143.2747deg, #ff6a00, #ee0979) !important;
  506. color: #ffffff !important;
  507. }
  508. .main-item {
  509. width: 33%;
  510. }
  511. .mt-item {
  512. margin: 0 auto;
  513. width: 160rpx;
  514. height: 60rpx;
  515. background: #f8f8f8;
  516. border-radius: 10rpx;
  517. display: flex;
  518. justify-content: center;
  519. align-items: center;
  520. .mt-image {
  521. width: 32rpx;
  522. height: 32rpx;
  523. }
  524. .mt-image1 {
  525. width: 38rpx;
  526. height: 32rpx;
  527. }
  528. .mt-image2 {
  529. width: 36rpx;
  530. height: 32rpx;
  531. }
  532. .mt-font {
  533. margin-left: 10rpx;
  534. font-size: 30rpx;
  535. font-family: PingFang SC;
  536. font-weight: bold;
  537. color: #333333;
  538. }
  539. }
  540. }
  541. .swiper-box {
  542. width: 100%;
  543. padding: 14rpx 30rpx 0;
  544. .tc-item {
  545. padding: 50rpx 2rpx 0;
  546. line-height: 1;
  547. .tcitem-name {
  548. width: 118rpx;
  549. font-size: 30rpx;
  550. font-family: PingFang SC;
  551. font-weight: 500;
  552. color: #999999;
  553. }
  554. .ali-name {
  555. width: 380rpx;
  556. font-size: 30rpx;
  557. font-family: PingFang SC;
  558. font-weight: 500;
  559. color: #333333;
  560. }
  561. .tcitem-image {
  562. width: 26rpx;
  563. height: 28rpx;
  564. }
  565. }
  566. }
  567. }
  568. .upload-image {
  569. width: 160rpx;
  570. height: 160rpx;
  571. border-radius: 10rpx;
  572. }
  573. .upload-title {
  574. font-size: 30rpx;
  575. font-family: PingFang SC;
  576. font-weight: bold;
  577. color: #333333;
  578. }
  579. .upload-main {
  580. padding-top: 32rpx;
  581. display: flex;
  582. justify-content: center;
  583. align-items: center;
  584. flex-direction: column;
  585. .upload-font {
  586. margin-top: 24rpx;
  587. font-size: 30rpx;
  588. font-family: PingFang SC;
  589. font-weight: bold;
  590. color: #333333;
  591. }
  592. }
  593. .upload {
  594. margin-top: 20rpx;
  595. padding: 34rpx 30rpx 40rpx 30rpx;
  596. background: #ffffff;
  597. }
  598. .bottom {
  599. position: fixed;
  600. bottom: 0;
  601. background: #ffffff;
  602. width: 750rpx;
  603. height: 146rpx;
  604. justify-content: flex-start;
  605. .bottom-item {
  606. margin-left: 30rpx;
  607. display: flex;
  608. flex-direction: column;
  609. align-items: center;
  610. .bi-image {
  611. width: 38rpx;
  612. height: 34rpx;
  613. }
  614. .bottom-font {
  615. margin-top: 14rpx;
  616. font-size: 24rpx;
  617. font-family: PingFang SC;
  618. font-weight: bold;
  619. color: #333333;
  620. }
  621. .bottom-num {
  622. line-height: 1;
  623. font-size: 24rpx;
  624. font-family: PingFang SC;
  625. font-weight: bold;
  626. color: #333333;
  627. }
  628. }
  629. .shu {
  630. margin-left: 20rpx;
  631. width: 2px;
  632. height: 74rpx;
  633. background: #c0bfc0;
  634. }
  635. .btn {
  636. margin-left: 20rpx;
  637. width: 430rpx;
  638. height: 80rpx;
  639. background: #fd3b39;
  640. border-radius: 20rpx;
  641. text-align: center;
  642. font-size: 34rpx;
  643. font-family: PingFang SC;
  644. font-weight: bold;
  645. color: #ffffff;
  646. line-height: 80rpx;
  647. }
  648. }
  649. // 文章页底部高度撑开
  650. .contentBottomHeight {
  651. height: 150rpx;
  652. }
  653. .popup-box {
  654. width: 522rpx;
  655. height: 605rpx;
  656. background-color: #ffffff;
  657. border-radius: 20rpx;
  658. position: relative;
  659. .img {
  660. position: relative;
  661. top: -56rpx;
  662. left: 0;
  663. width: 522rpx;
  664. height: 132rpx;
  665. display: flex;
  666. justify-content: center;
  667. image {
  668. border-radius: 20rpx 20rpx 0 0;
  669. width: 450rpx;
  670. height: 132rpx;
  671. }
  672. }
  673. .mian {
  674. margin-top: -44rpx;
  675. display: flex;
  676. flex-direction: column;
  677. align-items: center;
  678. // padding: 32rpx 32rpx;
  679. background-color: #ffffff;
  680. border-radius: 0 0 20rpx 20rpx;
  681. text-align: center;
  682. .delivery {
  683. font-size: 40rpx;
  684. color: #333333;
  685. display: flex;
  686. align-items: center;
  687. flex-direction: column;
  688. .title {}
  689. image {
  690. margin-top: 48rpx;
  691. width: 172rpx;
  692. height: 160rpx;
  693. }
  694. }
  695. .nocancel {
  696. font-size: 32rpx;
  697. color: #333333;
  698. margin-top: 14rpx;
  699. }
  700. .comfirm-box {
  701. margin-top: 52rpx;
  702. display: flex;
  703. // margin-bottom: 32rpx;
  704. // justify-content: space-around;
  705. .cancel {
  706. display: flex;
  707. align-items: center;
  708. justify-content: center;
  709. width: 197rpx;
  710. height: 74rpx;
  711. border: 1px solid #dcc786;
  712. border-radius: 38rpx;
  713. font-size: 32rpx;
  714. color: #605128;
  715. }
  716. .comfirm {
  717. margin-left: 32rpx;
  718. display: flex;
  719. align-items: center;
  720. justify-content: center;
  721. width: 197rpx;
  722. height: 74rpx;
  723. background: linear-gradient(-90deg, #d1ba77 0%, #f7e8ad 100%);
  724. border-radius: 38px;
  725. font-size: 32rpx;
  726. color: #605128;
  727. }
  728. }
  729. }
  730. }
  731. </style>