用工小程序前端代码
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.

57 lines
1.4 KiB

8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
6 months ago
8 months ago
  1. <template>
  2. <view class="se-m-40">
  3. <u--input v-model="money" type="number" class="se-bgc-f5 se-fs-32" placeholder="请输入提现金额">
  4. <text slot="prefix" class="se-ml-10 se-c-orange se-fs-32"></text>
  5. </u--input>
  6. <view class="se-flex se-flex-v se-pb-20 se-mt-80">
  7. <view class="se-ml-10 se-fs-26 se-c-black se-fw-5">
  8. 提现说明
  9. </view>
  10. <view class="se-flex se-flex-v se-fs-24 se-c-66 se-mt-30">
  11. <text class="se-hl-50">
  12. 1本次提现必须通过银行卡提现暂不支持其他途径</br>
  13. 2如若遇到24小时提现未到账请联系客服</br>
  14. 3提现金额至少不能低于300元
  15. </text>
  16. </view>
  17. </view>
  18. <view class="se-pt-80 se-fs-20 se-flex">
  19. <view @click="onWithdrawal"
  20. class="se-mx-10 se-flex-1 se-br-40 se-flex-h-c se-h-80 se-lh-80 se-ta-c se-fs-28 se-c-white se-bgc-orange">
  21. <text>立即提现</text>
  22. </view>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. import {
  28. withdrawal
  29. } from "@/common/api.js"
  30. export default{
  31. props:["userId","myMoney"],
  32. data(){
  33. return{
  34. money:"",
  35. }
  36. },
  37. methods:{
  38. onWithdrawal(){
  39. let that = this
  40. let params = {
  41. money:this.money
  42. }
  43. withdrawal(params).then(response=>{
  44. console.info("response",response)
  45. that.money=""
  46. that.$emit("onParent")
  47. }).catch(error=>{
  48. })
  49. }
  50. }
  51. }
  52. </script>
  53. <style>
  54. </style>