index.less
2.64 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
132
133
134
135
136
137
138
139
140
141
142
143
144
@import "~@/mixins.less";
.prenatalReminderInfo {
.size();
display: grid;
/* 创建单列布局,每行占满整行 */
grid-template-columns: 1fr;
/* 设置行间距为10px */
gap: 10px;
>div {
display: flex;
flex-direction: column;
padding: 0 10px 10px 10px;
background-color: #FFF;
.title {
.size(100%, 40px);
.flex(center);
font-size: 20px;
font-weight: bold;
background-color: #FFF;
color: #1890FF;
padding-left: 25px;
}
.content {
.size(100%, calc(100% - 40px));
background: #F0F0F0;
:global {
.ant-input[disabled] {
background: #F0F0F0;
}
*:not(.ant-form-item-control-input-content) {
padding: 0 !important;
}
}
}
.content1 {
.size(100%, calc(100% - 40px));
background: #F0F0F0;
.flex();
:global {
.ant-input[disabled] {
background: #F0F0F0;
}
*:not(.ant-form-item-control-input-content) {
padding: 0 !important;
}
}
}
}
>div:nth-child(1) .title {
background: url(./assets/1.png) no-repeat;
background-position-x: -10px;
}
>div:nth-child(2) .title {
background: url(./assets/2.png) no-repeat;
background-position-x: -10px;
}
>div:nth-child(3) .title {
background: url(./assets/3.png) no-repeat;
background-position-x: -10px;
}
>div:nth-child(4) .title {
background: url(./assets/4.png) no-repeat;
background-position-x: -10px;
}
>div:nth-child(5) .title {
background: url(./assets/5.png) no-repeat;
background-position-x: -10px;
}
>div:nth-child(6) .title {
background: url(./assets/6.png) no-repeat;
background-position-x: -10px;
}
>div:nth-child(7) .title {
background: url(./assets/7.png) no-repeat;
background-position-x: -10px;
}
.showType {
.size();
}
:global {
.ant-form-item-label {
display: none;
}
.input24 {
.size();
.ant-form-item[class*='formItemMargin'],
.ant-form-item-row,
.ant-form-item-control,
.ant-form-item-control-input,
.ant-form-item-control-input-content,
textarea {
.size();
text-indent: 0;
color: #000;
padding: 10px;
white-space: pre-wrap;
word-break: break-all;
}
.ant-form-item {
border: 1px solid #AAA;
}
}
}
}
.hideRightBorder {
:global {
.ant-form-item[class*="formItemMargin"] {
border-right: 0 !important;
}
}
}
.hideLeftBorder {
:global {
.ant-form-item[class*="formItemMargin"] {
border-left: 0 !important;
}
}
}