This commit is contained in:
135
css/index.css
135
css/index.css
@@ -4952,15 +4952,17 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Mobile Overrides for Index Page */
|
/* Mobile Overrides for Index Page */
|
||||||
|
/* 注意:移动端 banner 样式已在第 698 行定义,这里不要重复设置 */
|
||||||
|
|
||||||
|
/*
|
||||||
|
以下样式已被注释,因为与第 698 行的移动端样式冲突
|
||||||
|
导致 swiper-slide 高度变成 400px 而不是 200px
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
|
||||||
/* Banner Adjustment */
|
|
||||||
.banner-cont .swiper-slide {
|
.banner-cont .swiper-slide {
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
min-height: 400px;
|
min-height: 400px;
|
||||||
padding-bottom: 60px;
|
padding-bottom: 60px;
|
||||||
/* Space for pagination */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.banner-cont .swiper-slide .section-content {
|
.banner-cont .swiper-slide .section-content {
|
||||||
@@ -4994,80 +4996,81 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Feature Cards (Banner-S) */
|
/* Feature Cards (Banner-S) */
|
||||||
.banner .banner-s {
|
.banner .banner-s {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.banner .banner-s .banner-list {
|
.banner .banner-s .banner-list {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
gap: 15px;
|
gap: 15px;
|
||||||
padding: 0 15px;
|
padding: 0 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.banner-s .banner-list .banner-item {
|
.banner-s .banner-list .banner-item {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
flex: auto;
|
flex: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hot Products - Card View */
|
/* Hot Products - Card View */
|
||||||
.products-table thead {
|
.products-table thead {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.products-table,
|
.products-table,
|
||||||
.products-table tbody,
|
.products-table tbody,
|
||||||
.products-table tr,
|
.products-table tr,
|
||||||
.products-table td {
|
.products-table td {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.products-table tr {
|
.products-table tr {
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
background: rgba(30, 41, 59, 0.4);
|
background: rgba(30, 41, 59, 0.4);
|
||||||
border: 1px solid rgba(148, 163, 184, 0.1);
|
border: 1px solid rgba(148, 163, 184, 0.1);
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.products-table td {
|
.products-table td {
|
||||||
text-align: right;
|
text-align: right;
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-bottom: 1px solid rgba(148, 163, 184, 0.05);
|
border-bottom: 1px solid rgba(148, 163, 184, 0.05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.products-table td:last-child {
|
.products-table td:last-child {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.products-table td::before {
|
.products-table td::before {
|
||||||
content: attr(data-label);
|
content: attr(data-label);
|
||||||
float: left;
|
float: left;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: rgba(148, 163, 184, 0.8);
|
color: rgba(148, 163, 184, 0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Solution Wrapper - Stacked */
|
/* Solution Wrapper - Stacked */
|
||||||
.solution-wrapper {
|
.solution-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.solution-tabs {
|
.solution-tabs {
|
||||||
display: none;
|
display: none;
|
||||||
/* Hide desktop tabs */
|
/* Hide desktop tabs */
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* We might need to restructure the HTML to show all solutions stacked or use a mobile slider
|
*/
|
||||||
|
/* We might need to restructure the HTML to show all solutions stacked or use a mobile slider
|
||||||
For now, let's assume we stack them or show a simple list.
|
For now, let's assume we stack them or show a simple list.
|
||||||
Actually, if HTML structure depends on clicks to show/hide, we need JS or CSS modification.
|
Actually, if HTML structure depends on clicks to show/hide, we need JS or CSS modification.
|
||||||
Let's style the active one well first, or maybe show all?
|
Let's style the active one well first, or maybe show all?
|
||||||
*/
|
*/
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user