123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683 |
- @import "./theme.scss";
- *,
- html,
- body {
- padding: 0;
- margin: 0;
- }
- ul,
- ol,
- li {
- list-style: none;
- }
- a {
- text-decoration: none;
- color: #666666;
- }
- a:hover {
- text-decoration: none;
- color: #666666;
- cursor: pointer;
- }
- em,
- i {
- font-style: normal;
- }
- h3 {
- font-size: 14px;
- }
- body {
- font: 12px/150% Arial, Verdana, "\5b8b\4f53";
- //font-family: "microsoft yahei";
- color: #666;
- background: #fff;
- }
- ul {
- margin-bottom: 0;
- }
- .fl {
- float: left;
- }
- .fr {
- float: right;
- }
- .clearfix {
- display: block;
- zoom: 1;
- }
- .goods_list_container {
- .level_nav_main {
- height: 40px;
- background-color: #f2f2f2;
- margin-bottom: 15px;
- .level_item {
- width: 1200px;
- margin: 0px auto;
- height: 40px;
- color: #848484;
- line-height: 40px;
- //font-family: "microsoft yahei";
- position: relative;
- .level-right {
- float: left;
- display: inline-block;
- width: 8px;
- height: 1px;
- background-color: #cecece;
- margin: 19px 7px 0;
- }
- .level_link {
- position: relative;
- float: left;
- font-size: 12px;
- color: #848484;
- line-height: 26px;
- //font-family: "microsoft yahei";
- }
- .level_nav_item {
- font-size: 12px;
- height: 40px;
- padding: 6px 0 4px;
- position: relative;
- float: left;
- margin-right: 5px;
- .menu_drop {
- display: inline-block;
- height: 24px;
- cursor: pointer;
- .trigger {
- position: relative;
- display: inline-block;
- height: 26px;
- min-width: 89px;
- padding: 0 4px 0 8px;
- border: 1px solid #e1e1e1;
- line-height: 24px;
- vertical-align: top;
- background-color: #fff;
- z-index: 1;
- .trigger_name {
- display: inline-block;
- vertical-align: top;
- color: #848484;
- }
- &.label {
- margin-right: 5px;
- padding-right: 0;
- &:hover {
- border: 1px solid $colorMain;
- span:nth-child(2) {
- background-color: $colorMain;
- }
- .el-icon-close {
- color: #fff;
- }
- }
- span:nth-child(2) {
- margin-left: 5px;
- display: inline-block;
- width: 24px;
- height: 24px;
- }
- }
- }
- .menu_drop_arrow {
- float: right;
- display: inline-block;
- width: 16px;
- height: 16px;
- vertical-align: top;
- background: url(/search.png) no-repeat 2px 7px;
- -moz-transition: background-position 0.15s ease-in-out;
- transition: background-position 0.15s ease-in-out;
- overflow: hidden;
- margin-top: 2px;
- margin-left: 5px;
- }
- .el-icon-close {
- float: right;
- display: inline-block;
- width: 16px;
- height: 16px;
- vertical-align: top;
- background: url(/search.png) no-repeat 2px 7px;
- transition: background-position 0.15s ease-in-out;
- overflow: hidden;
- margin-top: 2px;
- margin-right: 5px;
- background-position: 2px -123px;
- &:before {
- font-size: 15px;
- }
- }
- &:hover {
- .hasChild {
- height: 27px;
- border-color: $colorMain;
- border-bottom: none;
- z-index: 5;
- }
- .menu_drop_arrow {
- background-position: 2px -43px;
- }
- .menu_drop_main {
- display: block;
- border-color: $colorMain;
- z-index: 1;
- }
- .el-icon-close{
- background-position: 2px -141px;
- }
- }
- .menu_drop_main {
- position: relative;
- display: none;
- width: 360px;
- padding: 15px 10px;
- position: absolute;
- left: 0;
- top: 27px;
- border: 1px solid #e1e1e1;
- background-color: #fff;
- z-index: 2;
- margin-top: 5px;
- .menu_drop_list li {
- float: left;
- width: 65px;
- height: 24px;
- overflow: hidden;
- line-height: 24px;
- margin-right: 5px;
- text-overflow: ellipsis;
- white-space: nowrap;
- margin-bottom: 0;
- a {
- color: #333;
- }
- }
- }
- }
- }
- .level_right {
- display: inline-block;
- width: 8px;
- height: 1px;
- background-color: #cecece;
- margin: 11px 5px 4px;
- line-height: 26px;
- }
- }
- }
- .goods_list_banner {
- width: 1200px;
- margin: 0 auto;
- background: #fff;
- }
- .goods_list {
- width: 1200px;
- margin: 0 auto;
- margin-top: 10px;
- padding-left: 0px;
- padding-right: 0px;
- background: #fff;
- .sld_screen {
- -moz-user-select: none; /*火狐*/
- -webkit-user-select: none; /*webkit浏览器*/
- -ms-user-select: none; /*IE10*/
- user-select: none;
- padding: 5px 20px;
- line-height: 36px;
- position: relative;
- height: 36px;
- background-color: #f7f5f5;
- box-sizing: border-box;
- .good_type {
- p a input {
- vertical-align: middle;
- margin-top: 3px;
- }
- }
- & > a.btn_sort {
- color: $colorMain2;
- }
- i {
- color: #afafaf;
- }
- & > a {
- margin: 0 20px 0 15px;
- &:hover {
- color: $colorMain2;
- i {
- color: $colorMain2;
- }
- }
- }
- & > a,
- & > input,
- & > div {
- float: left;
- line-height: 26px;
- }
- .sld_goods_num {
- float: right;
- line-height: 26px;
- margin-right: 10px;
- }
- .sld_price_jt {
- position: relative;
- &::after,
- &::before {
- position: absolute;
- content: "";
- right: -15px;
- width: 0;
- height: 0;
- border-width: 5px;
- border-style: solid;
- }
- &::before {
- top: 50%;
- transform: translateY(3px);
- border-color: #afafaf transparent transparent transparent;
- }
- &::after {
- top: 50%;
- -webkit-transform: translateY(-12px);
- -moz-transform: translateY(-12px);
- -ms-transform: translateY(-12px);
- -o-transform: translateY(-12px);
- transform: translateY(-12px);
- border-color: transparent transparent #afafaf transparent;
- }
- }
- .sld_price_jt_down {
- &::before {
- border-color: $colorMain2 transparent transparent transparent;
- }
- }
- .sld_price_jt_up {
- &::after {
- border-color: transparent transparent $colorMain2 transparent;
- }
- }
- .goods_page {
- line-height: 26px;
- a,
- p {
- display: inline-block;
- em {
- color: $colorMain2;
- }
- }
- a {
- padding: 0 6px;
- i {
- font-size: 12px;
- color: #666666;
- }
- i.prev {
- display: inline-block;
- -webkit-transform: rotate(90deg);
- -moz-transform: rotate(90deg);
- -ms-transform: rotate(90deg);
- -o-transform: rotate(90deg);
- transform: rotate(90deg);
- }
- i.next {
- display: inline-block;
- -webkit-transform: rotate(-90deg);
- -moz-transform: rotate(-90deg);
- -ms-transform: rotate(-90deg);
- -o-transform: rotate(-90deg);
- transform: rotate(-90deg);
- }
- }
- }
- }
- .sld_goods_list {
- width: 1200px;
- margin: 15px 0 40px;
- &.skeleton_sld_goods_list {
- li {
- .sld_img {
- background: $colorSkeleton;
- }
- }
- .sld_h32_hide {
- background: $colorSkeleton;
- width: 100%;
- }
- .sld_goods_price {
- display: inline-block;
- background: #eee;
- width: 70px;
- height: 19px;
- color: transparent;
- }
- p.clearfix {
- .fr {
- color: #999;
- width: 55px;
- height: 18px;
- background: $colorSkeleton;
- color: transparent;
- }
- }
- .tag {
- .sld_follow {
- background: #eee;
- width: 60px;
- height: 23px;
- color: transparent;
- cursor: pointer;
- }
- }
- }
- li {
- float: left;
- width: 240px;
- // height: 429px; //456px;
- padding: 21px 11px 20px 11px;
- box-sizing: border-box;
- margin: 0 0px 11px 0;
- &:hover {
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
- }
- &:nth-child(5n) {
- margin-right: 0;
- }
- .sld_img {
- width: 217px;
- height: 217px;
- }
- }
- p.clearfix {
- padding: 10px 0;
- .fr {
- color: #999;
- em {
- color: #333333;
- }
- }
- }
- .sld_goods_price {
- color: $colorMain2;
- font-size: 14px;
- padding: 0px;
- height: 38px;
- }
-
- a {
- color: #606060;
- margin-bottom: 4px;
- }
- .sale_num {
- color: #606060;
- margin-bottom: 13px;
- }
- .sld_vendor_name {
- font-size: 12px;
- //font-family: Microsoft YaHei;
- font-weight: 400;
- min-height: 18px;
- color: #999999;
- cursor: pointer;
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- &:hover {
- text-decoration: underline;
- }
- }
- .sld_goods_name {
- height: 40px;
- line-height: 20px;
- overflow: hidden;
- word-break: break-all;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- font-size: 16px;
- //font-family: MicrosoftYaHei;
- }
- .tag {
- margin: 8px 0;
- .is_own {
- width: 32px;
- height: 18px;
- background: linear-gradient(90deg, #00985e, #00985e);
- border-radius: 3px;
- line-height: 18px;
- text-align: center;
- font-size: 12px;
- //font-family: Microsoft YaHei;
- font-weight: 400;
- color: #ffffff;
- margin-right: 5px;
- }
- .tag_b {
- background: #fff;
- border: 1px solid $colorMain;
- font-size: 12px;
- //font-family: Microsoft YaHei;
- font-weight: 400;
- margin-right: 5px;
- color: $colorMain;
- padding: 1px 3px;
- border-radius: 3px;
- &.tag_b_pre_sale {
- border: 1px solid #236ffa !important;
- color: #236ffa !important;
- }
- }
- span {
- display: inline-block;
- line-height: 15px;
- padding: 0 3px;
- border-radius: 2px;
- color: #fff;
- margin-right: 2px;
- }
- .sld_follow {
- cursor: pointer;
- background-color: transparent;
- color: inherit;
- border: none;
- outline: none;
- i {
- font-size: 20px;
- vertical-align: middle;
- margin-right: 6px;
- }
- &.on {
- color: $colorMain2;
- }
- }
- }
- .op_but {
- margin-top: 20px;
- .but_i {
- height: 28px;
- border: 1px solid #e5e5e5;
- font-size: 13px;
- color: #999999;
- cursor: pointer;
- &.first {
- width: 96px;
- }
- &.second {
- width: 109px;
- color: $colorMain !important;
- }
- i {
- font-size: 16px;
- vertical-align: middle;
- margin-right: 6px;
- }
- img {
- width: 15px;
- height: 15px;
- }
- .collection {
- width: 20px !important;
- height: 21px !important;
- }
- &:last-child {
- border-left: none;
- }
- }
- }
- }
- }
- .goods_type {
- margin-left: 295px;
- p {
- display: inline-block;
- margin-left: 20px;
- }
- }
- .price_section {
- position: absolute;
- top: -6px;
- left: 138px;
- width: 170px;
- padding: 6px 6px 0;
- border: 1px solid transparent;
- .ctrl {
- display: none;
- padding-top: 8px;
- a {
- height: 23px;
- padding: 0 10px;
- &:nth-child(1) {
- color: #005aa0;
- }
- &:nth-child(2) {
- color: #333333;
- line-height: 21px;
- border: 1px solid #cccccc;
- }
- }
- }
- .input_box {
- position: relative;
- margin-top: 6px;
- input[type="number"] {
- position: relative;
- width: 71px;
- height: 26px;
- line-height: 24px;
- border: 1px solid #e5e5e5;
- padding-left: 15px;
- box-sizing: border-box;
- outline: none;
- }
- .line {
- display: inline-block;
- width: 4px;
- height: 2px;
- background-color: #a9a9a9;
- margin: 0 1px;
- vertical-align: middle;
- &::after {
- top: 1px;
- left: 88px;
- position: absolute;
- top: 0;
- left: 5px;
- content: "¥";
- font-size: 12px;
- color: #a9a9a9;
- line-height: 24px;
- z-index: 0;
- }
- }
- }
- &:hover {
- height: 78px;
- border-color: #999999;
- background-color: #fff;
- }
- &:hover .ctrl {
- display: block;
- }
- }
- }
- .search_cate {
- font-size: 13px;
- width: 1200px;
- margin: 0 auto;
- .cate,
- .brand {
- display: flex;
- flex-wrap: wrap;
- height: 46px;
- line-height: 46px;
- a {
- display: inline-block;
- padding-left: 15px;
- margin-left: 20px;
- }
- .see_more {
- margin-left: 20px;
- }
- }
- }
- .sld_img_center {
- position: relative;
- width: 214px;
- height: 214px;
- overflow: hidden;
- img {
- position: absolute;
- top: 50%;
- left: 50%;
- max-width: 100%;
- max-height: 100%;
- -webkit-transform: translate(-50%, -50%);
- -moz-transform: translate(-50%, -50%);
- -ms-transform: translate(-50%, -50%);
- -o-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
- }
- }
- .el-pager li.active {
- color: $colorMain;
- cursor: default;
- }
- .el-pager li:hover {
- color: $colorMain;
- }
|