主页展示内容调整

This commit is contained in:
轩辕龙儿 2024-02-21 08:25:33 +08:00
parent c83b215a23
commit 3f851bfe27
3 changed files with 8 additions and 9 deletions

View File

@ -20,9 +20,9 @@
"link": "https://cms.huangge1199.cn/" "link": "https://cms.huangge1199.cn/"
}, },
{ {
"icon": "LaptopCode", "icon": "Cloud",
"name": "友链站点监测", "name": "云盘",
"link": "https://console.huangge1199.cn/status/friends" "link": "https://pan.huangge1199.cn/"
}, },
{ {
"icon": "Book", "icon": "Book",

View File

@ -5,8 +5,7 @@
<div class="logo"> <div class="logo">
<img class="logo-img" :src="siteLogo" alt="logo" /> <img class="logo-img" :src="siteLogo" alt="logo" />
<div class="name text-hidden"> <div class="name text-hidden">
<span class="bg">{{ siteUrl[0] }}</span> <span class="sm">{{ siteName }}</span>
<span class="sm">.{{ siteUrl[1] }}</span>
</div> </div>
</div> </div>
<!-- 简介 --> <!-- 简介 -->
@ -37,8 +36,8 @@ const store = mainStore();
// logo // logo
const siteLogo = import.meta.env.VITE_SITE_LOGO; const siteLogo = import.meta.env.VITE_SITE_LOGO;
// //
const siteUrl = import.meta.env.VITE_SITE_URL.split("."); const siteName = import.meta.env.VITE_SITE_NAME;
// //
const descriptionText = reactive({ const descriptionText = reactive({
@ -103,7 +102,7 @@ watch(
.sm { .sm {
margin-left: 6px; margin-left: 6px;
font-size: 2rem; font-size: 4rem;
@media (min-width: 720px) and (max-width: 789px) { @media (min-width: 720px) and (max-width: 789px) {
display: none; display: none;
} }

View File

@ -92,7 +92,7 @@ export const helloInit = () => {
} }
ElMessage({ ElMessage({
dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
message: `<strong>${hello}</strong> 欢迎来到的主页`, message: `<strong>${hello}</strong> 欢迎来到龙儿的主页`,
}); });
}; };