|
@@ -62,7 +62,7 @@ i {
|
|
|
|
|
|
.goods_sort {
|
|
.goods_sort {
|
|
position: relative;
|
|
position: relative;
|
|
- width: 1200px;
|
|
|
|
|
|
+ width: 1440px;
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
min-height: 700px;
|
|
min-height: 700px;
|
|
}
|
|
}
|
|
@@ -91,7 +91,8 @@ i {
|
|
}
|
|
}
|
|
|
|
|
|
.cat_item {
|
|
.cat_item {
|
|
- width: 179px;
|
|
|
|
|
|
+ width: max-content;
|
|
|
|
+ padding: 0 15px;
|
|
height: 30px;
|
|
height: 30px;
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
line-height: 30px;
|
|
line-height: 30px;
|
|
@@ -101,77 +102,84 @@ i {
|
|
overflow: visible;
|
|
overflow: visible;
|
|
background: #f5f5f5;
|
|
background: #f5f5f5;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
- & > div {
|
|
|
|
- text-align: center;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &:nth-child(9n + 1):hover,
|
|
|
|
- &:nth-child(9n + 1).on {
|
|
|
|
- color: #fff;
|
|
|
|
- background: #edd557;
|
|
|
|
- background: linear-gradient(to right, #edd557, #f0a223);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &:nth-child(9n + 2):hover,
|
|
|
|
- &:nth-child(9n + 2).on {
|
|
|
|
- color: #fff;
|
|
|
|
- background: #42caab;
|
|
|
|
- background: linear-gradient(to right, #42caab, #0c97ee);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &:nth-child(9n + 3):hover,
|
|
|
|
- &:nth-child(9n + 3).on {
|
|
|
|
- color: #fff;
|
|
|
|
- background: #8fa4fc;
|
|
|
|
- background: linear-gradient(to right, #8fa4fc, #b386ea);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &:nth-child(9n + 4):hover,
|
|
|
|
- &:nth-child(9n + 4).on {
|
|
|
|
- color: #fff;
|
|
|
|
- background: #62d993;
|
|
|
|
- background: linear-gradient(to right, #62d993, #41ae65, #0c97ee);
|
|
|
|
- }
|
|
|
|
|
|
|
|
- &:nth-child(9n + 5):hover,
|
|
|
|
- &:nth-child(9n + 5).on {
|
|
|
|
|
|
+ &:hover,
|
|
|
|
+ &.on {
|
|
color: #fff;
|
|
color: #fff;
|
|
- background: #64b1e4;
|
|
|
|
- background: linear-gradient(to right, #64b1e4, #6876f2);
|
|
|
|
|
|
+ background: $colorMain;
|
|
}
|
|
}
|
|
|
|
|
|
- &:nth-child(9n + 6):hover,
|
|
|
|
- &:nth-child(9n + 6).on {
|
|
|
|
- color: #fff;
|
|
|
|
- background: #f887c3;
|
|
|
|
- background: linear-gradient(to right, #f887c3, #f12086);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &:nth-child(9n + 7):hover,
|
|
|
|
- &:nth-child(9n + 7).on {
|
|
|
|
- color: #fff;
|
|
|
|
- background: #fdc237;
|
|
|
|
- background: linear-gradient(to right, #fdc237, #ff7802);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &:nth-child(9n + 8):hover,
|
|
|
|
- &:nth-child(9n + 8).on {
|
|
|
|
- color: #fff;
|
|
|
|
- background: #3dcbdd;
|
|
|
|
- background: linear-gradient(to right, #3dcbdd, #5594e4);
|
|
|
|
|
|
+ & > div {
|
|
|
|
+ text-align: center;
|
|
}
|
|
}
|
|
|
|
|
|
- &:nth-child(9n):hover,
|
|
|
|
- &:nth-child(9n).on {
|
|
|
|
- color: #fff;
|
|
|
|
- background: #ff787b;
|
|
|
|
- background: linear-gradient(to right, #ff787b, #ff305c);
|
|
|
|
- }
|
|
|
|
|
|
+ // &:nth-child(9n + 1):hover,
|
|
|
|
+ // &:nth-child(9n + 1).on {
|
|
|
|
+ // color: #fff;
|
|
|
|
+ // background: #edd557;
|
|
|
|
+ // background: linear-gradient(to right, #edd557, #f0a223);
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ // &:nth-child(9n + 2):hover,
|
|
|
|
+ // &:nth-child(9n + 2).on {
|
|
|
|
+ // color: #fff;
|
|
|
|
+ // background: #42caab;
|
|
|
|
+ // background: linear-gradient(to right, #42caab, #0c97ee);
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ // &:nth-child(9n + 3):hover,
|
|
|
|
+ // &:nth-child(9n + 3).on {
|
|
|
|
+ // color: #fff;
|
|
|
|
+ // background: #8fa4fc;
|
|
|
|
+ // background: linear-gradient(to right, #8fa4fc, #b386ea);
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ // &:nth-child(9n + 4):hover,
|
|
|
|
+ // &:nth-child(9n + 4).on {
|
|
|
|
+ // color: #fff;
|
|
|
|
+ // background: #62d993;
|
|
|
|
+ // background: linear-gradient(to right, #62d993, #41ae65, #0c97ee);
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ // &:nth-child(9n + 5):hover,
|
|
|
|
+ // &:nth-child(9n + 5).on {
|
|
|
|
+ // color: #fff;
|
|
|
|
+ // background: #64b1e4;
|
|
|
|
+ // background: linear-gradient(to right, #64b1e4, #6876f2);
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ // &:nth-child(9n + 6):hover,
|
|
|
|
+ // &:nth-child(9n + 6).on {
|
|
|
|
+ // color: #fff;
|
|
|
|
+ // background: #f887c3;
|
|
|
|
+ // background: linear-gradient(to right, #f887c3, #f12086);
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ // &:nth-child(9n + 7):hover,
|
|
|
|
+ // &:nth-child(9n + 7).on {
|
|
|
|
+ // color: #fff;
|
|
|
|
+ // background: #fdc237;
|
|
|
|
+ // background: linear-gradient(to right, #fdc237, #ff7802);
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ // &:nth-child(9n + 8):hover,
|
|
|
|
+ // &:nth-child(9n + 8).on {
|
|
|
|
+ // color: #fff;
|
|
|
|
+ // background: #3dcbdd;
|
|
|
|
+ // background: linear-gradient(to right, #3dcbdd, #5594e4);
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+ // &:nth-child(9n):hover,
|
|
|
|
+ // &:nth-child(9n).on {
|
|
|
|
+ // color: #fff;
|
|
|
|
+ // background: #ff787b;
|
|
|
|
+ // background: linear-gradient(to right, #ff787b, #ff305c);
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
.class_detail {
|
|
.class_detail {
|
|
- width: 1200px;
|
|
|
|
|
|
+ width: 100%;
|
|
padding-left: 221px;
|
|
padding-left: 221px;
|
|
z-index: 99;
|
|
z-index: 99;
|
|
|
|
|
|
@@ -186,6 +194,8 @@ i {
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
padding: 2px 0 10px;
|
|
padding: 2px 0 10px;
|
|
line-height: 1;
|
|
line-height: 1;
|
|
|
|
+ color: $colorMain;
|
|
|
|
+ border-bottom: 1px solid $colorMain;
|
|
}
|
|
}
|
|
|
|
|
|
.cat_wrap_dd {
|
|
.cat_wrap_dd {
|
|
@@ -193,19 +203,22 @@ i {
|
|
padding: 7px 0;
|
|
padding: 7px 0;
|
|
|
|
|
|
.cat_dd_item {
|
|
.cat_dd_item {
|
|
- min-height: 38px;
|
|
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ // min-height: 38px;
|
|
border-bottom: 1px dashed #dddddd;
|
|
border-bottom: 1px dashed #dddddd;
|
|
}
|
|
}
|
|
|
|
|
|
.cat_left {
|
|
.cat_left {
|
|
- width: 200px;
|
|
|
|
- padding-top: 10px;
|
|
|
|
|
|
+ width: max-content;
|
|
|
|
+ // padding-top: 10px;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
|
+ color: $colorMain;
|
|
}
|
|
}
|
|
|
|
|
|
.cat_add_right {
|
|
.cat_add_right {
|
|
- padding-left: 106px;
|
|
|
|
|
|
+ // padding-left: 106px;
|
|
line-height: 38px;
|
|
line-height: 38px;
|
|
|
|
|
|
span {
|
|
span {
|