Compare commits

..

4 Commits

Author SHA1 Message Date
66adf7f545 fix: 修正面包屑导航的显示逻辑
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m7s
- 竖屏下不显示面包屑导航
2025-12-27 17:06:03 +08:00
f87b977c87 fix: 调整面包屑导航的显示逻辑
- 在移动端隐藏面包屑导航
2025-12-27 17:05:41 +08:00
601c4abe53 fix: 修正计算器连接
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m3s
- 域名改为cal.jinshen.cn
2025-12-26 15:01:35 +08:00
b71ee98129 feat: 为Apple/PWA进行图标适配
All checks were successful
deploy to server / build-and-deploy (push) Successful in 3m23s
2025-12-24 14:56:28 +08:00
14 changed files with 74 additions and 6 deletions

View File

@ -48,7 +48,7 @@
<ul class="footer-links"> <ul class="footer-links">
<li> <li>
<a <a
href="http://cal.3w.jinshen.cn" href="http://cal.jinshen.cn"
target="_blank" target="_blank"
rel="noopener noreferer" rel="noopener noreferer"
> >

View File

@ -53,7 +53,7 @@
class="hide-on-mobile" class="hide-on-mobile"
type="info" type="info"
:underline="false" :underline="false"
href="http://cal.3w.jinshen.cn" href="http://cal.jinshen.cn"
target="_blank" target="_blank"
> >
<el-icon class="mdi mdi-calculator action-icon" /> <el-icon class="mdi mdi-calculator action-icon" />
@ -131,9 +131,7 @@
mode="vertical" mode="vertical"
@select="mobileMenuVisible = false" @select="mobileMenuVisible = false"
> >
<el-menu-item <el-menu-item @click="openExternalLink('http://cal.jinshen.cn')">
@click="openExternalLink('http://cal.3w.jinshen.cn')"
>
{{ $t('navigation.calculator') }} {{ $t('navigation.calculator') }}
</el-menu-item> </el-menu-item>
</el-menu> </el-menu>

View File

@ -109,5 +109,9 @@
margin-left: 0; margin-left: 0;
gap: 0.5rem; gap: 0.5rem;
} }
.breadcrumb {
display: none;
}
} }
</style> </style>

View File

@ -72,4 +72,10 @@
.breadcrumb { .breadcrumb {
margin-left: auto; margin-left: auto;
} }
@media (max-width: 768px) {
.breadcrumb {
display: none;
}
}
</style> </style>

View File

@ -207,6 +207,10 @@
.skeleton-card { .skeleton-card {
width: 90%; width: 90%;
} }
.breadcrumb {
display: none;
}
} }
:deep(.el-collapse-item__header) { :deep(.el-collapse-item__header) {

View File

@ -172,5 +172,9 @@
.skeleton-card { .skeleton-card {
width: 90%; width: 90%;
} }
.breadcrumb {
display: none;
}
} }
</style> </style>

View File

@ -87,4 +87,10 @@
:deep(.markdown-body ul) { :deep(.markdown-body ul) {
list-style-type: none; list-style-type: none;
} }
@media (max-width: 768px) {
.breadcrumb {
display: none;
}
}
</style> </style>

View File

@ -226,6 +226,12 @@
margin-top: 2rem; margin-top: 2rem;
} }
@media (max-width: 768px) {
.breadcrumb {
display: none;
}
}
:deep(.el-pagination) { :deep(.el-pagination) {
.btn-prev, .btn-prev,
.btn-next { .btn-next {

View File

@ -223,6 +223,12 @@
margin-top: 2rem; margin-top: 2rem;
} }
@media (max-width: 768px) {
.breadcrumb {
display: none;
}
}
:deep(.el-pagination) { :deep(.el-pagination) {
.btn-prev, .btn-prev,
.btn-next { .btn-next {

View File

@ -137,5 +137,9 @@
grid-template-columns: 1fr; grid-template-columns: 1fr;
gap: 20px; gap: 20px;
} }
.breadcrumb {
display: none;
}
} }
</style> </style>

View File

@ -20,7 +20,17 @@ export default defineNuxtConfig({
htmlAttrs: { htmlAttrs: {
lang: 'zh', lang: 'zh',
}, },
link: [{ rel: 'icon', type: 'image/x-icon', href: '/jinshen-logo.ico' }], link: [
{ rel: 'icon', type: 'image/x-icon', href: '/jinshen-logo.ico' },
{
rel: 'apple-touch-icon',
href: '/jinshen-logo.png',
},
{
rel: 'manifest',
href: '/manifest.json',
},
],
}, },
}, },

BIN
public/logo196x196.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
public/logo512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

20
public/manifest.json Normal file
View File

@ -0,0 +1,20 @@
{
"name": "金申机械制造有限公司",
"short_name": "金申机械",
"icons": [
{
"src": "/logo196x196.png",
"sizes": "196x196",
"type": "image/png"
},
{
"src": "/logo512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": ".",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#0f172a"
}