feat(反馈表单): 在多个视图添加反馈表单功能及样式

为topOne、seniorManager和secondTop视图添加反馈表单控制逻辑和按钮样式
This commit is contained in:
2025-10-09 20:17:21 +08:00
parent 600684570a
commit 676b213a7d
3 changed files with 99 additions and 16 deletions

View File

@@ -245,6 +245,18 @@ const cardVisibility = ref({
detailedDataTable: true
});
// FeedbackForm 控制变量
const showFeedbackForm = ref(false);
// FeedbackForm 控制方法
const showFeedbackFormModal = () => {
showFeedbackForm.value = true;
};
const closeFeedbackFormModal = () => {
showFeedbackForm.value = false;
};
// 更新卡片显示状态
const updateCardVisibility = (newVisibility) => {
Object.assign(cardVisibility.value, newVisibility);
@@ -2173,4 +2185,20 @@ button {
-ms-user-select: text;
user-select: text;
}
/* 意见反馈按钮样式 */
.feedback-btn {
background-color: #4299e1;
color: white;
border: none;
border-radius: 6px;
padding: 0.5rem 1rem;
font-size: 0.9rem;
cursor: pointer;
transition: background-color 0.2s;
}
.feedback-btn:hover {
background-color: #3182ce;
}
</style>