diff --git a/src/App.vue b/src/App.vue index 2a4be68..00b14f0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,7 +5,7 @@
-
@@ -13,7 +13,15 @@
- + +
+ 博客Admin +
+
+ +
@@ -21,15 +29,15 @@
- - + +
- 博客管理系统 + 食光集
-
@@ -67,6 +75,15 @@ const sweetHutClick = () => { window.open(`${window.location.origin}/sweet-hut/`, '_blank'); } +const foodHubClick = () => { + if (!isMobile()) { + ElMessage.info('暂不支持PC端访问') + return + } + + window.open(`${window.location.origin}/food-hub/`, '_blank'); +} + const blogAdminClick = () => { if (isMobile()) { ElMessage.info('暂不支持移动端访问') @@ -104,7 +121,7 @@ const resumeClick = () => { margin-top: 100px; display: grid; - grid-template-columns: repeat(2, 1fr); + grid-template-columns: repeat(3, 1fr); gap: 25px; .app-card { @@ -113,8 +130,8 @@ const resumeClick = () => { font-size: 1.3rem; .el-card__body { - display: flex; - justify-content: center; + display: grid; + grid-template-columns: 25px 1fr; align-items: center; gap: 10px; } @@ -125,13 +142,19 @@ const resumeClick = () => { } } + @media (max-width: 768px) { + .app-center { + grid-template-columns: repeat(2, 1fr); + } + } + .footer-content { position: fixed; bottom: 0; left: 0; right: 0; - color: #6B7280; + color: #2B2B2C; padding: 10px; text-align: center; box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); diff --git a/src/style.css b/src/style.css index 4664600..0e7be95 100644 --- a/src/style.css +++ b/src/style.css @@ -2,7 +2,7 @@ body { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; - font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; + font-family: '华文楷体', 'Times New Roman', sans-serif; } *, @@ -32,6 +32,7 @@ html, body { #app { height: 100%; + background-color: lightgray; } html {