|
@@ -0,0 +1,124 @@
|
|
|
+@charset "utf-8";
|
|
|
+li{list-style:none}
|
|
|
+/**
|
|
|
+ * PC端
|
|
|
+ */
|
|
|
+@media screen and (min-width:768px){
|
|
|
+ .collection-title{width:1200px;margin:0 auto;box-sizing:border-box;margin-top: 24px;}
|
|
|
+ .collection-name{height: 22px;font-size: 16px;color: #4A4F58;line-height: 22px;font-weight: bold;}
|
|
|
+ .collection-btnmain{height: 60px;box-sizing: border-box;padding: 16px 0;}
|
|
|
+ .collection-btn{height: 28px;}
|
|
|
+ .collection-btn .coll-btn{cursor: pointer;width: 72px;height: 28px;line-height: 28px;color: #FFFFFF;background-color: #E15621;text-align: center;font-size: 14px;border-radius: 2px;float: left;}
|
|
|
+ .collection-btn .coll-btn.none{color: #FFFFFF;background-color: #D8D8D8;}
|
|
|
+ .collection-btn .coll-eang{float: right;}
|
|
|
+ .collection-btn .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;}
|
|
|
+ .collection-btn .coll-checked{width: 16px;height: 16px;background: url("/img/cart/icon_weigouxuan@2x.png") no-repeat;background-size: cover;display: block;margin-right: 6px;}
|
|
|
+ .collection-btn .coll-checked.checked{background: url("/img/cart/icon_yixuanze@2x.png") no-repeat;background-size: cover;}
|
|
|
+ .collection-btn .coll-cart{width: 20px;height: 20px;background: url(/img/base/icon.png) no-repeat;background-position:-30px -1px;display: block;margin-right: 6px;}
|
|
|
+ .collection-btn .coll-icon{width: 16px;height: 16px;background: url("/img/account/icon-collection@2x.png") no-repeat;background-size: cover;display: block;margin-right: 6px;}
|
|
|
+ .productList{width:1200px;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;position: relative;}
|
|
|
+ .productList .productItem:nth-child(6n){margin-right: 0;}
|
|
|
+ .productList .product-cancel{width: 100%;height: 32px;line-height: 32px;text-align: center;background-color: #FFE6DC;color: #E15621;font-size: 14px;cursor: pointer;position: absolute;top: -32px;left: 0;display: none;transition: all 0.3s;}
|
|
|
+ .productList .product-button{width: 100%;height: 40px;position: absolute;bottom: -40px;left: 0;display: none;transition: all 0.2s}
|
|
|
+ .productList .product-button .coll-btn{width: 50%;height: 100%;line-height: 40px;font-size: 14px;text-align: center;float: left;position: relative;cursor: pointer;}
|
|
|
+ .productList .product-button .coll-btn.add{background-color: #FFE6DC;color: #E15621;}
|
|
|
+ .productList .product-button .coll-btn.add:before{content: '';width: 0;height: 0;border-bottom: 20px solid transparent;border-top: 20px solid transparent;border-right: 20px solid transparent;border-left: 13px solid #FFE6DC;position: absolute;right: -33px;top: 0;z-index: 99;}
|
|
|
+ .productList .product-button .coll-btn.buy{background-color: #E15621;color: #FFFFFF;}
|
|
|
+ .productList .product-mask{width: 100%;height: 100%;background: rgba(0,0,0,0.3);position: absolute;top: 0;left: 0;z-index: 99;cursor: pointer;}
|
|
|
+ .productList .product-mask .mask-checked{width: 16px;height: 16px;background: url("/img/account/icon-weigouxuan@2x.png") no-repeat;background-size: cover;display: block;position: absolute;right: 0;top: 0;}
|
|
|
+ .productList .product-mask .mask-checked.checked{background: url("/img/account/icon-yigouxuan@2x.png") no-repeat;background-size: cover;}
|
|
|
+ .productList .productItem:hover .product-cancel{top: 0;display: block;}
|
|
|
+ .productList .productItem:hover .product-button{bottom: 0;display: block;}
|
|
|
+ .productList .productItem img {width: 100%;height: 164px;}
|
|
|
+ .productList .productItem .name{display: block;padding: 0 8px;margin-top: 8px;height: 40px;line-height: 21px;vertical-align: middle;word-break: break-all;overflow: hidden;text-overflow: ellipsis;display: -webkit-inline-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical}
|
|
|
+ .productItem .price{border: 0;box-sizing: border-box;padding: 0 8px;height: 54px;width: 100%;}
|
|
|
+ .productItem .price .icon:before{width: 63px;}
|
|
|
+ .productItem .price .icon.i5:before {background-position: -2px -832px;}
|
|
|
+ .productItem .price .icon.i1:before {background-position: -2px -712px;}
|
|
|
+ .productItem .price .icon.i2:before {background-position: -2px -742px;}
|
|
|
+ .productItem .price .icon.i3:before {background-position: -2px -772px;}
|
|
|
+ .productItem .price .icon.i4:before {background-position: -2px -802px;}
|
|
|
+ .listTag{margin: 12px 8px 0 0;padding: 0 2px;}
|
|
|
+ .productItem .image .icon{position: inherit;}
|
|
|
+ .productItem .price em{font-weight: normal}
|
|
|
+ .productItem .price em.bold{font-weight: bold}
|
|
|
+ .productItem .price .price_text_tag{width: 100%;height: 22px;box-sizing: border-box;float: left;margin-top: 3px;}
|
|
|
+ .productItem .price .price_text_tag .listTag{margin: 0;float: left}
|
|
|
+ .productItem .price .price_text_tag .couponTag{margin: 0 8px 0 0;float: left}
|
|
|
+ .productItem .price .main_price_unde { width: 100%;height: 31px;line-height: 31px;font-size: 14px;color: #4a4f58;text-align: left;float: left;}
|
|
|
+ .productItem .price .main_price_show { width: 100%;height: 30px;line-height: 30px;font-size: 14px;color: #f94b4b;text-align: left;float: left;}
|
|
|
+ .productItem .price .main_price_show.none { color: #999999; text-decoration: line-through;}
|
|
|
+ .productItem .name .tag{width: 44px;height: 18px;line-height: 18px;font-size: 12px;display: inline-block;margin-right: 5px;text-align: center;color: #FFFFFF !important;background-image: linear-gradient(270deg, #f9c023 0%, #f83600 100%);border-radius: 0px 10px 0px 0px;}
|
|
|
+ .login-btn{font-size: 12px}
|
|
|
+ .listTitle{width:1184px;margin:0 auto 16px auto;box-sizing:border-box;padding:16px 30px;border-radius:0 0 2px 2px;background:#fc5331 url(/img/cart/promotions.png) no-repeat right;background-size:auto 100%;color:#FFF}
|
|
|
+ .listTitle h1{font-size:20px;line-height:42px;font-weight:normal;margin-bottom:16px}
|
|
|
+ .listTitle p{text-indent:1em;line-height:36px;font-size:16px}
|
|
|
+ .listTitle p em{color:#e15616;font-style:normal;display:inline-block;height:24px;line-height:24px;padding:0 10px;background:#FFF}
|
|
|
+ .productItem .name span.tag{width: 44px;height: 18px;line-height: 18px;font-size: 12px;display: inline-block;margin-right: 5px;text-align: center;color: #FFFFFF !important;background-image: linear-gradient(270deg, #f9c023 0%, #f83600 100%);border-radius: 0px 10px 0px 0px;margin-top: 2px;}
|
|
|
+ .empty{width: 1200px;margin: 0 auto;background-color: #FFFFFF;padding: 150px 0;}
|
|
|
+ .empty img{width: 180px;height: 180px;}
|
|
|
+ .empty .msg{color: #999;}
|
|
|
+}
|
|
|
+/**
|
|
|
+* 移动端
|
|
|
+*/
|
|
|
+@media screen and (max-width:768px){
|
|
|
+ .collection-content{padding-bottom: 20.5vw;}
|
|
|
+ .collection-title{width:100%;box-sizing:border-box;padding: 0 3vw;}
|
|
|
+ .collection-name{height:11vw;font-size: 3.4vw;color: #4A4F58;line-height: 11vw;font-weight: bold;}
|
|
|
+ .collection-btnmain{width:100%;height: auto;box-sizing: border-box;padding: 3.1vw 3.3vw;position: fixed;bottom: 0;left: 0;background-color: #FFF;z-index: 999;}
|
|
|
+ .collection-btn{height: 11.2vw;}
|
|
|
+ .collection-btn .coll-eang{width: 100%;float: left;margin: 1.5vw 0;display: flex;}
|
|
|
+ .collection-btn .coll-btn{cursor: pointer;width: 100%;height:11.2vw;line-height: 11.2vw;color: #FFFFFF;background-color: #E15621;text-align: center;font-size: 3.6vw;border-radius: 2px;float: left;}
|
|
|
+ .collection-btn .coll-btn.none{color: #FFFFFF;background-color: #D8D8D8;}
|
|
|
+ .collection-btn .coll-span.all{flex: 2;}
|
|
|
+ .collection-btn .coll-span.cart{flex: 4;}
|
|
|
+ .collection-btn .coll-span.coll{flex: 4;}
|
|
|
+ .collection-btn .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;}
|
|
|
+ .collection-btn .coll-checked{width: 16px;height: 16px;background: url("/img/cart/icon_weigouxuan@2x.png") no-repeat;background-size: cover;display: block;margin-right: 6px;}
|
|
|
+ .collection-btn .coll-checked.checked{background: url("/img/cart/icon_yixuanze@2x.png") no-repeat;background-size: cover;}
|
|
|
+ .collection-btn .coll-cart{width: 20px;height: 20px;background: url(/img/base/icon.png) no-repeat;background-position:-30px -1px;display: block;margin-right: 6px;}
|
|
|
+ .collection-btn .coll-icon{width: 16px;height: 16px;background: url("/img/account/icon-collection@2x.png") no-repeat;background-size: cover;display: block;margin-right: 6px;}
|
|
|
+ .productList{margin:0 auto 3.2vw;width: 97vw;}
|
|
|
+ .productList .productItem{width: 45.6vw;height: 70vw;overflow: hidden;margin: 0 1.3vw 2.6vw 1.3vw;background: #fff;text-align: left;position: relative;}
|
|
|
+ .productList .product-cancel{display: none;}
|
|
|
+ .productList .product-button{display: none;}
|
|
|
+ .productList .product-mask{width: 100%;height: 100%;background: rgba(0,0,0,0.3);position: absolute;top: 0;left: 0;z-index: 99;cursor: pointer;}
|
|
|
+ .productList .product-mask .mask-checked{width: 16px;height: 16px;background: url("/img/account/icon-weigouxuan@2x.png") no-repeat;background-size: cover;display: block;position: absolute;right: 0;top: 0;}
|
|
|
+ .productList .product-mask .mask-checked.checked{background: url("/img/account/icon-yigouxuan@2x.png") no-repeat;background-size: cover;}
|
|
|
+ .productItem .price em {display: block;height: 7vw;line-height: 7vw;color: #4A4F58;font-style: normal;float: left;}
|
|
|
+ .productItem .price .mIcon:before{width:15.8vw;height: 5vw}
|
|
|
+ .productItem .price .mIcon.i5:before {background-position: -84vw -97.5vw;}
|
|
|
+ .productItem .price .mIcon.i1:before {background-position: -84vw -69.5vw;}
|
|
|
+ .productItem .price .mIcon.i2:before {background-position: -84vw -76.5vw;}
|
|
|
+ .productItem .price .mIcon.i3:before {background-position: -84vw -83.7vw;}
|
|
|
+ .productItem .price .mIcon.i4:before {background-position: -84vw -90.7vw;}
|
|
|
+ .productItem .price .mIcon {display: inline-block;font-size: 0;height: 5vw;line-height: 5vw;vertical-align: text-bottom;}
|
|
|
+ .productItem img {width: 45.6vw;height: 45.6vw;}
|
|
|
+ .productItem .name {display: block;padding: 0 3.2vw;height: 9.3vw;line-height: 4.8vw;font-size: 3.4vw;vertical-align: middle;word-break: break-all;overflow: hidden;text-overflow: ellipsis;display: -webkit-inline-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
|
|
|
+ .price {padding: 2vw 3.2vw;overflow: hidden;}
|
|
|
+ .couponTag{padding:0 2vw;border:.27vw solid #f94b4b;background:#fff1eb;font-size:2.8vw;float:left;height:4.2vw;line-height:4.2vw;color: #f94b4b;border-radius: 0.2vw;margin-right: 1vw;}
|
|
|
+ .listTag{padding:0 2vw;border:.27vw solid #ffe6dc;background:none;font-size:2.8vw;float:left;height:4.2vw;line-height:4.2vw;border-radius: 0.2vw;}
|
|
|
+ .price_grade{width: 100%;float: left;margin-top: 2vw;}
|
|
|
+ .productItem .price .main_price_unde {width: 100%;height: 6.5vw;line-height: 6.5vw;font-size: 3.4vw;color: #4a4f58;text-align: left;float: left;}
|
|
|
+ .productItem .price .price_text_tag {width: 100%;box-sizing: border-box;}
|
|
|
+ .productItem .price .main_price_show{color: #f94b4b}
|
|
|
+ .productItem .name span.tag{width: 11.3vw;height: 4.3vw;line-height: 4.3vw;font-size: 2.8vw;display: inline-block;margin-right: 1.3vw;text-align: center;color: #FFFFFF !important;background-image: linear-gradient(270deg, #f9c023 0%, #f83600 100%);border-radius: 0px 10px 0px 0px;margin-top: .25vw;}
|
|
|
+
|
|
|
+ .original-price{text-decoration:line-through}
|
|
|
+ .listTitle{width:100%;min-height:3.2vw;box-sizing:border-box;padding:3.3vw;background:#fc5331 url(/img/cart/promotions.png) no-repeat right;background-size:auto 100%;color:#FFF}
|
|
|
+ .listTitle h1{font-size:4vw;line-height:8vw;font-weight:normal}
|
|
|
+ .listTitle p{text-indent:1em;line-height:7vw;font-size:3.2vw}
|
|
|
+ .listTitle p em{color:#e15616;font-style:normal;display:inline-block;height:4.8vw;line-height:4.8vw;padding:0 1.5vw;background:#FFF}
|
|
|
+ .empty{width: 100%;float: left;}
|
|
|
+ .empty img{width: 36vw;height: 36vw;}
|
|
|
+ .empty .msg{color: #999;}
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+}
|
|
|
+
|