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 -