fix: 去掉茅台预约功能,优化部分样式。

This commit is contained in:
tianyongbao
2026-01-01 16:52:18 +08:00
parent 142fe7abce
commit 24d21d8910
5 changed files with 107 additions and 93 deletions

View File

@@ -5,7 +5,7 @@
<h4 class="zui-logo-text">
<a class="zui-nav-link" :href="currentLinks.accounting" target="_blank">&nbsp;&nbsp;记账平台</a>
<a class="zui-nav-link" :href="currentLinks.health" target="_blank">&nbsp;&nbsp;健康档案</a>
<a class="zui-nav-link" :href="currentLinks.imaotai" target="_blank">&nbsp;&nbsp;茅台预约</a>
<!-- <a class="zui-nav-link" :href="currentLinks.imaotai" target="_blank">&nbsp;&nbsp;茅台预约</a> -->
<a class="zui-nav-link" :href="currentLinks.iot" target="_blank">&nbsp;&nbsp;智聪物联</a>
</h4>
<div v-show="mobileShow" class="zui-rightcol" @click="openMenu">目录</div>

View File

@@ -27,25 +27,29 @@
margin: 0;
display: flex;
align-items: center;
gap: 8px;
gap: 12px;
}
.@{prefix}-logo-text a{
color: var(--color-text);
text-decoration: none;
margin: 0;
padding: 10px 18px;
padding: 12px 22px;
font-size: 15px;
font-weight: 600;
background: rgba(53, 163, 186, 0.06);
border-radius: 8px;
transition: all 0.2s ease;
background: rgba(102, 126, 234, 0.08);
border-radius: 10px;
transition: all 0.3s ease;
display: inline-block;
line-height: 1.4;
border: 1px solid transparent;
}
.@{prefix}-logo-text a:hover{
color: #35A3BA;
background: rgba(53, 163, 186, 0.12);
color: #667eea;
background: rgba(102, 126, 234, 0.15);
border-color: rgba(102, 126, 234, 0.2);
text-decoration: none;
transform: translateY(-1px);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}
.@{prefix}-button{
float: right;
@@ -118,7 +122,7 @@
display: flex;
align-items: center;
justify-content: flex-start;
gap: 8px;
gap: 10px;
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
@@ -129,19 +133,21 @@
a {
display: inline-block;
margin: 0;
padding: 6px 10px;
font-size: 11px;
font-weight: 500;
padding: 7px 14px;
font-size: 12px;
font-weight: 600;
color: var(--color-text);
background: rgba(53, 163, 186, 0.08);
border-radius: 6px;
background: rgba(102, 126, 234, 0.1);
border-radius: 8px;
transition: all 0.2s ease;
white-space: nowrap;
flex-shrink: 0;
border: 1px solid rgba(102, 126, 234, 0.15);
}
a:hover, a:active {
background: rgba(53, 163, 186, 0.15);
color: #35A3BA;
background: rgba(102, 126, 234, 0.2);
color: #667eea;
border-color: rgba(102, 126, 234, 0.3);
text-decoration: none;
transform: translateY(-1px);
}
@@ -153,25 +159,49 @@
display: flex !important;
align-items: center;
justify-content: center;
font-size: 12px;
height: 36px;
line-height: 36px;
font-size: 13px;
height: 38px;
line-height: 38px;
margin: 5px 12px 0 auto;
min-width: 50px;
padding: 0 10px;
font-weight: 500;
color: #35A3BA;
background: rgba(53, 163, 186, 0.1);
border: 1.5px solid rgba(53, 163, 186, 0.3);
border-radius: 8px;
min-width: 70px;
padding: 0 16px;
font-weight: 600;
color: #fff;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
border-radius: 10px;
cursor: pointer;
transition: all 0.2s ease;
transition: all 0.3s ease;
order: 2;
box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);
position: relative;
overflow: hidden;
&::before {
content: '\2630'; // 汉堡菜单图标
margin-right: 6px;
font-size: 16px;
}
&::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s ease;
}
&:hover::after {
left: 100%;
}
}
.@{prefix}-rightcol:active {
background: rgba(53, 163, 186, 0.18);
border-color: rgba(53, 163, 186, 0.4);
transform: scale(0.98);
background: linear-gradient(135deg, #5a6fd9 0%, #684094 100%);
box-shadow: 0 2px 8px rgba(102, 126, 234, 0.35);
transform: scale(0.96);
}
.@{prefix}-logo-line {
display: none;