更新
This commit is contained in:
@@ -46,12 +46,20 @@ export default {
|
||||
if (e.type == 'detail') {
|
||||
this.$emit('onGoDetail')
|
||||
} else if (e.type == 'copy') {
|
||||
this.temuParams = {url: 'https://www.temu.com/' + e.url}
|
||||
if (e.url.startsWith('http')) {
|
||||
this.temuParams = {url: e.url}
|
||||
} else {
|
||||
this.temuParams = {url: 'https://www.temu.com/' + e.url}
|
||||
}
|
||||
this.copyFromDlgShow = true
|
||||
} else if (e.type == 'goMall') {
|
||||
window.open('https://www.temu.com/mall.html?mall_id=' + e.mallId, '_blank');
|
||||
} else if (e.type == 'goWeb') {
|
||||
window.open('https://www.temu.com/' + e.url, '_blank');
|
||||
if (e.url.startsWith('http')) {
|
||||
window.open(e.url, '_blank');
|
||||
} else {
|
||||
window.open('https://www.temu.com/' + e.url, '_blank');
|
||||
}
|
||||
}
|
||||
},
|
||||
beforeGoDetail(goodsId) {
|
||||
|
||||
Reference in New Issue
Block a user