You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

order_payment.vue 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763
  1. <template>
  2. <navBar title="订单支付" :scrollTop="scrollTop" :orderId="state.orderId" navbgClass="nav-bgXin" fontColor='#fff'>
  3. </navBar>
  4. <navBgCar :activeNum='5'></navBgCar>
  5. <view class="content-value">
  6. <view class="t-card">
  7. <view @click="savaHandle(item)" class="ul-item" v-for="(item, index) in state.dataArray" :key="index">
  8. <image style="width: 100%; height: 146rpx;" :src="`${$imgUrl}issuance/equity-bg.png`"
  9. mode='scaleToFill'>
  10. </image>
  11. <view class="item-value">
  12. <view class="money">
  13. <text class='unit'>¥</text>
  14. <text>{{ item.fee * 0.01 }}</text>
  15. </view>
  16. <view class="content">
  17. <view class="title">
  18. {{ item.payName }}
  19. </view>
  20. </view>
  21. <view class="r-btn">
  22. {{ item.payStatusName }}
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </template>
  29. <script setup lang="ts">
  30. import { onLoad, onPageScroll,onShow } from "@dcloudio/uni-app";
  31. import { reactive, ref } from "vue";
  32. import {
  33. PAYMENTORDERAPPLY,
  34. aliPayConfigIdTwo,
  35. obtainUserId,
  36. getOpenId, payApply, payQuery,orderQueryDetail
  37. } from "@/utils/network/api.js";
  38. import { request, requestNew } from "@/utils/network/request.js";
  39. import { stringToJson } from "@/utils/network/encryption";
  40. import { fileURL } from "@/datas/fileURL.js";
  41. import navBgCar from "./components/nav-bg-car1";
  42. import navBar from "@/components/nav-bar/nav-bar2.vue";
  43. const imgURL = `${fileURL}image/`;
  44. import { confirm, navTo } from "@/utils/utils";
  45. import {
  46. OrderStatus
  47. } from "@/datas/enum";
  48. import useOrderSkip from "@/composables/order/useOrderSkip";
  49. const { gotoActiveOrder } = useOrderSkip();
  50. import {
  51. setItem
  52. } from "@/utils/storage";
  53. const tools = require("../../static/etcUtil/tools.js");
  54. let imageUrl = ""
  55. let logo
  56. const scrollTop = ref(0); //滚动距离
  57. var counter = 0;
  58. function myFunc() {
  59. counter++;
  60. console.log("====")
  61. if (counter == 2) {
  62. clearInterval(intervalId);
  63. state.isclick = true
  64. console.log("改为true");
  65. }
  66. }
  67. var intervalId = setInterval(myFunc, 2000);
  68. const savaHandle = (val) => {
  69. console.log("val", val, state.isclick)
  70. if (state.isclick) {
  71. if (val.payStatus == "SUCCESS") {
  72. return;
  73. }
  74. state.isclick = false
  75. console.log("state.isclick", state.isclick, val.payStatus)
  76. uni.getLocation({
  77. type: 'gcj02',
  78. success: function (res) {
  79. console.log("经纬福", res)
  80. state.longitude = res.longitude;
  81. state.latitude = res.latitude;
  82. if (val.payStatus === 'UNPAY') {
  83. myFunc()
  84. // #ifdef MP-ALIPAY
  85. my.getAuthCode({
  86. scopes: 'auth_base',
  87. success: res => {
  88. const optionsUser = {
  89. type: 2,
  90. data: {
  91. payConfigId: aliPayConfigIdTwo,
  92. code: res.authCode
  93. },
  94. method: "POST",
  95. showLoading: true,
  96. };
  97. console.log('支付宝用户编号请求:', optionsUser)
  98. requestNew(obtainUserId, optionsUser).then((res) => {
  99. console.log('支付宝用户编号返回:', res)
  100. const data = res;
  101. const optionsali = {
  102. type: 2,
  103. data: {
  104. orderId: state.orderId,
  105. wxOpenid: data.openId ? data.openId : data.alipayUserId,
  106. payType: val.payType
  107. },
  108. method: "POST",
  109. showLoading: true,
  110. };
  111. console.log('支付下单请求:', optionsali)
  112. requestNew(PAYMENTORDERAPPLY, optionsali).then((res) => {
  113. const data = res;
  114. console.log('支付下单返回:', data)
  115. my.tradePay({
  116. // 调用统一收单交易创建接口(alipay.trade.create),获得返回字段支付宝交易号 trade_no
  117. tradeNO: data.tranPackage,
  118. success: res => {
  119. console.log("支付成功", res);
  120. refresh();
  121. },
  122. fail: res => {
  123. console.log("支付失败", res);
  124. },
  125. });
  126. },
  127. (err) => {
  128. state.isclick = true
  129. console.log("err")
  130. }
  131. );
  132. });
  133. },
  134. fail: err => {
  135. console.log('my.getAuthCode 调用失败', err)
  136. state.isclick = true
  137. }
  138. });
  139. // #endif
  140. // #ifdef MP-WEIXIN
  141. const options = {
  142. type: 2,
  143. data: {
  144. orderId: state.orderId,
  145. wxOpenId: state.openidData.openid,
  146. payType: val.payType,
  147. longitude: state.longitude, //经度
  148. latitude: state.latitude //纬度
  149. },
  150. method: "POST",
  151. showLoading: true,
  152. };
  153. requestNew(payApply, options).then((res) => {
  154. const data = res;
  155. console.log("data======111", data)
  156. if (data) {
  157. console.log("进来了")
  158. uni.requestPayment({
  159. provider: "wxpay",
  160. orderInfo: "",
  161. timeStamp: data.timestamp,
  162. nonceStr: data.noncestr,
  163. package: data.wxPackage ? data.wxPackage : "",
  164. signType: data.signType,
  165. paySign: data.sign,
  166. success: function (e) {
  167. console.log("支付成功", res);
  168. refresh();
  169. },
  170. fail: function (err) {
  171. state.isclick = true
  172. confirm(err, () => { }, "支付失败", false);
  173. },
  174. });
  175. } else {
  176. state.isclick = true
  177. console.log("state.isclick", state.isclick)
  178. }
  179. },
  180. (err) => {
  181. state.isclick = true
  182. console.log("err")
  183. }
  184. );
  185. // #endif
  186. }
  187. },
  188. })
  189. }
  190. };
  191. const refresh = () => {
  192. state.isclick = true
  193. let source = ""
  194. // #ifdef MP-ALIPAY
  195. source = "ALI"
  196. // #endif
  197. // #ifdef MP-WEIXIN
  198. source = "WECHAT"
  199. // #endif
  200. var data = {
  201. orderId: state.orderId,
  202. wxOpenId: state.openidData.openid,
  203. };
  204. const options = {
  205. type: 2,
  206. data: data,
  207. method: "POST",
  208. showLoading: true,
  209. };
  210. console.log("输出内容", options);
  211. requestNew(payQuery, options).then((res) => {
  212. console.log("res====", res)
  213. const data = res;
  214. console.log(data);
  215. if (data.paymentStatus == 'ALLSUCCESS') {
  216. gotoEditUserOrUnitInfo()
  217. }
  218. state.dataArray = data.datas;
  219. for (let i = 0; i < state.dataArray.length; i++) {
  220. if (state.dataArray[i].payType === 'HANDLE') {
  221. state.dataArray[i].payName = '权益金'
  222. } else if (state.dataArray[i].payType === 'MARGIN') {
  223. state.dataArray[i].payName = '保证金'
  224. } else if (state.dataArray[i].payType === 'PRESTORE') {
  225. state.dataArray[i].payName = '预存金'
  226. } else if (state.dataArray[i].payType === 'EQUITY') {
  227. state.dataArray[i].payName = '权益费'
  228. } else if (state.dataArray[i].payType === 'REPAIROBU') {
  229. state.dataArray[i].payName = '增补obu'
  230. } else if (state.dataArray[i].payType === 'CHANGECARD') {
  231. state.dataArray[i].payName = '更换卡'
  232. } else if (state.dataArray[i].payType === 'CHANGEOBU') {
  233. state.dataArray[i].payName = '更换签'
  234. } else if (state.dataArray[i].payType === 'CHANGEALL') {
  235. state.dataArray[i].payName = '更换卡签'
  236. } else {
  237. state.dataArray[i].payName = '未知费'
  238. }
  239. if (state.dataArray[i].payStatus === 'SUCCESS') {
  240. state.dataArray[i].payStatusName = '已支付'
  241. } else if (state.dataArray[i].payStatus === 'PAYING') {
  242. state.dataArray[i].payStatusName = '支付中'
  243. } else if (state.dataArray[i].payStatus === 'FAILED') {
  244. state.dataArray[i].payStatusName = '支付失败'
  245. } else if (state.dataArray[i].payStatus === 'UNPAY') {
  246. state.dataArray[i].payStatusName = '未支付'
  247. } else if (state.dataArray[i].payStatus === 'CLOSED') {
  248. state.dataArray[i].payStatusName = '已关闭'
  249. } else if (state.dataArray[i].payStatus === 'CANCELED') {
  250. state.dataArray[i].payStatusName = '已撤销'
  251. } else if (state.dataArray[i].payStatus === 'REFUND') {
  252. state.dataArray[i].payStatusName = '转入退费'
  253. } else {
  254. state.dataArray[i].payStatusName = '未知'
  255. }
  256. }
  257. console.log("state.dataArray", state.dataArray)
  258. });
  259. }
  260. onShow(()=>{
  261. if(state.continue=1){
  262. orderDetail(state.orderId)
  263. }
  264. })
  265. // 车辆详情
  266. const orderDetail = (orderNo) => {
  267. const options = {
  268. type: 2,
  269. data: {
  270. orderNo
  271. },
  272. method: "POST",
  273. showLoading: true,
  274. };
  275. requestNew(orderQueryDetail, options).then((res) => {
  276. console.log("orderQueryDetail", res)
  277. if (res['orderStep'] == OrderStatus['待激活']) {
  278. // 待激活
  279. gotoActiveOrder(res)
  280. }
  281. })
  282. }
  283. onLoad((option : any) => {
  284. console.log("传递过来的到支付页面", option)
  285. state.orderId = option.orderId;
  286. state.isValueCard = option.isValueCard;
  287. state.vehicleId = option.vehicleId;
  288. state.orderQuery = option.orderQuery;
  289. state.qdSignUrl = option.qdSignUrl;
  290. state.qdSignAppId = option.qdSignAppId;
  291. state.qtSign = option.qtSign;
  292. // #ifdef MP-WEIXIN
  293. uni.login({
  294. provider: "weixin",
  295. success: function (e) {
  296. const options1 = {
  297. type: 2,
  298. data: {
  299. "jsCode": e.code
  300. },
  301. method: "POST",
  302. showLoading: true,
  303. };
  304. requestNew(getOpenId, options1).then((res) => {
  305. const result = res;
  306. state.openidData = stringToJson(result.data);
  307. refreshFirst()
  308. })
  309. },
  310. })
  311. // #endif
  312. // #ifdef MP-ALIPAY
  313. refreshFirst()
  314. // #endif
  315. });
  316. const refreshFirst = () => {
  317. let source = ""
  318. // #ifdef MP-ALIPAY
  319. imageUrl = imgURL + "applyCard/alibaba.png";
  320. source = "ALI"
  321. // #endif
  322. // #ifdef MP-WEIXIN
  323. imageUrl = imgURL + "applyCard/wechat.png";
  324. source = "WECHAT"
  325. // #endif
  326. var data = {
  327. orderId: state.orderId,
  328. wxOpenId: state.openidData.openid,
  329. };
  330. const options = {
  331. type: 2,
  332. data: data,
  333. method: "POST",
  334. showLoading: true,
  335. };
  336. console.log("输出内容", options);
  337. requestNew(payQuery, options).then((res) => {
  338. const data = res;
  339. console.log(data);
  340. if (data.paymentStatus == 'ALLSUCCESS') {
  341. // isValueCard 1 储值卡 2 记账卡
  342. if (state.orderQuery == '1') {
  343. console.log("state.qtSign",state.qtSign,state.qtSign=='0')
  344. if(state.qtSign=='0'){
  345. if(state.qdSignAppId){
  346. uni.navigateToMiniProgram({
  347. appId: state.qdSignAppId,
  348. path: state.qdSignUrl,
  349. extraData: {},
  350. envVersion:'trial',
  351. success(res) {
  352. state.continue=1
  353. console.log(res);
  354. },
  355. complete(res) {
  356. console.log(res);
  357. },
  358. fail(res) {
  359. console.log(res);
  360. // 未成功跳转到车主小程序
  361. },
  362. });
  363. }else{
  364. const params = encodeURIComponent(JSON.stringify(state.qdSignUrl))
  365. tools.toUrl(`/subpackage/personal-center/webview?url=` + params)
  366. }
  367. }else{
  368. // 签约
  369. navTo(
  370. `/subpackage/orders/release-products?orderId=${state.orderId}&orderQuery=${state.orderQuery}`,
  371. );
  372. }
  373. }else{
  374. if (state.isValueCard == 1) {
  375. // 不签约
  376. uni.switchTab({
  377. url: "/pages/order/order"
  378. })
  379. } else {
  380. // 签约
  381. navTo(
  382. `/subpackage/orders/release-products?orderId=${state.orderId}&orderQuery=${state.orderQuery}`,
  383. );
  384. }
  385. }
  386. }
  387. state.dataArray = data.datas;
  388. for (let i = 0; i < state.dataArray.length; i++) {
  389. if (state.dataArray[i].payType === 'HANDLE') {
  390. state.dataArray[i].payName = '权益金'
  391. } else if (state.dataArray[i].payType === 'MARGIN') {
  392. state.dataArray[i].payName = '保证金'
  393. } else if (state.dataArray[i].payType === 'PRESTORE') {
  394. state.dataArray[i].payName = '预存金'
  395. } else if (state.dataArray[i].payType === 'EQUITY') {
  396. state.dataArray[i].payName = '权益费'
  397. } else if (state.dataArray[i].payType === 'REPAIROBU') {
  398. state.dataArray[i].payName = '增补obu'
  399. } else if (state.dataArray[i].payType === 'CHANGECARD') {
  400. state.dataArray[i].payName = '更换卡'
  401. } else if (state.dataArray[i].payType === 'CHANGEOBU') {
  402. state.dataArray[i].payName = '更换签'
  403. } else if (state.dataArray[i].payType === 'CHANGEALL') {
  404. state.dataArray[i].payName = '更换卡签'
  405. } else {
  406. state.dataArray[i].payName = '未知费'
  407. }
  408. if (state.dataArray[i].payStatus === 'SUCCESS') {
  409. state.dataArray[i].payStatusName = '已支付'
  410. } else if (state.dataArray[i].payStatus === 'PAYING') {
  411. state.dataArray[i].payStatusName = '支付中'
  412. } else if (state.dataArray[i].payStatus === 'FAILED') {
  413. state.dataArray[i].payStatusName = '支付失败'
  414. } else if (state.dataArray[i].payStatus === 'UNPAY') {
  415. state.dataArray[i].payStatusName = '未支付'
  416. } else if (state.dataArray[i].payStatus === 'CLOSED') {
  417. state.dataArray[i].payStatusName = '已关闭'
  418. } else if (state.dataArray[i].payStatus === 'CANCELED') {
  419. state.dataArray[i].payStatusName = '已撤销'
  420. } else if (state.dataArray[i].payStatus === 'REFUND') {
  421. state.dataArray[i].payStatusName = '转入退费'
  422. } else {
  423. state.dataArray[i].payStatusName = '未知'
  424. }
  425. }
  426. console.log("state.dataArray", state.dataArray)
  427. });
  428. }
  429. //解析URL获取参数
  430. const getRequest = (urlStr) => {
  431. if (typeof urlStr == "undefined") {
  432. // 获取url中"?"符后的字符串
  433. var url = decodeURI(location.search);
  434. } else {
  435. var url = "?" + urlStr.split("?")[1];
  436. }
  437. var theRequest = new Object();
  438. if (url.indexOf("?") != -1) {
  439. var str = url.substr(1);
  440. var strs = str.split("&");
  441. for (var i = 0; i < strs.length; i++) {
  442. theRequest[strs[i].split("=")[0]] = decodeURI(strs[i].split("=")[1]);
  443. }
  444. }
  445. return theRequest;
  446. };
  447. //监听页面滚动
  448. onPageScroll((e) => {
  449. scrollTop.value = e.scrollTop;
  450. });
  451. // isValueCard 1 储值卡 2 记账卡
  452. const gotoEditUserOrUnitInfo = () => {
  453. if (state.orderQuery == '1') {
  454. if(state.qtSign=='0'){
  455. if(state.qdSignAppId){
  456. uni.navigateToMiniProgram({
  457. appId: state.qdSignAppId,
  458. path: state.qdSignUrl,
  459. extraData: {},
  460. envVersion:'trial',
  461. success(res) {
  462. state.continue=1
  463. console.log(res);
  464. },
  465. complete(res) {
  466. console.log(res);
  467. },
  468. fail(res) {
  469. console.log(res);
  470. // 未成功跳转到车主小程序
  471. },
  472. });
  473. }else{
  474. const params = encodeURIComponent(JSON.stringify(state.qdSignUrl))
  475. tools.toUrl(`/subpackage/personal-center/webview?url=` + params)
  476. }
  477. }else{
  478. // 签约
  479. navTo(
  480. `/subpackage/orders/release-products?orderId=${state.orderId}&orderQuery=${state.orderQuery}`,
  481. );
  482. }
  483. }else{
  484. if (state.isValueCard == 1) {
  485. // 不签约
  486. uni.switchTab({
  487. url: "/pages/order/order"
  488. })
  489. } else {
  490. // 签约
  491. navTo(
  492. `/subpackage/orders/release-products?orderId=${state.orderId}&orderQuery=${state.orderQuery}`,
  493. );
  494. }
  495. }
  496. }
  497. const state = reactive({
  498. isValueCard: 1, //卡的类型
  499. radiolist1: [], //选择卡的数据列表
  500. choiceCardShow: false, //选择卡的弹出框
  501. isSign: '',
  502. id: "",
  503. orderId: "",
  504. userType: 1, //1 个人 2单位
  505. type: 0, //0 客车 1货车
  506. vehiclePlateColor: "",
  507. data: {
  508. show: false,
  509. src: imgURL + "applyCard/edit.png",
  510. },
  511. dataArray: [],
  512. list: [
  513. {
  514. bg: imgURL + "applyCard/product-bg.png",
  515. icon: imgURL + "applyCard/wechat.png",
  516. title: "【货车】微信车主服务",
  517. tip: "绑定微信支付,无需绑定银行卡",
  518. },
  519. ],
  520. openid: "",
  521. isclick: true,//防止重复点击
  522. vehicleId: "",
  523. orderQuery: "0",
  524. longitude: "",
  525. latitude: "",
  526. openidData: {},
  527. qdSignUrl:"",
  528. qdSignAppId:"",
  529. qtSign:"",
  530. continue:0,//继续执行,不需要点击
  531. });
  532. </script>
  533. <style lang="scss" scoped>
  534. ::v-deep .u-radio {
  535. display: flex !important;
  536. align-items: center !important;
  537. float: none !important;
  538. }
  539. ::v-deep .u-icon__icon {
  540. top: -4px !important;
  541. }
  542. .bottomTip {
  543. margin-top: 100rpx;
  544. text-align: center;
  545. font-size: 28rpx;
  546. font-family: Microsoft YaHei;
  547. font-weight: 400;
  548. color: #b3b3b3;
  549. }
  550. .content-value {
  551. position: absolute;
  552. top: 370rpx;
  553. width: 100%;
  554. min-height: calc(100% - 370rpx);
  555. box-sizing: border-box;
  556. padding: 0 30rpx 210rpx;
  557. .t-card {
  558. background-color: #fff;
  559. padding: 40rpx 30rpx;
  560. border-radius: 12rpx;
  561. }
  562. .img-pos {
  563. position: absolute;
  564. left: 500rpx;
  565. top: -38rpx;
  566. right: 50rpx;
  567. .img-flex {
  568. display: flex;
  569. justify-content: space-between;
  570. align-items: center;
  571. .car-img {
  572. width: 86rpx;
  573. height: 42rpx;
  574. }
  575. .flag-img {
  576. width: 30rpx;
  577. height: 35rpx;
  578. }
  579. }
  580. }
  581. }
  582. .flex {
  583. display: flex;
  584. align-items: center;
  585. }
  586. .action {
  587. margin-top: 30rpx;
  588. padding-left: 20rpx;
  589. padding-right: 20rpx;
  590. padding-bottom: 30rpx;
  591. .button {
  592. height: 80rpx;
  593. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  594. border-radius: 40rpx;
  595. font-size: 32rpx;
  596. font-weight: 400;
  597. color: #ffffff;
  598. line-height: 80rpx;
  599. }
  600. }
  601. .action-btn {
  602. margin-left: 45rpx;
  603. width: 121rpx;
  604. height: 61rpx;
  605. border: 1px solid rgba(255, 255, 255, 1);
  606. border-radius: 30rpx;
  607. background: rgba(255, 255, 255, 0.2);
  608. text-align: center;
  609. font-size: 30rpx;
  610. font-family: Microsoft YaHei;
  611. font-weight: 400;
  612. color: #ffffff;
  613. line-height: 61rpx;
  614. }
  615. .tag1 {
  616. padding: 5rpx;
  617. background: rgba(0, 179, 139, 0.5);
  618. border-radius: 6rpx;
  619. font-size: 22rpx;
  620. font-family: Microsoft YaHei;
  621. font-weight: 400;
  622. color: #ffffff;
  623. }
  624. .tag3 {
  625. padding: 5rpx;
  626. background: rgba(139, 112, 228, 0.5);
  627. border-radius: 6rpx;
  628. font-size: 22rpx;
  629. font-family: Microsoft YaHei;
  630. font-weight: 400;
  631. color: #ffffff;
  632. }
  633. .tag2 {
  634. padding: 5rpx;
  635. background: rgba(249, 97, 60, 0.5);
  636. border-radius: 6rpx;
  637. font-size: 22rpx;
  638. font-family: Microsoft YaHei;
  639. font-weight: 400;
  640. color: #ffffff;
  641. }
  642. .ul-item {
  643. display: flex;
  644. align-items: center;
  645. &:nth-child(n+2) {
  646. margin-top: 30rpx;
  647. }
  648. .item-value {
  649. padding: 20rpx;
  650. position: absolute;
  651. display: flex;
  652. align-items: center;
  653. width: 100%;
  654. box-sizing: border-box;
  655. height: 146rpx;
  656. .money {
  657. color: #fff;
  658. font-size: 46rpx;
  659. font-family: SourceHanSansCN, SourceHanSansCN;
  660. font-weight: 400;
  661. margin-right: 43rpx;
  662. .unit {
  663. font-size: 29rpx;
  664. margin-right: 2rpx;
  665. }
  666. }
  667. .content {
  668. margin-left: 33rpx;
  669. .title {
  670. font-weight: 400;
  671. font-family: SourceHanSansCN, SourceHanSansCN;
  672. font-size: 36rpx;
  673. color: #2C3246;
  674. }
  675. }
  676. .r-btn {
  677. margin-left: 137rpx;
  678. width: 139rpx;
  679. height: 65rpx;
  680. background: radial-gradient(at 0% 0%, #C6B077 0%, #DFCC96 100%);
  681. border-radius: 33rpx;
  682. font-family: SourceHanSansCN, SourceHanSansCN;
  683. font-weight: 400;
  684. font-size: 26rpx;
  685. color: #FFFFFF;
  686. line-height: 65rpx;
  687. text-align: center;
  688. }
  689. }
  690. .icon-tip {
  691. width: 100rpx;
  692. height: 100rpx;
  693. }
  694. }
  695. ::v-deep .u-mode-center-box {
  696. border-radius: 10rpx;
  697. }
  698. .squire {
  699. padding: 30rpx 30rpx 50rpx 50rpx;
  700. }
  701. .mask-close {
  702. text-align: right;
  703. }
  704. .icon-closed {
  705. width: 48rpx;
  706. height: 48rpx;
  707. }
  708. .mask-title {
  709. text-align: center;
  710. font-size: 32rpx;
  711. color: $uni-text-color-black;
  712. margin-bottom: 50rpx;
  713. }
  714. </style>