mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-16 23:45:53 +08:00
perf: 🎨 改善促销部分荣誉代码 封装为组件使用 更加便捷以及好看。 优化部分页面显示问题
删除部分原有的老样式 更新新版促销样式 页面更加好看 删除冗余代码 封装多种方法以及组件
This commit is contained in:
@@ -69,7 +69,7 @@ import { distribution } from "@/api/goods";
|
||||
export default {
|
||||
methods: {
|
||||
navigateTo(url) {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url,
|
||||
});
|
||||
},
|
||||
@@ -78,11 +78,11 @@ export default {
|
||||
if (res.data.result) {
|
||||
let type = res.data.result.distributionStatus;
|
||||
if (type == "PASS") {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: "/pages/mine/distribution/home",
|
||||
});
|
||||
} else if (type == "REFUSE") {
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: "/pages/mine/distribution/auth",
|
||||
});
|
||||
} else if (type == "RETREAT") {
|
||||
@@ -106,7 +106,7 @@ export default {
|
||||
});
|
||||
} else {
|
||||
// 没有资格申请 先去实名认证
|
||||
this.$navigateTo({
|
||||
uni.navigateTo({
|
||||
url: "/pages/mine/distribution/auth",
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user