@fonixtree/magic-design 1.0.55 → 1.0.56
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/CommonFunctions/defaultJSON.js +1 -1
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +1 -1
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +2 -2
- package/es/composite-comp/dito/components/Orders/mobile/index.js +2 -2
- package/es/utils/commonUtil.js +1 -1
- package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +1 -1
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +1 -1
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +2 -2
- package/lib/composite-comp/dito/components/Orders/mobile/index.js +2 -2
- package/lib/utils/commonUtil.js +1 -1
- package/package.json +1 -1
|
@@ -67,7 +67,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
67
67
|
return {
|
|
68
68
|
id: (0, _uuid.v4)(),
|
|
69
69
|
type: 'COMMON_FUNCTIONS',
|
|
70
|
-
groupSource: [CommonFunctionsGroupSourceJSON('Address', '/address/manage'), CommonFunctionsGroupSourceJSON('Policies', '/account/policies'), CommonFunctionsGroupSourceJSON('Security Center', '/account/security'), CommonFunctionsGroupSourceJSON('Chat With Us')],
|
|
70
|
+
groupSource: [CommonFunctionsGroupSourceJSON('Address', '/address/manage'), CommonFunctionsGroupSourceJSON('Policies', '/account/policies'), CommonFunctionsGroupSourceJSON('Security Center', '/account/security'), CommonFunctionsGroupSourceJSON('Chat With Us', '/new-chat')],
|
|
71
71
|
spacing: {
|
|
72
72
|
pc: {
|
|
73
73
|
paddingTop: 0,
|
|
@@ -56,7 +56,7 @@ function (_super) {
|
|
|
56
56
|
_this.state = {};
|
|
57
57
|
|
|
58
58
|
_this.onItemClick = function (item) {
|
|
59
|
-
if ((0, _commonUtil.checkLogin)()) {
|
|
59
|
+
if ((0, _commonUtil.checkLogin)(true, '/main/account')) {
|
|
60
60
|
var url = (0, _commonUtil.ensure)(function () {
|
|
61
61
|
return item.title.content.clickUrl.value || item.image.content.clickUrl.value;
|
|
62
62
|
}, '');
|
|
@@ -212,11 +212,11 @@ var orderData = {
|
|
|
212
212
|
},
|
|
213
213
|
Done: {
|
|
214
214
|
key: 'toRatingNum',
|
|
215
|
-
route: '/
|
|
215
|
+
route: '/main/order/4'
|
|
216
216
|
},
|
|
217
217
|
Cancelled: {
|
|
218
218
|
key: 'returnsNum',
|
|
219
|
-
route: '/
|
|
219
|
+
route: '/main/order/5'
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
exports.orderData = orderData;
|
package/es/utils/commonUtil.js
CHANGED
|
@@ -67,7 +67,7 @@ var getDefaultJSON = function getDefaultJSON() {
|
|
|
67
67
|
return {
|
|
68
68
|
id: (0, _uuid.v4)(),
|
|
69
69
|
type: 'COMMON_FUNCTIONS',
|
|
70
|
-
groupSource: [CommonFunctionsGroupSourceJSON('Address', '/address/manage'), CommonFunctionsGroupSourceJSON('Policies', '/account/policies'), CommonFunctionsGroupSourceJSON('Security Center', '/account/security'), CommonFunctionsGroupSourceJSON('Chat With Us')],
|
|
70
|
+
groupSource: [CommonFunctionsGroupSourceJSON('Address', '/address/manage'), CommonFunctionsGroupSourceJSON('Policies', '/account/policies'), CommonFunctionsGroupSourceJSON('Security Center', '/account/security'), CommonFunctionsGroupSourceJSON('Chat With Us', '/new-chat')],
|
|
71
71
|
spacing: {
|
|
72
72
|
pc: {
|
|
73
73
|
paddingTop: 0,
|
|
@@ -56,7 +56,7 @@ function (_super) {
|
|
|
56
56
|
_this.state = {};
|
|
57
57
|
|
|
58
58
|
_this.onItemClick = function (item) {
|
|
59
|
-
if ((0, _commonUtil.checkLogin)()) {
|
|
59
|
+
if ((0, _commonUtil.checkLogin)(true, '/main/account')) {
|
|
60
60
|
var url = (0, _commonUtil.ensure)(function () {
|
|
61
61
|
return item.title.content.clickUrl.value || item.image.content.clickUrl.value;
|
|
62
62
|
}, '');
|
|
@@ -212,11 +212,11 @@ var orderData = {
|
|
|
212
212
|
},
|
|
213
213
|
Done: {
|
|
214
214
|
key: 'toRatingNum',
|
|
215
|
-
route: '/
|
|
215
|
+
route: '/main/order/4'
|
|
216
216
|
},
|
|
217
217
|
Cancelled: {
|
|
218
218
|
key: 'returnsNum',
|
|
219
|
-
route: '/
|
|
219
|
+
route: '/main/order/5'
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
exports.orderData = orderData;
|
package/lib/utils/commonUtil.js
CHANGED