|
|
@@ -111,7 +111,7 @@ const handleClick = (item) => {
|
|
|
<style scoped>
|
|
|
.main-menu {
|
|
|
width: 100%;
|
|
|
- max-width: 930px;
|
|
|
+ max-width: min(1120px, calc(100vw - 80px));
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
@@ -130,7 +130,7 @@ const handleClick = (item) => {
|
|
|
.menu-grid {
|
|
|
display: grid;
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
- gap: 26px;
|
|
|
+ gap: 34px;
|
|
|
width: 100%;
|
|
|
position: relative;
|
|
|
z-index: 1;
|
|
|
@@ -143,10 +143,10 @@ const handleClick = (item) => {
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
- min-height: 210px;
|
|
|
- padding: 28px 30px 26px;
|
|
|
+ min-height: 270px;
|
|
|
+ padding: 38px 38px 34px;
|
|
|
background: rgba(255, 255, 255, 0.90);
|
|
|
- border-radius: 32px;
|
|
|
+ border-radius: 38px;
|
|
|
cursor: pointer;
|
|
|
overflow: hidden;
|
|
|
animation: cardIn 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) backwards;
|
|
|
@@ -183,35 +183,34 @@ const handleClick = (item) => {
|
|
|
0 2px 8px rgba(15, 23, 42, 0.04);
|
|
|
}
|
|
|
|
|
|
-/* 图标 */
|
|
|
/* 图标 */
|
|
|
.card-icon-wrap {
|
|
|
position: relative;
|
|
|
- width: 96px;
|
|
|
- height: 96px;
|
|
|
- margin: 0 auto 18px;
|
|
|
+ width: 124px;
|
|
|
+ height: 124px;
|
|
|
+ margin: 0 auto 24px;
|
|
|
flex-shrink: 0;
|
|
|
}
|
|
|
|
|
|
.card-icon-wrap::before {
|
|
|
content: '';
|
|
|
position: absolute;
|
|
|
- inset: -10px;
|
|
|
- border-radius: 34px;
|
|
|
+ inset: -12px;
|
|
|
+ border-radius: 40px;
|
|
|
background: color-mix(in srgb, var(--accent) 18%, transparent);
|
|
|
filter: blur(14px);
|
|
|
opacity: 0.55;
|
|
|
}
|
|
|
|
|
|
.card-icon {
|
|
|
- width: 96px;
|
|
|
- height: 96px;
|
|
|
- min-width: 96px;
|
|
|
- min-height: 96px;
|
|
|
- max-width: 96px;
|
|
|
- max-height: 96px;
|
|
|
+ width: 124px;
|
|
|
+ height: 124px;
|
|
|
+ min-width: 124px;
|
|
|
+ min-height: 124px;
|
|
|
+ max-width: 124px;
|
|
|
+ max-height: 124px;
|
|
|
aspect-ratio: 1 / 1;
|
|
|
- border-radius: 30px;
|
|
|
+ border-radius: 36px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
@@ -224,8 +223,8 @@ const handleClick = (item) => {
|
|
|
}
|
|
|
|
|
|
.icon-graphic {
|
|
|
- width: 58px;
|
|
|
- height: 58px;
|
|
|
+ width: 74px;
|
|
|
+ height: 74px;
|
|
|
color: white;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
@@ -238,24 +237,23 @@ const handleClick = (item) => {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
-/* 文字区 */
|
|
|
/* 文字区 */
|
|
|
.card-body {
|
|
|
text-align: center;
|
|
|
- margin-bottom: 16px;
|
|
|
+ margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.card-title {
|
|
|
- font-size: 38px;
|
|
|
+ font-size: 48px;
|
|
|
font-weight: 900;
|
|
|
color: var(--text-primary);
|
|
|
- margin: 0 0 12px;
|
|
|
+ margin: 0 0 16px;
|
|
|
letter-spacing: 1px;
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.card-desc {
|
|
|
- font-size: 22px;
|
|
|
+ font-size: 27px;
|
|
|
color: var(--text-secondary);
|
|
|
margin: 0;
|
|
|
line-height: 1.35;
|
|
|
@@ -277,28 +275,28 @@ const handleClick = (item) => {
|
|
|
|
|
|
/* 响应式 */
|
|
|
@media (max-width: 900px), (max-height: 660px) {
|
|
|
- .menu-grid { gap: 22px; }
|
|
|
+ .menu-grid { gap: 28px; }
|
|
|
.menu-card {
|
|
|
- min-height: 185px;
|
|
|
- padding: 24px 24px 22px;
|
|
|
- border-radius: 26px;
|
|
|
+ min-height: 220px;
|
|
|
+ padding: 30px 28px 26px;
|
|
|
+ border-radius: 32px;
|
|
|
}
|
|
|
.card-icon-wrap {
|
|
|
- width: 84px;
|
|
|
- height: 84px;
|
|
|
- margin-bottom: 16px;
|
|
|
+ width: 102px;
|
|
|
+ height: 102px;
|
|
|
+ margin-bottom: 20px;
|
|
|
}
|
|
|
.card-icon {
|
|
|
- width: 84px;
|
|
|
- height: 84px;
|
|
|
- min-width: 84px;
|
|
|
- min-height: 84px;
|
|
|
- max-width: 84px;
|
|
|
- max-height: 84px;
|
|
|
- border-radius: 26px;
|
|
|
+ width: 102px;
|
|
|
+ height: 102px;
|
|
|
+ min-width: 102px;
|
|
|
+ min-height: 102px;
|
|
|
+ max-width: 102px;
|
|
|
+ max-height: 102px;
|
|
|
+ border-radius: 30px;
|
|
|
}
|
|
|
- .icon-graphic { width: 50px; height: 50px; }
|
|
|
- .card-title { font-size: 32px; margin-bottom: 9px; }
|
|
|
- .card-desc { font-size: 19px; }
|
|
|
+ .icon-graphic { width: 60px; height: 60px; }
|
|
|
+ .card-title { font-size: 38px; margin-bottom: 12px; }
|
|
|
+ .card-desc { font-size: 22px; }
|
|
|
}
|
|
|
</style>
|