@fonixtree/magic-design 1.0.121 → 1.0.123

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.
Files changed (27) hide show
  1. package/es/assets/fonts/magic-box-iconfont.css +7 -3
  2. package/es/assets/fonts/magic-box-iconfont.js +1 -1
  3. package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
  4. package/es/assets/fonts/magic-box-iconfont.woff +0 -0
  5. package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
  6. package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +2 -2
  7. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +8 -0
  8. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +3 -0
  9. package/es/composite-comp/dito/components/GroupBuy/mobile/index.less +5 -2
  10. package/es/composite-comp/dito/components/Orders/defaultJSON.js +2 -2
  11. package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +3 -3
  12. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +2 -2
  13. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +9 -8
  14. package/lib/assets/fonts/magic-box-iconfont.css +7 -3
  15. package/lib/assets/fonts/magic-box-iconfont.js +1 -1
  16. package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
  17. package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
  18. package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
  19. package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +2 -2
  20. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +8 -0
  21. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +3 -0
  22. package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +5 -2
  23. package/lib/composite-comp/dito/components/Orders/defaultJSON.js +2 -2
  24. package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +3 -3
  25. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +2 -2
  26. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +9 -8
  27. package/package.json +1 -1
@@ -20,8 +20,8 @@ var CommonFunctionsGroupSourceJSON = function CommonFunctionsGroupSourceJSON(tex
20
20
  text: text || 'Chat With Us',
21
21
  content: {
22
22
  sizeType: 'Customize font styles',
23
- fontFamily: 'Open Sans',
24
- fontWeight: 600,
23
+ fontFamily: 'Montserrat',
24
+ fontWeight: 500,
25
25
  fontSize: 14,
26
26
  color: '#2C2C2C',
27
27
  width: 0,
@@ -9,12 +9,16 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  var _classnames = _interopRequireDefault(require("classnames"));
11
11
 
12
+ var _isEmpty = _interopRequireDefault(require("lodash/isEmpty"));
13
+
12
14
  var _components = require("../../../../../meta-comp/components");
13
15
 
14
16
  var _common = require("../../../../../common");
15
17
 
16
18
  var _commonUtil = require("../../../../../utils/commonUtil");
17
19
 
20
+ var _storeUtil = require("../../../../../utils/storeUtil");
21
+
18
22
  require("./index.less");
19
23
 
20
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -71,11 +75,15 @@ function (_super) {
71
75
  var _this = this;
72
76
 
73
77
  var data = this.props.data;
78
+ var LPObj = (0, _storeUtil.getSessionStore)('channelPurchase') || {};
74
79
  return /*#__PURE__*/_react["default"].createElement("div", {
75
80
  className: (0, _classnames["default"])('common-functions-mobile')
76
81
  }, /*#__PURE__*/_react["default"].createElement("ul", null, data.groupSource.map(function (item) {
77
82
  return /*#__PURE__*/_react["default"].createElement("li", {
78
83
  key: item.id,
84
+ className: (0, _classnames["default"])({
85
+ hide: !(0, _isEmpty["default"])(LPObj) && item.title.text === 'Security Center'
86
+ }),
79
87
  onClick: function onClick() {
80
88
  return _this.onItemClick(item);
81
89
  }
@@ -14,6 +14,9 @@
14
14
  justify-content: space-between;
15
15
  align-items: center;
16
16
  }
17
+ .common-functions-mobile ul li.hide {
18
+ display: none;
19
+ }
17
20
  .common-functions-mobile ul li .content-wrap {
18
21
  display: flex;
19
22
  align-items: center;
@@ -76,9 +76,12 @@
76
76
  .m-group-buy-mobile .group-buy-list .m-product-item-wrap {
77
77
  width: 3.44rem;
78
78
  margin-right: 0.24rem;
79
- border-radius: 0;
79
+ border-radius: 0.16rem;
80
80
  }
81
- .m-group-buy-mobile .group-buy-list .m-product-item-wrap .product-img {
81
+ .m-group-buy-mobile .group-buy-list .m-product-item-wrap .img-wrap {
82
+ border-radius: 0.16rem 0.16rem 0 0;
83
+ }
84
+ .m-group-buy-mobile .group-buy-list .m-product-item-wrap .img-wrap .product-img {
82
85
  height: 3.4rem;
83
86
  width: 3.4rem;
84
87
  }
@@ -20,8 +20,8 @@ var OrdersGroupSourceJSON = function OrdersGroupSourceJSON(text) {
20
20
  text: text || 'Name',
21
21
  content: {
22
22
  sizeType: 'Customize font styles',
23
- fontFamily: 'Open Sans',
24
- fontWeight: 400,
23
+ fontFamily: 'Montserrat',
24
+ fontWeight: 500,
25
25
  fontSize: 12,
26
26
  color: '#2C2C2C',
27
27
  width: 0,
@@ -20,8 +20,8 @@ var PersonalInfoGroupSourceJSON = function PersonalInfoGroupSourceJSON(text) {
20
20
  text: text || 'Name',
21
21
  content: {
22
22
  sizeType: 'Customize font styles',
23
- fontFamily: 'Open Sans',
24
- fontWeight: 400,
23
+ fontFamily: 'Montserrat',
24
+ fontWeight: 500,
25
25
  fontSize: 12,
26
26
  color: '#fff',
27
27
  width: 0,
@@ -43,7 +43,7 @@ var PersonalInfoGroupSourceJSON = function PersonalInfoGroupSourceJSON(text) {
43
43
  text: 0,
44
44
  content: {
45
45
  sizeType: 'Customize font styles',
46
- fontFamily: 'Open Sans',
46
+ fontFamily: 'Montserrat',
47
47
  fontWeight: 600,
48
48
  fontSize: 18,
49
49
  color: '#fff',
@@ -541,7 +541,7 @@ function (_super) {
541
541
  color: "#fff",
542
542
  onClick: this.goSettings,
543
543
  size: 24,
544
- type: "icon-set"
544
+ type: "icon-settings"
545
545
  }), /*#__PURE__*/_react["default"].createElement("div", {
546
546
  className: "iconWrap"
547
547
  }, /*#__PURE__*/_react["default"].createElement(_Iconfont["default"], {
@@ -551,7 +551,7 @@ function (_super) {
551
551
  type: "icon-messages"
552
552
  }), !!messageNum && /*#__PURE__*/_react["default"].createElement("span", {
553
553
  className: "num"
554
- }, messageNum)))), /*#__PURE__*/_react["default"].createElement("div", {
554
+ }, messageNum)))), (0, _commonUtil.isLogin)() && /*#__PURE__*/_react["default"].createElement("div", {
555
555
  className: "bottom"
556
556
  }, data.groupSource.map(function (item) {
557
557
  return /*#__PURE__*/_react["default"].createElement("div", {
@@ -1,6 +1,5 @@
1
1
  .personal-information-mobile {
2
- height: 3.24rem;
3
- padding: 0.32rem;
2
+ padding: 0.44rem 0.32rem;
4
3
  box-sizing: border-box;
5
4
  }
6
5
  .personal-information-mobile .top {
@@ -45,8 +44,9 @@
45
44
  margin: 0;
46
45
  }
47
46
  .personal-information-mobile .top .pInfoWrap .userInfo .name {
48
- font-size: 0.28rem;
49
- font-weight: 500;
47
+ font-family: Montserrat;
48
+ font-size: 0.32rem;
49
+ font-weight: 600;
50
50
  color: #ffffff;
51
51
  max-width: 2.96rem;
52
52
  white-space: nowrap;
@@ -55,8 +55,9 @@
55
55
  word-break: break-all;
56
56
  }
57
57
  .personal-information-mobile .top .pInfoWrap .userInfo .phone {
58
- font-size: 0.28rem;
59
- font-weight: 400;
58
+ font-family: Montserrat;
59
+ font-size: 0.32rem;
60
+ font-weight: 600;
60
61
  color: #ffffff;
61
62
  margin-top: 0.1rem;
62
63
  }
@@ -70,8 +71,8 @@
70
71
  border-radius: 50%;
71
72
  }
72
73
  .personal-information-mobile .top .pInfoWrap .btnLogin {
73
- font-size: 0.28rem;
74
- font-weight: 400;
74
+ font-size: 0.32rem;
75
+ font-weight: 600;
75
76
  color: #ffffff;
76
77
  font-family: Montserrat;
77
78
  }
@@ -1,9 +1,9 @@
1
1
  @font-face {
2
2
  font-family: "magic-box-iconfont";
3
3
  /* Project id 3317752 */
4
- src: url('magic-box-iconfont.woff2?t=1732721916699') format('woff2'),
5
- url('magic-box-iconfont.woff?t=1732721916699') format('woff'),
6
- url('magic-box-iconfont.ttf?t=1732721916699') format('truetype');
4
+ src: url('magic-box-iconfont.woff2?t=1735528110181') format('woff2'),
5
+ url('magic-box-iconfont.woff?t=1735528110181') format('woff'),
6
+ url('magic-box-iconfont.ttf?t=1735528110181') format('truetype');
7
7
  }
8
8
 
9
9
  .magic-box-iconfont {
@@ -14,6 +14,10 @@
14
14
  -moz-osx-font-smoothing: grayscale;
15
15
  }
16
16
 
17
+ .magic-box-icon-settings:before {
18
+ content: "\e659";
19
+ }
20
+
17
21
  .magic-box-icon-chatbot:before {
18
22
  content: "\e657";
19
23
  }