| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- <template>
- <view class="exchangeIntegral">
- <view class="integral">
- <view class="">
- 可提现金额
- </view>
- <view class="num">
- {{integral}}
- </view>
- </view>
- <view class="applyIntegral">
- <view class="">
- 申请提现金额
- </view>
-
- <input type="number" class="num" v-model="num"/>
- </view>
- <view class="all" @click="all"> <text>满100可提现</text><text>全部转换</text></view>
- <view class="between">
-
- </view>
- <view class="bottom">
- <view class="box">
- <view class="title">
- 提现到
- </view>
- <radio-group name="">
-
-
- <view class="box-content">
- <view class="box-left">
- <view class="img">
- <image src="../../static/user/wx.png" mode=""></image>
- </view>
- <text>微信支付</text>
- </view>
- <label class="radio">
- <radio value="" style="transform:scale(0.7)" />
- </label>
- </view>
- <view class="box-content">
- <view class="box-left">
- <view class="img1 img">
- <image src="../../static/user/bank.png" mode=""></image>
- </view>
- <text>银行账户</text>
- </view>
- <label class="radio">
- <radio value="" style="transform:scale(0.7)" />
- </label>
- </view>
- </radio-group>
- </view>
- <view class="button" @click="submit">提交申请</view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- integral: 1000,
- num: ''
- }
- },
- methods: {
- all() {
- this.num = this.integral
- },
- submit() {
- if(this.integral < this.num) {
- this.all()
- }
- }
- },
- watch: {
- num() {
- if(this.integral < this.num) {
- this.all()
- }
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- page,.exchangeIntegral {
- background-color: #FFFFFF;
- height: 100%;
- .integral,.applyIntegral{
- display: flex;
- justify-content: space-between;
- padding: 30rpx;
- background-color: #FFFFFF;
- margin-bottom: 5rpx;
- font-size: 30rpx;
- .num {
- font-size: 40rpx;
- text-align: right;
- max-width: 400rpx;
- }
- }
- .between{
- width: 100%;
- height: 20rpx;
- background-color: #F7F7F7
- }
- .all {
- display: flex;
- justify-content: space-between;
- width: 100%;
- height: 80rpx;
- line-height: 80rpx;
- margin-top: 2rpx;
- background-color: #fff;
- padding: 0 30rpx;
- margin-bottom: 20rpx;
- text:nth-child(1) {
-
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #999999;
-
- }
- text:nth-child(2){
- font-size: 26rpx;
- font-family: SourceHanSansCN;
- font-weight: 400;
- color: #438BED;
-
- }
- }
-
- .bottom{
- width: 750rpx;
-
-
- background: #FFFFFF;
- padding: 20rpx;
- .box{
- margin-bottom: 120rpx;
- display: flex;
- flex-direction: column;
- .title{
- display: flex;
- margin-bottom: 10rpx;
- font-size: 30rpx;
- font-family: SourceHanSansCN;
- font-weight: 400;
- color: #333333;
- }
- .box-content{
- padding: 20rpx;
- border-bottom: 1rpx solid #E6E6E6;
-
- display: flex;
- justify-content: space-between;
- .box-left{
- display: flex;
- .img{
-
- width: 40rpx;
- height: 40rpx;
- image{
- width: 100%;
- height: 100%;
- }
- }
- text{
- margin-left: 30rpx;
- font-size: 26rpx;
- font-family: SourceHanSansCN;
- font-weight: 400;
- color: #515151;
- }
- }
- .radio{
- width: 20rpx;
- height: 20rpx;
- radio{
-
- width: 20rpx;
- height: 20rpx;
- }
-
- }
- }
- }
- }
- // .img1{
- // width: 40rpx;
- // height: 30rpx;
- // image{
- // width: 100%;
- // height: 100%;
- // }
- // }
- .button {
-
- background: linear-gradient(90deg, #438BED 0%, #44BFEC 100%);
- color: #fff;
- width: 670rpx;
- padding: 20rpx;
- font-size: 30rpx;
- border-radius: 10rpx;
- text-align: center;
- margin: 0 auto;
- }
- }
- </style>
|