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() {
uni.showToast({
title: "暂不支持自助下单",
icon: "none",
});
function goService(serviceProvider = "anxinyan") {
const provider = serviceProvider === "zhongjian" ? "zhongjian" : "anxinyan";
uni.navigateTo({ url: `/pages/appraisal/service?provider=${provider}` });
}
async function fetchHome() {
@@ -177,7 +175,7 @@ onShow(fetchHome);
v-for="card in homeServiceCards"
:key="card.service_provider"
: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__title">

View File

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

View File

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