feat: 问题反馈问题修复

This commit is contained in:
duanshuwen
2025-11-05 21:10:11 +08:00
parent 217ee3228a
commit 0758179b93
2 changed files with 3 additions and 14 deletions

View File

@@ -75,20 +75,12 @@ const appName = computed(() => getCurrentConfig().name);
const handleCall = async () => {
if (!contactPhone.value.trim()) {
uni.showToast({
title: "请填写联系电话",
icon: "none",
duration: 2000,
});
uni.showToast({ title: "请填写联系电话", icon: "none" });
return;
}
if (!contactText.value.trim()) {
uni.showToast({
title: "请填写意见内容",
icon: "none",
duration: 2000,
});
uni.showToast({ title: "请填写意见内容", icon: "none" });
return;
}
@@ -110,13 +102,11 @@ const sendFeedback = async () => {
uni.showToast({
title: "反馈意见成功",
icon: "success",
duration: 2000,
});
} else {
uni.showToast({
title: res.message || "反馈意见失败",
icon: "none",
duration: 2000,
});
}
} catch (error) {
@@ -124,7 +114,6 @@ const sendFeedback = async () => {
uni.showToast({
title: "网络错误,请重试",
icon: "none",
duration: 2000,
});
}
};

View File

@@ -1,5 +1,5 @@
<template>
<view class="flex flex-col h-screen" @touchend="handleTouchEnd">
<view class="flex flex-col h-screen">
<!-- 顶部自定义导航栏 -->
<view class="header" :style="{ paddingTop: statusBarHeight + 'px' }">
<ChatTopNavBar