123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- <template>
- <view class="container">
- <view class="header">
- <view class="row-box">
- <view class="title">可提现金额</view>
- <view class="row">
- <view class="tit">¥{{money}}</view>
-
- </view>
- </view>
- <view class="row-box">
- <view class="title">申请提现金额</view>
- <view class="row">
- <input class="counts" type="number" v-model="withdrawal" placeholder="请输入金额"/>
- </view>
- </view>
- <view class="buttom" @click="withdrawal = money">全部提现</view>
- </view>
- <view class="conent">
- <view class="text">提现到</view>
- <radio-group @change="tabRadio">
- <label>
- <view class="box">
- <image src="../../static/img/img35.png" mode="scaleToFill"></image>
- <view class="title-box">
- <view class="title"><text>微信支付</text></view>
- </view>
- <view class="right">
- <radio value="weixin" color="#FF4C4C" :checked="type == 'weixin'" />
- </view>
- </view>
- </label>
- <label>
- <view class="box">
- <image src="../../static/img/img36.png" mode="scaleToFill"></image>
- <view class="title-box">
- <view class="title"><text>银行账户</text></view>
- </view>
- <view class="right">
- <radio value="bank" color="#FF4C4C" :checked="type == 'bank'" />
- </view>
- </view>
- </label>
- </radio-group>
- <view class="btn" @click="nav('/pages/user/refer')">
- <view class="title" >提交申请</view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- type: 'weixin',
- money: '0.00', //可提现金额
- withdrawal: '' //提现金额
- }
- },
- methods: {
- tabRadio(e) {
- console.log(e)
- this.type = e.detail.value;
- },
- nav (url) {
- uni.navigateTo({
- url
- })
- }
- }
- }
- </script>
- <style lang="scss">
- .header {
- height: 330rpx;
- background-color: #fff;
- .row-box {
- height: 130rpx;
- width: 700rpx;
- background-color: #fff;
- display: flex;
- align-items: center;
- border-bottom: 1rpx solid #E6E6E6;
- margin: 0 auto;
- .title {
- font-size: 32rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- width: 100%;
- }
- .row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- .tit {
- width: 300rpx;
- }
- .counts {
- // text-align: right;
- // width: 100rpx;
- font-size: 50rpx;
- font-family: Source Han Sans CN;
- font-weight: 500;
- color: #333333;
- // &::before {
- // content: '¥';
-
- // }
- }
- }
- }
- .buttom {
- margin-top: 10rpx;
- margin-left: 620rpx;
- flex-direction: column;
- width: 105rpx;
- height: 25rpx;
- font-size: 26rpx;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #FF4C4C;
- line-height: 42rpx;
- }
- }
- .conent {
- margin-top: 20rpx;
- height: 890rpx;
- background-color: #fff;
- .text {
- font-size: 30rpx;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #333333;
- margin-left: 20rpx;
- padding-top: 20rpx;
- }
- .box {
- display: flex;
- align-items: center;
- width: 710rpx;
- height: 100rpx;
- border-bottom: 1rpx solid #E6E6E6;
- margin-left: 20rpx;
- image {
- width: 40rpx;
- height: 40rpx;
- margin-left: 20rpx;
- margin-right: 20rpx;
- }
- .title-box {
- margin-right: 440rpx;
- }
- }
- .btn {
- margin-top: 120rpx;
- width: 670rpx;
- height: 100rpx;
- background: #6EAB4E;
- border-radius: 10rpx;
- display: flex;
- justify-content: center;
- margin-left: 40rpx;
- .title {
- display: flex;
- align-items: center;
- font-size: 32rpx;
- font-family: Source Han Sans CN;
- font-weight: 500;
- color: #FFFFFF;
- }
- }
- }
- </style>
|