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