zhangwei
2024-09-03 376ac09a54e8c95190d06bf39f295c890829c103
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<template>
    <view class="full-page">
        <view class="content">
            <view class="balance">
                <view class="header chuany-flex chuany-justify-between chuany-align-center">
                    <view class="left chuany-align-center">
                        <text class="chuany-font40 c-p-r-10">¥</text>
                        <up-input border="surround" v-model="money"></up-input>
                    </view>
                    <view class="right">
                        <up-button type="warning" size="small" shape="circle" text='充值'></up-button>
                    </view>
                </view>
            </view>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                money: null
            }
        }
    }
</script>
 
<style lang="scss">
    .content {
        width: 100%;
        height: 390rpx;
        background-color: #fed244;
        box-sizing: border-box;
        padding: 32rpx;
 
        .balance {
            width: 100%;
            height: 100%;
            box-sizing: border-box;
            background-color: #fff;
            border-radius: 20rpx;
            padding: 30rpx;
 
            .header {
                width: 100%;
                height: 100%;
                box-sizing: border-box;
                border: 1px solid #eeeff4;
                border-radius: 15rpx;
                padding: 25rpx;
                background-image: linear-gradient(to bottom, #f4f5fc, #ffffff);
 
                .left {
                    display: flex;
                }
 
                .right {
                    width: 130rpx;
                }
            }
        }
    }
</style>