123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566 |
- @use "../theme.scss" as *;
- .fl {
- float: left;
- }
- .fr {
- float: right;
- }
- a:link,
- a:visited,
- a:active {
- text-decoration: none;
- }
- em,
- i {
- font-style: normal;
- }
- .clearfix {
- zoom: 1;
- display: block;
- &:before {
- display: table;
- content: " ";
- }
- &:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
- }
- }
- .sld_img_center {
- position: relative;
- width: 80px;
- height: 80px;
- 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%);
- }
- }
- .sld_collect_wrapper {
- float: left;
- .wrapper_main {
- float: left;
- width: 967px;
- padding-left: 10px;
- //font-family: "微软雅黑";
- .sld_h3_wrap {
- border: 1px solid #eeeeee;
- background: #ffffff;
- .sld_option {
- height: 52px;
- width: 380px;
- .sld_option_list {
- margin-top: 18px;
- transition: all 0.5s;
- margin-left: 15px;
- &:hover {
- color: $colorMain2;
- }
- img {
- vertical-align: top;
- float: left;
- margin-top: -3px;
- margin-right: 3px;
- }
- cursor: pointer;
- }
- .sld_option_btn {
- padding: 5px 20px 5px;
- margin-top: 13px;
- margin-right: 10px;
- //font-family: "Microsoft YaHei";
- background-color: #fff;
- border: 1px solid #e7e7e7;
- border-radius: 5px;
- transition: all 0.2s;
- cursor: pointer;
- &:hover {
- background-color: $colorMain2;
- color: #fff;
- }
- }
- }
- .sld_grade_nav {
- height: 52px;
- line-height: 52px;
- margin-left: -1px;
- a {
- display: inline-block;
- width: 178px;
- text-align: center;
- font-size: 14px;
- color: #333;
- cursor: pointer;
- border-right: 1px solid #eeeeee;
- &:hover {
- color: $colorMain2;
- }
- }
- a.on {
- color: $colorMain2;
- height: 53px;
- background-color: #fff;
- font-weight: 600;
- }
- }
- }
- .fav_goods_list {
- overflow: hidden;
- width: 100%;
- & > ul {
- margin-top: 5px;
- }
- .sld_follow_goods:hover {
- box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
- }
- .sld_follow_goods {
- position: relative;
- float: left;
- width: 24%;
- height: 358px;
- background-color: #fff;
- margin: 0.5%;
- border: 1px solid #eeeeee;
- padding: 13px;
- box-sizing: border-box;
- &:nth-of-type(4n) {
- margin-right: 0;
- }
- .check_wrap {
- position: absolute;
- right: 0;
- top: 0;
- width: 240px;
- height: 358px;
- background: rgba(0, 0, 0, 0.1);
- .border {
- display: block;
- position: absolute;
- right: -1px;
- top: -1px;
- width: 241px;
- height: 360px;
- z-index: 0;
- cursor: pointer;
- .checklogo {
- position: absolute;
- top: 0px;
- right: 0px;
- width: 31px;
- height: 31px;
- visibility: visible;
- background-image: url(/member/choose.png);
- }
- }
- input[type="checkbox"] {
- visibility: hidden;
- position: absolute;
- top: 0px;
- right: 0px;
- width: 31px;
- height: 31px;
- z-index: 1;
- }
- input[type="checkbox"]:checked ~ .border {
- border: 2px solid #e60012;
- .checklogo {
- position: absolute;
- top: -2px;
- right: -2px;
- width: 31px;
- height: 31px;
- background-image: url(/member/chosen.png);
- }
- }
- }
- .cg_name {
- font-size: 12px;
- line-height: 16px;
- word-break: break-all;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- color: #333333;
- em {
- display: inline-block;
- padding: 1px 4px;
- border: 1px solid $colorMain2;
- color: $colorMain2;
- font-size: 12px;
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
- border-radius: 2px;
- }
- }
- .cg_img {
- width: 100%;
- height: 214px;
- .lazy {
- width: 100%;
- height: 214px;
- background-size: cover;
- }
- }
- .cg_btns {
- position: absolute;
- bottom: -1px;
- left: -1px;
- width: 240px;
- height: 42px;
- a {
- float: left;
- display: inline-block;
- width: 100%;
- height: 42px;
- text-align: center;
- color: #666666;
- font-size: 12px;
- line-height: 42px;
- box-sizing: border-box;
- text-transform: uppercase;
- }
- a:nth-child(1) {
- border-top: 1px solid #eeeeee;
- &:nth-child(1):hover {
- color: $colorMain;
- cursor: pointer;
- }
- }
- a:nth-child(2) {
- border: 1px solid #eee;
- }
- a:nth-child(2):hover {
- color: $colorMain;
- cursor: pointer;
- }
- }
- .cg_price {
- margin: 10px 0 6px;
- .fl {
- color: $colorMain;
- font-size: 14px;
- .fl strong {
- font-size: 18px;
- }
- }
- .fr {
- font-size: 12px;
- color: #999;
- line-height: 20px;
- em {
- color: $colorMain2;
- margin-left: 2px;
- }
- }
- }
- }
- }
- .fav_store_list {
- margin-bottom: 100px;
- overflow: hidden;
- width: 100%;
- .fav_store_type {
- height: 50px;
- background: #fff;
- span {
- margin-right: 2px;
- display: inline-block;
- line-height: 50px;
- width: 118px;
- text-align: center;
- font-weight: 600;
- font-size: 10px;
- cursor: pointer;
- }
- .on {
- color: $colorMain2;
- border-bottom: 3px solid $colorMain2;
- }
- }
- .sld_vendor_item {
- width: 100%;
- height: 300px;
- margin-top: 10px;
- background-color: #fff;
- border: 1px solid #eeeeee;
- .sld_vendor {
- position: relative;
- width: 25%;
- height: 298px;
- padding: 46px 60px 0 60px;
- box-sizing: border-box;
- border-right: 1px solid #eee;
- &:hover .sld_vendor_top {
- opacity: 1;
- z-index: 2;
- cursor: pointer;
- }
- .sld_rate {
- margin-top: 8px;
- text-align: center;
- }
- .sld_vendor_bottom {
- position: absolute;
- bottom: 0;
- left: 0;
- text-align: center;
- width: 100%;
- border-top: 1px solid #eee;
- a {
- width: 100%;
- height: 46px;
- text-align: center;
- line-height: 46px;
- color: #444444;
- font-size: 14px;
- i {
- font-size: 14px;
- color: $colorMain2;
- margin-right: 6px;
- }
- }
- }
- .sld_vendor_top {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 32px;
- color: #000;
- opacity: 0;
- z-index: -1;
- transition: all 0.3s;
- button {
- //width: 49.5%;
- width: 100%;
- height: 32px;
- background-color: #cccccc;
- border: none;
- cursor: pointer;
- }
- }
- .sld_rate {
- margin-top: 8px;
- text-align: center;
- i {
- float: left;
- margin: 0 1px;
- color: $colorMain;
- }
- }
- .sld_vendor_logo {
- width: 114px;
- height: 114px;
- }
- .sld_vendor_name {
- text-align: center;
- color: #444444;
- font-size: 13px;
- margin-top: 10px;
- }
- }
- .main_lbbox {
- position: relative;
- width: 75%;
- height: 298px;
-
- overflow: hidden;
- .sld_vendor_collect {
- height: 70px;
- padding: 15px 0 20px 15px;
- box-sizing: border-box;
- a {
- float: left;
- display: inline-block;
- width:200px;
- height: 34px;
- line-height: 34px;
- text-align: center;
- border: 1px solid #eeeeee;
- background-color: #fff;
- color: #444444;
- font-size: 14px;
- &:last-child {
- border-left: none;
- }
- }
- .sld_follow_on {
- background-color: $colorMain2;
- color: #fff;
- }
- }
- .sld_vendor_goods {
- position: relative;
- padding: 0 48px;
- overflow: hidden;
- .goods_price {
- font-size: 16px;
- color: $colorMain2;
- margin-top: 3px;
- font-weight: 600;
- }
- .goods_name {
- width: 140px;
- margin-top: 15px;
- color: #444444;
- font-size: 14px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- li {
- width: 140px;
- float: left;
- margin-right: 20px;
- .sld_img {
- width: 140px;
- height: 150px;
- }
- }
- .hd {
- i {
- font-size: 20px;
- }
- .next,
- .prev {
- position: absolute;
- top: 45px;
- width: 32px;
- height: 70px;
- font-size: 16px;
- color: #fff;
- background-color: #8d8b8b;
- text-align: center;
- line-height: 70px;
- }
- .next {
- right: 0;
- }
- .prev {
- left: 0;
- background-color: #ccc;
- -webkit-transform: rotate(180deg);
- -moz-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- -o-transform: rotate(180deg);
- transform: rotate(180deg);
- }
- }
- .slide_wrap {
- width: 100%;
- height: 213px;
- overflow: hidden;
- .bd {
- display: flex;
- transition: all 0.3s;
- li {
- float: left;
- }
- }
- }
- }
- }
- }
- }
- }
- }
- .el-pager li.active {
- color: $colorMain;
- cursor: default;
- }
- .el-pager li:hover {
- color: $colorMain;
- }
- .el-button--primary {
- color: #fff;
- background-color: $colorMain;
- border-color: $colorMain;
- }
|