index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796
  1. <template>
  2. <view>
  3. <form @submit="submitSub" :style="colorStyle">
  4. <view class="payment-top acea-row row-column row-center-wrapper" v-if="is_gq !=1">
  5. <span class="name">我的余额</span>
  6. <view class="pic">
  7. ¥<span class="pic-font">{{ userinfo.now_money || 0 }}</span>
  8. </view>
  9. </view>
  10. <view class="payment-top acea-row row-column row-center-wrapper" v-else>
  11. <span class="name">我的股权</span>
  12. <view class="pic">
  13. ¥<span class="pic-font">{{ staffInfo.shareholding || 0 }}</span>
  14. </view>
  15. </view>
  16. <view class="payment">
  17. <view class="nav acea-row row-around row-middle" v-if="is_gq !=1">
  18. <view class="item" :class="active==index?'on':''" v-for="(item,index) in navRecharge" :key="index"
  19. @click="navRecharges(index)">{{item}}</view>
  20. </view>
  21. <view class='tip picList' v-if='!active'>
  22. <view class="pic-box pic-box-color acea-row row-center-wrapper row-column"
  23. :class="activePic == index ? 'pic-box-color-active' : ''" v-for="(item, index) in picList"
  24. :key="index" @click="picCharge(index, item)" v-if="item.price">
  25. <view class="pic-number-pic">
  26. {{ item.price }}<span class="pic-number"> 元</span>
  27. </view>
  28. <view class="pic-number">赠送:{{ item.give_money }} 元</view>
  29. </view>
  30. <view class="pic-box pic-box-color acea-row row-center-wrapper"
  31. :class="activePic == picList.length ? 'pic-box-color-active' : ''"
  32. @click="picCharge(picList.length)">
  33. <input type="digit" placeholder="其他" v-model="money" class="pic-box-money pic-number-pic"
  34. :class="activePic == picList.length ? 'pic-box-color-active' : ''" />
  35. </view>
  36. <view class="flex share-user">
  37. <view class="title">
  38. 邀请人:
  39. </view>
  40. <view class="input-box">
  41. <input type="text" placeholder="请输入邀请人会员码" v-model="verify_code" class="input-user" />
  42. </view>
  43. <!-- #ifdef H5 -->
  44. <view class="iconfont icon-saoma" @click="scanCode"></view>
  45. <!-- #endif -->
  46. <!-- #ifdef MP || MP-WEIXIN || APP -->
  47. <view class="iconfont icon-saoma" @click="scanCode">
  48. </view>
  49. <!-- #endif -->
  50. </view>
  51. <view class="tips-box">
  52. <view class="tips mt-30">注意事项:</view>
  53. <view class="tips-samll" v-for="item in rechargeAttention" :key="item">
  54. {{ item }}
  55. </view>
  56. </view>
  57. </view>
  58. <view class="tip" v-else>
  59. <view class='input' v-if="is_gq != 1"><text>¥</text><input @input='inputNum' :maxlength="moneyMaxLeng"
  60. placeholder="0.00" type='digit' placeholder-class='placeholder' :value="number"
  61. name="number"></input></view>
  62. <view class='input' v-else><text>¥</text><input @input='inputNum' :maxlength="moneyMaxLeng"
  63. placeholder="0" type='number' placeholder-class='placeholder' :value="number"
  64. name="number"></input></view>
  65. <view class="tips-title" v-if="is_gq != 1">
  66. <view style="font-weight: bold; font-size: 26rpx;">提示:</view>
  67. <view style="margin-top: 10rpx;">当前可转入佣金为 <text
  68. class='font-color'>¥{{userinfo.commissionCount || 0}}</text>,冻结佣金为<text
  69. class='font-color'>¥{{userinfo.broken_commission}}</text></view>
  70. </view>
  71. <view class="tips-box" v-if="is_gq != 1">
  72. <view class="tips mt-30">注意事项:</view>
  73. <view class="tips-samll" v-for="item in rechargeAttention" :key="item">
  74. {{ item }}
  75. </view>
  76. </view>
  77. </view>
  78. <button class='but bg-color' formType="submit" v-if="is_gq != 1"> {{active ? '立即转入': '立即充值' }}</button>
  79. <button class='but bg-color' formType="submit" v-else>提现</button>
  80. </view>
  81. </form>
  82. <payment :payMode="payMode" :pay_close="pay_close" :is-call="true" @changePayType="changePayType"
  83. @onChangeFun="onChangeFun" :order_id="pay_order_id" :totalPrice="totalPrice"></payment>
  84. <home v-if="navigation"></home>
  85. <view v-show="false" v-html="formContent"></view>
  86. <!-- #ifdef MP -->
  87. <!-- <authorize v-if="isShowAuth" @authColse="authColse" @onLoadFun="onLoadFun"></authorize> -->
  88. <!-- #endif -->
  89. </view>
  90. </template>
  91. <script>
  92. import {
  93. getUserInfo,
  94. rechargeRoutine,
  95. rechargeRecharge,
  96. rechargeWechat,
  97. getRechargeApi,
  98. memberCardCreate,
  99. getStaffInfo,
  100. equityWithdrawal
  101. } from '@/api/user.js';
  102. import payment from '@/components/payment';
  103. import {
  104. toLogin
  105. } from '@/libs/login.js';
  106. import {
  107. orderOfflinePayType
  108. } from '@/api/order.js';
  109. import {
  110. mapGetters
  111. } from "vuex";
  112. import home from '@/components/home';
  113. import colors from "@/mixins/color";
  114. import {
  115. openPaySubscribe
  116. } from '@/utils/SubscribeMessage.js';
  117. export default {
  118. components: {
  119. home,
  120. payment
  121. },
  122. mixins: [colors],
  123. data() {
  124. let that = this;
  125. return {
  126. staffInfo: {},
  127. is_gq: 0,
  128. now_money: 0,
  129. navRecharge: ['账户充值', '佣金转入'],
  130. active: 0,
  131. number: '',
  132. userinfo: {},
  133. placeholder: "0.00",
  134. verify_code:'',//邀请会员码
  135. from: '',
  136. isAuto: false, //没有授权的不会自动授权
  137. isShowAuth: false, //是否隐藏授权
  138. picList: [],
  139. activePic: 0,
  140. money: "",
  141. numberPic: '',
  142. rechar_id: 0,
  143. password: '',
  144. goodsList: [],
  145. pay_order_id: '',
  146. payMode: [{
  147. name: '微信支付',
  148. icon: 'icon-weixinzhifu',
  149. value: 'weixin',
  150. title: '微信快捷支付',
  151. payStatus: true
  152. }
  153. // #ifdef H5 ||APP-PLUS
  154. ,
  155. {
  156. name: '支付宝支付',
  157. icon: 'icon-zhifubao',
  158. value: 'alipay',
  159. title: '支付宝支付',
  160. payStatus: true
  161. }
  162. // #endif
  163. ],
  164. pay_close: false,
  165. payType: '',
  166. totalPrice: '0',
  167. formContent: '',
  168. // #ifdef H5
  169. isWeixin: this.$wechat.isWeixin(),
  170. // #endif
  171. type: '',
  172. rechargeAttention: [],
  173. moneyMaxLeng: 8
  174. };
  175. },
  176. computed: mapGetters(['isLogin']),
  177. watch: {
  178. isLogin: {
  179. handler: function(newV, oldV) {
  180. if (newV) {
  181. this.getOrderPayType();
  182. this.getUserInfo();
  183. this.getRecharge();
  184. }
  185. },
  186. deep: true
  187. }
  188. },
  189. onLoad(options) {
  190. // #ifdef H5
  191. this.from = this.$wechat.isWeixin() ? "weixinh5" : "alipay"
  192. // #endif
  193. if (this.isLogin) {
  194. this.getOrderPayType();
  195. this.getUserInfo();
  196. this.getRecharge();
  197. } else {
  198. toLogin();
  199. }
  200. if(options.is_gq) {
  201. this.is_gq = options.is_gq
  202. this.active = 1
  203. }
  204. },
  205. onShow() {
  206. uni.removeStorageSync('form_type_cart');
  207. },
  208. methods: {
  209. goTx() {
  210. console.log(this.number)
  211. },
  212. scanCode() {
  213. var self = this;
  214. // #ifdef MP || APP
  215. uni.scanCode({
  216. scanType: ["qrCode", "barCode"],
  217. success(res) {
  218. self.verify_code = res.result
  219. },
  220. fail(res) {},
  221. })
  222. // #endif
  223. //#ifdef H5
  224. this.$wechat.wechatEvevt('scanQRCode', {
  225. needResult: 1,
  226. scanType: ["qrCode", "barCode"]
  227. }).then(res => {
  228. let result = res.resultStr;
  229. if(result.includes(',')){
  230. result = result.split(",")[1]
  231. }
  232. this.verify_code = result
  233. });
  234. //#endif
  235. },
  236. onLunch() {
  237. this.getOrderPayType();
  238. this.getUserInfo();
  239. this.getRecharge();
  240. },
  241. inputNum: function(e) {
  242. let val = e.detail.value;
  243. let dot = val.indexOf('.');
  244. if (dot > -1) {
  245. this.moneyMaxLeng = dot + 3;
  246. } else {
  247. this.moneyMaxLeng = 8
  248. }
  249. },
  250. /**
  251. * 选择金额
  252. */
  253. picCharge(idx, item) {
  254. this.activePic = idx;
  255. if (item === undefined) {
  256. this.rechar_id = 0;
  257. this.numberPic = "";
  258. } else {
  259. this.money = "";
  260. this.rechar_id = item.id;
  261. this.numberPic = item.price;
  262. }
  263. },
  264. /**
  265. * 充值额度选择
  266. */
  267. getRecharge() {
  268. getRechargeApi()
  269. .then(res => {
  270. this.picList = res.data.recharge_quota;
  271. if (this.picList[0]) {
  272. this.rechar_id = this.picList[0].id;
  273. this.numberPic = this.picList[0].price;
  274. }
  275. this.rechargeAttention = res.data.recharge_attention || [];
  276. })
  277. .catch(res => {
  278. this.$util.Tips({
  279. title: res
  280. })
  281. });
  282. },
  283. getOrderPayType() {
  284. orderOfflinePayType().then(res => {
  285. const {
  286. ali_pay_status,
  287. pay_weixin_open
  288. } = res.data;
  289. this.payMode[0].payStatus = !!pay_weixin_open;
  290. // #ifdef APP-PLUS || H5
  291. this.payMode[1].payStatus = !!ali_pay_status;
  292. // #endif
  293. }).catch(err => {
  294. uni.showToast({
  295. title: err,
  296. icon: 'none'
  297. });
  298. });
  299. },
  300. onLoadFun: function() {
  301. this.getOrderPayType();
  302. this.getUserInfo();
  303. this.getRecharge();
  304. this.isShowAuth = false;
  305. },
  306. // 授权关闭
  307. authColse: function(e) {
  308. this.isShowAuth = e
  309. },
  310. navRecharges: function(index) {
  311. this.active = index;
  312. },
  313. /**
  314. * 获取用户信息
  315. */
  316. getUserInfo: function() {
  317. let that = this;
  318. getUserInfo().then(res => {
  319. that.$set(that, 'userinfo', res.data);
  320. if(that.is_gq == 1) {
  321. that.getStaffInfo()
  322. }
  323. })
  324. },
  325. getStaffInfo() {
  326. let that =this
  327. getStaffInfo({
  328. uid: that.userinfo.uid
  329. }).then(res => {
  330. // that.staffInfo = res.data.list[0]
  331. res.data.list.forEach(item => {
  332. if(item.uid == that.userinfo.uid) {
  333. that.staffInfo = item
  334. }
  335. })
  336. })
  337. },
  338. changePayType: function(e) {
  339. // #ifdef H5
  340. this.payType = e == 'alipay' ? 'alipay' : this.$wechat.isWeixin() ? 'weixin' : 'weixinh5'
  341. // #endif
  342. // #ifndef H5
  343. this.payType = e == 'alipay' ? 'alipay' : 'routine'
  344. // #endif
  345. console.log('双方各大华股份不报错', this.payType);
  346. },
  347. onChangeFun: function(e) {
  348. let opt = e;
  349. let action = opt.action || null;
  350. let value = opt.value != undefined ? opt.value : null;
  351. action && this[action] && this[action](value);
  352. },
  353. payClose: function() {
  354. this.pay_close = false;
  355. },
  356. payCheck: function(type) {
  357. this.createMemberCard(type);
  358. },
  359. createMemberCard(type) {
  360. uni.showLoading({
  361. title: '正在加载…'
  362. });
  363. // #ifdef MP || APP-PLUS
  364. uni.showLoading({
  365. title: '正在支付',
  366. })
  367. let that = this
  368. let money = parseFloat(this.money);
  369. if (this.rechar_id == 0) {
  370. if (Number.isNaN(money)) {
  371. return that.$util.Tips({
  372. title: '充值金额必须为数字'
  373. });
  374. }
  375. if (money <= 0) {
  376. return that.$util.Tips({
  377. title: '充值金额不能为0'
  378. });
  379. }
  380. } else {
  381. // money = this.numberPic
  382. }
  383. rechargeRecharge({
  384. price: parseFloat(this.totalPrice),
  385. type: 0,
  386. rechar_id: this.rechar_id,
  387. from: this.payType === 'alipay' ? 'alipay' : 'routine',
  388. bar_code:this.verify_code
  389. }).then(res => {
  390. uni.hideLoading();
  391. let data = res.data.data;
  392. let mp_pay_name = ''
  393. if (uni.requestOrderPayment) {
  394. mp_pay_name = 'requestOrderPayment'
  395. } else {
  396. mp_pay_name = 'requestPayment'
  397. }
  398. uni[mp_pay_name]({
  399. // #ifdef MP
  400. timeStamp: data.timestamp,
  401. nonceStr: data.nonceStr,
  402. package: data.package,
  403. signType: data.signType,
  404. paySign: data.paySign,
  405. // #endif
  406. // #ifdef APP-PLUS
  407. provider: this.payType === 'alipay' ? 'alipay' : 'wxpay',
  408. orderInfo: data,
  409. // #endif
  410. success: function(res) {
  411. return that.$util.Tips({
  412. title: '支付成功',
  413. icon: 'success'
  414. }, {
  415. tab: 5,
  416. url: '/pages/users/user_money/index'
  417. });
  418. },
  419. fail: function() {
  420. return that.$util.Tips({
  421. title: '支付失败'
  422. });
  423. },
  424. complete: function(res) {
  425. if (res.errMsg == 'requestPayment:cancel') return that.$util.Tips({
  426. title: '取消支付'
  427. });
  428. }
  429. })
  430. }).catch(err => {
  431. uni.hideLoading();
  432. return that.$util.Tips({
  433. title: err
  434. })
  435. });
  436. // #endif
  437. // #ifdef H5
  438. let that = this
  439. this.pay_close = true;
  440. this.totalPrice = this.rechar_id == 0 ? this.money : this.numberPic;
  441. if (!this.payType) {
  442. this.changePayType(type);
  443. }
  444. rechargeWechat({
  445. price: parseFloat(this.totalPrice),
  446. // from: this.payType == '' ? this.$wechat.isWeixin() ? 'weixin' :'weixinh5' : this.payType,
  447. from: this.payType,
  448. rechar_id: that.rechar_id,
  449. bar_code:that.verify_code
  450. }).then(res => {
  451. let data = res.data;
  452. if (data.type == "weixinh5") {
  453. uni.showToast({
  454. title: data.msg,
  455. success() {
  456. location.href = data.data.mweb_url;
  457. }
  458. });
  459. } else if (data.type == "alipay") {
  460. uni.hideLoading();
  461. uni.hideLoading();
  462. this.formContent = data.data;
  463. this.$nextTick(() => {
  464. document.getElementById('alipaysubmit').submit();
  465. });
  466. } else if (data.type == "weixin") {
  467. this.$wechat.pay(data.data).then(res => {
  468. this.$util.Tips({
  469. title: '支付成功',
  470. icon: 'success'
  471. }, {
  472. tab: 5,
  473. url: '/pages/users/user_money/index'
  474. });
  475. }).catch(err => {
  476. if (err.errMsg == 'chooseWXPay:cancel') {
  477. uni.showToast({
  478. title: '取消支付',
  479. icon: 'none'
  480. });
  481. }
  482. });
  483. }
  484. }).catch(err => {
  485. uni.hideLoading();
  486. return that.$util.Tips({
  487. title: err
  488. })
  489. })
  490. // #endif
  491. },
  492. /*
  493. * 用户充值
  494. */
  495. submitSub: function(e) {
  496. let that = this
  497. let value = e.detail.value.number;
  498. if(that.is_gq == 1) {
  499. console.log(value)
  500. if (parseFloat(value) < 0 || parseFloat(value) == NaN || value == undefined || value == "") {
  501. return that.$util.Tips({
  502. title: '请输入金额'
  503. });
  504. }
  505. if(parseFloat(value)%1 !== 0) {
  506. return that.$util.Tips({
  507. title: '请输入整数'
  508. });
  509. }
  510. if(parseFloat(value) >parseFloat(that.staffInfo.shareholding)) {
  511. return that.$util.Tips({
  512. title: '您当前的股权不足'
  513. });
  514. }
  515. equityWithdrawal({
  516. shareholding:value,
  517. uid: that.userinfo.uid
  518. }).then(res => {
  519. that.$util.Tips({
  520. title: '提交成功',
  521. icon: 'success'
  522. })
  523. that.getStaffInfo()
  524. })
  525. }else {
  526. // 转入余额
  527. if (that.active) {
  528. if (parseFloat(value) < 0 || parseFloat(value) == NaN || value == undefined || value == "") {
  529. return that.$util.Tips({
  530. title: '请输入金额'
  531. });
  532. }
  533. uni.showModal({
  534. title: '转入余额',
  535. content: '转入余额后无法再次转出,确认是否转入余额',
  536. success(res) {
  537. if (res.confirm) {
  538. // #ifdef MP || APP-PLUS
  539. rechargeRoutine({
  540. price: parseFloat(value),
  541. type: 1,
  542. bar_code:that.verify_code
  543. })
  544. // #endif
  545. // #ifdef H5
  546. rechargeWechat({
  547. price: parseFloat(value),
  548. from: that.from,
  549. type: 1,
  550. bar_code:that.verify_code
  551. })
  552. // #endif
  553. .then(res => {
  554. // that.$set(that, 'userinfo.now_money', that.$util.$h.Add(value, that.userinfo.now_money))
  555. return that.$util.Tips({
  556. title: '转入成功',
  557. icon: 'success'
  558. }, {
  559. tab: 5,
  560. url: '/pages/users/user_money/index'
  561. });
  562. }).catch(err => {
  563. return that.$util.Tips({
  564. title: err
  565. })
  566. });
  567. } else if (res.cancel) {
  568. return that.$util.Tips({
  569. title: '已取消'
  570. });
  571. }
  572. },
  573. })
  574. } else {
  575. // #ifdef MP
  576. this.pay_close = true;
  577. // #endif
  578. // #ifndef MP
  579. this.pay_close = true;
  580. // #endif
  581. this.totalPrice = this.rechar_id == 0 ? parseFloat(this.money) : parseFloat(this.numberPic);
  582. }
  583. }
  584. }
  585. }
  586. }
  587. </script>
  588. <style lang="scss">
  589. page {
  590. width: 100%;
  591. height: 100%;
  592. background-color: #fff;
  593. }
  594. .bgcolor {
  595. background-color: var(--view-theme)
  596. }
  597. .payment {
  598. position: relative;
  599. width: 100%;
  600. background-color: #fff;
  601. border-radius: 10rpx;
  602. padding-top: 25rpx;
  603. border-top-right-radius: 39rpx;
  604. border-top-left-radius: 39rpx;
  605. .share-user {
  606. width: 100%;
  607. align-items: center;
  608. line-height: 1;
  609. border-bottom: 1px solid #f3f3f3;
  610. padding-top: 20rpx;
  611. padding-bottom: 10rpx;
  612. .iconfont{
  613. &.icon-saoma{
  614. font-size: 50rpx;
  615. }
  616. }
  617. .title {
  618. font-size: 30rpx;
  619. color: #656565;
  620. font-weight: 800;
  621. flex-shrink: 0;
  622. }
  623. .input-box {
  624. flex-grow: 1;
  625. .input-user{
  626. width: 100%;
  627. height: 50rpx;
  628. font-size: 28rpx;
  629. }
  630. }
  631. }
  632. }
  633. .payment .nav {
  634. height: 75rpx;
  635. line-height: 75rpx;
  636. padding: 0 100rpx;
  637. }
  638. .payment .nav .item {
  639. font-size: 30rpx;
  640. color: #333;
  641. }
  642. .payment .nav .item.on {
  643. font-weight: bold;
  644. border-bottom: 4rpx solid var(--view-theme);
  645. }
  646. .payment .input {
  647. display: flex;
  648. align-items: center;
  649. justify-content: center;
  650. border-bottom: 1px dashed #dddddd;
  651. margin: 60rpx auto 0 auto;
  652. padding-bottom: 20rpx;
  653. font-size: 56rpx;
  654. color: #333333;
  655. flex-wrap: nowrap;
  656. }
  657. .payment .input text {
  658. padding-left: 106rpx;
  659. }
  660. .payment .input input {
  661. padding-right: 106rpx;
  662. width: 300rpx;
  663. height: 94rpx;
  664. text-align: center;
  665. font-size: 70rpx;
  666. }
  667. .payment .placeholder {
  668. color: #d0d0d0;
  669. height: 100%;
  670. line-height: 94rpx;
  671. }
  672. .payment .tip {
  673. font-size: 26rpx;
  674. color: #888888;
  675. padding: 0 30rpx;
  676. margin-top: 25rpx;
  677. }
  678. .payment .but {
  679. color: #fff;
  680. font-size: 30rpx;
  681. width: 700rpx;
  682. height: 86rpx;
  683. border-radius: 50rpx;
  684. margin: 46rpx auto 0 auto;
  685. line-height: 86rpx;
  686. }
  687. .payment-top {
  688. width: 100%;
  689. height: 350rpx;
  690. background-color: var(--view-theme);
  691. .name {
  692. font-size: 26rpx;
  693. color: rgba(255, 255, 255, 0.8);
  694. margin-top: -38rpx;
  695. margin-bottom: 30rpx;
  696. }
  697. .pic {
  698. font-size: 32rpx;
  699. color: #fff;
  700. }
  701. .pic-font {
  702. font-size: 78rpx;
  703. color: #fff;
  704. }
  705. }
  706. .picList {
  707. display: flex;
  708. flex-wrap: wrap;
  709. margin: 30rpx 0;
  710. .pic-box {
  711. width: 32%;
  712. height: auto;
  713. border-radius: 20rpx;
  714. margin-top: 21rpx;
  715. padding: 20rpx 0;
  716. margin-right: 12rpx;
  717. &:nth-child(3n) {
  718. margin-right: 0;
  719. }
  720. }
  721. .pic-box-color {
  722. background-color: #f4f4f4;
  723. color: #656565;
  724. }
  725. .pic-number {
  726. font-size: 22rpx;
  727. }
  728. .pic-number-pic {
  729. font-size: 38rpx;
  730. margin-right: 10rpx;
  731. text-align: center;
  732. }
  733. .pic-box-color-active {
  734. background-color: var(--view-theme) !important;
  735. color: #fff !important;
  736. }
  737. }
  738. .tips-box {
  739. .tips {
  740. font-size: 28rpx;
  741. color: #333333;
  742. font-weight: 800;
  743. margin-bottom: 14rpx;
  744. margin-top: 20rpx;
  745. }
  746. .tips-samll {
  747. font-size: 24rpx;
  748. color: #333333;
  749. margin-bottom: 14rpx;
  750. }
  751. .tip-box {
  752. margin-top: 30rpx;
  753. }
  754. }
  755. .tips-title {
  756. margin-top: 20rpx;
  757. font-size: 24rpx;
  758. color: #333;
  759. }
  760. </style>