withdraw.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782
  1. <!-- 提现 -->
  2. <template>
  3. <view class="">
  4. <view style="color: #000000;">
  5. <tn-nav-bar backgroundColor="#ffffff" :bottomShadow="false">提现</tn-nav-bar>
  6. <view :style="{height: tobheight+'px'}"></view>
  7. </view>
  8. <view class="draw-money-wrap" style="background: #f6f6f6;height: 100%;">
  9. <view class="head-box">
  10. <!-- <shopro-navbar :background="{ background: 'none' }" :backTextStyle="{ color: '#fff' }" backText="提现" backIconColor="#fff"></shopro-navbar> -->
  11. <!-- 可提现 -->
  12. <view class="wallet-num-box u-flex u-col-center u-row-between">
  13. <view class="">
  14. <view class="num-title">可提现金额(元)</view>
  15. <view class="wallet-num">{{ okmoney || '0.00' }}</view>
  16. </view>
  17. <button class="u-reset-button log-btn"
  18. @tap="$Router.push({ path: '/pages/user/commission/withdraw-log' })">提现记录</button>
  19. <!-- <button class="u-reset-button log-btn">提现记录</button> -->
  20. </view>
  21. </view>
  22. <!-- 提现输入卡片-->
  23. <view class="" style="padding-left: 30rpx;padding-right: 30rpx;">
  24. <view class="draw-card">
  25. <view class="card-title">提现金额</view>
  26. <view class="input-box u-flex u-col-center">
  27. <view calss="unit">¥</view>
  28. <input class="u-flex-1 u-p-l-10" type="number" @input="onWithdrawInput" v-model="money"
  29. :placeholder-style="placeholderStyle" placeholder="请输入提现金额" />
  30. </view>
  31. <view class="bank-box u-flex u-col-center u-row-between u-m-b-30">
  32. <view class="name">提现至</view>
  33. <!-- <view class="bank-list u-flex" @tap="showWithdrawList = true">
  34. <view class="empty-text" v-if="!withdrawType">请选择提现方式</view>
  35. <view class="sel-box u-flex u-col-center" v-else>
  36. <image class="item-img" :src="withdrawList[withdrawType].icon" mode=""></image>
  37. <view class="item-title u-m-l-20">{{ withdrawList[withdrawType].title }}</view>
  38. </view>
  39. <text class="u-iconfont uicon-arrow-right" style="#C4C4C4;"></text>
  40. </view> -->
  41. <view class="bank-list u-flex">
  42. <view class="sel-box u-flex u-col-center">
  43. <image class="item-img" src="https://file.shopro.top/imgs/wallet/wx_type.png" mode="">
  44. </image>
  45. <view class="item-title u-m-l-20">微信</view>
  46. </view>
  47. <!-- <text class="u-iconfont uicon-arrow-right" style="#C4C4C4;"></text> -->
  48. </view>
  49. </view>
  50. <!-- 提现信息 -->
  51. <view class="bank-info u-m-b-80">
  52. <view class="u-flex u-row-between u-col-center" v-if="withdrawType">
  53. <block v-if="withdrawType === 'wechat'">
  54. <view class="bank-info-title">
  55. {{ !withdrawInfo ? '暂无微信授权信息' : `${withdrawInfo.bank_name || ''} [${withdrawInfo.card_no || ''}] ${withdrawInfo.real_name || ''}` }}
  56. </view>
  57. <view v-if="!withdrawInfo" class="u-reset-button bind-btn u-m-l-20"
  58. @tap="bindThirdOauth()">绑定</view>
  59. </block>
  60. <block v-else>
  61. <view class="bank-info-title">
  62. {{
  63. !withdrawInfo
  64. ? `暂无${withdrawList[withdrawType].title}信息`
  65. : `${withdrawInfo.bank_name || ''} [${withdrawInfo.card_no || ''}] ${withdrawInfo.real_name || ''}`
  66. }}
  67. </view>
  68. <view class="u-reset-button bind-btn u-m-l-20" @tap="toBind">
  69. {{ withdrawInfo ? '修改' : '添加' }}
  70. </view>
  71. </block>
  72. </view>
  73. </view>
  74. <button class="u-reset-button save-btn" @tap="withdraw">确认提现</button>
  75. </view>
  76. </view>
  77. <!-- 提现说明 -->
  78. <view class="" style="padding-left: 30rpx;padding-right: 30rpx;">
  79. <view class="draw-notice">
  80. <view class="title">{{ruleInfo.instructions}}</view>
  81. <view class="draw-list">1.单次最低提现 {{ruleInfo.extract_min_price}} 元。</view>
  82. <!-- <view class="draw-list">
  83. 2.每日最多可提现次数: {{ ruleInfo.perday_num ? ruleInfo.perday_num : '不限' }};每日最多提现金额(元):
  84. {{ ruleInfo.perday_amount ? ruleInfo.perday_amount : '不限' }};
  85. </view> -->
  86. <!-- <view class="draw-list">3.每笔收取提现手续费 {{ ruleInfo.extract_rate }}%;</view> -->
  87. <view class="draw-list">2.提现结果请查收对应渠道服务通知。</view>
  88. <view class="draw-list">3.如有疑问请及时联系客服。</view>
  89. <!-- <view class="draw-list">4.一级分佣比例为{{ruleInfo.first}}%。</view>
  90. <view class="draw-list">5.二级分佣比例为{{ruleInfo.second}}%。</view>
  91. <view class="draw-list">6.三级分佣比例为{{ruleInfo.third}}%。</view> -->
  92. </view>
  93. </view>
  94. <!-- 提现方式 -->
  95. <!-- <u-popup v-if="ruleInfo && ruleInfo.methods.length" v-model="showWithdrawList" mode="bottom" safe-area-inset-bottom :closeable="false" border-radius="30">
  96. <view class="page_box withdraw-modal">
  97. <view class="modal-head u-flex u-row-center u-col-center">选择提现方式</view>
  98. <view class="content_box modal-content">
  99. <u-radio-group v-model="selectedWithdrawType" activeColor="#A36FFF" wrap>
  100. <view class="type-item u-p-x-24 u-p-y-30" v-if="ruleInfo.methods.includes(item.value)" v-for="(item, index) in withdrawList" :key="index">
  101. <u-radio shape="circle" iconSize="30" :name="item.value" labelWidth="100%">
  102. <view class="item-left u-flex u-col-center u-m-l-30">
  103. <image class="item-img" :src="item.icon" mode=""></image>
  104. <view class="item-title u-m-l-20">{{ item.title }}</view>
  105. </view>
  106. </u-radio>
  107. </view>
  108. </u-radio-group>
  109. </view>
  110. <view class="modal-bottom"><button class="u-reset-button modal-save-btn" @tap="onSaveWithdrawType">确定</button></view>
  111. </view>
  112. </u-popup> -->
  113. <u-popup :show="showBindForm" @close="showBindForm = false" :round="10">
  114. <view class="carmimodal">
  115. <view class="carmiclose" @click="showBindForm = false"><u-icon name="close-circle-fill" color="#fff"
  116. size="22"></u-icon></view>
  117. <view class="carmititle">添加提现信息</view>
  118. <view class="kf_qrcode tn-flex justify-center">
  119. <u--image :showLoading="true" :src="paymentcode" width="100px" height="100px"
  120. @click="clickuimage()"></u--image>
  121. </view>
  122. <view class="u-text-center">
  123. 点击上传微信收款码
  124. </view>
  125. <view class="carmiinput"><u--input placeholder="请输入您的真实姓名" border="surround" clearable
  126. v-model="realname"></u--input></view>
  127. <view @click="exchange" class="carmiexchange">立即保存</view>
  128. </view>
  129. </u-popup>
  130. <!-- 绑定修改银行信息 -->
  131. <!-- modal -->
  132. <u-modal ref="uModal" v-model="showModal" :show-cancel-button="true" confirm-color="#7063D2"
  133. cancel-color="#666666" @confirm="$Router.push('/pages/user/wallet/withdraw-log')" confirm-text="查看记录"
  134. cancel-text="继续提现" content="您的申请提现已提交" title="申请成功"></u-modal>
  135. </view>
  136. <wike-loading-page :isLoading="isLoading"></wike-loading-page>
  137. </view>
  138. </template>
  139. <script>
  140. import {
  141. mapState,
  142. mapActions,
  143. mapGetters
  144. } from 'vuex';
  145. import {
  146. apiurl
  147. } from '@/common/request/request';
  148. // import FormValidate from '@/shopro/validate/form';
  149. // import wechat from '@/shopro/wechat/wechat';
  150. export default {
  151. data() {
  152. return {
  153. isLoading: true,
  154. tobheight: 45,
  155. platform: this.$platform.get(),
  156. showModal: false,
  157. money: '', //提现金额
  158. ruleInfo: {}, //提现规则
  159. formTitle: '',
  160. withdrawType: '',
  161. showBindForm: false,
  162. selectedWithdrawType: '',
  163. withdrawInfo: {}, //提现信息
  164. showWithdrawList: false,
  165. withdrawList: {
  166. bank: {
  167. icon: this.$IMG_URL + '/imgs/wallet/bank_type.png',
  168. title: '银行卡转账',
  169. value: 'bank'
  170. },
  171. wechat: {
  172. icon: this.$IMG_URL + '/imgs/wallet/wx_type.png',
  173. title: '微信零钱',
  174. value: 'wechat'
  175. },
  176. alipay: {
  177. icon: this.$IMG_URL + '/imgs/wallet/ali_type.png',
  178. title: '支付宝账户',
  179. value: 'alipay'
  180. }
  181. },
  182. // 表单样式
  183. errorType: ['message'],
  184. labelStyle: {
  185. 'font-size': '30rpx',
  186. 'font-weight': '500',
  187. color: '#333'
  188. },
  189. placeholderStyle: 'font-size: 30rpx; font-weight: 500;color:#C2C7CF;',
  190. form: {
  191. data: {
  192. real_name: '',
  193. bank_name: '',
  194. card_no: ''
  195. },
  196. // bankRules: {
  197. // real_name: FormValidate.realName,
  198. // bank_name: FormValidate.bankName,
  199. // card_no: FormValidate.bankCode
  200. // },
  201. // alipayRules: {
  202. // real_name: FormValidate.realName,
  203. // card_no: FormValidate.alipayAccount
  204. // }
  205. },
  206. okmoney: 0.00,
  207. extract_min_price: 0,
  208. extract_rate: 0,
  209. paymentcode: '',
  210. paymentcodeid: '',
  211. realname: '',
  212. qrcode_wechat: ''
  213. };
  214. },
  215. computed: {
  216. ...mapGetters(['appInfo', 'userInfo'])
  217. },
  218. onLoad() {
  219. const that = this;
  220. if (this.platform == 'wxMiniProgram') {
  221. var menumtop = uni.getMenuButtonBoundingClientRect().top - uni.getSystemInfoSync().statusBarHeight
  222. var paddingtop = uni.getSystemInfoSync().statusBarHeight + menumtop
  223. this.tobheight = (menumtop + paddingtop + uni.getMenuButtonBoundingClientRect().height)
  224. }
  225. this.getCheck()
  226. this.getWithdrawRules();
  227. this.getGroupConf()
  228. // that.$store.dispatch('getUserInfo');
  229. },
  230. methods: {
  231. getCheck() {
  232. var that = this;
  233. that.$http('commission.auth').then(res => {
  234. if (res.code == 0) {
  235. uni.setNavigationBarTitle({
  236. title: this.appInfo.site_name
  237. });
  238. that.okmoney = res.data.money
  239. that.qrcode_wechat = res.data.qrcode_wechat
  240. that.isLoading = false
  241. }
  242. })
  243. },
  244. getGroupConf() {
  245. var that = this;
  246. // that.$http('conf.getGroupConf',{group: 'system.commission_cashout'}).then(res => {
  247. // if(res.code == 0){
  248. // that.extract_min_price = res.data.extract_min_price
  249. // that.extract_rate = res.data.extract_rate
  250. // }
  251. // })
  252. },
  253. // 确认提现方式
  254. onSaveWithdrawType() {
  255. this.withdrawType = this.selectedWithdrawType;
  256. this.showWithdrawList = false;
  257. this.getWithdrawInfo();
  258. },
  259. async bindThirdOauth() {
  260. let that = this;
  261. wechat.bind();
  262. that.getWithdrawInfo();
  263. },
  264. exchange() {
  265. let that = this;
  266. if (!that.paymentcode && that.paymentcodeid) {
  267. uni.showToast({
  268. title: '请上传微信收款码',
  269. icon: 'none'
  270. })
  271. return;
  272. }
  273. // if(!that.realname){
  274. // uni.showToast({
  275. // title:'请填写您的真实姓名',
  276. // icon:'none'
  277. // })
  278. // return;
  279. // }
  280. that.$http('commission.update', {
  281. real_name: that.realname,
  282. qrcode_wechat: that.paymentcodeid
  283. }).then(res => {
  284. if (res.code === 0) {
  285. uni.showToast({
  286. title: '保存成功'
  287. })
  288. that.showBindForm = false
  289. that.getCheck()
  290. } else {
  291. uni.showToast({
  292. title: '保存失败',
  293. icon: 'none'
  294. })
  295. }
  296. });
  297. },
  298. //上传收款码
  299. clickuimage() {
  300. var that = this;
  301. uni.chooseImage({
  302. count: 1, //默认9
  303. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  304. sourceType: ['album', 'camera'], //从相册选择
  305. success: function(res) {
  306. uni.showLoading({
  307. title: '上传中...'
  308. })
  309. const tempFilePaths = res.tempFilePaths;
  310. //上传服务器将服务器;
  311. uni.uploadFile({
  312. url: apiurl('common/upload'),
  313. filePath: tempFilePaths[0],
  314. name: 'file',
  315. formData: {
  316. accept: 'image'
  317. },
  318. success: res2 => {
  319. uni.hideLoading();
  320. let a = JSON.parse(res2.data);
  321. if (a.code == 0) {
  322. that.paymentcode = a.data.path
  323. that.paymentcodeid = a.data.id
  324. } else {
  325. uni.showToast({
  326. title: '上传收款码失败',
  327. icon: 'none'
  328. })
  329. }
  330. }
  331. });
  332. }
  333. });
  334. },
  335. // 提现检验
  336. onWithdrawInput(e) {
  337. let sVal = String(e.detail.value);
  338. sVal = sVal.replace(/\b(0+)/gi, '');
  339. sVal = sVal.replace(/[^\d]/g, '');
  340. this.money = sVal;
  341. },
  342. // 提现
  343. withdraw() {
  344. const that = this;
  345. if (!this.qrcode_wechat) {
  346. this.$u.toast('请上传提现信息');
  347. this.showBindForm = true
  348. return;
  349. }
  350. // console.log(that.money,that.ruleInfo.extract_min_price,that.okmoney);
  351. // if (that.okmoney == 0 && that.money > that.okmoney) {
  352. // that.$u.toast('金额不足');
  353. // return;
  354. // }
  355. console.log(Number(that.money), Number(that.ruleInfo.extract_min_price), Number(that.okmoney));
  356. if (Number(that.money) <= 0) {
  357. that.$u.toast('请输入提现金额');
  358. return;
  359. }
  360. if (Number(that.okmoney) == 0) {
  361. that.$u.toast('金额不足');
  362. return;
  363. }
  364. if (Number(that.okmoney) > 0 && Number(that.money) > Number(that.okmoney)) {
  365. that.$u.toast('金额不足');
  366. return;
  367. }
  368. if (Number(that.money) < Number(that.ruleInfo.extract_min_price)) {
  369. that.$u.toast('最低提现金额' + that.ruleInfo.extract_min_price + '元');
  370. return;
  371. }
  372. that.$http(
  373. 'commission.extract', {
  374. // type: that.withdrawType,
  375. extract_price: that.money
  376. },
  377. '申请中...',
  378. false
  379. ).then(res => {
  380. if (res.code === 0) {
  381. // that.$u.toast(res.msg);
  382. that.money = '';
  383. // uni.showToast({
  384. // title:'提现成功'
  385. // })
  386. uni.showModal({
  387. confirmText: '继续提现',
  388. confirmColor: '#5e49c3',
  389. content: '提现成功',
  390. title: '提示',
  391. success(res) {
  392. }
  393. })
  394. that.getCheck()
  395. } else {
  396. that.money = '';
  397. // that.showModal = true;
  398. // #ifdef MP-WEIXIN
  399. // this.$store.commit('subscribeMessage', 'wallet');
  400. // #endif
  401. uni.showToast({
  402. title: '提现失败',
  403. icon: 'none'
  404. })
  405. }
  406. });
  407. },
  408. initForm() {
  409. this.form.data = {
  410. real_name: '',
  411. bank_name: '',
  412. card_no: ''
  413. };
  414. },
  415. // 绑定,修改
  416. toBind() {
  417. this.showBindForm = true;
  418. this.form.data = {
  419. ...this.form.data,
  420. ...this.withdrawInfo
  421. };
  422. switch (this.withdrawType) {
  423. case 'bank':
  424. this.formTitle = this.withdrawInfo ? '修改银行卡' : '添加银行卡';
  425. this.$nextTick(() => {
  426. this.$refs.bank.setRules(this.form.bankRules);
  427. });
  428. break;
  429. case 'alipay':
  430. this.formTitle = this.withdrawInfo ? '修改支付宝' : '添加支付宝';
  431. this.$nextTick(() => {
  432. this.$refs.alipay.setRules(this.form.alipayRules);
  433. });
  434. break;
  435. default:
  436. break;
  437. }
  438. },
  439. // 确认提交表单
  440. saveForm() {
  441. let that = this;
  442. this.$refs[this.withdrawType].validate().then(res => {
  443. if (res) {
  444. that.$http(
  445. 'money.bankEdit', {
  446. type: that.withdrawType,
  447. ...that.form.data
  448. },
  449. '提交中...'
  450. ).then(res => {
  451. if (res.code === 1) {
  452. that.showBindForm = false;
  453. that.$u.toast(res.msg);
  454. that.initForm();
  455. that.getWithdrawInfo();
  456. }
  457. });
  458. }
  459. });
  460. },
  461. // 提现规则
  462. getWithdrawRules() {
  463. let that = this;
  464. that.$http('conf.getGroupConf', {
  465. group: 'system.commission'
  466. }).then(res => {
  467. if (res.code === 0) {
  468. that.ruleInfo = res.data;
  469. // that.selectedWithdrawType = that.ruleInfo.methods[0];
  470. }
  471. });
  472. },
  473. // 获取提现信息
  474. getWithdrawInfo() {
  475. let that = this;
  476. that.$http(
  477. 'money.bankInfo', {
  478. type: that.withdrawType
  479. },
  480. '',
  481. false
  482. ).then(res => {
  483. that.withdrawInfo = res.code === 1 ? res.data : null;
  484. });
  485. }
  486. }
  487. };
  488. </script>
  489. <style lang="scss">
  490. .head-box {
  491. background: url('http://file.shopro.top/imgs/user/draw_money_head_bg.png') no-repeat;
  492. background-size: 100% auto;
  493. min-height: 400rpx;
  494. padding-bottom: var(--status-bar-height);
  495. // 可提现
  496. .wallet-num-box {
  497. padding: 20rpx 40rpx 0;
  498. .num-title {
  499. font-size: 26rpx;
  500. font-weight: 500;
  501. color: #ffffff;
  502. margin-bottom: 20rpx;
  503. }
  504. .wallet-num {
  505. font-size: 60rpx;
  506. font-weight: 500;
  507. color: #ffffff;
  508. }
  509. .log-btn {
  510. width: 170rpx;
  511. height: 60rpx;
  512. line-height: 60rpx;
  513. background: rgba(255, 255, 255, 0.1);
  514. border: 1rpx solid #eeeeee;
  515. border-radius: 30rpx;
  516. padding: 0;
  517. font-size: 26rpx;
  518. font-weight: 500;
  519. color: #ffffff;
  520. margin-right: 0;
  521. }
  522. }
  523. }
  524. // 提现输入卡片
  525. .draw-card {
  526. background-color: #fff;
  527. border-radius: 20rpx;
  528. // width: 690rpx;
  529. min-height: 530rpx;
  530. margin: -70rpx auto 0;
  531. padding: 30rpx;
  532. .card-title {
  533. font-size: 30rpx;
  534. font-weight: 500;
  535. color: #333333;
  536. margin-bottom: 30rpx;
  537. }
  538. .input-box {
  539. width: 624rpx;
  540. border-bottom: 1rpx solid #eee;
  541. height: 100rpx;
  542. margin-bottom: 40rpx;
  543. .unit {
  544. font-size: 48rpx;
  545. color: #333;
  546. }
  547. }
  548. .bank-box {
  549. .name {
  550. font-size: 28rpx;
  551. font-weight: 500;
  552. color: #333333;
  553. }
  554. .bank-list {
  555. .empty-text {
  556. font-size: 28rpx;
  557. font-weight: 400;
  558. color: #999999;
  559. }
  560. .sel-box {
  561. .item-img {
  562. width: 36rpx;
  563. height: 36rpx;
  564. }
  565. .item-title {
  566. font-size: 28rpx;
  567. color: #333333;
  568. }
  569. }
  570. }
  571. }
  572. .bank-info {
  573. height: 50rpx;
  574. font-size: 28rpx;
  575. font-weight: 400;
  576. color: #999999;
  577. .bank-info-title {
  578. width: 500rpx;
  579. }
  580. .bind-btn {
  581. padding: 0 20rpx;
  582. line-height: 50rpx;
  583. background: #f5f6f8;
  584. border-radius: 20rpx;
  585. color: #999;
  586. }
  587. }
  588. .save-btn {
  589. width: 616rpx;
  590. height: 86rpx;
  591. line-height: 86rpx;
  592. background: linear-gradient(-90deg, #a36fff, #5336ff);
  593. box-shadow: 0px 7rpx 11rpx 2rpx rgba(124, 103, 214, 0.34);
  594. border-radius: 43rpx;
  595. font-size: 30rpx;
  596. font-weight: 500;
  597. color: #ffffff;
  598. }
  599. }
  600. // 提现说明
  601. .draw-notice {
  602. // width: 684rpx;
  603. min-height: 327rpx;
  604. background: #ffffff;
  605. border-radius: 20rpx;
  606. padding: 30rpx 35rpx;
  607. margin: 20rpx auto;
  608. .title {
  609. font-size: 30rpx;
  610. font-weight: 500;
  611. color: #333333;
  612. margin-bottom: 30rpx;
  613. }
  614. .draw-list {
  615. font-size: 24rpx;
  616. font-weight: 400;
  617. color: #999999;
  618. margin-bottom: 10rpx;
  619. }
  620. }
  621. // 提现费方式
  622. .withdraw-modal {
  623. min-height: 600rpx;
  624. background-color: #fff;
  625. .modal-head {
  626. height: 80rpx;
  627. font-size: 30rpx;
  628. font-weight: 600;
  629. color: #333333;
  630. border-bottom: 1rpx solid rgba(#dfdfdf, 0.5);
  631. }
  632. .modal-content {
  633. .type-item {
  634. height: 100rpx;
  635. border-bottom: 1rpx solid rgba(#dfdfdf, 0.5);
  636. width: 750rpx;
  637. .item-img {
  638. width: 36rpx;
  639. height: 36rpx;
  640. }
  641. .item-title {
  642. font-size: 28rpx;
  643. color: #333333;
  644. }
  645. }
  646. }
  647. .modal-bottom {
  648. padding: 30rpx;
  649. .modal-save-btn {
  650. width: 690rpx;
  651. height: 80rpx;
  652. line-height: 80rpx;
  653. background: linear-gradient(90deg, #a36fff, #5336ff);
  654. box-shadow: 0 7rpx 11rpx 2rpx rgba(124, 103, 214, 0.34);
  655. border-radius: 40rpx;
  656. font-weight: 500;
  657. color: #ffffff;
  658. }
  659. }
  660. }
  661. // 绑定
  662. .form-box {
  663. .head-title {
  664. height: 100rpx;
  665. font-size: 34rpx;
  666. font-weight: 600;
  667. }
  668. .form-save-btn {
  669. width: 340rpx;
  670. height: 80rpx;
  671. line-height: 80rpx;
  672. background: linear-gradient(90deg, #a36fff, #5336ff);
  673. box-shadow: 0 7rpx 11rpx 2rpx rgba(124, 103, 214, 0.34);
  674. border-radius: 40rpx;
  675. font-weight: 500;
  676. color: #ffffff;
  677. }
  678. .form-cancel-btn {
  679. width: 340rpx;
  680. height: 80rpx;
  681. line-height: 80rpx;
  682. border: 1rpx solid #999;
  683. border-radius: 40rpx;
  684. font-weight: 500;
  685. color: #999;
  686. }
  687. }
  688. .carmimodal {
  689. // width: 600rpx;
  690. border-radius: 20rpx;
  691. position: relative;
  692. .carmiclose {
  693. position: absolute;
  694. right: 15rpx;
  695. top: 15rpx;
  696. }
  697. .carmititle {
  698. background: linear-gradient(-90deg, #a36fff, #5336ff);
  699. color: #fff;
  700. height: 120rpx;
  701. line-height: 120rpx;
  702. font-size: 32rpx;
  703. font-weight: bold;
  704. text-align: center;
  705. border-radius: 20rpx 20rpx 0 0;
  706. margin-bottom: 60rpx;
  707. }
  708. .carmiinput {
  709. margin: 30rpx;
  710. }
  711. .carmiexchange {
  712. margin: 80rpx 30rpx 90rpx 30rpx;
  713. background: linear-gradient(-90deg, #a36fff, #5336ff);
  714. color: #fff;
  715. border-radius: 80rpx;
  716. height: 80rpx;
  717. line-height: 80rpx;
  718. text-align: center;
  719. }
  720. .kf_qrcode {
  721. // margin-left: 200rpx;
  722. margin-bottom: 30rpx;
  723. }
  724. }
  725. </style>