diff --git a/src/components/Index/IndexNewList.vue b/src/components/Index/IndexNewList.vue index 3d3df6f..1daa686 100644 --- a/src/components/Index/IndexNewList.vue +++ b/src/components/Index/IndexNewList.vue @@ -50,7 +50,7 @@
{{ item.title }}
-
{{ item.content }}
+
{{ item.content }}
@@ -155,4 +155,16 @@ export default { -webkit-line-clamp: 2; -webkit-box-orient: vertical; } + +.item-content1 { + overflow: hidden; + display: -webkit-box; + margin-top: 8px; + line-height: 28px; + font-size: 12px; + color: rgba(0, 0, 0, 0.45); + font-family: Microsoft YaHei; + -webkit-line-clamp: 1; + -webkit-box-orient: vertical; +} diff --git a/src/components/PlatformList/PlatformList.vue b/src/components/PlatformList/PlatformList.vue index 8da0e5a..6ab6e07 100644 --- a/src/components/PlatformList/PlatformList.vue +++ b/src/components/PlatformList/PlatformList.vue @@ -240,26 +240,22 @@ export default { text-align: center; // position: absolute; // bottom: 0; - height: 48px; + height: 90px; width: 100%; color: rgba(0, 0, 0, 0.85); - font-size: 28px; + font-size: 24px; } -@media only screen and (max-width: 1900px) { - .title { - font-size: 24px; - } -} - -@media only screen and (max-width: 1650px) { +@media screen and (min-width: 1400px) and (max-width: 1650px) { .title { + height: 48px; font-size: 20px; } } @media only screen and (max-width: 1400px) { .title { + height: 48px; font-size: 16px; } }