index.vue 18 KB

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