feat(反馈系统): 添加用户反馈功能组件
在多个视图页面中添加反馈按钮和FeedbackForm组件,允许用户提交反馈意见。主要变更包括: 1. 创建FeedbackForm.vue组件实现反馈表单 2. 在topone、seniorManager、secondTop等视图添加反馈按钮 3. 实现表单提交逻辑和样式 4. 修复manager.vue中Sale组件路径大小写问题 5. 将index.html语言设置为中文
This commit is contained in:
@@ -28,10 +28,18 @@
|
||||
|
||||
<div v-if="!isRouteNavigation">
|
||||
<!-- 用户下拉菜单 -->
|
||||
<div style="display: flex; align-items: center; gap: 20px;">
|
||||
<button @click="showFeedbackFormModal" class="feedback-btn">意见反馈</button>
|
||||
<FeedbackForm
|
||||
:is-visible="showFeedbackForm"
|
||||
@close="closeFeedbackFormModal"
|
||||
@submit-feedback="closeFeedbackFormModal"
|
||||
/>
|
||||
<UserDropdown
|
||||
:card-visibility="cardVisibility"
|
||||
@update-card-visibility="updateCardVisibility"
|
||||
/>
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -176,7 +184,7 @@
|
||||
|
||||
<script setup>
|
||||
import { ref, onMounted, computed,reactive } from 'vue'
|
||||
|
||||
import FeedbackForm from "@/components/FeedbackForm.vue";
|
||||
// 30分钟数据缓存系统
|
||||
const cache = new Map()
|
||||
const CACHE_DURATION = 30 * 60 * 1000 // 30分钟
|
||||
|
||||
Reference in New Issue
Block a user