index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633
  1. <template>
  2. <view :style="colorStyle">
  3. <view class='cash-withdrawal'>
  4. <view class='nav acea-row'>
  5. <view v-for="(item,index) in navList" :key="index" class='item fontcolor' @click="swichNav(item.id)">
  6. <view class='line bg-color' :class='currentTab==item.id ? "on":""'></view>
  7. <view class='iconfont' :class='item.icon+" "+(currentTab==item.id ? "on":"")'></view>
  8. <view>{{item.name}}</view>
  9. </view>
  10. </view>
  11. <view class='wrapper'>
  12. <view :hidden='currentTab != 0' class='list'>
  13. <form @submit="subCash">
  14. <view class='item acea-row row-between-wrapper'>
  15. <view class='name'><text class='red'>*</text> {{$t(`持卡人`)}}</view>
  16. <view class='input'><input :placeholder='$t(`请输入持卡人姓名`)' placeholder-class='placeholder'
  17. name="name"></input></view>
  18. </view>
  19. <view class='item acea-row row-between-wrapper'>
  20. <view class='name'><text class='red'>*</text> {{$t(`卡号`)}}</view>
  21. <view class='input'><input type='number' :placeholder='$t(`请填写卡号`)' placeholder-class='placeholder'
  22. name="cardnum"></input></view>
  23. </view>
  24. <view class='item acea-row row-between-wrapper'>
  25. <view class='name'><text class='red'>*</text> {{$t(`银行`)}}</view>
  26. <view class='input'>
  27. <picker @change="bindPickerChange" :value="index" :range="array">
  28. <text class='Bank'>{{array[index]}}</text>
  29. <text class='iconfont icon-qiepian38'></text>
  30. </picker>
  31. </view>
  32. </view>
  33. <view class='item acea-row row-between-wrapper'>
  34. <view class='name'><text class='red'>*</text> {{$t(`提现`)}}</view>
  35. <view class='input'><input @input='inputNum' :placeholder='$t(`最低提现金额`)+minPrice'
  36. placeholder-class='placeholder' name="money" type='digit'></input></view>
  37. </view>
  38. <view class='tip'>
  39. {{$t(`当前可提现金额`)}}: <text class="price">{{$t(`¥`)}}{{userInfo.commissionCount}}</text>,{{$t(`冻结佣金`)}}:
  40. {{$t(`¥`)}}{{userInfo.broken_commission}}
  41. </view>
  42. <view class='tip'>
  43. {{$t(`提现手续费: `)}}<text class="price">{{withdrawal_fee}}%</text>,{{$t(`实际到账: `)}}<text
  44. class="price">{{$t(`¥`)}}{{true_money}}</text>
  45. </view>
  46. <view class='tip'>
  47. {{$t(`说明: 每笔佣金的冻结期为`)}}{{userInfo.broken_day}}{{$t(`天,到期后可提现`)}}
  48. </view>
  49. <button formType="submit" class='bnt bg-color'>{{$t(`提现`)}}</button>
  50. </form>
  51. </view>
  52. <view :hidden='currentTab != 1' class='list'>
  53. <form @submit="subCash">
  54. <view class='item acea-row row-between-wrapper'>
  55. <view class='name'><text class='red'>*</text> {{$t(`姓名`)}}</view>
  56. <view class='input'><input :placeholder='$t(`请填写您的真实姓名`)' placeholder-class='placeholder'
  57. name="user_name"></input></view>
  58. </view>
  59. <view class='item acea-row row-between-wrapper' v-if="!weixinExtractType">
  60. <view class='name'><text class='red'>*</text> {{$t(`账号`)}}</view>
  61. <view class='input'><input :placeholder='$t(`请填写您的微信账号`)' placeholder-class='placeholder'
  62. name="name"></input></view>
  63. </view>
  64. <view class='item acea-row row-between-wrapper'>
  65. <view class='name'><text class='red'>*</text> {{$t(`提现`)}}</view>
  66. <view class='input'><input @input='inputNum' :placeholder='$t(`提现最低`)+minPrice+$t(`元,最高500元`)'
  67. placeholder-class='placeholder' name="money" type='digit'></input></view>
  68. </view>
  69. <view class='item acea-row row-top row-between' v-if="!weixinExtractType">
  70. <view class='name pos'>{{$t(`收款码`)}}</view>
  71. <view class="input acea-row">
  72. <view class="picEwm" v-if="qrcodeUrlW">
  73. <image :src="qrcodeUrlW"></image>
  74. <text class='iconfont icon-guanbi1 fontcolor' @click='DelPicW'></text>
  75. </view>
  76. <view class='pictrue acea-row row-center-wrapper row-column' @click='uploadpic("W")' v-else>
  77. <text class='iconfont icon-icon25201'></text>
  78. <view>{{$t(`上传图片`)}}</view>
  79. </view>
  80. </view>
  81. </view>
  82. <view class='tip'>
  83. {{$t(`当前可提现金额`)}}: <text class="price">{{$t(`¥`)}}{{userInfo.commissionCount}}</text>,{{$t(`冻结佣金`)}}:
  84. {{$t(`¥`)}}{{userInfo.broken_commission}}
  85. </view>
  86. <view class='tip'>
  87. {{$t(`提现手续费: `)}}<text class="price">{{withdrawal_fee}}%</text>,{{$t(`实际到账: `)}}<text
  88. class="price">{{$t(`¥`)}}{{true_money}}</text>
  89. </view>
  90. <view class='tip'>
  91. {{$t(`说明: 每笔佣金的冻结期为`)}}{{userInfo.broken_day}}{{$t(`天,到期后可提现`)}}
  92. </view>
  93. <button formType="submit" class='bnt bg-color'>{{$t(`提现`)}}</button>
  94. </form>
  95. </view>
  96. <view :hidden='currentTab != 2' class='list'>
  97. <form @submit="subCash">
  98. <view class='item acea-row row-between-wrapper'>
  99. <view class='name'><text class='red'>*</text> {{$t(`账号`)}}</view>
  100. <view class='input'><input :placeholder='$t(`请填写您的支付宝账号`)' placeholder-class='placeholder'
  101. name="name"></input></view>
  102. </view>
  103. <view class='item acea-row row-between-wrapper'>
  104. <view class='name'><text class='red'>*</text> {{$t(`姓名`)}}</view>
  105. <view class='input'><input :placeholder='$t(`请填写支付宝绑定的真实姓名`)' placeholder-class='placeholder'
  106. name="user_name"></input></view>
  107. </view>
  108. <view class='item acea-row row-between-wrapper'>
  109. <view class='name'><text class='red'>*</text> {{$t(`提现`)}}</view>
  110. <view class='input'><input @input='inputNum' :placeholder='$t(`最低提现金额`)+minPrice'
  111. placeholder-class='placeholder' name="money" type='digit'></input></view>
  112. </view>
  113. <view class='item acea-row row-top row-between'>
  114. <view class='name pos'>{{$t(`收款码`)}}</view>
  115. <view class="input acea-row">
  116. <view class="picEwm" v-if="qrcodeUrlZ">
  117. <image :src="qrcodeUrlZ"></image>
  118. <text class='iconfont icon-guanbi1 fontcolor' @click='DelPicZ'></text>
  119. </view>
  120. <view class='pictrue acea-row row-center-wrapper row-column' @click='uploadpic("Z")' v-else>
  121. <text class='iconfont icon-icon25201'></text>
  122. <view>{{$t(`上传图片`)}}</view>
  123. </view>
  124. </view>
  125. </view>
  126. <view class='tip'>
  127. {{$t(`当前可提现金额`)}}: <text class="price">{{$t(`¥`)}}{{userInfo.commissionCount}}</text>,{{$t(`冻结佣金`)}}:
  128. {{$t(`¥`)}}{{userInfo.broken_commission}}
  129. </view>
  130. <view class='tip'>
  131. {{$t(`提现手续费: `)}}<text class="price">{{withdrawal_fee}}%</text>,{{$t(`实际到账: `)}}<text
  132. class="price">{{$t(`¥`)}}{{true_money}}</text>
  133. </view>
  134. <view class='tip'>
  135. {{$t(`说明: 每笔佣金的冻结期为`)}}{{userInfo.broken_day}}{{$t(`天,到期后可提现`)}}
  136. </view>
  137. <button formType="submit" class='bnt bg-color'>{{$t(`提现`)}}</button>
  138. </form>
  139. </view>
  140. <view :hidden='currentTab != 3' class='list'>
  141. <form @submit="importNowMoney">
  142. <view class='item acea-row row-between-wrapper'>
  143. <view class='name'><text class='red'>*</text> {{$t(`提现`)}}</view>
  144. <view class='input'><input @input='inputNum' placeholder='请输入提现金额' placeholder-class='placeholder'
  145. name="money" type='digit'></input></view>
  146. </view>
  147. <view class='tip'>
  148. {{$t(`当前可提现金额`)}}: <text class="price">{{$t(`¥`)}}{{userInfo.commissionCount}}</text>,{{$t(`冻结佣金`)}}:
  149. {{$t(`¥`)}}{{userInfo.broken_commission}}
  150. </view>
  151. <button formType="submit" class='bnt bg-color'>{{$t(`提现`)}}</button>
  152. </form>
  153. </view>
  154. </view>
  155. </view>
  156. <!-- #ifdef MP -->
  157. <!-- <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> -->
  158. <!-- #endif -->
  159. </view>
  160. </template>
  161. <script>
  162. import {
  163. extractCash,
  164. extractBank,
  165. getUserInfo,
  166. recharge
  167. } from '@/api/user.js';
  168. import {
  169. toLogin
  170. } from '@/libs/login.js';
  171. import {
  172. mapGetters
  173. } from "vuex";
  174. // #ifdef MP
  175. import authorize from '@/components/Authorize';
  176. import {
  177. openRevenueSubscribe
  178. } from '@/utils/SubscribeMessage.js';
  179. // #endif
  180. import colors from '@/mixins/color.js';
  181. export default {
  182. components: {
  183. // #ifdef MP
  184. authorize
  185. // #endif
  186. },
  187. mixins: [colors],
  188. data() {
  189. return {
  190. navList: [],
  191. currentTab: 0,
  192. index: 0,
  193. array: [], //提现银行
  194. minPrice: 0.00, //最低提现金额
  195. userInfo: [],
  196. isClone: false,
  197. isAuto: false, //没有授权的不会自动授权
  198. isShowAuth: false, //是否隐藏授权
  199. qrcodeUrlW: "",
  200. qrcodeUrlZ: "",
  201. prevent: false, //避免重复提交成功多次
  202. weixinExtractType: 0, // 佣金到账方式
  203. alipayExtractType: 0, // 佣金到账方式
  204. withdrawal_fee: 0, //提现手续费
  205. true_money: 0
  206. };
  207. },
  208. computed: mapGetters(['isLogin']),
  209. watch: {
  210. isLogin: {
  211. handler: function(newV, oldV) {
  212. if (newV) {
  213. this.getUserInfo();
  214. this.getUserExtractBank();
  215. }
  216. },
  217. deep: true
  218. }
  219. },
  220. onLoad() {
  221. if (this.isLogin) {
  222. this.getUserInfo();
  223. this.getUserExtractBank();
  224. } else {
  225. toLogin();
  226. }
  227. },
  228. methods: {
  229. inputNum: function(e) {
  230. let val = e.detail.value;
  231. let dot = val.indexOf('.');
  232. if (dot > -1) {
  233. this.moneyMaxLeng = dot + 3;
  234. } else {
  235. this.moneyMaxLeng = 8
  236. }
  237. this.true_money = Math.floor((this.$util.$h.Mul(val, this.$util.$h.Div(this.$util.$h.Sub(100, this
  238. .withdrawal_fee), 100))) * 100) / 100 || 0;
  239. },
  240. // uploadpicW(){
  241. // this.uploadpic(this.qrcodeUrlW);
  242. // },
  243. // uploadpicZ(){
  244. // this.uploadpic(this.qrcodeUrlZ);
  245. // },
  246. /**
  247. * 上传文件
  248. *
  249. */
  250. uploadpic: function(type) {
  251. let that = this;
  252. that.$util.uploadImageOne('upload/image', function(res) {
  253. if (type === 'W') {
  254. that.qrcodeUrlW = res.data.url;
  255. } else {
  256. that.qrcodeUrlZ = res.data.url;
  257. }
  258. });
  259. },
  260. /**
  261. * 删除图片
  262. *
  263. */
  264. DelPicW: function() {
  265. this.qrcodeUrlW = "";
  266. },
  267. DelPicZ: function() {
  268. this.qrcodeUrlZ = "";
  269. },
  270. onLoadFun: function() {
  271. this.getUserInfo();
  272. this.getUserExtractBank();
  273. },
  274. // 授权关闭
  275. authColse: function(e) {
  276. this.isShowAuth = e
  277. },
  278. getUserExtractBank: function() {
  279. let that = this;
  280. extractBank().then(res => {
  281. let array = res.data.extractBank;
  282. array.unshift('请选择银行');
  283. array.forEach((v, i) => {
  284. array.splice(i, 1, that.$t(v))
  285. })
  286. that.$set(that, 'array', array);
  287. that.minPrice = res.data.minPrice;
  288. that.withdrawal_fee = res.data.withdrawal_fee;
  289. that.alipayExtractType = res.data.alipayExtractType ? parseInt(res.data.alipayExtractType) : 0;
  290. that.weixinExtractType = res.data.weixinExtractType ? parseInt(res.data.weixinExtractType) : 0;
  291. });
  292. },
  293. /**
  294. * 获取个人用户信息
  295. */
  296. getUserInfo: function() {
  297. let that = this;
  298. getUserInfo().then(res => {
  299. that.navList = [{
  300. 'name': that.$t(`银行卡`),
  301. 'icon': 'icon-yinhangqia',
  302. 'id': 0
  303. },
  304. {
  305. 'name': that.$t(`微信`),
  306. 'icon': 'icon-weixin2',
  307. 'id': 1
  308. },
  309. {
  310. 'name': that.$t(`支付宝`),
  311. 'icon': 'icon-icon34',
  312. 'id': 2
  313. },
  314. {
  315. 'name': that.$t(`余额`),
  316. 'icon': 'icon-qiandai',
  317. 'id': 3
  318. }
  319. ]
  320. let list = [];
  321. that.userInfo = res.data;
  322. that.navList.forEach((item, index) => {
  323. if (that.userInfo.extract_type.includes(item.id.toString())) {
  324. list.push(item)
  325. }
  326. })
  327. this.navList = list
  328. this.swichNav(this.navList[0].id)
  329. });
  330. },
  331. swichNav: function(current) {
  332. this.currentTab = current;
  333. },
  334. bindPickerChange: function(e) {
  335. this.index = e.detail.value;
  336. },
  337. subCash(e) {
  338. let that = this,
  339. value = e.detail.value;
  340. if (this.prevent) return
  341. if (that.currentTab == 0) { //银行卡
  342. if (!value.name.trim()) return this.$util.Tips({
  343. title: this.$t(`请填写持卡人姓名`)
  344. });
  345. if (!value.cardnum.trim()) return this.$util.Tips({
  346. title: this.$t(`请填写卡号`)
  347. });
  348. if (that.index == 0) return this.$util.Tips({
  349. title: this.$t(`请选择银行`)
  350. });
  351. value.extract_type = 'bank';
  352. value.bankname = that.array[that.index];
  353. } else if (that.currentTab == 1) { //微信
  354. value.extract_type = 'weixin';
  355. if (!value.user_name.trim()) return this.$util.Tips({
  356. title: this.$t(`请填写姓名`)
  357. });
  358. // 自动提现隐藏账号
  359. if (!that.weixinExtractType && !value.name.trim()) return this.$util.Tips({
  360. title: this.$t(`请填写微信号`)
  361. });
  362. value.weixin = value.name;
  363. value.qrcode_url = that.qrcodeUrlW;
  364. } else if (that.currentTab == 2) { //支付宝
  365. value.extract_type = 'alipay';
  366. if (value.name.length == 0) return this.$util.Tips({
  367. title: this.$t(`请填写支付宝号`)
  368. });
  369. value.alipay_code = value.name;
  370. value.qrcode_url = that.qrcodeUrlZ;
  371. }
  372. if (!value.money.trim()) return this.$util.Tips({
  373. title: this.$t(`请填写提现金额`)
  374. });
  375. if (Number(value.money) < Number(that.minPrice)) return this.$util.Tips({
  376. title: this.$t(`提现金额不能低于`) + that.minPrice
  377. });
  378. if (Number(value.money) > 500) return this.$util.Tips({
  379. title: this.$t(`提现金额不能高于500`)
  380. });
  381. this.prevent = true
  382. extractCash(value).then(res => {
  383. that.getUserInfo();
  384. if(this.weixinExtractType == 1 && this.currentTab == 1){
  385. // #ifdef MP
  386. this.openSubscribe('/pages/users/user_spread_user/index')
  387. // #endif
  388. return
  389. }
  390. return this.$util.Tips({
  391. title: res.msg,
  392. icon: 'success'
  393. }, {
  394. url: '/pages/users/user_spread_user/index',
  395. tab: 2
  396. });
  397. setTimeout(e => {
  398. this.prevent = false
  399. }, 1000)
  400. }).catch(err => {
  401. setTimeout(e => {
  402. this.prevent = false
  403. }, 1000)
  404. return this.$util.Tips({
  405. title: err
  406. });
  407. });
  408. },
  409. // #ifdef MP
  410. openSubscribe(page) {
  411. // uni.showLoading({
  412. // title: this.$t(`正在加载`),
  413. // })
  414. openRevenueSubscribe().then(res => {
  415. uni.hideLoading();
  416. uni.navigateTo({
  417. url: page,
  418. });
  419. }).catch(() => {
  420. uni.hideLoading();
  421. });
  422. },
  423. // #endif
  424. importNowMoney(e) {
  425. let that = this
  426. let value = e.detail.value.money;
  427. if (parseFloat(value) < 0 || parseFloat(value) == NaN || value == undefined || value == "") {
  428. return that.$util.Tips({
  429. title: that.$t(`请输入金额`)
  430. });
  431. }
  432. uni.showModal({
  433. title: that.$t(`提现到余额`),
  434. content: that.$t(`提现到余额后无法再次转出,确认是否提现到余额`),
  435. success(res) {
  436. if (res.confirm) {
  437. recharge({
  438. price: parseFloat(value),
  439. type: 1
  440. })
  441. .then(res => {
  442. return that.$util.Tips({
  443. title: that.$t(`提现到余额成功`),
  444. icon: 'success'
  445. }, {
  446. tab: 5,
  447. url: '/pages/users/user_spread_user/index'
  448. });
  449. }).catch(err => {
  450. return that.$util.Tips({
  451. title: err
  452. })
  453. });
  454. } else if (res.cancel) {
  455. return that.$util.Tips({
  456. title: that.$t(`已取消`)
  457. });
  458. }
  459. },
  460. })
  461. }
  462. }
  463. }
  464. </script>
  465. <style lang="scss">
  466. page {
  467. background-color: #fff !important;
  468. }
  469. .fontcolor {
  470. color: var(--view-theme) !important;
  471. }
  472. .cash-withdrawal .nav {
  473. height: 130rpx;
  474. box-shadow: 0 10rpx 10rpx #f8f8f8;
  475. }
  476. .cash-withdrawal .nav .item {
  477. font-size: 26rpx;
  478. flex: 1;
  479. text-align: center;
  480. }
  481. .cash-withdrawal .nav .item~.item {
  482. border-left: 1px solid #f0f0f0;
  483. }
  484. .cash-withdrawal .nav .item .iconfont {
  485. width: 40rpx;
  486. height: 40rpx;
  487. border-radius: 50%;
  488. border: 2rpx solid var(--view-theme);
  489. text-align: center;
  490. line-height: 37rpx;
  491. margin: 0 auto 6rpx auto;
  492. font-size: 22rpx;
  493. box-sizing: border-box;
  494. }
  495. .cash-withdrawal .nav .item .iconfont.on {
  496. background-color: var(--view-theme);
  497. color: #fff;
  498. border-color: var(--view-theme);
  499. }
  500. .cash-withdrawal .nav .item .line {
  501. width: 2rpx;
  502. height: 20rpx;
  503. margin: 0 auto;
  504. transition: height 0.3s;
  505. }
  506. .cash-withdrawal .nav .item .line.on {
  507. height: 39rpx;
  508. }
  509. .cash-withdrawal .wrapper .list {
  510. padding: 0 30rpx;
  511. }
  512. .cash-withdrawal .wrapper .list .item {
  513. border-bottom: 1rpx solid #eee;
  514. min-height: 28rpx;
  515. font-size: 30rpx;
  516. color: #333;
  517. padding: 39rpx 0;
  518. }
  519. .cash-withdrawal .wrapper .list .item .name {
  520. width: 130rpx;
  521. }
  522. .cash-withdrawal .wrapper .list .item .input {
  523. width: 505rpx;
  524. }
  525. .cash-withdrawal .wrapper .list .item .input .placeholder {
  526. color: #bbb;
  527. }
  528. .cash-withdrawal .wrapper .list .item .picEwm,
  529. .cash-withdrawal .wrapper .list .item .pictrue {
  530. width: 140rpx;
  531. height: 140rpx;
  532. border-radius: 3rpx;
  533. position: relative;
  534. margin-right: 23rpx;
  535. }
  536. .cash-withdrawal .wrapper .list .item .picEwm image {
  537. width: 100%;
  538. height: 100%;
  539. border-radius: 3rpx;
  540. }
  541. .cash-withdrawal .wrapper .list .item .picEwm .icon-guanbi1 {
  542. position: absolute;
  543. right: -14rpx;
  544. top: -16rpx;
  545. font-size: 40rpx;
  546. }
  547. .cash-withdrawal .wrapper .list .item .pictrue {
  548. border: 1px solid rgba(221, 221, 221, 1);
  549. font-size: 22rpx;
  550. color: #BBBBBB;
  551. }
  552. .cash-withdrawal .wrapper .list .item .pictrue .icon-icon25201 {
  553. font-size: 47rpx;
  554. color: #DDDDDD;
  555. margin-bottom: 3px;
  556. }
  557. .cash-withdrawal .wrapper .list .tip {
  558. font-size: 26rpx;
  559. color: #999;
  560. margin-top: 25rpx;
  561. }
  562. .cash-withdrawal .wrapper .list .bnt {
  563. font-size: 32rpx;
  564. color: #fff;
  565. width: 690rpx;
  566. height: 90rpx;
  567. text-align: center;
  568. border-radius: 50rpx;
  569. line-height: 90rpx;
  570. margin: 64rpx auto;
  571. }
  572. .cash-withdrawal .wrapper .list .tip2 {
  573. font-size: 26rpx;
  574. color: #999;
  575. text-align: center;
  576. margin: 44rpx 0 20rpx 0;
  577. }
  578. .cash-withdrawal .wrapper .list .value {
  579. height: 135rpx;
  580. line-height: 135rpx;
  581. border-bottom: 1rpx solid #eee;
  582. width: 690rpx;
  583. margin: 0 auto;
  584. }
  585. .cash-withdrawal .wrapper .list .value input {
  586. font-size: 80rpx;
  587. color: #282828;
  588. height: 135rpx;
  589. text-align: center;
  590. }
  591. .cash-withdrawal .wrapper .list .value .placeholder2 {
  592. color: #bbb;
  593. }
  594. .price {
  595. color: var(--view-priceColor);
  596. }
  597. .pos{
  598. padding-left: 26rpx;
  599. }
  600. .red{
  601. padding-right: 10rpx;
  602. color: var(--view-theme) !important;
  603. }
  604. </style>