refactor: 项目架构重构 - 目录标准化 + 清理冗余

- 目录重命名: backend/wdkj-server/ → server/, frontend/ai-dimension/ → client/
- 删除 20+ 冗余文件(WDKJ 旧脚本、Windows 脚本、过时文档、设计稿)
- 更新 package.json 元数据(移除 wdkj 命名)
- 完善三级 .gitignore(根 + server + client)
- 重写 README.md 和 CHANGELOG.md
- 工具脚本移至 scripts/
This commit is contained in:
Yuzhiran Dev
2026-07-11 12:45:37 +08:00
parent 66ac576082
commit c1d6dd3b29
106 changed files with 17436 additions and 2311 deletions
+67
View File
@@ -0,0 +1,67 @@
<template>
<view
class="dim-card-comp"
:class="{ 'dim-full': dim.isFull }"
:style="{ background: dim.bg }"
@tap="$emit('tap', dim)"
>
<view class="dim-icon" :style="{ background: dim.iconBg, color: dim.color }">
<text>{{ dim.icon }}</text>
</view>
<text class="dim-name" :style="{ color: dim.color }">{{ dim.name }}</text>
<text class="dim-desc">{{ dim.desc }}</text>
<text class="dim-count">
{{ dim.isFull ? '今日已更新 8 条' : `${dim.articleCount} 篇 · ${dim.quizCount} 个问答` }}
</text>
</view>
</template>
<script setup>
defineProps({
dim: { type: Object, required: true }
})
defineEmits(['tap'])
</script>
<style lang="scss" scoped>
.dim-card-comp {
border-radius: 18px;
padding: 20px 16px;
border: 1px solid rgba(255,255,255,0.06);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.dim-full {
grid-column: 1 / -1;
}
.dim-icon {
width: 42px; height: 42px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
margin-bottom: 14px;
}
.dim-name {
font-size: 15px;
font-weight: 600;
margin-bottom: 4px;
letter-spacing: 0.5px;
display: block;
}
.dim-desc {
font-size: 11px;
color: rgba(255,255,255,0.3);
line-height: 1.5;
display: block;
}
.dim-count {
font-size: 10px;
color: rgba(255,255,255,0.15);
margin-top: 10px;
display: block;
}
</style>
+60
View File
@@ -0,0 +1,60 @@
<template>
<view
class="news-card-comp"
@tap="$emit('tap', item)"
>
<view class="news-tag" :class="item.tagClass">{{ item.tag }}</view>
<text class="news-title">{{ item.title }}</text>
<view class="news-meta">
<text>{{ item.source }}</text>
<text>{{ item.time }}</text>
</view>
</view>
</template>
<script setup>
defineProps({
item: { type: Object, required: true }
})
defineEmits(['tap'])
</script>
<style lang="scss" scoped>
.news-card-comp {
border-radius: 14px;
padding: 14px 16px;
margin-bottom: 10px;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(255,255,255,0.05);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
}
.news-tag {
display: inline-block;
font-size: 10px;
padding: 2px 10px;
border-radius: 6px;
margin-bottom: 8px;
font-weight: 500;
}
.news-tag.hot { background: rgba(239,83,80,0.12); color: #ef5350; }
.news-tag.new { background: rgba(0,188,212,0.12); color: #4dd0e1; }
.news-tag.pick { background: rgba(124,77,255,0.12); color: #b388ff; }
.news-title {
font-size: 13px;
color: rgba(255,255,255,0.85);
line-height: 1.5;
margin-bottom: 8px;
font-weight: 500;
display: block;
}
.news-meta {
display: flex;
gap: 16px;
font-size: 10px;
color: rgba(255,255,255,0.2);
}
</style>