app-form-view 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -1
- package/dist/css/style.css +157 -206
- package/dist/index.js +563 -2
- package/package.json +7 -5
- package/scripts/rollup.config.base.js +100 -68
- package/scripts/rollup.config.build.js +32 -29
- package/scripts/rollup.config.dev.js +18 -21
- package/scripts/rollup.config.prod.js +12 -2
- package/src/app-index.js +70 -53
- package/src/assets/css/app-form.css +50 -14
- package/src/assets/css/global.css +12 -12
- package/src/assets/scss/_flex.scss +31 -34
- package/src/assets/scss/app-form.scss +184 -1
- package/src/assets/scss/global.scss +179 -1
- package/src/components/appForm/Checkbox.vue +5 -0
- package/src/components/appForm/Input.vue +2 -2
- package/src/components/appForm/SearchApi.vue +1 -1
- package/src/components/appForm/Table.vue +21 -3
- package/src/components/appForm/select.vue +5 -5
- package/src/components/form/SearchSelect.vue +3 -3
- package/src/components/form/Table.vue +1 -1
- package/src/index.js +1 -1
- package/src/views/build/FieldMappingDialog.vue +0 -7
- package/src/views/build/RightPanel.vue +0 -1
- package/src/views/build/index.vue +0 -15
- package/src/views/build/viewAppForm.vue +150 -111
- package/src/views/build/viewForm.vue +2 -2
- package/static/plugins/css/app-form.css +3 -1
- package/static/plugins/scss/app-form.scss +5 -0
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
.inline-flex { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; }
|
|
5
5
|
|
|
6
|
-
.flex-row { -webkit-box-orient:
|
|
6
|
+
.flex-row { -webkit-box-orient: horizontal; -ms-flex-direction: row; flex-direction: row; }
|
|
7
7
|
|
|
8
|
-
.flex-row-reverse { -webkit-box-orient:
|
|
8
|
+
.flex-row-reverse { -webkit-box-orient: horizontal; -ms-flex-direction: row-reverse; flex-direction: row-reverse; }
|
|
9
9
|
|
|
10
10
|
.flex-column, .custom-picker-container { -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column; }
|
|
11
11
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
.justify-content-space-between { -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; }
|
|
19
19
|
|
|
20
|
-
.justify-content-space-around { -webkit-box-pack:
|
|
20
|
+
.justify-content-space-around { -webkit-box-pack: space-around; -ms-flex-pack: space-around; justify-content: space-around; }
|
|
21
21
|
|
|
22
22
|
.align-items-start { -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; }
|
|
23
23
|
|
|
@@ -27,23 +27,23 @@
|
|
|
27
27
|
|
|
28
28
|
.align-items-baseline { -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline; }
|
|
29
29
|
|
|
30
|
-
.flex-wrap-nowrap { -
|
|
30
|
+
.flex-wrap-nowrap { -ms-flex-wrap: nowrap; flex-wrap: nowrap; }
|
|
31
31
|
|
|
32
|
-
.flex-wrap-wrap { -
|
|
32
|
+
.flex-wrap-wrap { -ms-flex-wrap: wrap; flex-wrap: wrap; }
|
|
33
33
|
|
|
34
|
-
.flex-wrap-reverse { -
|
|
34
|
+
.flex-wrap-reverse { -ms-flex-wrap: wrap-reverse; flex-wrap: wrap-reverse; }
|
|
35
35
|
|
|
36
|
-
.align-content-start { -webkit-box-
|
|
36
|
+
.align-content-start { -webkit-box-lines: start; -ms-flex-line-pack: start; align-content: flex-start; }
|
|
37
37
|
|
|
38
|
-
.align-content-end { -webkit-box-
|
|
38
|
+
.align-content-end { -webkit-box-lines: end; -ms-flex-line-pack: end; align-content: flex-end; }
|
|
39
39
|
|
|
40
|
-
.align-content-center { -webkit-box-
|
|
40
|
+
.align-content-center { -webkit-box-lines: center; -ms-flex-line-pack: center; align-content: center; }
|
|
41
41
|
|
|
42
|
-
.align-content-between { -webkit-box-
|
|
42
|
+
.align-content-between { -webkit-box-lines: justify; -ms-flex-line-pack: justify; align-content: space-between; }
|
|
43
43
|
|
|
44
|
-
.align-content-around { -webkit-box-
|
|
44
|
+
.align-content-around { -webkit-box-lines: space-around; -ms-flex-line-pack: space-around; align-content: space-around; }
|
|
45
45
|
|
|
46
|
-
.align-content-stretch { -webkit-box-
|
|
46
|
+
.align-content-stretch { -webkit-box-lines: stretch; -ms-flex-line-pack: stretch; align-content: stretch; }
|
|
47
47
|
|
|
48
48
|
.flex-item-auto { -webkit-box-flex: 1; -ms-flex: auto; flex: auto; }
|
|
49
49
|
|
|
@@ -53,7 +53,9 @@
|
|
|
53
53
|
|
|
54
54
|
.flex-item-overflowY { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; overflow: hidden; height: 0; min-height: 0; }
|
|
55
55
|
|
|
56
|
-
:root { /* 主色调 */ --primary-color: #
|
|
56
|
+
:root { /* 主色调 */ --primary-color: #1989fa; --primary-color-60: rgba(64, 158, 255, 0.8); /* 蓝色 */ --info-color: #3bd46c; /* 辅助色 */ --success-color: #3bd46c; /* 绿色 */ --danger-color: #f53f3f; /* 红色 */ --warning-color: #fcad47; /* 橙色 */ /* 文本颜色 */ --title-text-color: #1c2833; --gray-7: #86909c; /* 背景色 */ --background-color: #f1eef6; --nav-bar-icon-color: '#4c4c4c'
|
|
57
|
+
|
|
58
|
+
; }
|
|
57
59
|
|
|
58
60
|
.custom-picker-container { height: 100%; overflow: hidden; }
|
|
59
61
|
|
|
@@ -84,8 +86,42 @@ button[disabled] { opacity: 0.6; }
|
|
|
84
86
|
|
|
85
87
|
.van-icon { vertical-align: middle; }
|
|
86
88
|
|
|
89
|
+
.h100 { height: 100%; }
|
|
90
|
+
|
|
87
91
|
.app-page { height: 100%; overflow: hidden; }
|
|
88
92
|
|
|
89
|
-
.app-page .bottom-btns
|
|
93
|
+
.app-page .bottom-btns { gap: 15px; padding-left: 10px; padding-right: 10px; }
|
|
94
|
+
|
|
95
|
+
.app-page .bottom-btns .widget-button { display: -webkit-box; display: -ms-flexbox; display: flex; margin: 0; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; -webkit-box-align: center; -ms-flex-align: center; align-items: center; color: #646566; }
|
|
90
96
|
|
|
91
97
|
.app-page .bottom-btns .widget-button .van-icon { display: none; }
|
|
98
|
+
|
|
99
|
+
.app-page .bottom-btns .widget-button .icon { margin: 0 auto 2px; font-size: 18px; }
|
|
100
|
+
|
|
101
|
+
.app-page .bottom-btns .widget-button:last-child { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; color: white; border-radius: 15px; height: 40px; font-size: 14px; margin-right: 5px; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; background: -webkit-gradient(linear, left top, right top, from(var(--primary-color-60)), to(var(--primary-color))); background: -o-linear-gradient(left, var(--primary-color-60), var(--primary-color)); background: linear-gradient(to right, var(--primary-color-60), var(--primary-color)); }
|
|
102
|
+
|
|
103
|
+
.app-page .bottom-btns .widget-button:last-child .icon { color: #fff; margin: 0 5px 0 0; }
|
|
104
|
+
|
|
105
|
+
.app-page .widget-row { background: #fff; border-radius: 10px; padding-top: 5px; padding-bottom: 10px; margin-top: 10px; margin-bottom: 10px; }
|
|
106
|
+
|
|
107
|
+
.app-page .widget-row .sub-item-title { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; padding: 10px 15px; margin-top: 0; border-bottom: none; }
|
|
108
|
+
|
|
109
|
+
.app-page .widget-row .sub-item-title .left-label { font-size: 16px; font-weight: 600; color: var(--title-text-color); }
|
|
110
|
+
|
|
111
|
+
.app-page .widget-row .table-pro { padding-left: 10px; padding-right: 10px; }
|
|
112
|
+
|
|
113
|
+
.app-page .sub-item-title { background: #fff; border-bottom: none; }
|
|
114
|
+
|
|
115
|
+
.app-page .sub-item-title .title { font-size: 16px; font-weight: 600; color: var(--title-text-color); }
|
|
116
|
+
|
|
117
|
+
.h4, .h5, .h6, h4, h5, h6 { margin-bottom: 0; margin-top: 0; }
|
|
118
|
+
|
|
119
|
+
.last-cell-child { border-bottom-left-radius: 10px; border-bottom-right-radius: 10px; margin-bottom: 10px; }
|
|
120
|
+
|
|
121
|
+
.last-cell-child.van-cell { padding-bottom: 10px; }
|
|
122
|
+
|
|
123
|
+
.last-cell-child.van-cell:after { display: none; }
|
|
124
|
+
|
|
125
|
+
.first-cell-child { border-top-left-radius: 10px; border-top-right-radius: 10px; margin-top: 10px; }
|
|
126
|
+
|
|
127
|
+
.van-nav-bar .van-icon { color: var(--nav-bar-icon-color); }
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
|
|
4
4
|
.inline-flex { display: -webkit-inline-box; display: -ms-inline-flexbox; display: inline-flex; }
|
|
5
5
|
|
|
6
|
-
.flex-row { -webkit-box-orient:
|
|
6
|
+
.flex-row { -webkit-box-orient: horizontal; -ms-flex-direction: row; flex-direction: row; }
|
|
7
7
|
|
|
8
|
-
.flex-row-reverse { -webkit-box-orient:
|
|
8
|
+
.flex-row-reverse { -webkit-box-orient: horizontal; -ms-flex-direction: row-reverse; flex-direction: row-reverse; }
|
|
9
9
|
|
|
10
10
|
.flex-column { -webkit-box-orient: vertical; -ms-flex-direction: column; flex-direction: column; }
|
|
11
11
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
.justify-content-space-between { -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; }
|
|
19
19
|
|
|
20
|
-
.justify-content-space-around { -webkit-box-pack:
|
|
20
|
+
.justify-content-space-around { -webkit-box-pack: space-around; -ms-flex-pack: space-around; justify-content: space-around; }
|
|
21
21
|
|
|
22
22
|
.align-items-start { -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; }
|
|
23
23
|
|
|
@@ -27,23 +27,23 @@
|
|
|
27
27
|
|
|
28
28
|
.align-items-baseline { -webkit-box-align: baseline; -ms-flex-align: baseline; align-items: baseline; }
|
|
29
29
|
|
|
30
|
-
.flex-wrap-nowrap { -
|
|
30
|
+
.flex-wrap-nowrap { -ms-flex-wrap: nowrap; flex-wrap: nowrap; }
|
|
31
31
|
|
|
32
|
-
.flex-wrap-wrap { -
|
|
32
|
+
.flex-wrap-wrap { -ms-flex-wrap: wrap; flex-wrap: wrap; }
|
|
33
33
|
|
|
34
|
-
.flex-wrap-reverse { -
|
|
34
|
+
.flex-wrap-reverse { -ms-flex-wrap: wrap-reverse; flex-wrap: wrap-reverse; }
|
|
35
35
|
|
|
36
|
-
.align-content-start { -webkit-box-
|
|
36
|
+
.align-content-start { -webkit-box-lines: start; -ms-flex-line-pack: start; align-content: flex-start; }
|
|
37
37
|
|
|
38
|
-
.align-content-end { -webkit-box-
|
|
38
|
+
.align-content-end { -webkit-box-lines: end; -ms-flex-line-pack: end; align-content: flex-end; }
|
|
39
39
|
|
|
40
|
-
.align-content-center { -webkit-box-
|
|
40
|
+
.align-content-center { -webkit-box-lines: center; -ms-flex-line-pack: center; align-content: center; }
|
|
41
41
|
|
|
42
|
-
.align-content-between { -webkit-box-
|
|
42
|
+
.align-content-between { -webkit-box-lines: justify; -ms-flex-line-pack: justify; align-content: space-between; }
|
|
43
43
|
|
|
44
|
-
.align-content-around { -webkit-box-
|
|
44
|
+
.align-content-around { -webkit-box-lines: space-around; -ms-flex-line-pack: space-around; align-content: space-around; }
|
|
45
45
|
|
|
46
|
-
.align-content-stretch { -webkit-box-
|
|
46
|
+
.align-content-stretch { -webkit-box-lines: stretch; -ms-flex-line-pack: stretch; align-content: stretch; }
|
|
47
47
|
|
|
48
48
|
.flex-item-auto { -webkit-box-flex: 1; -ms-flex: auto; flex: auto; }
|
|
49
49
|
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.flex-row {
|
|
15
|
-
-webkit-box-orient:
|
|
15
|
+
-webkit-box-orient: horizontal;
|
|
16
16
|
-ms-flex-direction: row;
|
|
17
17
|
-webkit-flex-direction: row;
|
|
18
18
|
flex-direction: row;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
.flex-row-reverse {
|
|
22
|
-
-webkit-box-orient:
|
|
22
|
+
-webkit-box-orient: horizontal;
|
|
23
23
|
-ms-flex-direction: row-reverse;
|
|
24
24
|
-webkit-flex-direction: row-reverse;
|
|
25
25
|
flex-direction: row-reverse;
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
.justify-content-space-around {
|
|
64
|
-
-webkit-box-pack:
|
|
65
|
-
-ms-flex-pack:
|
|
64
|
+
-webkit-box-pack: space-around;
|
|
65
|
+
-ms-flex-pack: space-around;
|
|
66
66
|
-webkit-justify-content: space-around;
|
|
67
67
|
justify-content: space-around;
|
|
68
68
|
}
|
|
@@ -96,66 +96,63 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.flex-wrap-nowrap {
|
|
99
|
-
-webkit-box-wrap: nowrap;
|
|
100
99
|
-ms-flex-wrap: nowrap;
|
|
101
100
|
-webkit-flex-wrap: nowrap;
|
|
102
101
|
flex-wrap: nowrap;
|
|
103
102
|
}
|
|
104
103
|
|
|
105
104
|
.flex-wrap-wrap {
|
|
106
|
-
-webkit-box-wrap: wrap;
|
|
107
105
|
-ms-flex-wrap: wrap;
|
|
108
106
|
-webkit-flex-wrap: wrap;
|
|
109
107
|
flex-wrap: wrap;
|
|
110
108
|
}
|
|
111
109
|
|
|
112
110
|
.flex-wrap-reverse {
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
|
|
116
|
-
flex-wrap: reverse;
|
|
111
|
+
-ms-flex-wrap: wrap-reverse;
|
|
112
|
+
-webkit-flex-wrap: wrap-reverse;
|
|
113
|
+
flex-wrap: wrap-reverse;
|
|
117
114
|
}
|
|
118
115
|
|
|
119
116
|
.align-content-start {
|
|
120
|
-
-webkit-box-
|
|
121
|
-
-ms-flex-
|
|
122
|
-
-webkit-align-
|
|
123
|
-
|
|
117
|
+
-webkit-box-lines: start;
|
|
118
|
+
-ms-flex-line-pack: start;
|
|
119
|
+
-webkit-align-content: flex-start;
|
|
120
|
+
align-content: flex-start;
|
|
124
121
|
}
|
|
125
122
|
|
|
126
123
|
.align-content-end {
|
|
127
|
-
-webkit-box-
|
|
128
|
-
-ms-flex-
|
|
129
|
-
-webkit-align-
|
|
130
|
-
|
|
124
|
+
-webkit-box-lines: end;
|
|
125
|
+
-ms-flex-line-pack: end;
|
|
126
|
+
-webkit-align-content: flex-end;
|
|
127
|
+
align-content: flex-end;
|
|
131
128
|
}
|
|
132
129
|
|
|
133
130
|
.align-content-center {
|
|
134
|
-
-webkit-box-
|
|
135
|
-
-ms-flex-
|
|
136
|
-
-webkit-align-
|
|
137
|
-
|
|
131
|
+
-webkit-box-lines: center;
|
|
132
|
+
-ms-flex-line-pack: center;
|
|
133
|
+
-webkit-align-content: center;
|
|
134
|
+
align-content: center;
|
|
138
135
|
}
|
|
139
136
|
|
|
140
137
|
.align-content-between {
|
|
141
|
-
-webkit-box-
|
|
142
|
-
-ms-flex-
|
|
143
|
-
-webkit-align-
|
|
144
|
-
|
|
138
|
+
-webkit-box-lines: justify;
|
|
139
|
+
-ms-flex-line-pack: justify;
|
|
140
|
+
-webkit-align-content: space-between;
|
|
141
|
+
align-content: space-between;
|
|
145
142
|
}
|
|
146
143
|
|
|
147
144
|
.align-content-around {
|
|
148
|
-
-webkit-box-
|
|
149
|
-
-ms-flex-
|
|
150
|
-
-webkit-align-
|
|
151
|
-
|
|
145
|
+
-webkit-box-lines: space-around;
|
|
146
|
+
-ms-flex-line-pack: space-around;
|
|
147
|
+
-webkit-align-content: space-around;
|
|
148
|
+
align-content: space-around;
|
|
152
149
|
}
|
|
153
150
|
|
|
154
151
|
.align-content-stretch {
|
|
155
|
-
-webkit-box-
|
|
156
|
-
-ms-flex-
|
|
157
|
-
-webkit-align-
|
|
158
|
-
|
|
152
|
+
-webkit-box-lines: stretch;
|
|
153
|
+
-ms-flex-line-pack: stretch;
|
|
154
|
+
-webkit-align-content: stretch;
|
|
155
|
+
align-content: stretch;
|
|
159
156
|
}
|
|
160
157
|
|
|
161
158
|
.flex-item-auto {
|
|
@@ -1,4 +1,182 @@
|
|
|
1
|
-
|
|
1
|
+
.flex {
|
|
2
|
+
display: -webkit-box;
|
|
3
|
+
display: -ms-flexbox;
|
|
4
|
+
display: flex;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.inline-flex {
|
|
8
|
+
display: -webkit-inline-box;
|
|
9
|
+
display: -ms-inline-flexbox;
|
|
10
|
+
display: -webkit-inline-flex;
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.flex-row {
|
|
15
|
+
-webkit-box-orient: horizontal;
|
|
16
|
+
-ms-flex-direction: row;
|
|
17
|
+
-webkit-flex-direction: row;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.flex-row-reverse {
|
|
22
|
+
-webkit-box-orient: horizontal;
|
|
23
|
+
-ms-flex-direction: row-reverse;
|
|
24
|
+
-webkit-flex-direction: row-reverse;
|
|
25
|
+
flex-direction: row-reverse;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.flex-column {
|
|
29
|
+
-webkit-box-orient: vertical;
|
|
30
|
+
-ms-flex-direction: column;
|
|
31
|
+
-webkit-flex-direction: column;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.flex-column-reverse {
|
|
36
|
+
-webkit-box-orient: vertical;
|
|
37
|
+
-ms-flex-direction: column-reverse;
|
|
38
|
+
-webkit-flex-direction: column-reverse;
|
|
39
|
+
flex-direction: column-reverse;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.justify-content-center {
|
|
43
|
+
-webkit-box-pack: center;
|
|
44
|
+
-ms-flex-pack: center;
|
|
45
|
+
-webkit-justify-content: center;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.justify-content-end {
|
|
50
|
+
-webkit-box-pack: end;
|
|
51
|
+
-ms-flex-pack: end;
|
|
52
|
+
-webkit-justify-content: flex-end;
|
|
53
|
+
justify-content: flex-end;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.justify-content-space-between {
|
|
57
|
+
-webkit-box-pack: justify;
|
|
58
|
+
-ms-flex-pack: justify;
|
|
59
|
+
-webkit-justify-content: space-between;
|
|
60
|
+
justify-content: space-between;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.justify-content-space-around {
|
|
64
|
+
-webkit-box-pack: space-around;
|
|
65
|
+
-ms-flex-pack: space-around;
|
|
66
|
+
-webkit-justify-content: space-around;
|
|
67
|
+
justify-content: space-around;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.align-items-start {
|
|
71
|
+
-webkit-box-align: start;
|
|
72
|
+
-ms-flex-align: start;
|
|
73
|
+
-webkit-align-items: flex-start;
|
|
74
|
+
align-items: flex-start;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.align-items-end {
|
|
78
|
+
-webkit-box-align: end;
|
|
79
|
+
-ms-flex-align: end;
|
|
80
|
+
-webkit-align-items: flex-end;
|
|
81
|
+
align-items: flex-end;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.align-items-center {
|
|
85
|
+
-webkit-box-align: center;
|
|
86
|
+
-ms-flex-align: center;
|
|
87
|
+
-webkit-align-items: center;
|
|
88
|
+
align-items: center;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.align-items-baseline {
|
|
92
|
+
-webkit-box-align: baseline;
|
|
93
|
+
-ms-flex-align: baseline;
|
|
94
|
+
-webkit-align-items: baseline;
|
|
95
|
+
align-items: baseline;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.flex-wrap-nowrap {
|
|
99
|
+
-ms-flex-wrap: nowrap;
|
|
100
|
+
-webkit-flex-wrap: nowrap;
|
|
101
|
+
flex-wrap: nowrap;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.flex-wrap-wrap {
|
|
105
|
+
-ms-flex-wrap: wrap;
|
|
106
|
+
-webkit-flex-wrap: wrap;
|
|
107
|
+
flex-wrap: wrap;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.flex-wrap-reverse {
|
|
111
|
+
-ms-flex-wrap: wrap-reverse;
|
|
112
|
+
-webkit-flex-wrap: wrap-reverse;
|
|
113
|
+
flex-wrap: wrap-reverse;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.align-content-start {
|
|
117
|
+
-webkit-box-lines: start;
|
|
118
|
+
-ms-flex-line-pack: start;
|
|
119
|
+
-webkit-align-content: flex-start;
|
|
120
|
+
align-content: flex-start;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.align-content-end {
|
|
124
|
+
-webkit-box-lines: end;
|
|
125
|
+
-ms-flex-line-pack: end;
|
|
126
|
+
-webkit-align-content: flex-end;
|
|
127
|
+
align-content: flex-end;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.align-content-center {
|
|
131
|
+
-webkit-box-lines: center;
|
|
132
|
+
-ms-flex-line-pack: center;
|
|
133
|
+
-webkit-align-content: center;
|
|
134
|
+
align-content: center;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.align-content-between {
|
|
138
|
+
-webkit-box-lines: justify;
|
|
139
|
+
-ms-flex-line-pack: justify;
|
|
140
|
+
-webkit-align-content: space-between;
|
|
141
|
+
align-content: space-between;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.align-content-around {
|
|
145
|
+
-webkit-box-lines: space-around;
|
|
146
|
+
-ms-flex-line-pack: space-around;
|
|
147
|
+
-webkit-align-content: space-around;
|
|
148
|
+
align-content: space-around;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.align-content-stretch {
|
|
152
|
+
-webkit-box-lines: stretch;
|
|
153
|
+
-ms-flex-line-pack: stretch;
|
|
154
|
+
-webkit-align-content: stretch;
|
|
155
|
+
align-content: stretch;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.flex-item-auto {
|
|
159
|
+
flex: auto;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.flex-item {
|
|
163
|
+
flex: 1;
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.flex-item-overflowX {
|
|
168
|
+
flex: 1;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
width: 0;
|
|
171
|
+
min-width: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.flex-item-overflowY {
|
|
175
|
+
flex: 1;
|
|
176
|
+
overflow: hidden;
|
|
177
|
+
height: 0;
|
|
178
|
+
min-height: 0;
|
|
179
|
+
}
|
|
2
180
|
:root {
|
|
3
181
|
/* 主色调 */
|
|
4
182
|
--primary-color: #1989fa;
|
|
@@ -81,9 +259,13 @@ button[disabled]{
|
|
|
81
259
|
height:100%;
|
|
82
260
|
overflow:hidden;
|
|
83
261
|
.bottom-btns{
|
|
262
|
+
gap:15px;
|
|
263
|
+
padding-left: 10px;
|
|
264
|
+
padding-right: 10px;
|
|
84
265
|
.widget-button{
|
|
85
266
|
display:flex;
|
|
86
267
|
margin:0;
|
|
268
|
+
|
|
87
269
|
flex-direction: column;
|
|
88
270
|
align-items: center;
|
|
89
271
|
color: #646566;
|
|
@@ -101,6 +283,7 @@ button[disabled]{
|
|
|
101
283
|
height: 40px;
|
|
102
284
|
font-size: 14px;
|
|
103
285
|
margin-right: 5px;
|
|
286
|
+
flex:1;
|
|
104
287
|
background: linear-gradient(to right, var(--primary-color-60), var(--primary-color));
|
|
105
288
|
.icon{color:#fff;margin:0 5px 0 0;}
|
|
106
289
|
}
|
|
@@ -1,4 +1,182 @@
|
|
|
1
|
-
|
|
1
|
+
.flex {
|
|
2
|
+
display: -webkit-box;
|
|
3
|
+
display: -ms-flexbox;
|
|
4
|
+
display: flex;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.inline-flex {
|
|
8
|
+
display: -webkit-inline-box;
|
|
9
|
+
display: -ms-inline-flexbox;
|
|
10
|
+
display: -webkit-inline-flex;
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.flex-row {
|
|
15
|
+
-webkit-box-orient: horizontal;
|
|
16
|
+
-ms-flex-direction: row;
|
|
17
|
+
-webkit-flex-direction: row;
|
|
18
|
+
flex-direction: row;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.flex-row-reverse {
|
|
22
|
+
-webkit-box-orient: horizontal;
|
|
23
|
+
-ms-flex-direction: row-reverse;
|
|
24
|
+
-webkit-flex-direction: row-reverse;
|
|
25
|
+
flex-direction: row-reverse;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.flex-column {
|
|
29
|
+
-webkit-box-orient: vertical;
|
|
30
|
+
-ms-flex-direction: column;
|
|
31
|
+
-webkit-flex-direction: column;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.flex-column-reverse {
|
|
36
|
+
-webkit-box-orient: vertical;
|
|
37
|
+
-ms-flex-direction: column-reverse;
|
|
38
|
+
-webkit-flex-direction: column-reverse;
|
|
39
|
+
flex-direction: column-reverse;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.justify-content-center {
|
|
43
|
+
-webkit-box-pack: center;
|
|
44
|
+
-ms-flex-pack: center;
|
|
45
|
+
-webkit-justify-content: center;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.justify-content-end {
|
|
50
|
+
-webkit-box-pack: end;
|
|
51
|
+
-ms-flex-pack: end;
|
|
52
|
+
-webkit-justify-content: flex-end;
|
|
53
|
+
justify-content: flex-end;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.justify-content-space-between {
|
|
57
|
+
-webkit-box-pack: justify;
|
|
58
|
+
-ms-flex-pack: justify;
|
|
59
|
+
-webkit-justify-content: space-between;
|
|
60
|
+
justify-content: space-between;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.justify-content-space-around {
|
|
64
|
+
-webkit-box-pack: space-around;
|
|
65
|
+
-ms-flex-pack: space-around;
|
|
66
|
+
-webkit-justify-content: space-around;
|
|
67
|
+
justify-content: space-around;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.align-items-start {
|
|
71
|
+
-webkit-box-align: start;
|
|
72
|
+
-ms-flex-align: start;
|
|
73
|
+
-webkit-align-items: flex-start;
|
|
74
|
+
align-items: flex-start;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.align-items-end {
|
|
78
|
+
-webkit-box-align: end;
|
|
79
|
+
-ms-flex-align: end;
|
|
80
|
+
-webkit-align-items: flex-end;
|
|
81
|
+
align-items: flex-end;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.align-items-center {
|
|
85
|
+
-webkit-box-align: center;
|
|
86
|
+
-ms-flex-align: center;
|
|
87
|
+
-webkit-align-items: center;
|
|
88
|
+
align-items: center;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.align-items-baseline {
|
|
92
|
+
-webkit-box-align: baseline;
|
|
93
|
+
-ms-flex-align: baseline;
|
|
94
|
+
-webkit-align-items: baseline;
|
|
95
|
+
align-items: baseline;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.flex-wrap-nowrap {
|
|
99
|
+
-ms-flex-wrap: nowrap;
|
|
100
|
+
-webkit-flex-wrap: nowrap;
|
|
101
|
+
flex-wrap: nowrap;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.flex-wrap-wrap {
|
|
105
|
+
-ms-flex-wrap: wrap;
|
|
106
|
+
-webkit-flex-wrap: wrap;
|
|
107
|
+
flex-wrap: wrap;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.flex-wrap-reverse {
|
|
111
|
+
-ms-flex-wrap: wrap-reverse;
|
|
112
|
+
-webkit-flex-wrap: wrap-reverse;
|
|
113
|
+
flex-wrap: wrap-reverse;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.align-content-start {
|
|
117
|
+
-webkit-box-lines: start;
|
|
118
|
+
-ms-flex-line-pack: start;
|
|
119
|
+
-webkit-align-content: flex-start;
|
|
120
|
+
align-content: flex-start;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.align-content-end {
|
|
124
|
+
-webkit-box-lines: end;
|
|
125
|
+
-ms-flex-line-pack: end;
|
|
126
|
+
-webkit-align-content: flex-end;
|
|
127
|
+
align-content: flex-end;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.align-content-center {
|
|
131
|
+
-webkit-box-lines: center;
|
|
132
|
+
-ms-flex-line-pack: center;
|
|
133
|
+
-webkit-align-content: center;
|
|
134
|
+
align-content: center;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.align-content-between {
|
|
138
|
+
-webkit-box-lines: justify;
|
|
139
|
+
-ms-flex-line-pack: justify;
|
|
140
|
+
-webkit-align-content: space-between;
|
|
141
|
+
align-content: space-between;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.align-content-around {
|
|
145
|
+
-webkit-box-lines: space-around;
|
|
146
|
+
-ms-flex-line-pack: space-around;
|
|
147
|
+
-webkit-align-content: space-around;
|
|
148
|
+
align-content: space-around;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.align-content-stretch {
|
|
152
|
+
-webkit-box-lines: stretch;
|
|
153
|
+
-ms-flex-line-pack: stretch;
|
|
154
|
+
-webkit-align-content: stretch;
|
|
155
|
+
align-content: stretch;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.flex-item-auto {
|
|
159
|
+
flex: auto;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.flex-item {
|
|
163
|
+
flex: 1;
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.flex-item-overflowX {
|
|
168
|
+
flex: 1;
|
|
169
|
+
overflow: hidden;
|
|
170
|
+
width: 0;
|
|
171
|
+
min-width: 0;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.flex-item-overflowY {
|
|
175
|
+
flex: 1;
|
|
176
|
+
overflow: hidden;
|
|
177
|
+
height: 0;
|
|
178
|
+
min-height: 0;
|
|
179
|
+
}
|
|
2
180
|
body,
|
|
3
181
|
html {
|
|
4
182
|
width: 100%;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<van-field v-model="innerValue" :label="conf.hideLabel ? '' : conf.label" v-bind="filterAttrs"
|
|
3
|
-
@input="handleChange" @clear="handleClear" />
|
|
2
|
+
<van-field v-model="innerValue" :label="conf.hideLabel ? '' : conf.label" v-bind="filterAttrs"
|
|
3
|
+
:rules="mode == 'view' ? [] : rules" @input="handleChange" @clear="handleClear" />
|
|
4
4
|
</template>
|
|
5
5
|
|
|
6
6
|
<script>
|