|
@@ -4,17 +4,32 @@ li{list-style:none}
|
|
|
* PC端
|
|
|
*/
|
|
|
@media screen and (min-width:768px){
|
|
|
- .sortBox{width:1184px;margin:16px auto;box-sizing:border-box;padding:12px;font-size:0;text-align:center;background:#FFF}
|
|
|
- .sortBox li{display:inline-block;cursor:pointer;width:128px;height:40px;line-height:40px;font-size:16px;background:#F5F5F5;color:#93979F;position:relative;margin:0 8px}
|
|
|
+ .product-brand{width:1184px;margin:16px auto;box-sizing:border-box;min-height: 88px;padding:24px 12px 12px 12px;font-size:0;text-align:center;background:#FFF;position: relative;}
|
|
|
+ .product-brand .product-brand-name{width: 116px;float: left;border-right: 1px solid #F7F7F7;line-height: 44px;text-align: center;font-size: 16px;color: #4A4F58;}
|
|
|
+ .product-brand .product-brand-name.show{line-height: 88px;}
|
|
|
+ .product-brand-more{width: 50px;height: 32px;line-height: 32px;font-size: 14px;margin: 0 auto;color: #909090;text-align: left;transition: all 0.2s;cursor: pointer;box-sizing: border-box;position: absolute;right: 24px;top: 24px;}
|
|
|
+ .product-brand-more .icon:before{background-position: -93px 7px;width: 20px;height: 32px;right: 0;position: absolute;}
|
|
|
+ .product-brand-list{width: 970px;float: left;box-sizing: border-box;padding:0 24px;height: 44px;overflow: scroll;overflow-x: hidden;overflow-y:auto;}
|
|
|
+ .product-brand-list.show{line-height: 88px;}
|
|
|
+ .product-brand-list .brand-list{width: 90px;height: 32px;padding: 0 12px;border: 1px solid #E2E7EF;float: left;box-sizing: border-box;line-height: 32px;font-size: 16px;color: #4A4F58;border-radius: 2px;margin-right: 24px;margin-bottom: 12px;}
|
|
|
+ .product-brand-list .brand-list a{width: 100%;height: 100%;display: block;text-overflow: ellipsis;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 1;line-clamp: 1;-webkit-box-orient: vertical;word-break: break-all;}
|
|
|
+ .product-brand-list .brand-list a:hover{color: #4A4F58;}
|
|
|
+ .sortBox{width:1184px;margin:16px auto;box-sizing:border-box;font-size:0;text-align:center;background:#FFFFFF;position: relative;}
|
|
|
+ .sortBox li{display:inline-block;cursor:pointer;width:128px;height:64px;line-height:64px;font-size:16px;background:#FFFFFF;color:#93979F;position:relative;float: left;border-right: 1px solid #F7F7F7;}
|
|
|
.sortBox li.on,.sortBox li.up,.sortBox li.down{background:#FFE6DC;color:#E15616}
|
|
|
.sortBox li:before,.sortBox li:after{position:absolute;right:35px;content:'';width:0;height:0;border-style:solid}
|
|
|
- .sortBox li:before{border-width:0 5px 5px 5px;border-color:transparent transparent #BEC2C9 transparent;top:14px}
|
|
|
- .sortBox li:after{border-width:5px 5px 0 5px;border-color:#BEC2C9 transparent transparent transparent;top:22px}
|
|
|
+ .sortBox li:before{border-width:0 5px 5px 5px;border-color:transparent transparent #BEC2C9 transparent;top:26px}
|
|
|
+ .sortBox li:after{border-width:5px 5px 0 5px;border-color:#BEC2C9 transparent transparent transparent;top:34px}
|
|
|
.sortBox li:first-child:before,.sortBox li:first-child:after{display:none}
|
|
|
.sortBox li.up:before{border-bottom-color:#E15616}
|
|
|
.sortBox li.up:after{border-top-color:#E15616;opacity:.3}
|
|
|
.sortBox li.down:after{border-top-color:#E15616}
|
|
|
.sortBox li.down:before{border-bottom-color:#E15616;opacity:.3}
|
|
|
+ .sortBox .sortBox-checked{float: right;}
|
|
|
+ .sortBox-checked .coll-span{display: block;float: left;margin-left: 20px;height: 28px;line-height: 16px;box-sizing: border-box;padding: 6px 0;display: flex;cursor: pointer;}
|
|
|
+ .sortBox-checked .coll-checked{width: 16px;height: 16px;background: url("/img/cart/icon_weigouxuan@2x.png") no-repeat;background-size: cover;display: block;margin-right: 6px;}
|
|
|
+ .sortBox-checked .coll-checked.checked{background: url("/img/cart/icon_yixuanze@2x.png") no-repeat;background-size: cover;}
|
|
|
+
|
|
|
.productList{width:1184px;margin:0 auto;box-sizing:border-box}
|
|
|
.productList .productItem{width:184px;height:268px;float:left;background:#fff;position:relative;margin:0 16px 16px 0;overflow:hidden;float:left}
|
|
|
.productList .productItem:nth-child(6n){margin-right:0}
|