@fonixtree/magic-design 0.1.20 → 0.1.22

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.
@@ -266,6 +266,9 @@ function (_super) {
266
266
  }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
267
267
  color: (_e = (_d = data.content.box) === null || _d === void 0 ? void 0 : _d.color) === null || _e === void 0 ? void 0 : _e.mobile,
268
268
  size: (0, _commonUtil.convertToRem)(24),
269
+ style: {
270
+ display: 'flex'
271
+ },
269
272
  type: "icon-search2"
270
273
  })), data.content && ((_f = data.content.icon) === null || _f === void 0 ? void 0 : _f.open) && /*#__PURE__*/_react["default"].createElement("div", {
271
274
  className: "message-wrap"
@@ -275,6 +278,9 @@ function (_super) {
275
278
  return (0, _coreUtil.clickUrl)('/message-center');
276
279
  },
277
280
  size: (0, _commonUtil.convertToRem)(24),
281
+ style: {
282
+ display: 'flex'
283
+ },
278
284
  type: "icon-ChatDots"
279
285
  }), !!messageNum && /*#__PURE__*/_react["default"].createElement("span", {
280
286
  className: "num"
@@ -22,6 +22,8 @@
22
22
  padding: 0.08rem 0.24rem;
23
23
  height: 0.64rem;
24
24
  text-align: right;
25
+ display: flex;
26
+ justify-content: flex-end;
25
27
  }
26
28
  .m-search-bar .right .message-wrap {
27
29
  position: relative;
@@ -19,8 +19,6 @@ var _common = require("../../../../../common");
19
19
 
20
20
  var _coreUtil = require("../../../../../utils/coreUtil");
21
21
 
22
- var _commonUtil = require("../../../../../utils/commonUtil");
23
-
24
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
23
 
26
24
  var __extends = void 0 && (void 0).__extends || function () {
@@ -116,7 +114,10 @@ function (_super) {
116
114
  }
117
115
  }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
118
116
  color: "#fff",
119
- size: (0, _commonUtil.convertToRem)(24),
117
+ size: 24,
118
+ style: {
119
+ display: 'flex'
120
+ },
120
121
  type: "icon-search2"
121
122
  }))), data.content && data.content.icon.open && /*#__PURE__*/_react["default"].createElement("div", {
122
123
  className: "shopping-wrap",
@@ -129,7 +130,7 @@ function (_super) {
129
130
  }
130
131
  }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
131
132
  color: data.content.icon.color.pc,
132
- size: (0, _commonUtil.convertToRem)(16),
133
+ size: 16,
133
134
  type: "icon-ShoppingCartSimple"
134
135
  }), /*#__PURE__*/_react["default"].createElement("span", {
135
136
  className: "shopping-txt"
@@ -42,6 +42,9 @@
42
42
  border-top-left-radius: 8px;
43
43
  border-bottom-left-radius: 8px;
44
44
  text-align: center;
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
45
48
  }
46
49
 
47
50
  .device_phone {
@@ -54,6 +57,9 @@
54
57
  border-top-right-radius: 8px;
55
58
  border-bottom-right-radius: 8px;
56
59
  text-align: center;
60
+ display: flex;
61
+ align-items: center;
62
+ justify-content: center;
57
63
  }
58
64
 
59
65
  .active {
@@ -72,14 +78,17 @@
72
78
 
73
79
  .menu_right {
74
80
  display: flex;
81
+
75
82
  .publish_wrap {
76
83
  position: relative;
77
84
  margin-left: 12px;
78
85
  }
86
+
79
87
  .publish_later_drop {
80
88
  width: 100%;
81
89
  top: 56px !important;
82
90
  left: 0 !important;
91
+
83
92
  .publish_later_wrap {
84
93
  box-shadow: 4px 4px 25px 4px rgba(35, 47, 70, 0.1);
85
94
  border-radius: 10px;
@@ -88,6 +97,7 @@
88
97
  position: absolute;
89
98
  left: 0;
90
99
  right: 0;
100
+
91
101
  .publish_btn {
92
102
  display: flex;
93
103
  align-items: center;
@@ -100,6 +110,7 @@
100
110
  background-color: #E9F0FF;
101
111
  color: #2F54EB;
102
112
  cursor: pointer;
113
+
103
114
  &:hover {
104
115
  background-color: #D6E4FF;
105
116
  }
@@ -266,6 +266,9 @@ function (_super) {
266
266
  }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
267
267
  color: (_e = (_d = data.content.box) === null || _d === void 0 ? void 0 : _d.color) === null || _e === void 0 ? void 0 : _e.mobile,
268
268
  size: (0, _commonUtil.convertToRem)(24),
269
+ style: {
270
+ display: 'flex'
271
+ },
269
272
  type: "icon-search2"
270
273
  })), data.content && ((_f = data.content.icon) === null || _f === void 0 ? void 0 : _f.open) && /*#__PURE__*/_react["default"].createElement("div", {
271
274
  className: "message-wrap"
@@ -275,6 +278,9 @@ function (_super) {
275
278
  return (0, _coreUtil.clickUrl)('/message-center');
276
279
  },
277
280
  size: (0, _commonUtil.convertToRem)(24),
281
+ style: {
282
+ display: 'flex'
283
+ },
278
284
  type: "icon-ChatDots"
279
285
  }), !!messageNum && /*#__PURE__*/_react["default"].createElement("span", {
280
286
  className: "num"
@@ -22,6 +22,8 @@
22
22
  padding: 0.08rem 0.24rem;
23
23
  height: 0.64rem;
24
24
  text-align: right;
25
+ display: flex;
26
+ justify-content: flex-end;
25
27
  }
26
28
  .m-search-bar .right .message-wrap {
27
29
  position: relative;
@@ -19,8 +19,6 @@ var _common = require("../../../../../common");
19
19
 
20
20
  var _coreUtil = require("../../../../../utils/coreUtil");
21
21
 
22
- var _commonUtil = require("../../../../../utils/commonUtil");
23
-
24
22
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
25
23
 
26
24
  var __extends = void 0 && (void 0).__extends || function () {
@@ -116,7 +114,10 @@ function (_super) {
116
114
  }
117
115
  }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
118
116
  color: "#fff",
119
- size: (0, _commonUtil.convertToRem)(24),
117
+ size: 24,
118
+ style: {
119
+ display: 'flex'
120
+ },
120
121
  type: "icon-search2"
121
122
  }))), data.content && data.content.icon.open && /*#__PURE__*/_react["default"].createElement("div", {
122
123
  className: "shopping-wrap",
@@ -129,7 +130,7 @@ function (_super) {
129
130
  }
130
131
  }, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
131
132
  color: data.content.icon.color.pc,
132
- size: (0, _commonUtil.convertToRem)(16),
133
+ size: 16,
133
134
  type: "icon-ShoppingCartSimple"
134
135
  }), /*#__PURE__*/_react["default"].createElement("span", {
135
136
  className: "shopping-txt"
@@ -42,6 +42,9 @@
42
42
  border-top-left-radius: 8px;
43
43
  border-bottom-left-radius: 8px;
44
44
  text-align: center;
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
45
48
  }
46
49
 
47
50
  .device_phone {
@@ -54,6 +57,9 @@
54
57
  border-top-right-radius: 8px;
55
58
  border-bottom-right-radius: 8px;
56
59
  text-align: center;
60
+ display: flex;
61
+ align-items: center;
62
+ justify-content: center;
57
63
  }
58
64
 
59
65
  .active {
@@ -72,14 +78,17 @@
72
78
 
73
79
  .menu_right {
74
80
  display: flex;
81
+
75
82
  .publish_wrap {
76
83
  position: relative;
77
84
  margin-left: 12px;
78
85
  }
86
+
79
87
  .publish_later_drop {
80
88
  width: 100%;
81
89
  top: 56px !important;
82
90
  left: 0 !important;
91
+
83
92
  .publish_later_wrap {
84
93
  box-shadow: 4px 4px 25px 4px rgba(35, 47, 70, 0.1);
85
94
  border-radius: 10px;
@@ -88,6 +97,7 @@
88
97
  position: absolute;
89
98
  left: 0;
90
99
  right: 0;
100
+
91
101
  .publish_btn {
92
102
  display: flex;
93
103
  align-items: center;
@@ -100,6 +110,7 @@
100
110
  background-color: #E9F0FF;
101
111
  color: #2F54EB;
102
112
  cursor: pointer;
113
+
103
114
  &:hover {
104
115
  background-color: #D6E4FF;
105
116
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "0.1.20",
4
+ "version": "0.1.22",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",