zhangwei
2024-08-14 9d8994790fe403935ed46ad478f83ae110bb7a01
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<template>
    <view>
        <up-navbar :fixed="false" :is-back="true" title=" " :border-bottom="false">
            <view class="u-flex u-row-right" style="width: 100%;">
                <view class="camera u-flex u-row-center">
                    <up-icon name="camera-fill" color="#000000" size="48"></up-icon>
                </view>
            </view>
        </up-navbar>
        <view class="u-flex u-flex-y-center u-flex-around user-box u-p-l-30 u-p-r-20 u-p-b-30">
            <view class="u-m-r-10">
                <up-avatar :src="pic" size="140"></up-avatar>
            </view>
            <view class="u-flex-1">
                <view class="u-font-18 u-p-b-20">uview plus</view>
                <view class="u-font-14 u-tips-color">微信号:test</view>
            </view>
            <view class="u-m-l-10 u-p-10">
                <up-icon name="scan" color="#969799" size="28"></up-icon>
            </view>
            <view class="u-m-l-10 u-p-10">
                <up-icon name="arrow-right" color="#969799" size="28"></up-icon>
            </view>
        </view>
        
        <view class="u-m-t-20">
            <up-cell-group>
                <up-cell icon="rmb-circle" title="支付"></up-cell>
            </up-cell-group>
        </view>
        
        <view class="u-m-t-20">
            <up-cell-group>
                <up-cell icon="star" title="收藏"></up-cell>
                <up-cell icon="photo" title="相册"></up-cell>
                <up-cell icon="coupon" title="卡券"></up-cell>
                <up-cell icon="heart" title="关注"></up-cell>
            </up-cell-group>
        </view>
        
        <view class="u-m-t-20">
            <up-cell-group>
                <up-cell icon="setting" title="设置"></up-cell>
            </up-cell-group>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                pic:'https://uviewui.com/common/logo.png',
                show:true
            }
        },
        onLoad() {
            
        },
        methods: {
            
        }
    }
</script>
 
<style lang="scss">
page{
    background-color: #ededed;
}
 
.camera{
    width: 54px;
    height: 44px;
    
    &:active{
        background-color: #ededed;
    }
}
.user-box{
    background-color: #fff;
}
.u-cell-group {
    background-color: #fff;
}
</style>