align-self: flex-start; /* 高度由内容决定 */ } .category-header { background-color: #000; color: white; padding: 20px; font-size: 1.2rem; font-weight: 600; border-radius: 8px 8px 0 0; } .category-list { padding: 0 20px; } .main-category { font-weight: 700; padding: 12px 0; border-bottom: 1px solid #eee; cursor: pointer; position: relative; padding-left: 25px; transition: all 0.3s; } /* 向下箭头(绿色) */ .main-category::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid #28a745; } .main-category.active { color: #28a745; } .main-category:hover { color: #28a745; } /* 子分类容器(默认展开) */ .sub-categories { display: block; padding-left: 15px; } .sub-category { padding: 10px 5px; color: #000; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; } .sub-category:hover { background-color: #f9f9f9; border-radius: 4px; } .sub-category.active { color: #28a745; font-weight: 500; position: relative; } .sub-category.active::before { content: ""; position: absolute; left: -15px; width: 4px; height: 18px; background-color: #28a745; border-radius: 2px; } /* 联系信息样式 */ .lxcon { padding: 20px; color: #555; line-height: 1.7; background: #f9f9f9; border-top: 1px solid #eee; border-radius: 0 0 8px 8px; } .lxcon p { margin-bottom: 10px; display: flex; align-items: center; gap: 8px; } .lxcon i { color: #28a745; width: 20px; text-align: center; } /* 右侧产品区域 */ .product-listing { flex: 1; padding: 20px 30px; background-color: #fff; display: flex; flex-direction: column; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); } .current-category { font-size: clamp(1.5rem, 4vw, 1.8rem); font-weight: 700; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #f0f0f0; color: #333; } /* 搜索区域 */ .search-container2 { display: flex; margin-bottom: 30px; width: 100%; /* 确保宽度与列表区域一致 */ } .search-input2 { flex: 1; padding: 12px 15px; border: 1px solid #e0e0e0; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-radius: 2px 0 0 2px; /* 左侧圆角 */ font-size: 1rem; height: 46px; /* 与按钮高度一致 */ } .search-input2:focus { outline: none; border-color: #28a745; box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2); } .search-button2 { background: #000; color: white; border: none; width: 60px; /* 固定宽度 */ display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 0 2px 2px 0; /* 右侧圆角 */ transition: background 0.3s; font-size: 1.2rem; } .search-button2:hover { background: #333; } /* 产品网格布局 */ .products-grid { display: grid; grid-template-columns: repeat(3, 1fr); /* 改为三列 */ gap: 30px; margin-bottom: 40px; } .product-card { border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; position: relative; display: flex; flex-direction: column; background: white; } .product-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-color: #28a745; } .image-container { position: relative; height: auto; background: #f9f9f9; display: flex; align-items: center; justify-content: center; overflow: hidden; } .product-image { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.3s; } .product-card:hover .product-image { transform: scale(1.05); } /* 产品角标 */ .product-badge { position: absolute; top: 5px; right: 5px; padding: 2px 5px; border-radius: 2px; font-size: 0.2rem; font-weight: 500; color: white; z-index: 10; } .badge-hot { background-color: #e74c3c; } .badge-new { background-color: #3498db; } .badge-pass { background-color: #2ecc71; } .product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; } /* 调整产品标题和型号的间距 */ .product-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; /* 减小标题与型号之间的距离 */ color: #333; } .product-model { color: #666; font-size: 0.8rem; margin-bottom: 10px; /* 可以适当调整 */ } .email-button { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px; background-color: #f0f0f0; border: 1px solid #ddd; border-radius: 4px; color: #555; font-weight: 500; cursor: pointer; transition: all 0.3s; margin-top: auto; } .email-button:hover { background-color: #28a745; border-color: #28a745; color: white; } .email-button i { margin-right: 8px; } /* 当前位置导航 */ .current-position { display: flex; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; } .position-icon { width: 24px; height: 24px; background-color: #999; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 10px; color: white; font-size: 12px; } .position-text { color: #666; font-size: 0.9rem; } /* 分页控件 */ .pagination { display: flex; justify-content: center; align-items: center; margin-top: auto; padding-top: 20px; border-top: 1px solid #eee; flex-wrap: wrap; } .page-button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #ddd; border-radius: 4px; margin: 0 5px; cursor: pointer; transition: all 0.3s; background: white; font-size: 1rem; } .page-button:hover { background-color: #f5f5f5; border-color: #ccc; } .page-button:disabled { opacity: 0.5; cursor: not-allowed; } .page-num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #ddd; border-radius: 4px; margin: 5px; cursor: pointer; transition: all 0.3s; background: white; font-size: 1rem; } .page-num:hover, .page-num.active { background-color: #f5f5f5; border-color: #ccc; } .page-num-current { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #ddd; border-radius: 4px; margin: 5px; cursor: pointer; transition: all 0.3s; background: white; font-size: 1rem; color: #28a745; font-weight: 700; border-color: #28a745; background-color: rgba(40, 167, 69, 0.1); } .page-number.active { color: #28a745; font-weight: 700; border-color: #28a745; background-color: rgba(40, 167, 69, 0.1); } /* 响应式断点 */ @media (max-width: 992px) { .products-grid { grid-template-columns: repeat(2, 1fr); /* 平板改为两列 */ gap: 20px; } } @media (max-width: 768px) { .product-container { flex-direction: column; } .category-sidebar { width: 100%; margin-bottom: 20px; } .product-listing { width: 100%; } .search-container2 { max-width: 100%; } .pagination { padding-top: 15px; } .page-num { margin: 3px; } } @media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; } .page-num { width: 35px; height: 35px; font-size: 0.9rem; } .page-button { width: 35px; height: 35px; } .company-profile-section { padding: 30px 3%; } .product-listing { padding: 15px; } } @media (max-width: 576px) { .products-grid { grid-template-columns: 1fr; /* 手机一列 */ } }

LEMI

HOT LEMI 100W On Off Timer Digital Display USB Cable
LEMI 100W On Off Timer Digital Display USB Cable
LM54-220164
LEMI 240W 8K 40Gbps Thunderbolt 4 USB4 Cable
LEMI 240W 8K 40Gbps Thunderbolt 4 USB4 Cable
LM06-1608
LEMI 100W Nylon Braid Digital Display USB Cable
LEMI 100W Nylon Braid Digital Display USB Cable
LM54-2220162
LEMI 100w LED Digital Display USB Cable
LEMI 100w LED Digital Display USB Cable
LM220160
LEMI 100w Digital Display USB Cable
LEMI 100w Digital Display USB Cable
LM1118
LEMI 100W Pd Fast Charging Cable Usb4 Cable
LEMI 100W Pd Fast Charging Cable Usb4 Cable
LM220201
LEMI 100W 8K 40Gbps Thunderbolt 4 Short USB4 Cable
LEMI 100W 8K 40Gbps Thunderbolt 4 Short USB4 Cable
LM220192
LEMI 3A Fast Charging PVC USB 2.0 Cable
LEMI 3A Fast Charging PVC USB 2.0 Cable
LM06-1215
LEMI Macaron Braided Type C USB 2.0 Cable
LEMI Macaron Braided Type C USB 2.0 Cable
LM06-1219
LEMI PD 100W Type C To C USB 2.0 Cable
LEMI PD 100W Type C To C USB 2.0 Cable
LM06-1152
LEMI Nylon Braided Emarker M TO M USB 2.0 Cable
LEMI Nylon Braided Emarker M TO M USB 2.0 Cable
LM06-1153
LEMI Right Angle Type C USB 2.0 Cable
LEMI Right Angle Type C USB 2.0 Cable
LM06-1156
LEMI 100w C to C Mobile Phone Cable USB 2.0 Cable
LEMI 100w C to C Mobile Phone Cable USB 2.0 Cable
LM06-1158
LEMI Nylon Braided C To Lightning USB Cable
LEMI Nylon Braided C To Lightning USB Cable
LM06-1904
LEMI MFI Nylon Braid Type C USB Cable
LEMI MFI Nylon Braid Type C USB Cable
LM06-1907