fix(user-app): open appraisal order entry

This commit is contained in:
wushumin
2026-06-04 15:32:00 +08:00
parent 5cd94d138d
commit 13c21ac67f
3 changed files with 6 additions and 14 deletions

View File

@@ -83,11 +83,9 @@ const categoryCards = computed(() => {
})); }));
}); });
function goService() { function goService(serviceProvider = "anxinyan") {
uni.showToast({ const provider = serviceProvider === "zhongjian" ? "zhongjian" : "anxinyan";
title: "暂不支持自助下单", uni.navigateTo({ url: `/pages/appraisal/service?provider=${provider}` });
icon: "none",
});
} }
async function fetchHome() { async function fetchHome() {
@@ -177,7 +175,7 @@ onShow(fetchHome);
v-for="card in homeServiceCards" v-for="card in homeServiceCards"
:key="card.service_provider" :key="card.service_provider"
:class="['home-service-card', `home-service-card--${card.theme}`]" :class="['home-service-card', `home-service-card--${card.theme}`]"
@click="goService" @click="goService(card.service_provider)"
> >
<view class="home-service-card__watermark">{{ card.theme === "blue" ? "CIC" : "" }}</view> <view class="home-service-card__watermark">{{ card.theme === "blue" ? "CIC" : "" }}</view>
<view class="home-service-card__title"> <view class="home-service-card__title">

View File

@@ -47,10 +47,7 @@ function openOrder(id: number) {
} }
function goStartAppraisal() { function goStartAppraisal() {
uni.showToast({ uni.navigateTo({ url: "/pages/appraisal/service?provider=anxinyan&start=1" });
title: "暂不支持自助下单",
icon: "none",
});
} }
function goHome() { function goHome() {

View File

@@ -39,10 +39,7 @@ function goHome() {
} }
function goStartAppraisal() { function goStartAppraisal() {
uni.showToast({ uni.navigateTo({ url: "/pages/appraisal/service?provider=anxinyan&start=1" });
title: "暂不支持自助下单",
icon: "none",
});
} }
function goHelp() { function goHelp() {