questionnaire.scss
1.9 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
/* packageMine/pages/questionnaire/questionnaire.wxss */
.layout {
padding: 30rpx 40rpx 44rpx 0;
padding: 30rpx 40rpx 44rpx 0;
background-color: #fff;
min-height: 75vh;
.tips {
font-size: 28rpx;
color: #999999;
line-height: 40rpx;
display: block;
padding-left: 40rpx;
}
.form-box {
margin-top: 28rpx;
&::before {
content: '';
width: calc(100% - 40rpx);
height: 0;
margin-left: 40rpx;
display: block;
border-top: 2rpx dotted #e6e6e6;
}
.title {
padding: 40rpx 0 30rpx;
font-weight: 600;
font-size: 32rpx;
color: #333333;
letter-spacing: 0;
line-height: 48rpx;
display: flex;
justify-content: flex-end;
.num {
flex-shrink: 0;
padding-right: 10rpx;
}
.text {
width: calc(100% - 100rpx);
}
}
.required {
.num {
position: relative;
&::before {
position: absolute;
left: -16rpx;
top: 6rpx;
content: '*';
color: #F24724;
font-weight: normal;
}
}
}
.item {
width: calc(100% - 100rpx);
margin: 0 0 20rpx 100rpx;
}
.textarea {
height: 240rpx;
background: #FFFFFF;
border: 2rpx solid #E6E6E6;
border-radius: 8rpx;
box-sizing: border-box;
padding: 20rpx;
}
}
}
.fixed-btn {
// position: fixed;
// bottom: 0;
// left: 0;
width: calc(100% - 60rpx);
background-color: #F8F8F8;
padding: 32rpx 30rpx calc(32rpx + var(--constantSafeAreaInsetBottom));
padding: 32rpx 30rpx calc(32rpx + var(--envSafeAreaInsetBottom));
.default-btn {
width: 100%;
border-radius: 48rpx;
background-color: var(--themeColor);
}
}
.van-cell {
padding: 0 !important;
height: 100%;
overflow-y: scroll;
}
.van-field__body--textarea,.van-field__control{
height: 100% !important;
}