@fonixtree/magic-design 0.0.80 → 0.0.81
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/defaultJSON.js +2 -2
- package/es/composite-comp/dito/components/SearchBar/pc/index.js +2 -4
- package/es/composite-comp/dito/components/SearchBar/pc/index.less +1 -0
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +2 -2
- package/lib/composite-comp/dito/components/SearchBar/pc/index.js +2 -4
- package/lib/composite-comp/dito/components/SearchBar/pc/index.less +1 -0
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
42
42
|
open: true,
|
|
43
43
|
color: {
|
|
44
44
|
pc: '#D92929',
|
|
45
|
-
mobile: '#
|
|
45
|
+
mobile: '#232F46'
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
icon: {
|
|
@@ -50,7 +50,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
50
50
|
open: true,
|
|
51
51
|
color: {
|
|
52
52
|
pc: '#D92929',
|
|
53
|
-
mobile: '#
|
|
53
|
+
mobile: '#8493AF'
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
},
|
|
@@ -69,9 +69,7 @@ function (_super) {
|
|
|
69
69
|
|
|
70
70
|
_this.searchProduct = function () {
|
|
71
71
|
console.log('--input', _this.state.inputVal);
|
|
72
|
-
(0, _coreUtil.clickUrl)(
|
|
73
|
-
pathname: "/product/list?q=" + _this.state.inputVal
|
|
74
|
-
});
|
|
72
|
+
(0, _coreUtil.clickUrl)("/product/list?q=" + _this.state.inputVal);
|
|
75
73
|
};
|
|
76
74
|
|
|
77
75
|
_this.keyUp = function (e) {
|
|
@@ -121,7 +119,7 @@ function (_super) {
|
|
|
121
119
|
}))), data.content && data.content.icon.open && /*#__PURE__*/_react["default"].createElement("div", {
|
|
122
120
|
className: "shopping-wrap",
|
|
123
121
|
onClick: function onClick() {
|
|
124
|
-
return (0, _coreUtil.clickUrl)('/cart');
|
|
122
|
+
return (0, _coreUtil.clickUrl)('/main/cart');
|
|
125
123
|
},
|
|
126
124
|
style: {
|
|
127
125
|
borderColor: data.content.icon.color.pc,
|
|
@@ -42,7 +42,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
42
42
|
open: true,
|
|
43
43
|
color: {
|
|
44
44
|
pc: '#D92929',
|
|
45
|
-
mobile: '#
|
|
45
|
+
mobile: '#232F46'
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
icon: {
|
|
@@ -50,7 +50,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
50
50
|
open: true,
|
|
51
51
|
color: {
|
|
52
52
|
pc: '#D92929',
|
|
53
|
-
mobile: '#
|
|
53
|
+
mobile: '#8493AF'
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
},
|
|
@@ -69,9 +69,7 @@ function (_super) {
|
|
|
69
69
|
|
|
70
70
|
_this.searchProduct = function () {
|
|
71
71
|
console.log('--input', _this.state.inputVal);
|
|
72
|
-
(0, _coreUtil.clickUrl)(
|
|
73
|
-
pathname: "/product/list?q=" + _this.state.inputVal
|
|
74
|
-
});
|
|
72
|
+
(0, _coreUtil.clickUrl)("/product/list?q=" + _this.state.inputVal);
|
|
75
73
|
};
|
|
76
74
|
|
|
77
75
|
_this.keyUp = function (e) {
|
|
@@ -121,7 +119,7 @@ function (_super) {
|
|
|
121
119
|
}))), data.content && data.content.icon.open && /*#__PURE__*/_react["default"].createElement("div", {
|
|
122
120
|
className: "shopping-wrap",
|
|
123
121
|
onClick: function onClick() {
|
|
124
|
-
return (0, _coreUtil.clickUrl)('/cart');
|
|
122
|
+
return (0, _coreUtil.clickUrl)('/main/cart');
|
|
125
123
|
},
|
|
126
124
|
style: {
|
|
127
125
|
borderColor: data.content.icon.color.pc,
|