feat(web): adopt vuesax icons and shared skeleton loading
Replace the inline SVG icon set with the vuesax linear pack, add skeleton primitives for loading states, and keep page scroll inside the app shell. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -30,13 +30,13 @@ import {
|
||||
ListItemMeta as AListItemMeta,
|
||||
Row as ARow,
|
||||
Space as ASpace,
|
||||
Spin as ASpin,
|
||||
Table as ATable,
|
||||
Tag as ATag,
|
||||
Typography,
|
||||
} from 'ant-design-vue';
|
||||
import { CrmSkeleton, CrmSkeletonCard } from '@/components/skeleton';
|
||||
import type { TableColumnsType } from 'ant-design-vue';
|
||||
import { CopyOutlined, PlusOutlined, ReloadOutlined } from '@ant-design/icons-vue';
|
||||
import { CopyOutlined, PlusOutlined, ReloadOutlined } from '@/icons/ant-bridge';
|
||||
|
||||
const { Title: ATypographyTitle, Text: ATypographyText, Paragraph: ATypographyParagraph } = Typography;
|
||||
const ACheckableTag = ATag.CheckableTag;
|
||||
@@ -240,7 +240,8 @@ onMounted(() => {
|
||||
<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 = ''" />
|
||||
|
||||
<a-spin :spinning="loading">
|
||||
<CrmSkeleton :loading="loading">
|
||||
<CrmSkeletonCard :rows="8">
|
||||
<a-card :bordered="false">
|
||||
<a-divider orientation="right">کلیدهای API</a-divider>
|
||||
<a-typography-paragraph type="secondary">
|
||||
@@ -453,6 +454,7 @@ onMounted(() => {
|
||||
</a-table>
|
||||
</template>
|
||||
</a-card>
|
||||
</a-spin>
|
||||
</CrmSkeletonCard>
|
||||
</CrmSkeleton>
|
||||
</a-flex>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user