帧视界壹通告,付费看视频的微信小程序
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.

151 lines
3.0 KiB

11 months ago
11 months ago
11 months ago
11 months ago
  1. <template>
  2. <view class="withdraw">
  3. <!--顶部导航栏-->
  4. <navbar leftClick @leftClick="$utils.navigateBack" title="提现"/>
  5. <!--内容区-->
  6. <view class="content">
  7. <!--上部分-->
  8. <view class="content-top">
  9. <view class="aaa">
  10. <view class="top">1240,045</view>
  11. <view class="bottom">可提现金额</view>
  12. </view>
  13. </view>
  14. <!--下部分-->
  15. <view class="content-bottom">
  16. <view class="inputComponent">
  17. <view class="left">填写提现金额</view>
  18. <view class="centerAndRight">
  19. <view class="center">
  20. <uv-input placeholder="输入金额" v-model="withdrawMoney"
  21. border="none" @change="moneyChange"></uv-input>
  22. </view>
  23. <view class="right">全部提现</view>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. <!--提现按钮-->
  29. <button @click="withdrawPage" class="bottomBtn">
  30. 提现
  31. </button>
  32. </view>
  33. </template>
  34. <script>
  35. import '../../common.css'; // 引入公共 CSS 文件
  36. export default {
  37. data() {
  38. return {
  39. withdrawMoney: "",
  40. };
  41. },
  42. methods: {
  43. // 金额发生变化
  44. moneyChange(e) {
  45. console.log(e)
  46. this.withdrawMoney = e
  47. },
  48. // 提现
  49. withdrawPage() {
  50. // this.$utils.navigateTo('/mine/withdraw');
  51. }
  52. }
  53. }
  54. </script>
  55. <style lang="scss" scoped>
  56. .withdraw {
  57. .content {
  58. .content-top {
  59. display: flex;
  60. flex-direction: column;
  61. align-items: center;
  62. padding-top: 60rpx;
  63. background-color: #f8faff;
  64. height: 10vh;
  65. .aaa {
  66. color: #000000;
  67. .top {
  68. font-size: 50rpx;
  69. }
  70. .bottom {
  71. font-size: 14px;
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. }
  76. }
  77. }
  78. .content-bottom {
  79. border-radius: 50rpx 50rpx 0 0;
  80. box-shadow: 0 -10rpx 10rpx rgba(0, 0, 0, 0.2); /* 仅上边的阴影效果 */
  81. background-color: #fff;
  82. height: calc(90vh - 240rpx);
  83. //width: 100vw;
  84. padding: 40rpx;
  85. .inputComponent {
  86. display: flex;
  87. //gap: 20rpx;
  88. //border: 1px solid red;
  89. .left {
  90. display: flex;
  91. justify-content: flex-start;
  92. align-items: center;
  93. font-size: 30rpx;
  94. width: 50%;
  95. margin-right: 20rpx;
  96. }
  97. .centerAndRight {
  98. display: flex;
  99. width: 50%;
  100. .center {
  101. width: 60%;
  102. }
  103. .right {
  104. display: flex;
  105. justify-content: flex-end;
  106. align-items: center;
  107. font-size: 32rpx;
  108. margin-left: 20rpx;
  109. width: 40%;
  110. background: $uni-linear-gradient-color;
  111. -webkit-background-clip: text; /*将设置的背景颜色限制在文字中*/
  112. -webkit-text-fill-color: transparent; /*给文字设置成透明*/
  113. }
  114. }
  115. }
  116. }
  117. }
  118. }
  119. </style>