瑶都万能墙
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

156 lines
3.2 KiB

8 months ago
3 months ago
8 months ago
3 weeks ago
8 months ago
8 months ago
3 months ago
8 months ago
3 months ago
8 months ago
3 months ago
8 months ago
8 months ago
8 months ago
8 months ago
3 weeks ago
8 months ago
3 months ago
3 months ago
3 weeks ago
3 months ago
3 weeks ago
3 months ago
8 months ago
8 months ago
  1. <template>
  2. <view class="purse">
  3. <navbar title="立即提现" leftClick @leftClick="$utils.navigateBack" />
  4. <!-- 水洗店 -->
  5. <view class="userShop">
  6. <userShopCommission purse/>
  7. </view>
  8. <view class="from-body">
  9. <view>我要提现</view>
  10. <view class="from-line">
  11. <input placeholder="请输入提现金额" v-model="form.price"/>
  12. </view>
  13. <view class="from-line">
  14. <input placeholder="请输入姓名(选填)" v-model="form.name"/>
  15. </view>
  16. <!-- <view class="from-line">
  17. <input placeholder="请输入开户行" />
  18. </view>
  19. <view class="from-line">
  20. <input placeholder="请输入银行卡卡号" />
  21. </view> -->
  22. <!-- <view class="mt56">提现说明</view>
  23. <view
  24. style="line-height: 45rpx; font-size: 24rpx;color: #666666;"
  25. v-html="notice">
  26. </view> -->
  27. </view>
  28. <view style="padding: 30rpx;">
  29. <uv-parse :content="configList.withdraw_money"></uv-parse>
  30. </view>
  31. <view class="b-fiexd">
  32. <view class="button-submit"
  33. @click="submit">提交</view>
  34. </view>
  35. <!-- 加入我们 -->
  36. <certificationPopup ref="certificationPopup" />
  37. </view>
  38. </template>
  39. <script>
  40. import userShopCommission from '@/components/userShop/userShopCommission.vue'
  41. import certificationPopup from '@/components/user/certificationPopup.vue'
  42. export default {
  43. components: {
  44. userShopCommission,
  45. certificationPopup,
  46. },
  47. data() {
  48. return {
  49. notice : '',
  50. form:{
  51. price:null,
  52. name:'',
  53. }
  54. }
  55. },
  56. methods: {
  57. submit() {
  58. if(this.userInfo.idCardOpen == 0){
  59. uni.showToast({
  60. title: '认证审核中...',
  61. icon:'none'
  62. })
  63. return
  64. }else if(!this.userInfo.idCardOpen){
  65. this.$refs.certificationPopup.open()
  66. return
  67. }
  68. if (this.$utils.verificationAll(this.form, {
  69. price: '请输入提现金额',
  70. // name: '请输入姓名',
  71. })) {
  72. return
  73. }
  74. this.$api('storeWithdrawalApplication', this.form, res => {
  75. if (res.code == 200) {
  76. uni.showToast({
  77. title: '提交成功,待后台审核!',
  78. icon: 'none',
  79. })
  80. this.$store.commit('getUserInfo')
  81. setTimeout(uni.redirectTo, 800, {
  82. url: '/pages_order/mine/runningWater?status=0'
  83. })
  84. }
  85. })
  86. },
  87. }
  88. }
  89. </script>
  90. <style scoped lang="scss">
  91. .purse{
  92. min-height: 100vh;
  93. background-color: #ffffff;
  94. .from-body {
  95. padding: 40rpx 20rpx;
  96. font-size: 28rpx;
  97. font-family: PingFang SC, PingFang SC-Bold;
  98. font-weight: 700;
  99. text-align: left;
  100. color: #333333;
  101. line-height: 40px;
  102. padding-bottom: 60rpx;
  103. .from-line {
  104. margin-top: 40rpx;
  105. }
  106. input {
  107. width: 612rpx;
  108. height: 90rpx;
  109. line-height: 90rpx;
  110. background: #F5F5F5;
  111. border-radius: 46rpx;
  112. padding: 0 50rpx;
  113. font-size: 28rpx;
  114. font-family: PingFang SC, PingFang SC-Regular;
  115. font-weight: 400;
  116. text-align: left;
  117. color: #333;
  118. }
  119. }
  120. .button-submit {
  121. width: 596rpx;
  122. height: 90rpx;
  123. line-height: 90rpx;
  124. background: $uni-color;
  125. border-radius: 46rpx;
  126. margin: 20rpx auto;
  127. font-size: 28rpx;
  128. font-family: PingFang SC, PingFang SC-Regular;
  129. font-weight: 400;
  130. text-align: center;
  131. color: #ffffff;
  132. }
  133. }
  134. </style>