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

135 lines
2.8 KiB

8 months ago
2 months ago
8 months ago
3 days ago
8 months ago
3 days ago
8 months ago
2 months ago
8 months ago
2 months ago
8 months ago
2 months ago
8 months ago
3 days ago
8 months ago
2 months ago
3 days ago
2 months ago
3 days ago
2 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. <!-- <p>1本次提现必须通过银行卡提现暂不支持其他途径</p>
  28. <p>2如若遇到24小时提现未到账请联系客服</p> -->
  29. </view>
  30. <view class="b-fiexd">
  31. <view class="button-submit"
  32. @click="submit">提交</view>
  33. </view>
  34. </view>
  35. </template>
  36. <script>
  37. import userShopCommission from '@/components/userShop/userShopCommission.vue'
  38. export default {
  39. components: {
  40. userShopCommission,
  41. },
  42. data() {
  43. return {
  44. notice : '',
  45. form:{
  46. price:null,
  47. name:'',
  48. }
  49. }
  50. },
  51. methods: {
  52. submit() {
  53. if (this.$utils.verificationAll(this.form, {
  54. price: '请输入提现金额',
  55. name: '请输入姓名',
  56. })) {
  57. return
  58. }
  59. this.$api('storeWithdrawalApplication', this.form, res => {
  60. if (res.code == 200) {
  61. uni.showToast({
  62. title: '提交成功,待后台审核!',
  63. icon: 'none',
  64. })
  65. setTimeout(uni.navigateTo, 800, {
  66. url: '/pages_order/mine/runningWater?status=0'
  67. })
  68. }
  69. })
  70. },
  71. }
  72. }
  73. </script>
  74. <style scoped lang="scss">
  75. .purse{
  76. min-height: 100vh;
  77. background-color: #ffffff;
  78. .from-body {
  79. padding: 40rpx 20rpx;
  80. font-size: 28rpx;
  81. font-family: PingFang SC, PingFang SC-Bold;
  82. font-weight: 700;
  83. text-align: left;
  84. color: #333333;
  85. line-height: 40px;
  86. padding-bottom: 160rpx;
  87. .from-line {
  88. margin-top: 40rpx;
  89. }
  90. input {
  91. width: 612rpx;
  92. height: 90rpx;
  93. line-height: 90rpx;
  94. background: #F5F5F5;
  95. border-radius: 46rpx;
  96. padding: 0 50rpx;
  97. font-size: 28rpx;
  98. font-family: PingFang SC, PingFang SC-Regular;
  99. font-weight: 400;
  100. text-align: left;
  101. color: #333;
  102. }
  103. }
  104. .button-submit {
  105. width: 596rpx;
  106. height: 90rpx;
  107. line-height: 90rpx;
  108. background: $uni-color;
  109. border-radius: 46rpx;
  110. margin: 20rpx auto;
  111. font-size: 28rpx;
  112. font-family: PingFang SC, PingFang SC-Regular;
  113. font-weight: 400;
  114. text-align: center;
  115. color: #ffffff;
  116. }
  117. }
  118. </style>