easy3wui 1.5.77 → 1.5.78

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 CHANGED
@@ -6,4 +6,13 @@ npm run compile
6
6
  npm publish
7
7
 
8
8
  react-data-grid使用6.0.1版本对应的react@16
9
- 7版本未形成稳定版本,暂时使用6.0.1版本;对应的react@18+版本
9
+ 7版本未形成稳定版本,暂时使用6.0.1版本;对应的react@18+版本
10
+ https://www.npmjs.com/
11
+ 登录npm
12
+ 在终端输入npm login ,在登录前一定要将npm源设置为官方源
13
+ // 官方镜像源
14
+ npm config set registry https://registry.npmjs.org/
15
+ // 淘宝镜像源
16
+ npm config set registry https://registry.npmmirror.com/
17
+ 检查当前npm源:
18
+ npm config get registry
package/assets/card.css CHANGED
@@ -32,3 +32,17 @@ s {
32
32
  margin: 0 8px -4px 0;
33
33
  background-color: #ad7c59;
34
34
  }
35
+ @media (max-width: 768px) {
36
+ :global .positionDiv {
37
+ display: none !important;
38
+ }
39
+ :global .ant-card-head-title {
40
+ padding: 12px 0 !important;
41
+ }
42
+ :global .ant-card-head {
43
+ padding: 0 12px !important;
44
+ }
45
+ :global .ant-card-body {
46
+ padding: 12px !important;
47
+ }
48
+ }
@@ -138,3 +138,77 @@ input.ant-input-number-input {
138
138
  float: right;
139
139
  white-space: nowrap;
140
140
  }
141
+ @media (max-width: 768px) {
142
+ :global .ant-form-item-label {
143
+ padding: 0;
144
+ height: auto;
145
+ line-height: 20px;
146
+ text-align: right;
147
+ white-space: wrap;
148
+ overflow: visible;
149
+ }
150
+ :global .ant-form-item-label .ant-badge {
151
+ display: none;
152
+ }
153
+ :global .ant-form-item-label label {
154
+ display: inline-block;
155
+ width: 80%;
156
+ }
157
+ :global .ant-form-item-label::after {
158
+ content: ":";
159
+ color: rgba(0, 0, 0, 0.75);
160
+ }
161
+ :global .ant-form-item-control {
162
+ line-height: 20px;
163
+ white-space: wrap;
164
+ color: black;
165
+ }
166
+ :global .ant-form-item-label,
167
+ :global .ant-form-item-control-wrapper {
168
+ width: unset;
169
+ }
170
+ :global .ant-col-6 {
171
+ width: 25% !important;
172
+ }
173
+ :global .ant-col-12 {
174
+ width: 50% !important;
175
+ }
176
+ :global .ant-col-18 {
177
+ width: 75% !important;
178
+ }
179
+ :global .ant-form-item {
180
+ font-size: 12px !important;
181
+ margin-bottom: 12px !important;
182
+ }
183
+ :global .ant-radio-wrapper {
184
+ font-size: 12px !important;
185
+ }
186
+ :global .ant-checkbox-wrapper {
187
+ font-size: 12px !important;
188
+ }
189
+ :global .ant-input {
190
+ font-size: 12px !important;
191
+ }
192
+ :global .ant-input[disabled] {
193
+ background-color: #fcfcfc !important;
194
+ }
195
+ :global .ant-table-body {
196
+ font-size: 12px !important;
197
+ }
198
+ :global .adm-collapse-panel-content {
199
+ padding: 0 12px;
200
+ }
201
+ :global .adm-list-item-content-main {
202
+ width: 100%;
203
+ }
204
+ :global .adm-form-item-horizontal .adm-list-item-content-main {
205
+ text-align: right;
206
+ }
207
+ :global .ant-form-item-label > label {
208
+ color: rgba(0, 0, 0, 0.75);
209
+ }
210
+ :global .adm-text-area-element,
211
+ :global .adm-text-area-count {
212
+ font-size: var(--adm-font-size-6);
213
+ }
214
+ }
@@ -90,3 +90,9 @@
90
90
  .onRow tr:hover {
91
91
  cursor: pointer;
92
92
  }
93
+ @media (max-width: 768px) {
94
+ .gridBox td a:not([href]) {
95
+ pointer-events: none;
96
+ color: #000000;
97
+ }
98
+ }
package/assets/index.css CHANGED
@@ -95,6 +95,20 @@ s {
95
95
  margin: 0 8px -4px 0;
96
96
  background-color: #ad7c59;
97
97
  }
98
+ @media (max-width: 768px) {
99
+ :global .positionDiv {
100
+ display: none !important;
101
+ }
102
+ :global .ant-card-head-title {
103
+ padding: 12px 0 !important;
104
+ }
105
+ :global .ant-card-head {
106
+ padding: 0 12px !important;
107
+ }
108
+ :global .ant-card-body {
109
+ padding: 12px !important;
110
+ }
111
+ }
98
112
  .e3wGlobalFooterDiv {
99
113
  padding: 0 16px;
100
114
  margin: 24px 0 24px 0;
@@ -2386,6 +2400,12 @@ s {
2386
2400
  .onRow tr:hover {
2387
2401
  cursor: pointer;
2388
2402
  }
2403
+ @media (max-width: 768px) {
2404
+ .gridBox td a:not([href]) {
2405
+ pointer-events: none;
2406
+ color: #000000;
2407
+ }
2408
+ }
2389
2409
  .ant-upload-list-item {
2390
2410
  width: auto;
2391
2411
  }
@@ -2526,6 +2546,80 @@ input.ant-input-number-input {
2526
2546
  float: right;
2527
2547
  white-space: nowrap;
2528
2548
  }
2549
+ @media (max-width: 768px) {
2550
+ :global .ant-form-item-label {
2551
+ padding: 0;
2552
+ height: auto;
2553
+ line-height: 20px;
2554
+ text-align: right;
2555
+ white-space: wrap;
2556
+ overflow: visible;
2557
+ }
2558
+ :global .ant-form-item-label .ant-badge {
2559
+ display: none;
2560
+ }
2561
+ :global .ant-form-item-label label {
2562
+ display: inline-block;
2563
+ width: 80%;
2564
+ }
2565
+ :global .ant-form-item-label::after {
2566
+ content: ":";
2567
+ color: rgba(0, 0, 0, 0.75);
2568
+ }
2569
+ :global .ant-form-item-control {
2570
+ line-height: 20px;
2571
+ white-space: wrap;
2572
+ color: black;
2573
+ }
2574
+ :global .ant-form-item-label,
2575
+ :global .ant-form-item-control-wrapper {
2576
+ width: unset;
2577
+ }
2578
+ :global .ant-col-6 {
2579
+ width: 25% !important;
2580
+ }
2581
+ :global .ant-col-12 {
2582
+ width: 50% !important;
2583
+ }
2584
+ :global .ant-col-18 {
2585
+ width: 75% !important;
2586
+ }
2587
+ :global .ant-form-item {
2588
+ font-size: 12px !important;
2589
+ margin-bottom: 12px !important;
2590
+ }
2591
+ :global .ant-radio-wrapper {
2592
+ font-size: 12px !important;
2593
+ }
2594
+ :global .ant-checkbox-wrapper {
2595
+ font-size: 12px !important;
2596
+ }
2597
+ :global .ant-input {
2598
+ font-size: 12px !important;
2599
+ }
2600
+ :global .ant-input[disabled] {
2601
+ background-color: #fcfcfc !important;
2602
+ }
2603
+ :global .ant-table-body {
2604
+ font-size: 12px !important;
2605
+ }
2606
+ :global .adm-collapse-panel-content {
2607
+ padding: 0 12px;
2608
+ }
2609
+ :global .adm-list-item-content-main {
2610
+ width: 100%;
2611
+ }
2612
+ :global .adm-form-item-horizontal .adm-list-item-content-main {
2613
+ text-align: right;
2614
+ }
2615
+ :global .ant-form-item-label > label {
2616
+ color: rgba(0, 0, 0, 0.75);
2617
+ }
2618
+ :global .adm-text-area-element,
2619
+ :global .adm-text-area-count {
2620
+ font-size: var(--adm-font-size-6);
2621
+ }
2622
+ }
2529
2623
  .e3wFootBtn {
2530
2624
  margin: 0px 8px;
2531
2625
  }