feat: 架构调整

This commit is contained in:
2026-07-23 11:27:33 +08:00
parent 6f37264047
commit 3b5a908ee4
25 changed files with 653 additions and 245 deletions
+20
View File
@@ -0,0 +1,20 @@
.container {
// 容器
}
.title {
margin-top: 0;
margin-bottom: 24px;
font-size: 20px;
font-weight: 600;
}
.subtitle {
margin: 16px 0 8px;
}
.list {
margin: 0;
padding-left: 20px;
line-height: 2;
}
+42
View File
@@ -0,0 +1,42 @@
import { defineComponent } from 'vue';
import { Card } from 'ant-design-vue';
import styles from './index.module.less';
interface TechItem {
name: string;
version: string;
}
/**
* 关于页面
*/
export default defineComponent({
name: 'About',
setup() {
const techStack: TechItem[] = [
{ name: 'Vue', version: '^3.3.0' },
{ name: 'Vite', version: '^5.0.0' },
{ name: 'TypeScript', version: '^5.3.0' },
{ name: 'Ant Design Vue', version: '^4.0.0' },
{ name: 'Vue Router', version: '^4.2.0' },
{ name: 'Less', version: '^4.6.4' },
];
return () => (
<div class={styles.container}>
<h2 class={styles.title}></h2>
<Card>
<p>CPMS PC </p>
<h3 class={styles.subtitle}></h3>
<ul class={styles.list}>
{techStack.map((item) => (
<li key={item.name}>
{item.name} {item.version}
</li>
))}
</ul>
</Card>
</div>
);
},
});