提交
This commit is contained in:
1 parent
d84f4b944c
commit
7c838cfb2d
249 files changed
+50600
-18556
No files matched your search
@@ -1,14 +1,16 @@
|
||||
<!-- 精简工作台:无业务统计接口,仅作入口与 UI 规范说明 -->
|
||||
<!-- Demo 工作台:Fresh Mint 模板页入口 -->
|
||||
<template>
|
||||
<div class="console-container console-lite">
|
||||
<section class="panel">
|
||||
<div class="panel-top">
|
||||
<h2>快速入口</h2>
|
||||
<h2 class="title-bar-heading">Demo 模板页</h2>
|
||||
</div>
|
||||
<div class="console-lite__body">
|
||||
<p class="console-lite__hint"
|
||||
>详见仓库根目录 `.cursorrules` 中「页面级 UI 模板(固定五页)」。</p
|
||||
>
|
||||
<p class="console-lite__hint">
|
||||
以下页面为 Fresh Mint UI 参考模板,数据为本地 Mock,不影响业务模块。详见
|
||||
<code>docs/web-admin-ui-spec-fresh-mint.md</code> 与
|
||||
<code>docs/web-admin-ui-pattern-index.md</code>。
|
||||
</p>
|
||||
<div class="console-lite__links">
|
||||
<el-button
|
||||
v-for="item in links"
|
||||
@@ -17,6 +19,7 @@
|
||||
type="primary"
|
||||
@click="go(item.path)"
|
||||
>
|
||||
<el-icon><Link /></el-icon>
|
||||
{{ item.label }}
|
||||
</el-button>
|
||||
</div>
|
||||
@@ -27,17 +30,18 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useRouter } from 'vue-router'
|
||||
import { Link } from '@element-plus/icons-vue'
|
||||
|
||||
defineOptions({ name: 'Console' })
|
||||
defineOptions({ name: 'DemoConsole' })
|
||||
|
||||
const router = useRouter()
|
||||
|
||||
const links = [
|
||||
{ label: '商品单位', path: '/system/unit' },
|
||||
{ label: '用户管理', path: '/system/user' },
|
||||
{ label: '商品分类', path: '/system/category' },
|
||||
{ label: '租户管理', path: '/system/tenant' },
|
||||
{ label: '客户管理', path: '/basic-info/customer' }
|
||||
{ label: '标准列表(单位)', path: '/demo/unit' },
|
||||
{ label: '复杂列表(订单)', path: '/demo/order' },
|
||||
{ label: '商品列表', path: '/demo/product' },
|
||||
{ label: '树形主数据(分类)', path: '/demo/category' },
|
||||
{ label: '用户 CRUD', path: '/demo/user' }
|
||||
]
|
||||
|
||||
const go = (path: string) => {
|
||||
@@ -54,12 +58,22 @@
|
||||
margin: 0 0 16px;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
color: #1e293b;
|
||||
color: var(--mint-text-muted, #64748b);
|
||||
|
||||
code {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
.console-lite__links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
|
||||
.el-button {
|
||||
:deep(.el-icon) {
|
||||
margin-right: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in new issue
Block a user