perf: 🎨 改善促销部分荣誉代码 封装为组件使用 更加便捷以及好看。 优化部分页面显示问题

删除部分原有的老样式  更新新版促销样式 页面更加好看 删除冗余代码 封装多种方法以及组件
This commit is contained in:
lemon橪
2022-09-15 15:40:50 +08:00
parent 8c8522c68e
commit 1e9df74034
70 changed files with 721 additions and 814 deletions

View File

@@ -215,7 +215,7 @@
if (jump) {
// #ifdef MP
if (attrs['app-id']) {
return this.$navigateToMiniProgram({
return uni.navigateToMiniProgram({
appId: attrs['app-id'],
path: attrs.path
})
@@ -241,7 +241,7 @@
})
// #endif
} else
this.$navigateTo({
uni.navigateTo({
url: attrs.href,
fail() {
uni.switchTab({

View File

@@ -331,7 +331,7 @@
} else if (href.indexOf('http') == 0 || href.indexOf('//') == 0)
return true;
else
this.$navigateTo({
uni.navigateTo({
url: href
})
}
@@ -578,7 +578,7 @@
} else if (href.includes('://'))
plus.runtime.openWeb(href);
else
this.$navigateTo({
uni.navigateTo({
url: href
})
}

View File

@@ -114,7 +114,7 @@
url: this.config.url
});
} else {
this.$navigateTo({
uni.navigateTo({
url: this.config.url
});
}