-
热门搜索:
+
{{ t('home.topSearch') }}
-
+
{{ item }}
@@ -76,10 +75,12 @@ const hotSearch = (val: string) => {
-
-
- {{ item.title }}
- {{ item.desc }}
+
+
+ {{ item.title[locale] }}
+ {{ item.desc[locale] }}
@@ -87,16 +88,16 @@ const hotSearch = (val: string) => {
-
业务场景
+
{{ t('home.businessScenario') }}
@@ -104,7 +105,7 @@ const hotSearch = (val: string) => {
- {{ item.title }}
+ {{ item.title[locale] }}
@@ -113,17 +114,17 @@ const hotSearch = (val: string) => {
-
工具
+
{{ t('home.tool') }}
{
-
@@ -180,6 +180,7 @@ const hotSearch = (val: string) => {
color: var(--o-color-info1);
}
.hot-title {
+ margin-right: 12px;
flex-shrink: 0;
color: var(--o-color-info2);
}
@@ -199,6 +200,7 @@ const hotSearch = (val: string) => {
padding: 24px;
}
}
+
.banner-card-title {
@include h2;
@include text-truncate(1);
@@ -207,7 +209,7 @@ const hotSearch = (val: string) => {
}
.banner-card-desc {
@include tip1;
- color: rgba(var(--o-white), 0.8);
+ color: rgba(var(--o-white), 1);
margin-top: 8px;
}
@@ -240,10 +242,10 @@ const hotSearch = (val: string) => {
}
}
.business-title {
- @include h4;
color: var(--o-color-info1);
font-weight: 500;
margin-top: 8px;
+ @include h4;
}
.bg-icon {
position: absolute;
@@ -257,12 +259,14 @@ const hotSearch = (val: string) => {
}
.tool-card {
--card-main-padding: 24px;
- --card-header-text-size: var(--o-font_size-h4);
- --card-header-text-height: var(--o-line_height-h4);
--card-content-text-size: var(--o-font_size-tip1);
--card-content-text-height: var(--o-line_height-tip1);
--card-content-gap: 16px;
cursor: pointer;
+
+ .o-card-header {
+ @include h4;
+ }
}
.o-card {
@@ -393,4 +397,15 @@ const hotSearch = (val: string) => {
display: none;
}
}
+
+
+[lang='en'] {
+ .o-figure {
+ height: 130px;
+
+ @include respond-to('<=pad') {
+ height: 110px;
+ }
+ }
+}