@fonixtree/magic-design 1.0.104 → 1.0.107
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/ImageGallery/mobile/index.less +3 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +3 -3
- package/es/utils/coreUtil.js +2 -4
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +3 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +3 -3
- package/lib/utils/coreUtil.js +2 -4
- package/package.json +1 -1
- package/es/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/.DS_Store +0 -0
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
justify-content: flex-start;
|
|
77
77
|
}
|
|
78
78
|
.m-flash-deal-mobile .flash-deal-list-vertical .m-product-item-wrap {
|
|
79
|
-
width: 2.
|
|
79
|
+
width: 2.44rem;
|
|
80
80
|
margin-right: 0.16rem;
|
|
81
81
|
}
|
|
82
82
|
.m-flash-deal-mobile .flash-deal-list-vertical .m-product-item-wrap .product-img {
|
|
83
|
-
height: 2.
|
|
84
|
-
width: 2.
|
|
83
|
+
height: 2.4rem;
|
|
84
|
+
width: 2.4rem;
|
|
85
85
|
}
|
|
86
86
|
.m-flash-deal-mobile .flash-deal-list-horizontal {
|
|
87
87
|
display: flex;
|
package/es/utils/coreUtil.js
CHANGED
|
@@ -366,17 +366,15 @@ var clickUrl = function clickUrl(url, state) {
|
|
|
366
366
|
|
|
367
367
|
|
|
368
368
|
if (((_a = window === null || window === void 0 ? void 0 : window.magicDesign) === null || _a === void 0 ? void 0 : _a.projectCode) === 'pto') {
|
|
369
|
-
// 输入的是完整的跳转地址
|
|
370
|
-
if (isUrl(link)) {
|
|
369
|
+
// 输入的是完整的跳转地址 排除掉‘https://www.baidu.com;mydito://BuyLoad’这种情况
|
|
370
|
+
if (isUrl(link) && !link.includes('mydito://')) {
|
|
371
371
|
if (!link.includes(window.location.host)) {
|
|
372
372
|
// 跳转外链 需要把token带上
|
|
373
373
|
if (link.includes('?')) {
|
|
374
374
|
var a = link + "&token=" + (localStorage.getItem('h5Token') || '');
|
|
375
|
-
console.log('wai lian: ', a);
|
|
376
375
|
window.location.href = a;
|
|
377
376
|
} else {
|
|
378
377
|
var a = link + "?token=" + (localStorage.getItem('h5Token') || '');
|
|
379
|
-
console.log('wai lian: ', a);
|
|
380
378
|
window.location.href = a;
|
|
381
379
|
}
|
|
382
380
|
} else {
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
justify-content: flex-start;
|
|
77
77
|
}
|
|
78
78
|
.m-flash-deal-mobile .flash-deal-list-vertical .m-product-item-wrap {
|
|
79
|
-
width: 2.
|
|
79
|
+
width: 2.44rem;
|
|
80
80
|
margin-right: 0.16rem;
|
|
81
81
|
}
|
|
82
82
|
.m-flash-deal-mobile .flash-deal-list-vertical .m-product-item-wrap .product-img {
|
|
83
|
-
height: 2.
|
|
84
|
-
width: 2.
|
|
83
|
+
height: 2.4rem;
|
|
84
|
+
width: 2.4rem;
|
|
85
85
|
}
|
|
86
86
|
.m-flash-deal-mobile .flash-deal-list-horizontal {
|
|
87
87
|
display: flex;
|
package/lib/utils/coreUtil.js
CHANGED
|
@@ -366,17 +366,15 @@ var clickUrl = function clickUrl(url, state) {
|
|
|
366
366
|
|
|
367
367
|
|
|
368
368
|
if (((_a = window === null || window === void 0 ? void 0 : window.magicDesign) === null || _a === void 0 ? void 0 : _a.projectCode) === 'pto') {
|
|
369
|
-
// 输入的是完整的跳转地址
|
|
370
|
-
if (isUrl(link)) {
|
|
369
|
+
// 输入的是完整的跳转地址 排除掉‘https://www.baidu.com;mydito://BuyLoad’这种情况
|
|
370
|
+
if (isUrl(link) && !link.includes('mydito://')) {
|
|
371
371
|
if (!link.includes(window.location.host)) {
|
|
372
372
|
// 跳转外链 需要把token带上
|
|
373
373
|
if (link.includes('?')) {
|
|
374
374
|
var a = link + "&token=" + (localStorage.getItem('h5Token') || '');
|
|
375
|
-
console.log('wai lian: ', a);
|
|
376
375
|
window.location.href = a;
|
|
377
376
|
} else {
|
|
378
377
|
var a = link + "?token=" + (localStorage.getItem('h5Token') || '');
|
|
379
|
-
console.log('wai lian: ', a);
|
|
380
378
|
window.location.href = a;
|
|
381
379
|
}
|
|
382
380
|
} else {
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|