@fonixtree/magic-design 0.2.1 → 0.2.3
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/bol/components/WalletNuri/mobile/index.js +8 -4
- package/es/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +3 -1
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.js +8 -4
- package/lib/composite-comp/dito/components/MenuNavigation/MenuNavMetaImage/index.less +3 -1
- package/package.json +1 -1
- package/es/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/.DS_Store +0 -0
|
@@ -231,7 +231,7 @@ function (_super) {
|
|
|
231
231
|
case 0:
|
|
232
232
|
return [4
|
|
233
233
|
/*yield*/
|
|
234
|
-
, (0, _commonUtil.commonFetch)('/designer/v1
|
|
234
|
+
, (0, _commonUtil.commonFetch)('/designer/v1/h5/nuri/distribute/commission')];
|
|
235
235
|
|
|
236
236
|
case 1:
|
|
237
237
|
infoObj = _a.sent();
|
|
@@ -268,8 +268,12 @@ function (_super) {
|
|
|
268
268
|
};
|
|
269
269
|
|
|
270
270
|
_this.clickJump = function (title) {
|
|
271
|
-
if (title
|
|
272
|
-
(0, _coreUtil.clickUrl)('/
|
|
271
|
+
if (title === 'Saldo') {
|
|
272
|
+
(0, _coreUtil.clickUrl)('/social-commerce/my-earnings');
|
|
273
|
+
} else if (title === 'Koin') {
|
|
274
|
+
(0, _coreUtil.clickUrl)('/my-points');
|
|
275
|
+
} else if (title === 'Voucher') {
|
|
276
|
+
(0, _coreUtil.clickUrl)('/my-coupon');
|
|
273
277
|
}
|
|
274
278
|
};
|
|
275
279
|
|
|
@@ -291,7 +295,7 @@ function (_super) {
|
|
|
291
295
|
}
|
|
292
296
|
|
|
293
297
|
WalletNuriMobile.prototype.componentDidMount = function () {
|
|
294
|
-
if (localStorage.getItem('isLogin') === 'Y') {
|
|
298
|
+
if (localStorage.getItem('isLogin') === 'Y' && !(0, _coreUtil.isDesignMode)()) {
|
|
295
299
|
this.getInfo();
|
|
296
300
|
}
|
|
297
301
|
};
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
height: 100%;
|
|
5
5
|
display: flex;
|
|
6
6
|
justify-content: center;
|
|
7
|
+
max-height: 65px;
|
|
8
|
+
|
|
7
9
|
// overflow: hidden;
|
|
8
10
|
&>img {
|
|
9
11
|
width: 100%;
|
|
10
|
-
height: 100%;
|
|
12
|
+
// height: 100%;
|
|
11
13
|
// object-fit: contain;
|
|
12
14
|
transition: all .2s linear;
|
|
13
15
|
vertical-align: initial;
|
|
@@ -231,7 +231,7 @@ function (_super) {
|
|
|
231
231
|
case 0:
|
|
232
232
|
return [4
|
|
233
233
|
/*yield*/
|
|
234
|
-
, (0, _commonUtil.commonFetch)('/designer/v1
|
|
234
|
+
, (0, _commonUtil.commonFetch)('/designer/v1/h5/nuri/distribute/commission')];
|
|
235
235
|
|
|
236
236
|
case 1:
|
|
237
237
|
infoObj = _a.sent();
|
|
@@ -268,8 +268,12 @@ function (_super) {
|
|
|
268
268
|
};
|
|
269
269
|
|
|
270
270
|
_this.clickJump = function (title) {
|
|
271
|
-
if (title
|
|
272
|
-
(0, _coreUtil.clickUrl)('/
|
|
271
|
+
if (title === 'Saldo') {
|
|
272
|
+
(0, _coreUtil.clickUrl)('/social-commerce/my-earnings');
|
|
273
|
+
} else if (title === 'Koin') {
|
|
274
|
+
(0, _coreUtil.clickUrl)('/my-points');
|
|
275
|
+
} else if (title === 'Voucher') {
|
|
276
|
+
(0, _coreUtil.clickUrl)('/my-coupon');
|
|
273
277
|
}
|
|
274
278
|
};
|
|
275
279
|
|
|
@@ -291,7 +295,7 @@ function (_super) {
|
|
|
291
295
|
}
|
|
292
296
|
|
|
293
297
|
WalletNuriMobile.prototype.componentDidMount = function () {
|
|
294
|
-
if (localStorage.getItem('isLogin') === 'Y') {
|
|
298
|
+
if (localStorage.getItem('isLogin') === 'Y' && !(0, _coreUtil.isDesignMode)()) {
|
|
295
299
|
this.getInfo();
|
|
296
300
|
}
|
|
297
301
|
};
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
height: 100%;
|
|
5
5
|
display: flex;
|
|
6
6
|
justify-content: center;
|
|
7
|
+
max-height: 65px;
|
|
8
|
+
|
|
7
9
|
// overflow: hidden;
|
|
8
10
|
&>img {
|
|
9
11
|
width: 100%;
|
|
10
|
-
height: 100%;
|
|
12
|
+
// height: 100%;
|
|
11
13
|
// object-fit: contain;
|
|
12
14
|
transition: all .2s linear;
|
|
13
15
|
vertical-align: initial;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|