createVisit.scss
2.43 KB
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
/* packageCustomer/pages/createVisit/createVisit.wxss */
page {
background: #F7F8FA;
}
.visit-create {
min-height: 100vh;
box-sizing: border-box;
padding-bottom: 200rpx; /* 预留底部按钮空间 */
}
.card {
background: #fff;
margin: 24rpx 24rpx;
border-radius: 16rpx;
box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.02);
.row {
display: flex;
align-items: center;
justify-content: space-between;
height: 96rpx;
padding: 0 40rpx;
border-bottom: 1rpx solid #EFF0F2;
.label {
color: #1A2233;
font-size: 30rpx;
.star { color: #F24724; }
}
.value {
display: flex;
align-items: center;
.placeholder {
color: #BEC1C7;
font-size: 28rpx;
}
.input {
text-align: right;
font-size: 28rpx;
padding: 16rpx 0;
}
image {
width: 32rpx;
height: 32rpx;
}
}
.value-text {
color: #1A2233;
font-size: 30rpx;
}
.location-text {
display: flex;
align-items: center;
}
}
.textarea-wrap {
position: relative;
border-bottom: 1rpx solid #EFF0F2;
padding: 0 40rpx;
.textarea {
width: 100%;
min-height: 200rpx;
border-radius: 12rpx;
box-sizing: border-box;
font-size: 28rpx;
}
.counter {
position: absolute;
right: 40rpx;
bottom: 32rpx;
color: #AAB0B7;
font-size: 28rpx;
}
}
.no-border {
border-bottom: none;
}
.input-ph {
color: #BEC1C7;
}
}
.uploader-wrap {
padding: 0 0 32rpx 40rpx;
border-bottom: 1rpx solid #EFF0F2;
.upload_content {
width: 160rpx;
height: 160rpx;
display: flex;
align-items: center;
justify-content: center;
background: #EFF0F2;
border-radius: 8rpx;
image {
width: 56rpx;
height: 56rpx;
}
}
}
.addr-icon {
width: 32rpx;
height: 32rpx;
margin-left: 8rpx;
}
.location-value {
justify-content: flex-end;
}
.btn {
position: fixed;
bottom: 16rpx;
left: 0;
width: calc(100% - 64rpx);
height: 88rpx;
line-height: 88rpx;
text-align: center;
font-size: 32rpx;
background: #FFFFFF;
padding: 20rpx 32rpx;
display: flex;
align-items: center;
.cancel {
width: 184rpx;
background: #F4F5F7;
border-radius: 12rpx;
color: #292D33;
margin-right: 22rpx;
}
.confirm {
width: 480rpx;
background: #347BFF;
border-radius: 12rpx;
color: #FFFFFF;
}
}