diff --git a/components/SuccessPopup/SuccessPopup.vue b/components/SuccessPopup/SuccessPopup.vue
index e76bc9d..15128ac 100644
--- a/components/SuccessPopup/SuccessPopup.vue
+++ b/components/SuccessPopup/SuccessPopup.vue
@@ -12,8 +12,9 @@
✨
✨
- {{ type === 'comment' ? '评论成功' : '评分成功' }}
+ {{ type === 'comment' ? '评论成功' : type === 'release' ? '已提交审核' : '评分成功' }}
{{ actionData?.label || '你的锐评已发布' }}
+ {{ actionData?.label || '请耐心等待管理员审核' }}
你已将TA评价为「{{ actionData?.label || '...' }}」
diff --git a/pages/release/index.vue b/pages/release/index.vue
index 28c3dda..31126fc 100644
--- a/pages/release/index.vue
+++ b/pages/release/index.vue
@@ -153,6 +153,9 @@
+
+
+
@@ -166,8 +169,10 @@ import {
uploadImage,
chooseAndUploadImage,
} from "@/utils/common.js";
+import SuccessPopup from "@/components/SuccessPopup/SuccessPopup.vue";
import { FILE_BASE_URL } from "@/utils/constants";
+const successPopupRef = ref(null);
const statusBarHeight = ref(getStatusBarHeight() || 0);
const categories = ref([]);
@@ -334,10 +339,13 @@ const handleSubmit = async () => {
});
uni.hideLoading();
- uni.showToast({
- title: "已提交审核",
- icon: "success",
- });
+
+ if (successPopupRef.value) {
+ successPopupRef.value.show({
+ emoji: '🎉',
+ label: '请耐心等待管理员审核'
+ }, 'release');
+ }
// 初始化表单内容
Object.assign(formData, {
@@ -353,7 +361,10 @@ const handleSubmit = async () => {
{ name: "", coverUrl: "" },
];
- smartNavigateBack({ delay: 1500 });
+ // 延迟跳转,等待弹窗展示完成
+ setTimeout(() => {
+ smartNavigateBack();
+ }, 2000);
} catch (error) {
uni.hideLoading();
uni.showToast({