index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792
  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. })
  332. },
  333. changePayType: function(e) {
  334. // #ifdef H5
  335. this.payType = e == 'alipay' ? 'alipay' : this.$wechat.isWeixin() ? 'weixin' : 'weixinh5'
  336. // #endif
  337. // #ifndef H5
  338. this.payType = e == 'alipay' ? 'alipay' : 'routine'
  339. // #endif
  340. console.log('双方各大华股份不报错', this.payType);
  341. },
  342. onChangeFun: function(e) {
  343. let opt = e;
  344. let action = opt.action || null;
  345. let value = opt.value != undefined ? opt.value : null;
  346. action && this[action] && this[action](value);
  347. },
  348. payClose: function() {
  349. this.pay_close = false;
  350. },
  351. payCheck: function(type) {
  352. this.createMemberCard(type);
  353. },
  354. createMemberCard(type) {
  355. uni.showLoading({
  356. title: '正在加载…'
  357. });
  358. // #ifdef MP || APP-PLUS
  359. uni.showLoading({
  360. title: '正在支付',
  361. })
  362. let that = this
  363. let money = parseFloat(this.money);
  364. if (this.rechar_id == 0) {
  365. if (Number.isNaN(money)) {
  366. return that.$util.Tips({
  367. title: '充值金额必须为数字'
  368. });
  369. }
  370. if (money <= 0) {
  371. return that.$util.Tips({
  372. title: '充值金额不能为0'
  373. });
  374. }
  375. } else {
  376. // money = this.numberPic
  377. }
  378. rechargeRecharge({
  379. price: parseFloat(this.totalPrice),
  380. type: 0,
  381. rechar_id: this.rechar_id,
  382. from: this.payType === 'alipay' ? 'alipay' : 'routine',
  383. bar_code:this.verify_code
  384. }).then(res => {
  385. uni.hideLoading();
  386. let data = res.data.data;
  387. let mp_pay_name = ''
  388. if (uni.requestOrderPayment) {
  389. mp_pay_name = 'requestOrderPayment'
  390. } else {
  391. mp_pay_name = 'requestPayment'
  392. }
  393. uni[mp_pay_name]({
  394. // #ifdef MP
  395. timeStamp: data.timestamp,
  396. nonceStr: data.nonceStr,
  397. package: data.package,
  398. signType: data.signType,
  399. paySign: data.paySign,
  400. // #endif
  401. // #ifdef APP-PLUS
  402. provider: this.payType === 'alipay' ? 'alipay' : 'wxpay',
  403. orderInfo: data,
  404. // #endif
  405. success: function(res) {
  406. return that.$util.Tips({
  407. title: '支付成功',
  408. icon: 'success'
  409. }, {
  410. tab: 5,
  411. url: '/pages/users/user_money/index'
  412. });
  413. },
  414. fail: function() {
  415. return that.$util.Tips({
  416. title: '支付失败'
  417. });
  418. },
  419. complete: function(res) {
  420. if (res.errMsg == 'requestPayment:cancel') return that.$util.Tips({
  421. title: '取消支付'
  422. });
  423. }
  424. })
  425. }).catch(err => {
  426. uni.hideLoading();
  427. return that.$util.Tips({
  428. title: err
  429. })
  430. });
  431. // #endif
  432. // #ifdef H5
  433. let that = this
  434. this.pay_close = true;
  435. this.totalPrice = this.rechar_id == 0 ? this.money : this.numberPic;
  436. if (!this.payType) {
  437. this.changePayType(type);
  438. }
  439. rechargeWechat({
  440. price: parseFloat(this.totalPrice),
  441. // from: this.payType == '' ? this.$wechat.isWeixin() ? 'weixin' :'weixinh5' : this.payType,
  442. from: this.payType,
  443. rechar_id: that.rechar_id,
  444. bar_code:that.verify_code
  445. }).then(res => {
  446. let data = res.data;
  447. if (data.type == "weixinh5") {
  448. uni.showToast({
  449. title: data.msg,
  450. success() {
  451. location.href = data.data.mweb_url;
  452. }
  453. });
  454. } else if (data.type == "alipay") {
  455. uni.hideLoading();
  456. uni.hideLoading();
  457. this.formContent = data.data;
  458. this.$nextTick(() => {
  459. document.getElementById('alipaysubmit').submit();
  460. });
  461. } else if (data.type == "weixin") {
  462. this.$wechat.pay(data.data).then(res => {
  463. this.$util.Tips({
  464. title: '支付成功',
  465. icon: 'success'
  466. }, {
  467. tab: 5,
  468. url: '/pages/users/user_money/index'
  469. });
  470. }).catch(err => {
  471. if (err.errMsg == 'chooseWXPay:cancel') {
  472. uni.showToast({
  473. title: '取消支付',
  474. icon: 'none'
  475. });
  476. }
  477. });
  478. }
  479. }).catch(err => {
  480. uni.hideLoading();
  481. return that.$util.Tips({
  482. title: err
  483. })
  484. })
  485. // #endif
  486. },
  487. /*
  488. * 用户充值
  489. */
  490. submitSub: function(e) {
  491. let that = this
  492. let value = e.detail.value.number;
  493. if(that.is_gq == 1) {
  494. console.log(value)
  495. if (parseFloat(value) < 0 || parseFloat(value) == NaN || value == undefined || value == "") {
  496. return that.$util.Tips({
  497. title: '请输入金额'
  498. });
  499. }
  500. if(parseFloat(value)%1 !== 0) {
  501. return that.$util.Tips({
  502. title: '请输入整数'
  503. });
  504. }
  505. if(parseFloat(value) >parseFloat(that.staffInfo.shareholding)) {
  506. return that.$util.Tips({
  507. title: '您当前的股权不足'
  508. });
  509. }
  510. equityWithdrawal({
  511. shareholding:value,
  512. uid: that.userinfo.uid
  513. }).then(res => {
  514. that.$util.Tips({
  515. title: '提交成功',
  516. icon: 'success'
  517. })
  518. that.getStaffInfo()
  519. })
  520. }else {
  521. // 转入余额
  522. if (that.active) {
  523. if (parseFloat(value) < 0 || parseFloat(value) == NaN || value == undefined || value == "") {
  524. return that.$util.Tips({
  525. title: '请输入金额'
  526. });
  527. }
  528. uni.showModal({
  529. title: '转入余额',
  530. content: '转入余额后无法再次转出,确认是否转入余额',
  531. success(res) {
  532. if (res.confirm) {
  533. // #ifdef MP || APP-PLUS
  534. rechargeRoutine({
  535. price: parseFloat(value),
  536. type: 1,
  537. bar_code:that.verify_code
  538. })
  539. // #endif
  540. // #ifdef H5
  541. rechargeWechat({
  542. price: parseFloat(value),
  543. from: that.from,
  544. type: 1,
  545. bar_code:that.verify_code
  546. })
  547. // #endif
  548. .then(res => {
  549. // that.$set(that, 'userinfo.now_money', that.$util.$h.Add(value, that.userinfo.now_money))
  550. return that.$util.Tips({
  551. title: '转入成功',
  552. icon: 'success'
  553. }, {
  554. tab: 5,
  555. url: '/pages/users/user_money/index'
  556. });
  557. }).catch(err => {
  558. return that.$util.Tips({
  559. title: err
  560. })
  561. });
  562. } else if (res.cancel) {
  563. return that.$util.Tips({
  564. title: '已取消'
  565. });
  566. }
  567. },
  568. })
  569. } else {
  570. // #ifdef MP
  571. this.pay_close = true;
  572. // #endif
  573. // #ifndef MP
  574. this.pay_close = true;
  575. // #endif
  576. this.totalPrice = this.rechar_id == 0 ? parseFloat(this.money) : parseFloat(this.numberPic);
  577. }
  578. }
  579. }
  580. }
  581. }
  582. </script>
  583. <style lang="scss">
  584. page {
  585. width: 100%;
  586. height: 100%;
  587. background-color: #fff;
  588. }
  589. .bgcolor {
  590. background-color: var(--view-theme)
  591. }
  592. .payment {
  593. position: relative;
  594. width: 100%;
  595. background-color: #fff;
  596. border-radius: 10rpx;
  597. padding-top: 25rpx;
  598. border-top-right-radius: 39rpx;
  599. border-top-left-radius: 39rpx;
  600. .share-user {
  601. width: 100%;
  602. align-items: center;
  603. line-height: 1;
  604. border-bottom: 1px solid #f3f3f3;
  605. padding-top: 20rpx;
  606. padding-bottom: 10rpx;
  607. .iconfont{
  608. &.icon-saoma{
  609. font-size: 50rpx;
  610. }
  611. }
  612. .title {
  613. font-size: 30rpx;
  614. color: #656565;
  615. font-weight: 800;
  616. flex-shrink: 0;
  617. }
  618. .input-box {
  619. flex-grow: 1;
  620. .input-user{
  621. width: 100%;
  622. height: 50rpx;
  623. font-size: 28rpx;
  624. }
  625. }
  626. }
  627. }
  628. .payment .nav {
  629. height: 75rpx;
  630. line-height: 75rpx;
  631. padding: 0 100rpx;
  632. }
  633. .payment .nav .item {
  634. font-size: 30rpx;
  635. color: #333;
  636. }
  637. .payment .nav .item.on {
  638. font-weight: bold;
  639. border-bottom: 4rpx solid var(--view-theme);
  640. }
  641. .payment .input {
  642. display: flex;
  643. align-items: center;
  644. justify-content: center;
  645. border-bottom: 1px dashed #dddddd;
  646. margin: 60rpx auto 0 auto;
  647. padding-bottom: 20rpx;
  648. font-size: 56rpx;
  649. color: #333333;
  650. flex-wrap: nowrap;
  651. }
  652. .payment .input text {
  653. padding-left: 106rpx;
  654. }
  655. .payment .input input {
  656. padding-right: 106rpx;
  657. width: 300rpx;
  658. height: 94rpx;
  659. text-align: center;
  660. font-size: 70rpx;
  661. }
  662. .payment .placeholder {
  663. color: #d0d0d0;
  664. height: 100%;
  665. line-height: 94rpx;
  666. }
  667. .payment .tip {
  668. font-size: 26rpx;
  669. color: #888888;
  670. padding: 0 30rpx;
  671. margin-top: 25rpx;
  672. }
  673. .payment .but {
  674. color: #fff;
  675. font-size: 30rpx;
  676. width: 700rpx;
  677. height: 86rpx;
  678. border-radius: 50rpx;
  679. margin: 46rpx auto 0 auto;
  680. line-height: 86rpx;
  681. }
  682. .payment-top {
  683. width: 100%;
  684. height: 350rpx;
  685. background-color: var(--view-theme);
  686. .name {
  687. font-size: 26rpx;
  688. color: rgba(255, 255, 255, 0.8);
  689. margin-top: -38rpx;
  690. margin-bottom: 30rpx;
  691. }
  692. .pic {
  693. font-size: 32rpx;
  694. color: #fff;
  695. }
  696. .pic-font {
  697. font-size: 78rpx;
  698. color: #fff;
  699. }
  700. }
  701. .picList {
  702. display: flex;
  703. flex-wrap: wrap;
  704. margin: 30rpx 0;
  705. .pic-box {
  706. width: 32%;
  707. height: auto;
  708. border-radius: 20rpx;
  709. margin-top: 21rpx;
  710. padding: 20rpx 0;
  711. margin-right: 12rpx;
  712. &:nth-child(3n) {
  713. margin-right: 0;
  714. }
  715. }
  716. .pic-box-color {
  717. background-color: #f4f4f4;
  718. color: #656565;
  719. }
  720. .pic-number {
  721. font-size: 22rpx;
  722. }
  723. .pic-number-pic {
  724. font-size: 38rpx;
  725. margin-right: 10rpx;
  726. text-align: center;
  727. }
  728. .pic-box-color-active {
  729. background-color: var(--view-theme) !important;
  730. color: #fff !important;
  731. }
  732. }
  733. .tips-box {
  734. .tips {
  735. font-size: 28rpx;
  736. color: #333333;
  737. font-weight: 800;
  738. margin-bottom: 14rpx;
  739. margin-top: 20rpx;
  740. }
  741. .tips-samll {
  742. font-size: 24rpx;
  743. color: #333333;
  744. margin-bottom: 14rpx;
  745. }
  746. .tip-box {
  747. margin-top: 30rpx;
  748. }
  749. }
  750. .tips-title {
  751. margin-top: 20rpx;
  752. font-size: 24rpx;
  753. color: #333;
  754. }
  755. </style>