fix: Dashboard骨架屏模板修复

- 重写Dashboard模板结构(v-if/v-else格式正确)
- 添加加载骨架屏
- 添加robots.txt
This commit is contained in:
Agent
2026-07-14 23:28:38 +08:00
parent d4138cd7d7
commit bbaa281128
+3 -4
View File
@@ -77,9 +77,9 @@
</el-table>
</div>
</el-card>
</div>
</template>
</div>
</template>
<script setup lang="ts">
import { ref, onMounted } from 'vue'
@@ -112,10 +112,9 @@ onMounted(async () => {
.stat-item { text-align: center; }
.stat-item .num { display: block; font-size: 36px; font-weight: 700; color: #6366f1; margin-bottom: 8px; }
.stat-item .label { color: #888; font-size: 14px; }
.action-btn {
width: 100%;
}
.action-btn { width: 100%; }
.table-wrap { overflow-x: auto; }
.dashboard-loading { padding: 20px; }
@media (max-width: 767px) {
.stat-item .num { font-size: 28px; }