index.vue 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <template>
  2. <div id="agent_settlement_center_index_container">
  3. <!-- 头部-->
  4. <div class="header text-center">
  5. <img src="https://img.shuimuai.com/web/happy_shuimu.png" class="main_icon" alt="">
  6. <view>
  7. <text class="text-white text-sm">可提现金额(元)</text>
  8. </view>
  9. <view>
  10. <text class="text-white text-bold text-sl">{{ total_price }}.00</text>
  11. </view>
  12. </div>
  13. <view class="cu-bar">
  14. <view class="action">
  15. <text class="text-sm ">提现到微信钱包</text>
  16. </view>
  17. </view>
  18. <!-- 提现金额输入框-->
  19. <van-field
  20. :value='price'
  21. placeholder="输入提现金额"
  22. :custom-style='custom_style'
  23. center
  24. clearable
  25. >
  26. <text class="text-xxl" slot="label">&yen;</text>
  27. <view slot="button" @click="price=total_price">
  28. <text class="under_line text-sm text-orange">全部提现</text>
  29. </view>
  30. </van-field>
  31. <view class="cu-bar">
  32. <view class="action">
  33. <text class="text-xs text-gray">提现单笔手续费1%,预计1个工作日内到账</text>
  34. </view>
  35. </view>
  36. <!-- 提现按钮-->
  37. <div class="padding-lr margin-top-xl">
  38. <van-button type="primary" size="large" color="#FFB400" @click="do_submit">立即提现</van-button>
  39. </div>
  40. <!-- 提现规则-->
  41. <view class="bottom_text">
  42. <text class="text-gray under_line text-sm" @click="to_rule">提现规则</text>
  43. </view>
  44. </div>
  45. </template>
  46. <script>
  47. export default {
  48. name: "agent_settlement_center_index_container",
  49. components: {},
  50. data() {
  51. return {
  52. price: "",
  53. total_price: 15,
  54. custom_style: `width: 330px;
  55. height: 49px;
  56. background: #F2F3FF;
  57. box-shadow: 0px 3px 7px 0px rgba(159, 159, 159, 0.84);
  58. border-radius: 10px;
  59. margin: 20px auto 0px;
  60. `,
  61. }
  62. },
  63. methods: {
  64. // 跳转规则
  65. to_rule() {
  66. },
  67. // 提交提现的功能
  68. do_submit() {
  69. }
  70. },
  71. mounted() {
  72. }
  73. }
  74. </script>
  75. <style scoped>
  76. @import "index.css";
  77. </style>