fmui-base 2.0.59 → 2.0.60

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
@@ -3,6 +3,7 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.0.60:移动端部件修改
6
7
  - 2.0.59:待办待阅数量问题修改
7
8
  - 2.0.58:待办、待阅页签增加数量提醒
8
9
  - 2.0.57:表单子表删除计算修改;批量办理
package/lib/db/db.js CHANGED
@@ -987,6 +987,13 @@ context.create('portal', {
987
987
  duration: 800
988
988
  });
989
989
  }
990
+ },
991
+ // 移动应用保存更新点击次数接口
992
+ saveAppCount: {
993
+ mockUrl: 'query/saveAppCount.json',
994
+ url: _variables2.default.URLS.saveAppCount,
995
+ method: 'POST',
996
+ willFetch: function willFetch() {}
990
997
  }
991
998
  });
992
999
 
@@ -115,7 +115,8 @@ exports.default = {
115
115
  getNewHomePageTodoData: portalAllUrlPrefix + "getNewHomePageTodoData" + '?token=' + getLoginUserInfo().token,
116
116
  getNewHomePageCollectAppInfoList: portalAllUrlPrefix + "getNewHomePageCollectAppInfoList" + '?token=' + getLoginUserInfo().token,
117
117
  getNewHomePageRemindCount: portalAllUrlPrefix + "getNewHomePageRemindCount" + '?token=' + getLoginUserInfo().token,
118
- getComAppInfo: portalAllUrlPrefix + 'getComAppInfo?token=' + getLoginUserInfo().token //获取首页常用应用
118
+ getComAppInfo: portalAllUrlPrefix + 'getComAppInfo?token=' + getLoginUserInfo().token, //获取首页常用应用
119
+ saveAppCount: portalAllUrlPrefix + "saveAppCount" + '?token=' + getLoginUserInfo().token //移动应用保存更新点击次数接口
119
120
 
120
121
  },
121
122
  nodataIcon: context + "/mobile/fmui/images/noData.png",
@@ -109,6 +109,8 @@ var MyGrid = function (_React$Component) {
109
109
  if (item.portletCode == 'banner') {
110
110
  _this.setState(_defineProperty({}, item.portletCode + '_' + item.id, JSON.parse(item.personalSetting)));
111
111
  _this.getRemindCount();
112
+ } else if (item.portletCode == 'image') {
113
+ _this.setState(_defineProperty({}, item.portletCode + '_' + item.id, JSON.parse(item.personalSetting)));
112
114
  } else if (item.portletCode == 'cyyy') {
113
115
  t.getShoucangAppInfo(item.id);
114
116
  t.getComAppInfo(item.id);
@@ -221,6 +223,9 @@ var MyGrid = function (_React$Component) {
221
223
  bannerPicPath: '',
222
224
  activeIndex: 2,
223
225
  undo: 0, //待办数量
226
+ approveundo: 0, //审批数量
227
+ toBeAttendedCount: 0, //会议数量
228
+ unreadPubMailCount: 0, //未读公共邮件
224
229
  appOftenList: [], //常用应用
225
230
  collectAppInfoList: [], //收藏应用
226
231
  bssx: [], // 办事事项
@@ -286,10 +291,13 @@ var MyGrid = function (_React$Component) {
286
291
  value: function getRemindCount() {
287
292
  var _this2 = this;
288
293
 
289
- _db2.default.reactGrid.getNewHomePageRemindCount({ codes: "undo" }).then(function (content) {
294
+ _db2.default.reactGrid.getNewHomePageRemindCount({ codes: "undo,unreadMaild,unreadPubMail,toBeAttended" }).then(function (content) {
290
295
  if (content.undo) {
291
296
  _this2.setState({
292
- undo: content.undo
297
+ undo: content.undo,
298
+ approveundo: content.approveundo,
299
+ toBeAttendedCount: content.toBeAttendedCount,
300
+ unreadPubMailCount: content.unreadPubMailCount
293
301
  });
294
302
  }
295
303
  });
@@ -387,10 +395,13 @@ var MyGrid = function (_React$Component) {
387
395
 
388
396
  }, {
389
397
  key: 'newPageSkip',
390
- value: function newPageSkip(dingUrl, wxUrl, mhUrl, cocallUrl) {
398
+ value: function newPageSkip(dingUrl, wxUrl, mhUrl, cocallUrl, id) {
391
399
  var dingVal = "DING";
392
400
  var wxVal = "WX";
393
401
  var mhVal = "MH";
402
+ _db2.default.portal.saveAppCount({ mobileAppId: id }).then(function (content) {}).catch(function (err) {
403
+ console.log(err);
404
+ });
394
405
 
395
406
  var data = getLoginUserInfo();
396
407
  var thirdMenuType = data.thirdMenuType;
@@ -611,6 +622,11 @@ var MyGrid = function (_React$Component) {
611
622
  componentContent = _react2.default.createElement(
612
623
  'div',
613
624
  { className: 'react-grid-banner' },
625
+ _react2.default.createElement(
626
+ 'div',
627
+ { className: 'react-grid-banner-img' },
628
+ _react2.default.createElement('img', { src: pathUrl })
629
+ ),
614
630
  _react2.default.createElement(
615
631
  'div',
616
632
  { className: 'global-search' },
@@ -653,8 +669,8 @@ var MyGrid = function (_React$Component) {
653
669
  { className: 'react-grid-banner-item' },
654
670
  _react2.default.createElement(
655
671
  _Badge2.default,
656
- { count: item == 'daiban' ? t.state.undo : '' },
657
- _react2.default.createElement('i', { className: 'theme-color iconfont-ywtb ' + todoInfo.icon })
672
+ { count: item == 'daiban' ? t.state.undo : '', className: item + 'color' },
673
+ _react2.default.createElement('i', { className: 'iconfont-ywtb ' + todoInfo.icon })
658
674
  )
659
675
  ),
660
676
  _react2.default.createElement(
@@ -667,23 +683,24 @@ var MyGrid = function (_React$Component) {
667
683
  )
668
684
  );
669
685
  // backgroundImage直接判断有无会报错,单独return
670
- return _react2.default.createElement(
671
- 'div',
672
- { className: 'react-grid-component', key: item.id, style: {
673
- borderTopLeftRadius: _styleSetting.otherSet.radius.topLeft + 'px',
674
- borderTopRightRadius: _styleSetting.otherSet.radius.topRight + 'px',
675
- borderBottomLeftRadius: _styleSetting.otherSet.radius.bottomLeft + 'px',
676
- borderBottomRightRadius: _styleSetting.otherSet.radius.bottomRight + 'px',
677
- paddingLeft: _styleSetting.otherSet.paddingSet.pl + 'px',
678
- paddingright: _styleSetting.otherSet.paddingSet.pr + 'px',
679
- paddingTop: _styleSetting.otherSet.paddingSet.pt + 'px',
680
- paddingBottom: _styleSetting.otherSet.paddingSet.pb + 'px',
681
- backgroundColor: _styleSetting.otherSet.bgColor,
682
- backgroundImage: 'url(' + pathUrl + ')'
683
- } },
684
- _styleSetting.titleSet.titleStatus == 1 ? componentHead : '',
685
- componentContent
686
- );
686
+ {
687
+ return _react2.default.createElement(
688
+ 'div',
689
+ { className: 'react-grid-component banner', key: item.id, style: {
690
+ borderTopLeftRadius: _styleSetting.otherSet.radius.topLeft + 'px',
691
+ borderTopRightRadius: _styleSetting.otherSet.radius.topRight + 'px',
692
+ borderBottomLeftRadius: _styleSetting.otherSet.radius.bottomLeft + 'px',
693
+ borderBottomRightRadius: _styleSetting.otherSet.radius.bottomRight + 'px',
694
+ paddingLeft: _styleSetting.otherSet.paddingSet.pl + 'px',
695
+ paddingright: _styleSetting.otherSet.paddingSet.pr + 'px',
696
+ paddingTop: _styleSetting.otherSet.paddingSet.pt + 'px',
697
+ paddingBottom: _styleSetting.otherSet.paddingSet.pb + 'px',
698
+ backgroundColor: _styleSetting.otherSet.bgColor
699
+ } },
700
+ _styleSetting.titleSet.titleStatus == 1 ? componentHead : '',
701
+ componentContent
702
+ );
703
+ }
687
704
  }
688
705
  if (item.portletCode === 'cyyy') {
689
706
  componentContent = _react2.default.createElement(
@@ -709,7 +726,11 @@ var MyGrid = function (_React$Component) {
709
726
  _react2.default.createElement(
710
727
  'div',
711
728
  { className: 'iconblock t-iconBC' + ele.iconColor },
712
- _react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + ele.icon })
729
+ _react2.default.createElement(
730
+ _Badge2.default,
731
+ { count: item == '会议' ? t.state.approveundo : item == '审批' ? t.state.toBeAttendedCount * 1 : item == '公共邮件' ? t.state.unreadPubMailCount * 1 : '' },
732
+ _react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + ele.icon })
733
+ )
713
734
  ),
714
735
  _react2.default.createElement(
715
736
  'p',
@@ -720,10 +741,10 @@ var MyGrid = function (_React$Component) {
720
741
  }),
721
742
  _react2.default.createElement(
722
743
  'div',
723
- { className: t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0 ? 'systemItem' : 't-DN', onClick: t.jumpPage.bind(this, "homepage/home/applistSetting", personalSetting.cols * 1, item.id) },
744
+ { className: t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0 ? 'systemItem' : 't-DN', onClick: t.jumpPage.bind(this, "/apppage/1", personalSetting.cols * 1, item.id) },
724
745
  _react2.default.createElement(
725
746
  'div',
726
- { className: 'iconblock t-iconBCred' },
747
+ { className: 'iconblock t-gengduo' },
727
748
  _react2.default.createElement('i', { className: 'iconfont-ywtb' + ' icon-ywtb-gengduo' })
728
749
  ),
729
750
  _react2.default.createElement(
@@ -755,7 +776,11 @@ var MyGrid = function (_React$Component) {
755
776
  _react2.default.createElement(
756
777
  'div',
757
778
  { className: 'iconblock t-iconBC' + ele.iconColor },
758
- _react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + ele.icon })
779
+ _react2.default.createElement(
780
+ _Badge2.default,
781
+ { count: item == '会议' ? t.state.approveundo : item == '审批' ? t.state.toBeAttendedCount * 1 : item == '公共邮件' ? t.state.unreadPubMailCount * 1 : '' },
782
+ _react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + ele.icon })
783
+ )
759
784
  ),
760
785
  _react2.default.createElement(
761
786
  'p',
@@ -769,7 +794,7 @@ var MyGrid = function (_React$Component) {
769
794
  { className: 'systemItem', onClick: t.jumpPage.bind(this, "/appCollect") },
770
795
  _react2.default.createElement(
771
796
  'div',
772
- { className: 'iconblock t-iconBCred' },
797
+ { className: 'iconblock t-gengduo' },
773
798
  _react2.default.createElement('i', { className: 'iconfont-ywtb' + ' icon-ywtb-gengduo' })
774
799
  ),
775
800
  _react2.default.createElement(
@@ -788,13 +813,13 @@ var MyGrid = function (_React$Component) {
788
813
  );
789
814
  }
790
815
  if (item.portletCode === 'bssx') {
791
- var bssxShowList = personalSetting.showModule;
816
+ var bssxShowList = personalSetting.codes;
792
817
  // let styleSetting = JSON.parse(item.styleSetting)
793
818
 
794
- var perList = '';
819
+ var commonList = '';
795
820
  if (t.state[item.portletCode + '_' + item.id]) {
796
- if (t.state[item.portletCode + '_' + item.id].perList && t.state[item.portletCode + '_' + item.id].perList.length > 0) {
797
- perList = t.state[item.portletCode + '_' + item.id].perList.map(function (item) {
821
+ if (t.state[item.portletCode + '_' + item.id].common && t.state[item.portletCode + '_' + item.id].common.length > 0) {
822
+ commonList = t.state[item.portletCode + '_' + item.id].common.map(function (item) {
798
823
  return _react2.default.createElement(
799
824
  'div',
800
825
  { className: 'banshi-item', onClick: function onClick() {
@@ -815,17 +840,17 @@ var MyGrid = function (_React$Component) {
815
840
  );
816
841
  });
817
842
  } else {
818
- perList = _react2.default.createElement(
843
+ commonList = _react2.default.createElement(
819
844
  'div',
820
845
  null,
821
846
  _react2.default.createElement('img', { className: 't-W100 t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
822
847
  );
823
848
  }
824
849
  }
825
- var orgList = '';
850
+ var colectionList = '';
826
851
  if (t.state[item.portletCode + '_' + item.id]) {
827
- if (t.state[item.portletCode + '_' + item.id].orgList && t.state[item.portletCode + '_' + item.id].orgList.length > 0) {
828
- orgList = t.state[item.portletCode + '_' + item.id].orgList.map(function (item) {
852
+ if (t.state[item.portletCode + '_' + item.id].colection && t.state[item.portletCode + '_' + item.id].colection.length > 0) {
853
+ colectionList = t.state[item.portletCode + '_' + item.id].colection.map(function (item) {
829
854
  return _react2.default.createElement(
830
855
  'div',
831
856
  { className: 'banshi-item', onClick: function onClick() {
@@ -846,42 +871,42 @@ var MyGrid = function (_React$Component) {
846
871
  );
847
872
  });
848
873
  } else {
849
- orgList = _react2.default.createElement(
874
+ colectionList = _react2.default.createElement(
850
875
  'div',
851
876
  null,
852
877
  _react2.default.createElement('img', { className: 't-W100 t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
853
878
  );
854
879
  }
855
880
  }
856
- var bssxPerTab = '';
857
- if (bssxShowList.indexOf('personWork') > -1) {
858
- bssxPerTab = _react2.default.createElement(
881
+ var bssxCommonTab = '';
882
+ if (bssxShowList.indexOf('common') > -1) {
883
+ bssxCommonTab = _react2.default.createElement(
859
884
  _Tab2.default.Item,
860
885
  { title: _react2.default.createElement(
861
886
  'div',
862
887
  { className: '', style: { color: styleSetting.titleSet.titleColor, fontWeight: styleSetting.titleSet.titleWeight == 1 ? 700 : '', fontSize: styleSetting.titleSet.titleSize } },
863
- '\u4E2A\u4EBA\u529E\u4E8B'
888
+ '\u5E38\u7528\u4E8B\u9879'
864
889
  ), key: 0 },
865
890
  _react2.default.createElement(
866
891
  'div',
867
892
  { className: 'banshi-list' },
868
- perList
893
+ commonList
869
894
  )
870
895
  );
871
896
  }
872
- var bssxOrgTab = '';
873
- if (bssxShowList.indexOf('deptWork') > -1) {
874
- bssxOrgTab = _react2.default.createElement(
897
+ var bssxColectionTab = '';
898
+ if (bssxShowList.indexOf('colection') > -1) {
899
+ bssxColectionTab = _react2.default.createElement(
875
900
  _Tab2.default.Item,
876
901
  { key: 1, title: _react2.default.createElement(
877
902
  'div',
878
903
  { className: '', style: { color: styleSetting.titleSet.titleColor, fontWeight: styleSetting.titleSet.titleWeight == 1 ? 700 : '', fontSize: styleSetting.titleSet.titleSize } },
879
- '\u90E8\u95E8\u529E\u4E8B'
904
+ '\u6211\u7684\u6536\u85CF'
880
905
  ) },
881
906
  _react2.default.createElement(
882
907
  'div',
883
908
  { className: 'banshi-list' },
884
- orgList
909
+ colectionList
885
910
  )
886
911
  );
887
912
  }
@@ -896,9 +921,9 @@ var MyGrid = function (_React$Component) {
896
921
  ),
897
922
  _react2.default.createElement(
898
923
  _Tab2.default,
899
- { activeKey: bssxShowList.indexOf('personWork') > -1 ? "0" : "1" },
900
- bssxPerTab,
901
- bssxOrgTab
924
+ { activeKey: bssxShowList.indexOf('common') > -1 ? "0" : "1" },
925
+ bssxCommonTab,
926
+ bssxColectionTab
902
927
  )
903
928
  );
904
929
  }
@@ -1479,19 +1504,48 @@ var MyGrid = function (_React$Component) {
1479
1504
  )
1480
1505
  );
1481
1506
  if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0) {
1482
- componentContent = _react2.default.createElement(
1483
- _Grid2.default,
1484
- { col: personalSetting.cols * 1, className: 'sxbl_buttons' },
1485
- t.state[item.portletCode + '_' + item.id].map(function (item) {
1486
- return _react2.default.createElement(
1487
- 'button',
1488
- { onClick: function onClick() {
1489
- _umi.history.push('/officeguid' + ('?id=' + item.id + '&code=' + item.code));
1490
- } },
1491
- item.name
1492
- );
1493
- })
1494
- );
1507
+ // 文字模式
1508
+ if (personalSetting.styleType == '1') {
1509
+ componentContent = _react2.default.createElement(
1510
+ _Grid2.default,
1511
+ { col: personalSetting.cols * 1, className: 'sxbl_buttons' },
1512
+ t.state[item.portletCode + '_' + item.id].map(function (item) {
1513
+ return _react2.default.createElement(
1514
+ 'button',
1515
+ { onClick: function onClick() {
1516
+ _umi.history.push('/officeguid' + ('?id=' + item.id + '&code=' + item.code));
1517
+ } },
1518
+ item.name
1519
+ );
1520
+ })
1521
+ );
1522
+ }
1523
+
1524
+ if (personalSetting.styleType == '2') {
1525
+ // 卡片模式
1526
+ componentContent = _react2.default.createElement(
1527
+ _Grid2.default,
1528
+ { col: personalSetting.cols * 1, className: 'lcfq-list' },
1529
+ t.state[item.portletCode + '_' + item.id].map(function (item) {
1530
+ return _react2.default.createElement(
1531
+ 'div',
1532
+ { className: 'lcfq-list-item', onClick: function onClick() {
1533
+ _umi.history.push('/officeguid' + ('?id=' + item.id + '&code=' + item.code));
1534
+ } },
1535
+ _react2.default.createElement(
1536
+ 'div',
1537
+ { className: 'lcfq-list-item-icon' },
1538
+ _react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-gengduo' })
1539
+ ),
1540
+ _react2.default.createElement(
1541
+ 'div',
1542
+ { className: 'lcfq-list-item-text' },
1543
+ item.name
1544
+ )
1545
+ );
1546
+ })
1547
+ );
1548
+ }
1495
1549
  }
1496
1550
  }
1497
1551
  if (item.portletCode === 'tbgl') {
@@ -1611,7 +1665,7 @@ var MyGrid = function (_React$Component) {
1611
1665
  { title: '\u6807\u9898', code: item.code, className: 't-image-slide-item t-R10', style: { backgroundImage: 'url(' + imgUrlPath + ')' } },
1612
1666
  _react2.default.createElement(
1613
1667
  'p',
1614
- { className: 't-FS20 t-ML20 t-PT20 t-MB10' },
1668
+ { className: 't-FS20 t-PT20 t-MB10', style: { textAlign: 'center' } },
1615
1669
  item.name
1616
1670
  )
1617
1671
  );
@@ -1627,9 +1681,41 @@ var MyGrid = function (_React$Component) {
1627
1681
  );
1628
1682
  }
1629
1683
  }
1684
+ if (item.portletCode === 'image') {
1685
+ var tppathUrl = "";
1686
+ var tpUrlId = "";
1687
+ componentHead = _react2.default.createElement(
1688
+ 'div',
1689
+ null,
1690
+ _react2.default.createElement(
1691
+ 'p',
1692
+ { className: styleSetting.titleSet.titleStatus == 1 && styleSetting.otherSet.toolbarShow == 1 ? "rightMore" : 't-DN', onClick: t.skip2More.bind(this, item.portletCode) },
1693
+ '\u66F4\u591A',
1694
+ _react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-tiaozhuan' })
1695
+ ),
1696
+ _react2.default.createElement(
1697
+ _Tab2.default,
1698
+ { activeKey: '0', className: 't-MB16' },
1699
+ _react2.default.createElement(_Tab2.default.Item, { title: _react2.default.createElement(
1700
+ 'div',
1701
+ { className: '', style: { color: styleSetting.titleSet.titleColor, fontWeight: styleSetting.titleSet.titleWeight == 1 ? 700 : '', fontSize: styleSetting.titleSet.titleSize } },
1702
+ item.title
1703
+ ), key: '0' })
1704
+ )
1705
+ );
1706
+ if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].imgId) {
1707
+ tpUrlId = t.state[item.portletCode + '_' + item.id].imgId;
1708
+ tppathUrl = localStorage.getItem('context') + '/api/m/plugin/attachment/mobile/viewImage?token=' + localStorage.getItem('token') + '&fid=' + tpUrlId;
1709
+ componentContent = _react2.default.createElement(
1710
+ 'div',
1711
+ { className: 'tp-content' },
1712
+ _react2.default.createElement('img', { src: tppathUrl, alt: '' })
1713
+ );
1714
+ }
1715
+ }
1630
1716
  return _react2.default.createElement(
1631
1717
  'div',
1632
- { className: styleSetting.titleSet.titleStatus == 1 ? 'react-grid-component' : 'noTitle', key: item.id, style: {
1718
+ { className: styleSetting.titleSet.titleStatus == 1 ? 'react-grid-component' : 'react-grid-component noTitle', key: item.id, style: {
1633
1719
  borderTopLeftRadius: styleSetting.otherSet.radius.topLeft + 'px',
1634
1720
  borderTopRightRadius: styleSetting.otherSet.radius.topRight + 'px',
1635
1721
  borderBottomLeftRadius: styleSetting.otherSet.radius.bottomLeft + 'px',
@@ -7,7 +7,19 @@
7
7
  }
8
8
 
9
9
  .t-tab-bar {
10
- padding-left: 10px;
10
+ position: relative;
11
+ padding-left: 16px;
12
+ }
13
+
14
+ .t-tab-bar::before {
15
+ content: "";
16
+ width: 3px;
17
+ height: 65%;
18
+ border-radius: 3px;
19
+ background-color: #E75E1E;
20
+ position: absolute;
21
+ top: 4px;
22
+ left: 8px;
11
23
  }
12
24
 
13
25
  .t-tab-bar .t-tab-tab {
@@ -16,7 +28,7 @@
16
28
  color: #888;
17
29
  flex: initial;
18
30
  // padding: 0 8px;
19
- height: 38px;
31
+ height: auto;
20
32
  line-height: 20px;
21
33
  display: block;
22
34
  background-color: transparent;
@@ -24,7 +36,7 @@
24
36
  div {
25
37
  max-width: 95px;
26
38
  padding: 2px 5px;
27
- height: inherit;
39
+ min-height: 28px;
28
40
  white-space: nowrap;
29
41
  overflow: hidden;
30
42
  text-overflow: ellipsis;
@@ -39,25 +51,26 @@
39
51
  }
40
52
 
41
53
  .t-tab-ink-bar {
54
+ display: none !important;
42
55
  // background-color: @theme-color !important;
43
- margin-left: -41px;
44
- border-radius: 4px;
45
- height: 4px;
46
- width: 25px !important;
47
- background-color: #713938;
56
+ // margin-left: -41px;
57
+ // border-radius: 4px;
58
+ // height: 4px;
59
+ // width: 25px !important;
60
+ // background-color: #713938;
48
61
  }
49
62
 
50
- .t-tab-ink-bar:after {
51
- content: "";
52
- display: block;
53
- width: 40px;
54
- height: 4px;
55
- border-radius: 4px;
56
- background: #713938;
57
- opacity: 0.3;
58
- position: absolute;
59
- left: 30px;
60
- }
63
+ // .t-tab-ink-bar:after {
64
+ // content: "";
65
+ // display: block;
66
+ // width: 40px;
67
+ // height: 4px;
68
+ // border-radius: 4px;
69
+ // background: #713938;
70
+ // opacity: 0.3;
71
+ // position: absolute;
72
+ // left: 30px;
73
+ // }
61
74
 
62
75
  .t-tab-nav-wrap .t-tab-ink-bar {
63
76
  margin-left: -31px;
@@ -74,14 +87,28 @@
74
87
  }
75
88
 
76
89
  .react-grid-component {
90
+ background-color: #fff;
91
+ .react-grid-banner-img {
92
+ position: absolute;
93
+ width: 114%;
94
+ height: 130px;
95
+ left: -14%;
96
+ right: 0;
97
+ top: 0;
98
+ z-index: -1;
99
+ img {
100
+ width: 114%;
101
+ height: 100%;
102
+ border-radius: 0 0 50% 50%;
103
+ }
104
+ }
77
105
  .react-grid-banner {
106
+ position: relative;
78
107
  color: #fff;
79
108
  width: 100%;
80
109
  height: 100%;
81
110
  padding: 0;
82
- background-position: center;
83
- background-repeat: no-repeat;
84
- background-size: 100% 100%;
111
+ overflow-x: hidden;
85
112
  .banner {
86
113
  position: absolute;
87
114
  top: 0;
@@ -197,31 +224,52 @@
197
224
  box-shadow: none;
198
225
  }
199
226
  }
200
-
201
- .t-grid {
202
- margin: 0 8px;
203
- border: none;
204
-
205
- .t-grid-row {
206
- width: 100%;
207
- padding: 10px 0;
208
- border-bottom: none;
209
- text-align: center;
210
- }
211
-
212
- .t-grid-item+.t-grid-item {
213
- border-left: none;
214
- }
227
+
228
+ .t-grid-item:first-child, .t-grid-item:last-child {
229
+ border-radius: 6px 6px 30px 30px;
215
230
  }
216
-
231
+
232
+ .t-grid-item {
233
+ margin: 0 10px;
234
+ background: #FFFFFF;
235
+ background-image: linear-gradient(180deg, rgba(202,160,141,0.33) 0%, rgba(202,160,141,0.00) 40%);
236
+ box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.09);
237
+ border-radius: 6px;
238
+ }
239
+
217
240
  .react-grid-banner-item {
218
241
  .t-badge {
219
242
  width: 40px;
220
243
  height: 40px;
221
- background: #fff;
244
+ margin-top: 5px;
222
245
  border-radius: 50%;
223
246
  line-height: 40px;
224
247
  }
248
+
249
+ .banshicolor {
250
+ background: #FE907220;
251
+ color: #FE9072;
252
+ }
253
+
254
+ .zixuncolor {
255
+ background: #1AC8D120;
256
+ color: #1AC8D1;
257
+ }
258
+
259
+ .yingyongcolor {
260
+ background: #FFBD3F20;
261
+ color: #FFBD3F;
262
+ }
263
+
264
+ .daibancolor {
265
+ background: #3FACF620;
266
+ color: #3FACF6;
267
+ }
268
+
269
+ .wodecolor {
270
+ background: #7C80DA20;
271
+ color: #7C80DA;
272
+ }
225
273
 
226
274
  i {
227
275
  font-size: 20px;
@@ -229,8 +277,9 @@
229
277
  }
230
278
 
231
279
  .menu-title {
232
- margin: 4px 0;
233
- color: #fff;
280
+ margin-bottom: 10px;
281
+ margin-top: 5px;
282
+ color: #121314;
234
283
  }
235
284
 
236
285
  .t-badge .badge-inner {
@@ -246,6 +295,47 @@
246
295
 
247
296
  }
248
297
 
298
+ .react-grid-component.banner {
299
+ background-color: transparent;
300
+ }
301
+
302
+ .t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+1) .systemItem .iconblock {
303
+ background: #FFBB3C;
304
+ }
305
+
306
+ .t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+2) .systemItem .iconblock {
307
+ background: #FE9072;
308
+ }
309
+
310
+ .t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+3) .systemItem .iconblock {
311
+ background: #3FACF6;
312
+ }
313
+
314
+ .t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+4) .systemItem .iconblock {
315
+ background: #1AC8D1;
316
+ }
317
+ .t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+5) .systemItem .iconblock {
318
+ background: #7C80DA;
319
+ }
320
+ .t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+6) .systemItem .iconblock {
321
+ background: #1AC8D1;
322
+ }
323
+
324
+ .t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+1) .systemItem .iconblock {
325
+ background: #7C80DA;
326
+ }
327
+ .t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+2) .systemItem .iconblock {
328
+ background: #3FACF6;
329
+ }
330
+ .t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+3) .systemItem .iconblock {
331
+ background: #FFBB3C;
332
+ }
333
+
334
+ .t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+4) .systemItem .iconblock {
335
+ background: #FE9072;
336
+ }
337
+
338
+
249
339
  .systemItem {
250
340
  display: inline-block;
251
341
  text-align: center;
@@ -262,30 +352,34 @@
262
352
  color: #fff;
263
353
  }
264
354
 
265
- .iconblock.t-iconBCred {
266
- background-image: linear-gradient(180deg, #BF6052 7%, #AB5548 100%);
267
- ;
355
+ .iconblock.t-gengduo {
356
+ background: #E3DBC7 !important;
268
357
  }
269
358
 
270
- .iconblock.t-iconBCblue {
271
- background-image: linear-gradient(180deg, #1E65BB 0%, #1054A7 100%);
272
- ;
273
- }
359
+ // .iconblock.t-iconBCred {
360
+ // background-image: linear-gradient(180deg, #BF6052 7%, #AB5548 100%);
361
+ // ;
362
+ // }
274
363
 
275
- .iconblock.t-iconBCgreen {
276
- background-image: linear-gradient(180deg, #2CCDB7 0%, #15B49E 100%);
277
- }
364
+ // .iconblock.t-iconBCblue {
365
+ // background-image: linear-gradient(180deg, #1E65BB 0%, #1054A7 100%);
366
+ // ;
367
+ // }
278
368
 
279
- .iconblock.t-iconBCorange {
280
- background-image: linear-gradient(180deg, #ECCCA1 0%, #E4C294 100%);
281
- }
282
- .iconblock.t-iconBCpurple{
283
- background-image: linear-gradient(180deg, #abacff, #7ca6ff);
284
- }
369
+ // .iconblock.t-iconBCgreen {
370
+ // background-image: linear-gradient(180deg, #2CCDB7 0%, #15B49E 100%);
371
+ // }
285
372
 
286
- .iconblock.t-iconBCgray {
287
- background-image: linear-gradient(180deg, #c1d1d7, #97b0bd);
288
- }
373
+ // .iconblock.t-iconBCorange {
374
+ // background-image: linear-gradient(180deg, #ECCCA1 0%, #E4C294 100%);
375
+ // }
376
+ // .iconblock.t-iconBCpurple{
377
+ // background-image: linear-gradient(180deg, #abacff, #7ca6ff);
378
+ // }
379
+
380
+ // .iconblock.t-iconBCgray {
381
+ // background-image: linear-gradient(180deg, #c1d1d7, #97b0bd);
382
+ // }
289
383
 
290
384
  .iconfont {
291
385
  font-size: 20px;
@@ -296,6 +390,10 @@
296
390
  text-align: center;
297
391
  font-size: 14px;
298
392
  }
393
+
394
+ .t-badge {
395
+ width: 100%;
396
+ }
299
397
  }
300
398
 
301
399
  .react-app-collect {
@@ -483,8 +581,8 @@
483
581
  font-size: 14px;
484
582
  padding: 0 16px;
485
583
  margin: 0;
486
- background-color: rgba(113, 57, 56,0.1);
487
- color: #713938;
584
+ background: rgba(163, 131, 78, 0.1);
585
+ color: #A3834E;
488
586
  }
489
587
  }
490
588
  }
@@ -1003,6 +1101,8 @@
1003
1101
 
1004
1102
  .iconfont-ywtb {
1005
1103
  font-size: 7px;
1104
+ vertical-align: middle;
1105
+ margin-left: 2px;
1006
1106
  }
1007
1107
  }
1008
1108
 
@@ -1014,7 +1114,7 @@
1014
1114
  padding: 0 16px;
1015
1115
  button {
1016
1116
  width: 98%;
1017
- height: 35px;
1117
+ padding: 4px 6px;
1018
1118
  margin-bottom: 10px;
1019
1119
  // line-height: 29px;
1020
1120
  background: rgba(112,58,58,0.12);
@@ -1073,5 +1173,84 @@
1073
1173
  }
1074
1174
  }
1075
1175
 
1176
+ .lcfq-list {
1177
+ .lcfq-list-item {
1178
+ display: flex;
1179
+ flex-direction: column;
1180
+ align-items: center;
1181
+ padding-bottom: 10px;
1182
+
1183
+
1184
+ .lcfq-list-item-icon {
1185
+ width: 50px;
1186
+ height: 50px;
1187
+ line-height: 50px;
1188
+ margin: 0 auto;
1189
+ // color: #FFBB3C;
1190
+ // background: rgba(255, 187, 60, 0.16);
1191
+ border-radius: 8px;
1192
+ margin-bottom: 10px;
1193
+ position: relative;
1194
+ }
1195
+
1196
+ .lcfq-list-item-text {
1197
+ line-height: 1.3;
1198
+ font-size: 14px;
1199
+ }
1200
+ }
1201
+
1202
+ .t-grid-item:nth-child(5n+1) .lcfq-list-item-icon{
1203
+ color: #FFBB3C;
1204
+ background: rgba(255, 187, 60, 0.16);
1205
+ }
1206
+
1207
+ .t-grid-item:nth-child(5n+2) .lcfq-list-item-icon{
1208
+ color: #FE9072;
1209
+ background: rgba(254, 144, 114, 0.16);
1210
+ }
1211
+
1212
+ .t-grid-item:nth-child(5n+3) .lcfq-list-item-icon{
1213
+ color: #3FACF6;
1214
+ background: rgba(63, 172, 246, 0.16);
1215
+ }
1216
+
1217
+ .t-grid-item:nth-child(5n+4) .lcfq-list-item-icon{
1218
+ color: #1AC8D1;
1219
+ background: rgba(26, 200, 209, 0.16);
1220
+ }
1221
+
1222
+ .t-grid-item:nth-child(5n+5) .lcfq-list-item-icon{
1223
+ color: #7C80DA;
1224
+ background: rgba(124, 128, 218, 0.16);
1225
+ }
1226
+ }
1227
+
1228
+ .t-grid {
1229
+ margin: 0 8px;
1230
+ border-top: none !important;
1231
+
1232
+ .t-grid-row {
1233
+ align-items: flex-start;
1234
+ width: 100%;
1235
+ padding: 7px 0 0 0;
1236
+ border-bottom: none;
1237
+ border-top: none;
1238
+ text-align: center;
1239
+ }
1240
+
1241
+ .t-grid-item+.t-grid-item {
1242
+ border-left: none;
1243
+ }
1244
+ }
1245
+
1246
+ .tp-content {
1247
+ width: 100%;
1248
+ height: 100%;
1249
+
1250
+ img {
1251
+ width: 100%;
1252
+ height: 100%;
1253
+ }
1254
+ }
1076
1255
  }
1077
1256
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.0.59",
3
+ "version": "2.0.60",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",