123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <template>
- <view class="center">
- <view class="content-money">
- <view class="buttom">
- <text class="text">可兑换积分</text>
- <view class="icon"><text>¥</text>{{ money }}</view>
- </view>
- <view class="interval"></view>
- <view class="buttom">
- <text class="text">申请兑换糖果</text>
- <view class=" icon"><input class="input" type="number" v-model="withdrawal" placeholder="申请兑换糖果数量" placeholder-class="placeholder" /></view>
- </view>
- <view class="interval"></view>
- <view class="tip">
- <view class=" tip-icon" @click="all()">全部转换</view>
- </view>
- </view>
- <view class="code">
-
- </view>
- <view class="btn">
- 提交申请
- </view>
- </view>
- </template>
- <script>
- export default {
- data(){
- return{
- money: 1000,
- withdrawal:'',
- }
- }
- }
- </script>
- <style lang="scss">
- page,.center {
- height: 100%;
- background: #FFFFFF;
- }
- .content-money {
- padding: 0 20rpx;
- background-color: #ffffff;
- .buttom {
- display: flex;
- justify-content: space-between;
- align-items: center;
- height: 110rpx;
- }
- .interval {
- width: 100%;
- height: 1px;
- background: #E6E6E6;
- }
- .icon {
- font-size: 48rpx;
- font-family: SourceHanSansCN;
- font-weight: 500;
- color: #333333;
- text{
- font-size: 32rpx;
- }
- .input {
- text-align: right;
- flex: 1;
- font-size: 30rpx;
- color: $font-color-dark;
- }
- .iconlocation {
- text-align: right;
- font-size: 36rpx;
- color: $font-color-light;
- }
- }
- .text {
- font-size: 32rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- }
- .tip {
- height: 74rpx;
- display: flex;
- justify-content: flex-end;
- align-items: center;
- .tip-text {
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #999999;
- }
- .tip-icon {
- font-size: 26rpx;
- font-family: SourceHanSansCN;
- font-weight: 400;
- color: #EF041F;
- }
- }
- }
- .btn {
- text-align: center;
- margin: 134rpx auto;
- width: 670rpx;
- height: 88rpx;
- background: linear-gradient(0deg, #2E58FF, #32C6FF);
- border-radius: 10px;
- text-align: center;
- line-height: 88rpx;
- font-size: 32rpx;
- font-family: SourceHanSansCN;
- font-weight: 500;
- color: #FEFEFE;
- }
- .code {
- width: 750rpx;
- height: 20rpx;
- background: #F7F7F7;
- }
- </style>
|