fix(user-app): open appraisal order entry
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user