瑶都万能墙
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.

154 lines
3.1 KiB

8 months ago
3 months ago
8 months ago
1 week 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
1 week ago
8 months ago
3 months ago
3 months ago
1 week ago
3 months ago
1 week 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. setTimeout(uni.navigateTo, 800, {
  81. url: '/pages_order/mine/runningWater?status=0'
  82. })
  83. }
  84. })
  85. },
  86. }
  87. }
  88. </script>
  89. <style scoped lang="scss">
  90. .purse{
  91. min-height: 100vh;
  92. background-color: #ffffff;
  93. .from-body {
  94. padding: 40rpx 20rpx;
  95. font-size: 28rpx;
  96. font-family: PingFang SC, PingFang SC-Bold;
  97. font-weight: 700;
  98. text-align: left;
  99. color: #333333;
  100. line-height: 40px;
  101. padding-bottom: 60rpx;
  102. .from-line {
  103. margin-top: 40rpx;
  104. }
  105. input {
  106. width: 612rpx;
  107. height: 90rpx;
  108. line-height: 90rpx;
  109. background: #F5F5F5;
  110. border-radius: 46rpx;
  111. padding: 0 50rpx;
  112. font-size: 28rpx;
  113. font-family: PingFang SC, PingFang SC-Regular;
  114. font-weight: 400;
  115. text-align: left;
  116. color: #333;
  117. }
  118. }
  119. .button-submit {
  120. width: 596rpx;
  121. height: 90rpx;
  122. line-height: 90rpx;
  123. background: $uni-color;
  124. border-radius: 46rpx;
  125. margin: 20rpx auto;
  126. font-size: 28rpx;
  127. font-family: PingFang SC, PingFang SC-Regular;
  128. font-weight: 400;
  129. text-align: center;
  130. color: #ffffff;
  131. }
  132. }
  133. </style>