@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.
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +6 -0
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +2 -0
- package/es/composite-comp/dito/components/SearchBar/pc/index.js +5 -4
- package/es/core/Designer/QuickMenuBar/index.less +11 -0
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +6 -0
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +2 -0
- package/lib/composite-comp/dito/components/SearchBar/pc/index.js +5 -4
- package/lib/core/Designer/QuickMenuBar/index.less +11 -0
- package/package.json +1 -1
|
@@ -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"
|
|
@@ -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:
|
|
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:
|
|
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"
|
|
@@ -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:
|
|
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:
|
|
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
|
}
|