feat(web): add Ant workspace tabs and harden page chrome
Persist workspace tabs in the app shell with Ant Design styling aligned to the desktop top bar, and fix tab bar layout flicker on select. Add shared PageHeader components, query helpers, and missing header state across CRM views; improve mobile shell layout and Vite HMR stability on Windows. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -28,7 +28,9 @@ import {
|
||||
import { DeleteOutlined, EditOutlined } from '@/icons/ant-bridge';
|
||||
import { CrmSkeleton, CrmSkeletonList } from '@/components/skeleton';
|
||||
|
||||
const { Title: ATypographyTitle, Text: ATypographyText, Paragraph: ATypographyParagraph } =
|
||||
import { PageHeader } from '@/components/page';
|
||||
import { QuestionCircleOutlined } from '@/icons/ant-bridge';
|
||||
const { Text: ATypographyText, Paragraph: ATypographyParagraph } =
|
||||
Typography;
|
||||
|
||||
const loading = ref(false);
|
||||
@@ -140,9 +142,11 @@ onMounted(load);
|
||||
|
||||
<template>
|
||||
<a-flex vertical :gap="16">
|
||||
<a-typography-title :level="3" :style="{ margin: 0 }">
|
||||
پایگاه دانش و سؤالات متداول
|
||||
</a-typography-title>
|
||||
<PageHeader
|
||||
title="پایگاه دانش و سؤالات متداول"
|
||||
subtitle="مقالهها و پاسخهای آماده برای تیم و مشتریان"
|
||||
:icon="QuestionCircleOutlined"
|
||||
/>
|
||||
|
||||
<a-alert v-if="error" type="error" show-icon :message="error" closable @close="error = ''" />
|
||||
<a-alert v-if="ok" type="success" show-icon :message="ok" closable @close="ok = ''" />
|
||||
|
||||
Reference in New Issue
Block a user