feat: 更新Logo组件,修复路由导入方式;调整WordsPage布局,优化响应式设计

This commit is contained in:
SMGDev
2025-11-21 16:33:23 +00:00
parent 7c56eca2eb
commit 9b6f2cf768
2 changed files with 5 additions and 4 deletions

View File

@@ -1,8 +1,9 @@
<script setup lang="ts">
import {useSettingStore} from "@/stores/setting.ts";
import router from "@/router.ts";
import { useRouter } from 'vue-router'
const settingStore = useSettingStore()
const router = useRouter()
function goHome() {
router.push('/')

View File

@@ -201,8 +201,8 @@ const {
<template>
<BasePage>
<div class="card flex gap-8">
<div class="flex-1 flex flex-col justify-between">
<div class="card flex flex-col md:flex-row gap-8">
<div class="flex-1 w-full flex flex-col justify-between">
<div class="flex gap-3">
<div class="p-1 center rounded-full bg-white">
<IconFluentBookNumber20Filled class="text-xl color-link"/>
@@ -262,7 +262,7 @@ const {
</div>
</div>
<div class="flex-1" :class="!store.sdict.id && 'opacity-30 cursor-not-allowed'">
<div class="flex-1 w-full mt-4 md:mt-0" :class="!store.sdict.id && 'opacity-30 cursor-not-allowed'">
<div class="flex justify-between">
<div class="flex items-center gap-2">
<div class="p-2 center rounded-full bg-white ">