@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.
@@ -42,7 +42,7 @@ var getDefaultJSON = function getDefaultJSON() {
42
42
  open: true,
43
43
  color: {
44
44
  pc: '#D92929',
45
- mobile: '#D92929'
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: '#D92929'
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,
@@ -35,6 +35,7 @@
35
35
  // width: 40px;
36
36
  text-align: center;
37
37
  padding: 8px;
38
+ border-radius: 0 4px 4px 0;
38
39
  }
39
40
  }
40
41
 
@@ -42,7 +42,7 @@ var getDefaultJSON = function getDefaultJSON() {
42
42
  open: true,
43
43
  color: {
44
44
  pc: '#D92929',
45
- mobile: '#D92929'
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: '#D92929'
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,
@@ -35,6 +35,7 @@
35
35
  // width: 40px;
36
36
  text-align: center;
37
37
  padding: 8px;
38
+ border-radius: 0 4px 4px 0;
38
39
  }
39
40
  }
40
41
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "0.0.80",
4
+ "version": "0.0.81",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",