MrShi
47 分钟以前 f0b733b44d546980020bb8ed1bad8c0456659aba
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
130
131
132
133
134
135
136
137
138
139
<template>
    <view class="box">
        <view class="list">
            <view class="list-item">
                <view class="list-item-label">收件人</view>
                <view class="list-item-input">
                    <input type="text" placeholder="请输入收件人姓名" />
                </view>
            </view>
            <view class="list-item">
                <view class="list-item-label">联系电话</view>
                <view class="list-item-input">
                    <input type="text" placeholder="请输入联系电话" />
                </view>
            </view>
            <view class="list-item">
                <view class="list-item-label">所在地区</view>
                <view class="list-item-sele">
                    <text>请选择</text>
                    <u-icon name="arrow-right" color="#B2B2B2" size="16"></u-icon>
                </view>
            </view>
            <view class="list-item">
                <view class="list-item-label">详细地址</view>
                <view class="list-item-input">
                    <textarea placeholder="请输入详情地址"></textarea>
                </view>
            </view>
            <view class="list-item" style="display: flex; align-items: center; justify-content: space-between;">
                <view class="list-item-label">设为默认地址</view>
                <u-switch v-model="value"></u-switch>
            </view>
            <view class="box-footer">
                <view class="btn1">删除</view>
                <view class="btn2">保存</view>
            </view>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                value: 0
            };
        }
    }
</script>
 
<style>
    page {
        background-color: #F9F9FB;
    }
</style>
<style lang="scss" scoped>
    .box {
        width: 100%;
        padding: 30rpx;
        box-sizing: border-box;
        .list {
            width: 100%;
            padding: 38rpx 30rpx;
            box-sizing: border-box;
            background: #FFFFFF;
            box-shadow: 0rpx 0rpx 12rpx 0rpx rgba(0,0,0,0.08);
            border-radius: 16rpx;
            .box-footer {
                width: 100%;
                display: flex;
                align-items: center;
                margin-top: 100rpx;
                .btn1 {
                    flex: 1;
                    height: 88rpx;
                    line-height: 88rpx;
                    text-align: center;
                    border-radius: 44rpx;
                    font-weight: 500;
                    font-size: 32rpx;
                    color: #004096;
                    border: 1rpx solid #004096;
                    margin-right: 22rpx;
                }
                .btn2 {
                    flex: 1;
                    height: 88rpx;
                    line-height: 88rpx;
                    text-align: center;
                    background: #004096;
                    border-radius: 44rpx;
                    font-weight: 500;
                    font-size: 32rpx;
                    color: #FFFFFF;
                }
            }
            .list-item {
                width: 100%;
                padding-bottom: 24rpx;
                box-sizing: border-box;
                margin-bottom: 28rpx;
                border-bottom: 1rpx solid #E5E5E5;
                &:last-child {
                    margin: 0 !important;
                }
                .list-item-label {
                    font-weight: 500;
                    font-size: 28rpx;
                    color: #111111;
                }
                .list-item-sele {
                    width: 100%;
                    margin-top: 15rpx;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    text {
                        font-weight: 400;
                        font-size: 30rpx;
                        color: #999999;
                    }
                }
                .list-item-input {
                    width: 100%;
                    margin-top: 15rpx;
                    input {
                        font-weight: 400;
                        font-size: 30rpx;
                        color: #111111;
                    }
                    textarea {
                        width: 100%;
                        height: 130rpx;
                    }
                }
            }
        }
    }
</style>