-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.wxss
94 lines (88 loc) · 1.6 KB
/
app.wxss
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
page {
font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica,
Segoe UI, Arial, Roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei',
sans-serif;
}
.custom-btn {
border-radius: 12rpx !important;
}
.van-uploader,
.van-uploader__wrapper,
.van-uploader__slot {
width: 100% !important;
}
.upload {
height: 350rpx;
background-color: #fff;
border-radius: 12rpx;
margin-top: 20rpx;
border: 8rpx solid #D9E5FF;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.bg-img {
width: 100%;
height: 400rpx !important;
}
.bg-img-upload {
width: 100%;
}
.upload .desc {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 40rpx;
color: #666;
font-size: 28rpx;
line-height: 50rpx;
}
/* 公共样式 */
/* 背景颜色 */
page {
height: 100%;
background-color: #f5f5f5;
}
/* flex布局 */
.y-c {
display: flex;
justify-content: center;
align-items: center;
}
.y-h-c {
display: flex;
align-items: center;
}
/* 边距 */
.y-p-20 {
padding: 20rpx;
}
/* 文字 */
.y-f-28 {
font-size: 28rpx;
}
/* field */
.y-field {
/*border: 4rpx solid #D9E5FF;*/
border-radius: 12rpx;
overflow: hidden;
/*box-shadow: 0px 1px 5px #e2e2e2;*/
border: 1px solid #ebedf0;
margin-top: 20rpx;
position: relative;
}
/* upload */
.y-upload {
background-color: #fff;
border-radius: 12rpx;
overflow: hidden;
margin-top: 20rpx;
/*border: 4rpx solid #D9E5FF;*/
display: flex;
justify-content: center;
align-items: center;
position: relative;
height: auto;
}