您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

order_payment.vue 20KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  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 class="pay-tips">本次收取费用为ETC办理费用,并非预存金、押金、服务费、可抵扣高速费等其他费用,设备激活成功后将无法进行退费,敬请知悉!</view>
  8. <view @click="confirmPay(item)" class="ul-item" v-for="(item, index) in state.dataArray" :key="index">
  9. <image style="width: 100%; height: 146rpx;" :src="`${$imgUrl}issuance/equity-bg.png`"
  10. mode='scaleToFill'>
  11. </image>
  12. <view class="item-value">
  13. <view class="money">
  14. <text class='unit'>¥</text>
  15. <text>{{ item.fee * 0.01 }}</text>
  16. </view>
  17. <view class="content">
  18. <view class="title">
  19. {{ item.payName }}
  20. </view>
  21. </view>
  22. <view class="r-btn">
  23. {{ item.payStatusName }}
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. <!-- <TipsInfo
  30. v-model="state.ipsInfoShow"
  31. title="提示"
  32. des="本次收取费用为ETC办理费用,并非预存金、押金、服务费、可抵扣高速费等其他费用,设备激活成功后将无法进行退费,敬请知悉!"
  33. @confirm="confirmPay">
  34. </TipsInfo> -->
  35. </template>
  36. <script setup lang="ts">
  37. import { onLoad, onPageScroll, onShow } from "@dcloudio/uni-app";
  38. import { reactive, ref } from "vue";
  39. import {
  40. PAYMENTORDERAPPLY,
  41. aliPayConfigIdTwo,
  42. obtainUserId,
  43. getOpenId, payApply, payQuery, orderDetailQuery, payAfterOrder
  44. } from "@/utils/network/api.js";
  45. import { request, requestNew } from "@/utils/network/request.js";
  46. import { stringToJson } from "@/utils/network/encryption";
  47. import { fileURL } from "@/datas/fileURL.js";
  48. import navBgCar from "./components/nav-bg-car1";
  49. import navBar from "@/components/nav-bar/nav-bar2.vue";
  50. const imgURL = `${fileURL}image/`;
  51. import { confirm, navTo } from "@/utils/utils";
  52. import {
  53. OrderStatus
  54. } from "@/datas/enum";
  55. import useOrderSkip from "@/composables/order/useOrderSkip";
  56. import { setItem, getItem } from "@/utils/storage";
  57. import TipsInfo from "@/components/common/TipsInfo.vue";
  58. import { getCodeName } from '@/datas/queryKey.js'
  59. const tools = require("../../static/etcUtil/tools.js");
  60. const { gotoActiveOrder } = useOrderSkip();
  61. let imageUrl = ""
  62. let logo
  63. const scrollTop = ref(0); //滚动距离
  64. var counter = 0;
  65. function myFunc() {
  66. counter++;
  67. console.log("====")
  68. if (counter == 2) {
  69. clearInterval(intervalId);
  70. state.isclick = true
  71. console.log("改为true");
  72. }
  73. }
  74. var intervalId = setInterval(myFunc, 2000);
  75. const payTypeMap = ref([])
  76. const savaHandle = (val) => {
  77. state.payDetail = val
  78. state.ipsInfoShow = true
  79. };
  80. const payMethods = (val) => {
  81. console.log("val===", val)
  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. orderNo: val.orderNo,
  145. subOpenId: state.openidData.openid,
  146. // payType: val.payType,
  147. orderPayId: val.orderPayId,
  148. "customerId": "",
  149. "h5Type": "",
  150. // "spbillCreateIp": "",
  151. "staffId": "",
  152. },
  153. method: "POST",
  154. showLoading: true,
  155. };
  156. requestNew(payApply, options).then((res) => {
  157. const data = res;
  158. console.log("data======111", data)
  159. if (data) {
  160. console.log("进来了111")
  161. uni.requestPayment({
  162. provider: "wxpay",
  163. orderInfo: "",
  164. timeStamp: data.timeStamp,
  165. nonceStr: data.nonceStr,
  166. package: data.wxPackage ? data.wxPackage : "",
  167. signType: data.signType,
  168. paySign: data.paySign,
  169. success: function (e) {
  170. console.log("支付成功", res);
  171. state.payOK = true
  172. refresh();
  173. },
  174. fail: function (err) {
  175. state.isclick = true
  176. confirm(err, () => { }, "支付失败", false);
  177. },
  178. });
  179. } else {
  180. state.isclick = true
  181. console.log("state.isclick", state.isclick)
  182. }
  183. },
  184. (err) => {
  185. state.isclick = true
  186. console.log("err")
  187. }
  188. );
  189. // #endif
  190. }
  191. }
  192. const refresh = () => {
  193. state.isclick = true
  194. let source = ""
  195. // #ifdef MP-ALIPAY
  196. source = "ALI"
  197. // #endif
  198. // #ifdef MP-WEIXIN
  199. source = "WECHAT"
  200. // #endif
  201. var data = {
  202. orderNo: state.orderId,
  203. wxOpenId: state.openidData.openid,
  204. };
  205. const options = {
  206. type: 2,
  207. data: data,
  208. method: "POST",
  209. showLoading: true,
  210. };
  211. console.log("输出内容", options);
  212. requestNew(payQuery, options).then((res) => {
  213. const data = res;
  214. if (data.paymentStatus == 1) {
  215. // gotoEditUserOrUnitInfo()
  216. }
  217. state.dataArray = dataFilter(data.datas);
  218. });
  219. }
  220. interface dataListItem{
  221. payName: string,
  222. payStatus: string,
  223. payType: string,
  224. payStatusName: string
  225. }
  226. const dataFilter = (list: Array<object> = []) => {
  227. return list.map((item: dataListItem) => {
  228. item.payName = getCodeName('PROCESSING_FEE_TYPE', item.payType) || '未知费'
  229. if (item.payStatus === 'SUCCESS') {
  230. item.payStatusName = '已支付'
  231. } else if (item.payStatus === 'PAYING') {
  232. item.payStatusName = '支付中'
  233. } else if (item.payStatus === 'FAILED') {
  234. item.payStatusName = '支付失败'
  235. } else if (item.payStatus === 'UNPAY') {
  236. item.payStatusName = '未支付'
  237. } else if (item.payStatus === 'CLOSED') {
  238. item.payStatusName = '已关闭'
  239. } else if (item.payStatus === 'CANCELED') {
  240. item.payStatusName = '已撤销'
  241. } else if (item.payStatus === 'REFUND') {
  242. item.payStatusName = '转入退费'
  243. } else {
  244. item.payStatusName = '未知'
  245. }
  246. return item
  247. })
  248. }
  249. onShow(() => {
  250. // 支付完跳转到广告页,回来再次查询跳转 (签约完回来也要查询)
  251. if (state.payOK) {
  252. console.log("刷新页面",state)
  253. refreshFirst()
  254. }
  255. })
  256. onLoad((option : any) => {
  257. console.log("传递过来的到支付页面", option)
  258. state.orderId = option.orderId;
  259. state.isValueCard = option.isValueCard;
  260. state.vehicleId = option.vehicleId;
  261. state.orderQuery = option.orderQuery;
  262. state.qdSignUrl = option.qdSignUrl;
  263. state.qdSignAppId = option.qdSignAppId;
  264. state.qtSign = option.qtSign;
  265. state.cardType = option.cardType;
  266. // #ifdef MP-WEIXIN
  267. uni.login({
  268. provider: "weixin",
  269. success: function (e) {
  270. const options1 = {
  271. type: 2,
  272. data: {
  273. "jsCode": e.code
  274. },
  275. method: "POST",
  276. showLoading: true,
  277. };
  278. requestNew(getOpenId, options1).then((res) => {
  279. const result = res;
  280. console.log("获取openid返回数据:", res)
  281. state.openidData = stringToJson(result.bizContent);
  282. refreshFirst()
  283. })
  284. },
  285. })
  286. // #endif
  287. // #ifdef MP-ALIPAY
  288. refreshFirst()
  289. // #endif
  290. });
  291. // 订单详情
  292. const orderDetail = () => {
  293. const options = {
  294. type: 2,
  295. data: {
  296. orderNo: state.orderId
  297. },
  298. method: "POST",
  299. showLoading: true,
  300. };
  301. return new Promise(async (resolve, reject) => {
  302. const res = await requestNew(orderDetailQuery, options);
  303. setItem('orderQueryActivate', res)
  304. resolve(res);
  305. }).catch((error) => {
  306. reject(error);
  307. });
  308. }
  309. const refreshFirst = () => {
  310. let source = ""
  311. // #ifdef MP-ALIPAY
  312. imageUrl = imgURL + "applyCard/alibaba.png";
  313. source = "ALI"
  314. // #endif
  315. // #ifdef MP-WEIXIN
  316. imageUrl = imgURL + "applyCard/wechat.png";
  317. source = "WECHAT"
  318. // #endif
  319. var data = {
  320. orderNo: state.orderId,
  321. wxOpenId: state.openidData.openid,
  322. "customerId": "",
  323. };
  324. const options = {
  325. type: 2,
  326. data: data,
  327. method: "POST",
  328. showLoading: true,
  329. };
  330. console.log("输出内容", options);
  331. requestNew(payQuery, options).then((res) => {
  332. let data = res
  333. if (data.paymentStatus == 1) {
  334. gotoEditUserOrUnitInfo();
  335. // isValueCard 1 储值卡 2 记账卡
  336. // if (state.orderQuery == '1') {
  337. // console.log("state.qtSign", state.qtSign, state.qtSign == '0')
  338. // // 记账卡
  339. // if (state.cardType == '1') {
  340. // // 去诺德签约
  341. // if (state.qtSign == '0') {
  342. // // 去签约,已经签约完,回来查订单详情,如果是激活就去激活
  343. // orderDetail().then((res) => {
  344. // if (res['orderStep'] == OrderStatus['待激活']) {
  345. // // 已签约
  346. // gotoActiveOrder(getItem('orderQueryActivate'))
  347. // } else {
  348. // // 未签约
  349. // if (state.qdSignAppId) {
  350. // uni.navigateToMiniProgram({
  351. // appId: state.qdSignAppId,
  352. // path: state.qdSignUrl,
  353. // extraData: {},
  354. // envVersion: 'trial',
  355. // success(res) {
  356. // state.payOK = true
  357. // console.log(res);
  358. // },
  359. // complete(res) {
  360. // console.log(res);
  361. // },
  362. // fail(res) {
  363. // console.log(res);
  364. // // 未成功跳转到车主小程序
  365. // },
  366. // });
  367. // } else {
  368. // const params = encodeURIComponent(JSON.stringify(state.qdSignUrl))
  369. // tools.toUrl(`/subpackage/personal-center/webview?url=` + params)
  370. // }
  371. // }
  372. // })
  373. // } else {
  374. // console.log("前往签约3")
  375. // // 签约
  376. // uni.redirectTo({
  377. // url: `/subpackage/orders/release-products?orderId=${state.orderId}&orderQuery=${state.orderQuery}`
  378. // });
  379. // }
  380. // } else {
  381. // gotoActiveOrder(getItem('orderQueryActivate'))
  382. // }
  383. // } else {
  384. // if (state.isValueCard == 1) {
  385. // // 不签约
  386. // uni.switchTab({
  387. // url: "/pages/order/order"
  388. // })
  389. // } else {
  390. // console.log("前往签约2")
  391. // // 签约
  392. // uni.redirectTo({
  393. // url: `/subpackage/orders/release-products?orderId=${state.orderId}&orderQuery=${state.orderQuery}`
  394. // });
  395. // }
  396. // }
  397. }
  398. state.dataArray = dataFilter(data.datas);
  399. console.log("state.dataArray", state.dataArray)
  400. });
  401. }
  402. //解析URL获取参数
  403. const getRequest = (urlStr) => {
  404. if (typeof urlStr == "undefined") {
  405. // 获取url中"?"符后的字符串
  406. var url = decodeURI(location.search);
  407. } else {
  408. var url = "?" + urlStr.split("?")[1];
  409. }
  410. var theRequest = new Object();
  411. if (url.indexOf("?") != -1) {
  412. var str = url.substr(1);
  413. var strs = str.split("&");
  414. for (var i = 0; i < strs.length; i++) {
  415. theRequest[strs[i].split("=")[0]] = decodeURI(strs[i].split("=")[1]);
  416. }
  417. }
  418. return theRequest;
  419. };
  420. //监听页面滚动
  421. onPageScroll((e) => {
  422. scrollTop.value = e.scrollTop;
  423. });
  424. // isValueCard 1 储值卡 2 记账卡
  425. const gotoEditUserOrUnitInfo = () => {
  426. // if (state.orderQuery == '1') {
  427. const options = {
  428. type: 2,
  429. data: {
  430. orderNo: state.orderId
  431. },
  432. method: "POST",
  433. showLoading: true,
  434. }
  435. requestNew(payAfterOrder, options).then(async (res) => {
  436. const orderDetailData = await orderDetail()
  437. if (res.orderStep === 'WAITING_ACTIVE') {
  438. // 前往激活
  439. console.log("前往激活")
  440. if(state.jhOk){
  441. uni.showModal({
  442. title: "*激活检测*",
  443. content: "您还没有激活成功,将要去激活",
  444. showCancel: false,
  445. confirmText: "我知道了",
  446. success() {
  447. state.jhOk = true
  448. gotoActiveOrder(getItem('orderQueryActivate'));
  449. }
  450. });
  451. }else{
  452. state.jhOk = true
  453. gotoActiveOrder(getItem('orderQueryActivate'));
  454. }
  455. } else if (res.orderStep === 'ORDER_PAID') {
  456. // 前往签约
  457. console.log("前往签约1")
  458. uni.redirectTo({
  459. url: `/subpackage/orders/release-products?orderId=${state.orderId}&orderQuery=${state.orderQuery}`
  460. });
  461. // if (res.qtSign) {
  462. // // 黔通智联签约
  463. // uni.redirectTo({
  464. // url: `/subpackage/orders/release-products?orderId=${state.orderId}&orderQuery=${state.orderQuery}`
  465. // });
  466. // } else if (res.qdAppId){
  467. // // 其他渠道签约
  468. // uni.navigateToMiniProgram({
  469. // appId: res.qdAppId,
  470. // path: res.qdSignUrl,
  471. // extraData: {},
  472. // envVersion: 'trial',
  473. // success(res) {
  474. // state.payOK = true
  475. // console.log(res);
  476. // },
  477. // complete(res) {
  478. // console.log(res);
  479. // },
  480. // fail(res) {
  481. // console.log(res);
  482. // // 未成功跳转到车主小程序
  483. // },
  484. // });
  485. // } else {
  486. // // 其他渠道签约
  487. // const params = encodeURIComponent(JSON.stringify(res.qdSignUrl))
  488. // tools.toUrl(`/subpackage/personal-center/webview?url=` + params);
  489. // }
  490. }else{
  491. uni.showModal({
  492. content: "订单待审核,可在ETC订单查看",
  493. showCancel: false,
  494. confirmText: "我知道了",
  495. success() {
  496. uni.redirectTo({
  497. url: `/pages/order/order?indexPage=1`
  498. });
  499. }
  500. });
  501. }
  502. });
  503. // if (state.cardType == '1') {
  504. // if (state.qtSign == '0') {
  505. // if (state.qdSignAppId) {
  506. // // 去外边签约
  507. // uni.navigateToMiniProgram({
  508. // appId: state.qdSignAppId,
  509. // path: state.qdSignUrl,
  510. // extraData: {},
  511. // envVersion: 'trial',
  512. // success(res) {
  513. // state.payOK = true
  514. // console.log(res);
  515. // },
  516. // complete(res) {
  517. // console.log(res);
  518. // },
  519. // fail(res) {
  520. // console.log(res);
  521. // // 未成功跳转到车主小程序
  522. // },
  523. // });
  524. // } else {
  525. // const params = encodeURIComponent(JSON.stringify(state.qdSignUrl))
  526. // tools.toUrl(`/subpackage/personal-center/webview?url=` + params)
  527. // }
  528. // } else {
  529. // // 签约
  530. // uni.redirectTo({
  531. // url: `/subpackage/orders/release-products?orderId=${state.orderId}&orderQuery=${state.orderQuery}`
  532. // });
  533. // }
  534. // } else {
  535. // gotoActiveOrder(getItem('orderQueryActivate'))
  536. // }
  537. // } else {
  538. // if (state.isValueCard == 1) {
  539. // // 不签约
  540. // uni.switchTab({
  541. // url: "/pages/order/order"
  542. // })
  543. // } else {
  544. // uni.redirectTo({
  545. // url: `/subpackage/orders/release-products?orderId=${state.orderId}&orderQuery=${state.orderQuery}`
  546. // });
  547. // }
  548. // }
  549. }
  550. const state = reactive({
  551. isValueCard: 1, //卡的类型
  552. radiolist1: [], //选择卡的数据列表
  553. choiceCardShow: false, //选择卡的弹出框
  554. isSign: '',
  555. id: "",
  556. orderId: "",
  557. userType: 1, //1 个人 2单位
  558. type: 0, //0 客车 1货车
  559. vehiclePlateColor: "",
  560. data: {
  561. show: false,
  562. src: imgURL + "applyCard/edit.png",
  563. },
  564. dataArray: [],
  565. list: [
  566. {
  567. bg: imgURL + "applyCard/product-bg.png",
  568. icon: imgURL + "applyCard/wechat.png",
  569. title: "【货车】微信车主服务",
  570. tip: "绑定微信支付,无需绑定银行卡",
  571. },
  572. ],
  573. openid: "",
  574. isclick: true,//防止重复点击
  575. vehicleId: "",
  576. orderQuery: "0",
  577. openidData: {},
  578. qdSignUrl: "",
  579. qdSignAppId: "",
  580. qtSign: "",
  581. payOK: false,
  582. jhOk: false,
  583. cardType: "",
  584. ipsInfoShow: false,
  585. payDetail: {
  586. payStatus: ''
  587. }
  588. });
  589. const confirmPay = (val) => {
  590. if (state.isclick) {
  591. if (val.payStatus == "SUCCESS") {
  592. return;
  593. }
  594. state.isclick = false
  595. payMethods(val)
  596. }
  597. }
  598. </script>
  599. <style lang="scss" scoped>
  600. // ::v-deep .u-radio {
  601. // display: flex !important;
  602. // align-items: center !important;
  603. // float: none !important;
  604. // }
  605. // ::v-deep .u-icon__icon {
  606. // top: -4px !important;
  607. // }
  608. .bottomTip {
  609. margin-top: 100rpx;
  610. text-align: center;
  611. font-size: 28rpx;
  612. font-family: Microsoft YaHei;
  613. font-weight: 400;
  614. color: #b3b3b3;
  615. }
  616. .content-value {
  617. position: absolute;
  618. top: 370rpx;
  619. width: 100%;
  620. min-height: calc(100% - 370rpx);
  621. box-sizing: border-box;
  622. padding: 0 30rpx 210rpx;
  623. .t-card {
  624. background-color: #fff;
  625. padding: 40rpx 30rpx;
  626. border-radius: 12rpx;
  627. }
  628. .img-pos {
  629. position: absolute;
  630. left: 500rpx;
  631. top: -38rpx;
  632. right: 50rpx;
  633. .img-flex {
  634. display: flex;
  635. justify-content: space-between;
  636. align-items: center;
  637. .car-img {
  638. width: 86rpx;
  639. height: 42rpx;
  640. }
  641. .flag-img {
  642. width: 30rpx;
  643. height: 35rpx;
  644. }
  645. }
  646. }
  647. }
  648. .flex {
  649. display: flex;
  650. align-items: center;
  651. }
  652. .action {
  653. margin-top: 30rpx;
  654. padding-left: 20rpx;
  655. padding-right: 20rpx;
  656. padding-bottom: 30rpx;
  657. .button {
  658. height: 80rpx;
  659. background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
  660. border-radius: 40rpx;
  661. font-size: 32rpx;
  662. font-weight: 400;
  663. color: #ffffff;
  664. line-height: 80rpx;
  665. }
  666. }
  667. .action-btn {
  668. margin-left: 45rpx;
  669. width: 121rpx;
  670. height: 61rpx;
  671. border: 1px solid rgba(255, 255, 255, 1);
  672. border-radius: 30rpx;
  673. background: rgba(255, 255, 255, 0.2);
  674. text-align: center;
  675. font-size: 30rpx;
  676. font-family: Microsoft YaHei;
  677. font-weight: 400;
  678. color: #ffffff;
  679. line-height: 61rpx;
  680. }
  681. .tag1 {
  682. padding: 5rpx;
  683. background: rgba(0, 179, 139, 0.5);
  684. border-radius: 6rpx;
  685. font-size: 22rpx;
  686. font-family: Microsoft YaHei;
  687. font-weight: 400;
  688. color: #ffffff;
  689. }
  690. .tag3 {
  691. padding: 5rpx;
  692. background: rgba(139, 112, 228, 0.5);
  693. border-radius: 6rpx;
  694. font-size: 22rpx;
  695. font-family: Microsoft YaHei;
  696. font-weight: 400;
  697. color: #ffffff;
  698. }
  699. .tag2 {
  700. padding: 5rpx;
  701. background: rgba(249, 97, 60, 0.5);
  702. border-radius: 6rpx;
  703. font-size: 22rpx;
  704. font-family: Microsoft YaHei;
  705. font-weight: 400;
  706. color: #ffffff;
  707. }
  708. .ul-item {
  709. display: flex;
  710. align-items: center;
  711. &:nth-child(n+2) {
  712. margin-top: 30rpx;
  713. }
  714. .item-value {
  715. padding: 20rpx;
  716. position: absolute;
  717. display: flex;
  718. align-items: center;
  719. width: 81%;
  720. box-sizing: border-box;
  721. height: 146rpx;
  722. .money {
  723. color: #fff;
  724. font-size: 46rpx;
  725. font-family: SourceHanSansCN, SourceHanSansCN;
  726. font-weight: 400;
  727. flex: 1;
  728. .unit {
  729. font-size: 29rpx;
  730. margin-right: 2rpx;
  731. }
  732. }
  733. .content {
  734. margin-left: 60rpx;
  735. flex: 2;
  736. .title {
  737. font-weight: 400;
  738. font-family: SourceHanSansCN, SourceHanSansCN;
  739. font-size: 36rpx;
  740. color: #2C3246;
  741. }
  742. }
  743. .r-btn {
  744. width: 139rpx;
  745. height: 65rpx;
  746. background: radial-gradient(at 0% 0%, #C6B077 0%, #DFCC96 100%);
  747. border-radius: 33rpx;
  748. font-family: SourceHanSansCN, SourceHanSansCN;
  749. font-weight: 400;
  750. font-size: 26rpx;
  751. color: #FFFFFF;
  752. line-height: 65rpx;
  753. text-align: center;
  754. flex: 1;
  755. }
  756. }
  757. .icon-tip {
  758. width: 100rpx;
  759. height: 100rpx;
  760. }
  761. }
  762. ::v-deep .u-mode-center-box {
  763. border-radius: 10rpx;
  764. }
  765. .squire {
  766. padding: 30rpx 30rpx 50rpx 50rpx;
  767. }
  768. .mask-close {
  769. text-align: right;
  770. }
  771. .icon-closed {
  772. width: 48rpx;
  773. height: 48rpx;
  774. }
  775. .mask-title {
  776. text-align: center;
  777. font-size: 32rpx;
  778. color: $uni-text-color-black;
  779. margin-bottom: 50rpx;
  780. }
  781. .pay-tips{
  782. font-size: 26rpx;
  783. color: #999999;
  784. }
  785. </style>