doum
5 小时以前 b9b64778f693ebe82fcbc97837b6012dadb3b084
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<template>
    <view class="list">
        <view class="list-item">
            <view class="list-item-left">
                <view class="list-item-a">
                    <text>李金平</text>
                    <text>18188778293</text>
                    <text>默认</text>
                </view>
                <view class="list-item-b">山西省太原市经开区长江东路巴黎春天小区1期4栋302</view>
            </view>
            <image src="/static/icon/address_ic_edit@2x.png" mode="widthFix"></image>
        </view>
        <view class="button">
            <image src="/static/images/icon_add_dz@2x.png" mode="widthFix"></image>
            <text>添加收货地址</text>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                
            };
        },
        onLoad(option) {
            
        },
        methods: {
            
        }
    }
</script>
<style>
    page {
        background-color: #FAFAFA;
    }
</style>
<style lang="scss" scoped>
    .list {
        width: 100%;
        padding: 20rpx 30rpx;
        box-sizing: border-box;
        .button {
            width: calc(100% - 60rpx);
            height: 88rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #004096;
            border-radius: 44rpx;
            position: fixed;
            left: 30rpx;
            bottom: calc(20rpx + env(safe-area-inset-bottom));
            image {
                width: 28rpx;
                height: 28rpx;
            }
            text {
                font-weight: 500;
                font-size: 32rpx;
                color: #FFFFFF;
            }
        }
        .list-item {
            width: 100%;
            padding: 30rpx;
            box-sizing: border-box;
            background: #FFFFFF;
            border-radius: 20rpx;
            margin-bottom: 20rpx;
            display: flex;
            align-items: center;
            &:last-child {
                margin: 0 !important;
            }
            .list-item-left {
                flex: 1;
                display: flex;
                flex-direction: column;
                .list-item-a {
                    width: 100%;
                    display: flex;
                    align-items: center;
                    text {
                        &:nth-child(1) {
                            font-weight: 500;
                            font-size: 28rpx;
                            color: #222222;
                        }
                        &:nth-child(2) {
                            font-weight: 400;
                            font-size: 28rpx;
                            color: #666666;
                            margin-left: 20rpx;
                        }
                        &:nth-child(3) {
                            width: 68rpx;
                            height: 42rpx;
                            line-height: 42rpx;
                            text-align: center;
                            border-radius: 8rpx;
                            border: 1rpx solid #004096;
                            font-weight: 400;
                            font-size: 24rpx;
                            color: #004096;
                            margin-left: 20rpx;
                        }
                    }
                }
                .list-item-b {
                    width: 100%;
                    font-weight: 400;
                    font-size: 28rpx;
                    color: #222222;
                    margin: 24rpx 0;
                }
            }
            image {
                flex-shrink: 0;
                width: 40rpx;
                height: 40rpx;
                margin-left: 30rpx;
            }
        }
    }
</style>