From 81b38ade1dffe379d2eb58e5bbc87196665fc909 Mon Sep 17 00:00:00 2001 From: pushuo <229102104@qq.com> Date: Sat, 3 Sep 2022 22:25:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E6=89=8B=E6=9C=BA=E7=AB=AF?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E6=90=9C=E7=B4=A2=E6=8C=89=E9=92=AE=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E7=AD=89=20->=20https://guangdagit.com/beike/beikesho?= =?UTF-8?q?p/issues/221?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/beike/shop/default/css/footer.scss | 4 +++ resources/beike/shop/default/css/header.scss | 26 +++++++++++++------ .../beike/shop/default/css/product-style.scss | 7 ++++- themes/default/design/brand.blade.php | 2 +- themes/default/design/image100.blade.php | 2 +- themes/default/design/image401.blade.php | 6 ++--- themes/default/design/slideshow.blade.php | 2 +- themes/default/layout/header.blade.php | 7 ++++- 8 files changed, 40 insertions(+), 16 deletions(-) diff --git a/resources/beike/shop/default/css/footer.scss b/resources/beike/shop/default/css/footer.scss index 6204c013..2068767f 100644 --- a/resources/beike/shop/default/css/footer.scss +++ b/resources/beike/shop/default/css/footer.scss @@ -5,6 +5,10 @@ footer { background: #fafafa; margin-top: 5rem; + @media (max-width:768px) { + margin-top: 2rem; + } + .footer-active { outline: 2px dashed #4bb1f0 !important; } diff --git a/resources/beike/shop/default/css/header.scss b/resources/beike/shop/default/css/header.scss index 280bab83..d96e3fbf 100644 --- a/resources/beike/shop/default/css/header.scss +++ b/resources/beike/shop/default/css/header.scss @@ -173,23 +173,33 @@ header { .header-mobile { .mobile-content { - padding: 10px 15px; + padding: 10px; display: flex; align-items: center; justify-content: space-between; - .mobile-open-menu { - cursor: pointer; - } - > div { width: 33.33%; } .left { - > i { - font-size: 1.6rem; - line-height: 1; + display: flex; + align-items: center; + + > div { + cursor: pointer; + > i { + font-size: 1.5rem; + line-height: 1; + } + } + + .mobile-open-search { + margin-left: 10px; + + > i { + font-size: 1.1rem; + } } } diff --git a/resources/beike/shop/default/css/product-style.scss b/resources/beike/shop/default/css/product-style.scss index cb48fec1..840cdf27 100644 --- a/resources/beike/shop/default/css/product-style.scss +++ b/resources/beike/shop/default/css/product-style.scss @@ -60,6 +60,11 @@ .product-name { margin-bottom: 6px; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 2; } .product-price { @@ -74,4 +79,4 @@ text-decoration: line-through; } } -} \ No newline at end of file +} diff --git a/themes/default/design/brand.blade.php b/themes/default/design/brand.blade.php index ede65bd1..32a20b38 100644 --- a/themes/default/design/brand.blade.php +++ b/themes/default/design/brand.blade.php @@ -10,7 +10,7 @@ @endif -