fmui-base 2.0.67 → 2.0.68

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.
@@ -308,7 +308,6 @@ var MyGrid = function (_React$Component) {
308
308
 
309
309
  _db2.default.reactGrid.getNewHomePageRemindCount({ codes: "undo,unreadMail,unreadPubMail,toBeAttended,approveundo" }).then(function (content) {
310
310
  if (content.undo || content.approveundo || content.toBeAttendedCount || content.unreadPubMailCount || content.unreadMailCount) {
311
-
312
311
  _this2.setState({
313
312
  undo: content.undo,
314
313
  unreadMailCount: content.unreadMailCount,
@@ -638,10 +637,10 @@ var MyGrid = function (_React$Component) {
638
637
  }
639
638
  componentContent = _react2.default.createElement(
640
639
  'div',
641
- { className: 'react-grid-banner' },
640
+ { className: personalSetting.styleType == '1' ? "react-grid-banner react-grid-banner-type1" : "react-grid-banner react-grid-banner-type2" },
642
641
  _react2.default.createElement(
643
642
  'div',
644
- { className: 'react-grid-banner-img' },
643
+ { className: 'react-grid-banner-img ' },
645
644
  _react2.default.createElement('img', { src: pathUrl })
646
645
  ),
647
646
  _react2.default.createElement(
@@ -680,7 +679,7 @@ var MyGrid = function (_React$Component) {
680
679
  var todoInfo = projectMenuUrl.todoInfo[item];
681
680
  return _react2.default.createElement(
682
681
  'div',
683
- { className: 'demo', onClick: t.skip2Project.bind(this, todoInfo.moduleCode, todoInfo.url) },
682
+ { className: personalSetting.styleType == '1' ? "react-grid-banner react-grid-banner-type1" : "react-grid-banner react-grid-banner-type2", onClick: t.skip2Project.bind(this, todoInfo.moduleCode, todoInfo.url) },
684
683
  _react2.default.createElement(
685
684
  'div',
686
685
  { className: 'react-grid-banner-item' },
@@ -722,7 +721,7 @@ var MyGrid = function (_React$Component) {
722
721
  if (item.portletCode === 'cyyy') {
723
722
  componentContent = _react2.default.createElement(
724
723
  'div',
725
- { className: 'react-app-collect' },
724
+ { className: personalSetting.styleType == '1' ? 'react-app-collect react-app-collect-type1' : 'react-app-collect react-app-collect-type2' },
726
725
  _react2.default.createElement(
727
726
  _Tab2.default,
728
727
  { activeKey: '0' },
@@ -844,14 +843,9 @@ var MyGrid = function (_React$Component) {
844
843
  } },
845
844
  _react2.default.createElement(
846
845
  'div',
847
- { className: 'title t-omit' },
846
+ { className: 'title' },
848
847
  item.name
849
848
  ),
850
- _react2.default.createElement(
851
- 'div',
852
- { className: 'describe t-omit' },
853
- item.categoryName
854
- ),
855
849
  _react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + item.icon + ' bg' }),
856
850
  _react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + item.icon + ' ic' })
857
851
  );
@@ -1677,15 +1671,7 @@ var MyGrid = function (_React$Component) {
1677
1671
  _carouselItem = t.state[item.portletCode + '_' + item.id].map(function (item) {
1678
1672
  var imgUrlPath = localStorage.getItem('context') + '/api/m/plugin/attachment/mobile/viewImage?token=' + localStorage.getItem('token') + '&fid=' + item.imgUrl;
1679
1673
 
1680
- return _react2.default.createElement(
1681
- _Carousel2.default.Item,
1682
- { title: '\u6807\u9898', code: item.code, className: 't-image-slide-item t-R10', style: { backgroundImage: 'url(' + imgUrlPath + ')' } },
1683
- _react2.default.createElement(
1684
- 'p',
1685
- { className: 't-FS20 t-PT20 t-MB10', style: { textAlign: 'center' } },
1686
- item.name
1687
- )
1688
- );
1674
+ return _react2.default.createElement(_Carousel2.default.Item, { title: '\u6807\u9898', code: item.code, className: 't-image-slide-item t-R10', style: { backgroundImage: 'url(' + imgUrlPath + ')' } });
1689
1675
  });
1690
1676
  }
1691
1677
  if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0) {
@@ -16,7 +16,7 @@
16
16
  width: 3px;
17
17
  height: 65%;
18
18
  border-radius: 3px;
19
- background-color: #E75E1E;
19
+ background-color: rgba(112, 59, 58,0.8);
20
20
  position: absolute;
21
21
  top: 4px;
22
22
  left: 8px;
@@ -85,22 +85,51 @@
85
85
  background-size: 100% 100%;
86
86
  // background-color: #fff;
87
87
  }
88
+
88
89
  .react-grid-component {
89
90
  background-color: #fff;
90
- .react-grid-banner-img {
91
- position: absolute;
92
- width: 114%;
93
- height: 130px;
94
- left: -14%;
95
- right: 0;
96
- top: 0;
97
- z-index: -1;
98
- img {
99
- width: 114%;
100
- height: 100%;
101
- border-radius: 0 0 50% 50%;
91
+
92
+ .react-grid-banner-type1 {
93
+ .react-grid-banner-img {
94
+ position: absolute;
95
+ width: 114%;
96
+ height: 130px;
97
+ left: -14%;
98
+ right: 0;
99
+ top: 0;
100
+ z-index: -1;
101
+ img {
102
+ width: 114%;
103
+ height: 100%;
104
+ border-radius: 0 0 50% 50%;
105
+ }
106
+ }
107
+
108
+ .global-search {
109
+ padding: 16px 16px 45px 16px;
102
110
  }
103
111
  }
112
+
113
+ .react-grid-banner-type2 {
114
+ .react-grid-banner-img {
115
+ position: absolute;
116
+ width: 100%;
117
+ height: 100%;
118
+ left: 0;
119
+ right: 0;
120
+ top: 0;
121
+ z-index: -1;
122
+ img {
123
+ width: 100%;
124
+ height: 100%;
125
+ }
126
+ }
127
+
128
+ .global-search {
129
+ padding: 16px 16px 25px 16px;
130
+ }
131
+ }
132
+
104
133
  .react-grid-banner {
105
134
  position: relative;
106
135
  color: #fff;
@@ -125,14 +154,12 @@
125
154
  .global-search {
126
155
  display: flex;
127
156
  align-items: center;
128
- padding: 16px;
129
- padding-bottom: 38px;
157
+
130
158
 
131
159
  .t-filter-wrapper {
132
160
  height: 30px;
133
161
  padding: 5px 0;
134
162
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.6) 100%);
135
- border-radius: 4px 0 0 4px;
136
163
  background-image: linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.60) 100%);
137
164
  border: 1px solid rgba(255,255,255,1);
138
165
  border-radius: 4px;
@@ -202,7 +229,7 @@
202
229
  .t-text-field-content {
203
230
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.60) 100%);
204
231
  height: 30px;
205
- border-radius: 0 4px 4px 0;
232
+ border-radius: 4px;
206
233
  padding-left: 10px;
207
234
 
208
235
  .t-text-field-right-addon {
@@ -227,26 +254,33 @@
227
254
  }
228
255
  }
229
256
 
230
- .t-grid-item:first-child, .t-grid-item:last-child {
257
+ .t-grid-item:first-child .react-grid-banner-type1, .t-grid-item:last-child .react-grid-banner-type1 {
231
258
  border-radius: 6px 6px 30px 30px;
232
259
  }
233
260
 
234
261
  .t-grid-item {
235
- margin: 0 10px;
262
+ margin: 0 6px;
263
+ }
264
+
265
+ .t-badge {
266
+ width: 40px;
267
+ height: 40px;
268
+ margin-top: 5px;
269
+ border-radius: 50%;
270
+ line-height: 40px;
271
+ }
272
+
273
+ .menu-title {
274
+ margin-bottom: 10px;
275
+ margin-top: 5px;
276
+ }
277
+
278
+ .react-grid-banner-type1 {
279
+ width: 100%;
236
280
  background: #FFFFFF;
237
281
  background-image: linear-gradient(180deg, rgba(202,160,141,0.33) 0%, rgba(202,160,141,0.00) 40%);
238
282
  box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.09);
239
283
  border-radius: 6px;
240
- }
241
-
242
- .react-grid-banner-item {
243
- .t-badge {
244
- width: 40px;
245
- height: 40px;
246
- margin-top: 5px;
247
- border-radius: 50%;
248
- line-height: 40px;
249
- }
250
284
 
251
285
  .banshicolor {
252
286
  background: #FE907220;
@@ -276,25 +310,28 @@
276
310
  i {
277
311
  font-size: 20px;
278
312
  }
313
+
314
+ .menu-title {
315
+ color: #121314;
316
+ }
279
317
  }
280
-
281
- .menu-title {
282
- margin-bottom: 10px;
283
- margin-top: 5px;
284
- color: #121314;
285
- }
286
-
287
- .t-badge .badge-inner {
288
- line-height: 1.3;
289
- height: auto;
290
- font-weight: 400;
291
- padding: 0 5px;
292
- top: 9px;
293
- right: -2px;
294
- border: 2px solid #fff;
318
+
319
+ .react-grid-banner-type2 {
320
+ .t-badge {
321
+ background: #fff;
322
+ color: #703A3A;
323
+ }
324
+ .menu-title {
325
+ color: #fff;
326
+ }
295
327
  }
296
328
  }
297
-
329
+ }
330
+
331
+ .t-badge .badge-inner {
332
+ font-weight: 400;
333
+ top: 3px;
334
+ border: 1px solid #fff;
298
335
  }
299
336
 
300
337
  .react-grid-component.banner {
@@ -303,42 +340,45 @@
303
340
  background-color: transparent;
304
341
  }
305
342
 
306
- .t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+1) .systemItem .iconblock {
307
- background: #FFBB3C;
343
+ .t-grid-row:nth-child(1) .t-grid-item:nth-child(1) .systemItem .iconblock {
344
+ background: #2D899D;
308
345
  }
309
346
 
310
- .t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+2) .systemItem .iconblock {
311
- background: #FE9072;
347
+ .t-grid-row:nth-child(1) .t-grid-item:nth-child(2) .systemItem .iconblock {
348
+ background: #944439;
312
349
  }
313
350
 
314
- .t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+3) .systemItem .iconblock {
315
- background: #3FACF6;
351
+ .t-grid-row:nth-child(1) .t-grid-item:nth-child(3) .systemItem .iconblock {
352
+ background: #228663;
316
353
  }
317
354
 
318
- .t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+4) .systemItem .iconblock {
319
- background: #1AC8D1;
355
+ .t-grid-row:nth-child(1) .t-grid-item:nth-child(4) .systemItem .iconblock {
356
+ background: #467989;
320
357
  }
321
- .t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+5) .systemItem .iconblock {
322
- background: #7C80DA;
358
+ .t-grid-row:nth-child(1) .t-grid-item:nth-child(5) .systemItem .iconblock {
359
+ background: #C39D5F;
323
360
  }
324
- .t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+6) .systemItem .iconblock {
325
- background: #1AC8D1;
361
+ .t-grid-row:nth-child(2) .t-grid-item:nth-child(1) .systemItem .iconblock {
362
+ background: #228663;
326
363
  }
327
-
328
- .t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+1) .systemItem .iconblock {
329
- background: #7C80DA;
330
- }
331
- .t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+2) .systemItem .iconblock {
332
- background: #3FACF6;
364
+ .t-grid-row:nth-child(2) .t-grid-item:nth-child(2) .systemItem .iconblock {
365
+ background: #467989;
333
366
  }
334
- .t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+3) .systemItem .iconblock {
335
- background: #FFBB3C;
367
+ .t-grid-row:nth-child(2) .t-grid-item:nth-child(3) .systemItem .iconblock {
368
+ background: #C39D5F;
336
369
  }
337
370
 
338
- .t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+4) .systemItem .iconblock {
339
- background: #FE9072;
371
+ .t-grid-row:nth-child(2) .t-grid-item:nth-child(4) .systemItem .iconblock {
372
+ background: #2D899D;
340
373
  }
341
374
 
375
+ .react-app-collect-type1 {
376
+ .systemItem {
377
+ .iconblock {
378
+ border-radius: 50%;
379
+ }
380
+ }
381
+ }
342
382
 
343
383
  .systemItem {
344
384
  display: inline-block;
@@ -357,7 +397,7 @@
357
397
  }
358
398
 
359
399
  .iconblock.t-gengduo {
360
- background: #E3DBC7 !important;
400
+ background: #944439 !important;
361
401
  }
362
402
 
363
403
  // .iconblock.t-iconBCred {
@@ -398,12 +438,6 @@
398
438
  .t-badge {
399
439
  width: 100%;
400
440
  }
401
-
402
- .t-badge .badge-inner {
403
- line-height: 13px;
404
- font-weight: 400;
405
- border: 2px solid #fff;
406
- }
407
441
  }
408
442
 
409
443
  .react-app-collect {
@@ -454,10 +488,15 @@
454
488
  padding: 10px;
455
489
  padding-right: 60px;
456
490
  position: relative;
457
- height: 60px;
491
+ height: 55px;
458
492
 
459
493
  .title {
460
494
  font-size: 14px;
495
+ overflow: hidden;
496
+ text-overflow: ellipsis;
497
+ display: -webkit-box;
498
+ -webkit-line-clamp: 3;
499
+ -webkit-box-orient: vertical;
461
500
  }
462
501
 
463
502
  .describe {
@@ -467,7 +506,7 @@
467
506
 
468
507
  .iconfont-ywtb.ic {
469
508
  position: absolute;
470
- right: 16px;
509
+ right: 11px;
471
510
  top: 0;
472
511
  line-height: 60px;
473
512
  font-size: 30px;
@@ -479,9 +518,9 @@
479
518
  .iconfont-ywtb.bg {
480
519
  position: absolute;
481
520
  right: 0;
482
- top: -15px;
521
+ top: -11px;
483
522
  bottom: 0;
484
- font-size: 60px;
523
+ font-size: 54px;
485
524
  opacity: 0.16;
486
525
  background-clip: text;
487
526
  -webkit-background-clip: text;
@@ -489,63 +528,64 @@
489
528
  }
490
529
  }
491
530
 
492
- .banshi-item:nth-child(1) {
493
- background: #FEF8E8;
531
+ .banshi-item:nth-child(6n+1) {
532
+ background: rgba(141, 42, 37,0.1);
494
533
 
495
534
  .iconfont-ywtb.ic,
496
535
  .iconfont-ywtb.bg {
497
- background-image: linear-gradient(to bottom, #FFA92B 20%, #FFD253 80%); // 背景线性渐变
498
- color: #FFA92B; // 兜底颜色,防止文字裁剪不生效
536
+ // background-image: linear-gradient(to bottom, #FFA92B 20%, #FFD253 80%); // 背景线性渐变
537
+ background-image: linear-gradient(213deg, #8D2A25 0%, rgba(141,42,37,0.17) 100%);
538
+ color: rgba(141,42,37,0.17); // 兜底颜色,防止文字裁剪不生效
499
539
  }
500
540
  }
501
541
 
502
- .banshi-item:nth-child(2) {
503
- background: #FFF1F2;
542
+ .banshi-item:nth-child(6n+2) {
543
+ background: #46798910;
504
544
 
505
545
  .iconfont-ywtb.ic,
506
546
  .iconfont-ywtb.bg {
507
- background-image: linear-gradient(to bottom, #FF766D 20%, #FDAD78 80%); // 背景线性渐变
508
- color: #FF766D; // 兜底颜色,防止文字裁剪不生效
547
+ background-image: linear-gradient(218deg, #467989 0%, rgba(70,121,137,0.12) 100%); // 背景线性渐变
548
+ color: rgba(70,121,137,0.12) ; // 兜底颜色,防止文字裁剪不生效
509
549
  }
510
550
  }
511
551
 
512
- .banshi-item:nth-child(3) {
513
- background: #DFF0FF;
552
+ .banshi-item:nth-child(6n+3) {
553
+ background: #22866310;
514
554
 
515
555
  .iconfont-ywtb.ic,
516
556
  .iconfont-ywtb.bg {
517
- background-image: linear-gradient(106deg, #1990F0 20%, #73D2FF 80%); // 背景线性渐变
518
- color: #1990F0; // 兜底颜色,防止文字裁剪不生效
557
+ background-image: linear-gradient(216deg, #228663 6%, rgba(34,134,99,0.15) 100%); // 背景线性渐变
558
+ color: rgba(34,134,99,0.15); // 兜底颜色,防止文字裁剪不生效
519
559
  }
520
560
  }
521
561
 
522
- .banshi-item:nth-child(4) {
523
- background: #DEF8F7;
562
+ .banshi-item:nth-child(6n+4) {
563
+ background: #C39D5F10;
524
564
 
525
565
  .iconfont-ywtb.ic,
526
566
  .iconfont-ywtb.bg {
527
- background-image: linear-gradient(to bottom, #00C1CE 20%, #65DBD8 80%); // 背景线性渐变
528
- color: #00C1CE; // 兜底颜色,防止文字裁剪不生效
567
+ background-image: linear-gradient(31deg, rgba(195,157,95,0.15) 0%, #C39D5F 93%); // 背景线性渐变
568
+ color: rgba(195,157,95,0.15); // 兜底颜色,防止文字裁剪不生效
529
569
  }
530
570
  }
531
571
 
532
- .banshi-item:nth-child(5) {
533
- background: #FEF5F3;
572
+ .banshi-item:nth-child(6n+5) {
573
+ background: #2D899D10;
534
574
 
535
575
  .iconfont-ywtb.ic,
536
576
  .iconfont-ywtb.bg {
537
- background-image: linear-gradient(to bottom, #FF7661 20%, #FBA772 80%); // 背景线性渐变
538
- color: #FF7661; // 兜底颜色,防止文字裁剪不生效
577
+ background-image: linear-gradient(208deg, #2D899D 0%, rgba(45,137,157,0.15) 100%); // 背景线性渐变
578
+ color: rgba(45,137,157,0.15); // 兜底颜色,防止文字裁剪不生效
539
579
  }
540
580
  }
541
581
 
542
- .banshi-item:nth-child(6) {
543
- background: #EFF5FF;
582
+ .banshi-item:nth-child(6n+6) {
583
+ background: #05773310;
544
584
 
545
585
  .iconfont-ywtb.ic,
546
586
  .iconfont-ywtb.bg {
547
- background-image: linear-gradient(to bottom, #686BC9 20%, #A2A8FA 80%); // 背景线性渐变
548
- color: #686BC9; // 兜底颜色,防止文字裁剪不生效
587
+ background-image: linear-gradient(204deg, #037532 0%, rgba(4,123,53,0.15) 99%); // 背景线性渐变
588
+ color: rgba(4,123,53,0.15); // 兜底颜色,防止文字裁剪不生效
549
589
  }
550
590
  }
551
591
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.0.67",
3
+ "version": "2.0.68",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",