123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676 |
- @import '../theme.scss';
- .sld_store_header {
- background: #fff;
- .container {
- width: 1210px;
- margin: 0 auto;
- padding-left: 0px;
- padding-right: 0px;
- height: 99px;
- position: relative;
- z-index: 12;
- &:before {
- display: table;
- content: " ";
- }
- .left {
- position: relative;
- float: left;
- width: 385px;
- .sld_img_center {
- display: block;
- width: 115px;
- height: 98px;
- position: relative;
- 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%);
- }
- }
- .line {
- position: static;
- width: 1px;
- height: 44px;
- background-color: #ebebeb;
- margin: 32px 8px 0 8px;
- }
- .sld_store_rate {
- position: relative;
- margin-top: 8px;
- cursor: pointer;
- min-height: 75px;
- line-height: 75px;
- &:hover {
- .sld_store_info_more {
- display: block !important;
- }
- .sld_sjx {
- -webkit-transform: translateY(-1px) rotate(180deg);
- -moz-transform: translateY(-1px) rotate(180deg);
- -ms-transform: translateY(-1px) rotate(180deg);
- -o-transform: translateY(-1px) rotate(180deg);
- transform: translateY(-1px) rotate(180deg);
- }
- }
- .name {
- color: #555555;
- font-size: 16px;
- font-weight: 600;
- margin: 6px 0 6px;
- display: flex;
- span{
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- width: 160px;
- display: inline-block;
- }
- }
- .rate {
- color: #555555;
- font-size: 13px;
- em {
- color: $colorMain;
- font-style: normal;
- }
- }
- .sld_sjx {
- display: inline-block;
- width: 0;
- height: 0;
- border-style: solid;
- border-color: $colorMain transparent transparent transparent;
- border-width: 6px;
- margin-left: 5px;
- transition: all 0.2s;
- -webkit-transform: translateY(5px);
- -moz-transform: translateY(5px);
- -ms-transform: translateY(5px);
- -o-transform: translateY(5px);
- transform: translateY(5px);
- position: absolute;
- right: -10px;
- top: 38px;
- }
- .sld_store_info_more {
- display: none;
- position: absolute;
- top: 65px;
- left: -116px;
- width: 362px;
- padding: 13px 12px 14px 16px;
- box-sizing: border-box;
- background-color: #fff;
- border: 1px solid #eeeeee;
- font-size: 12px;
- color: #666;
- line-height: 1.5;
- z-index: 99;
- cursor: auto;
- .top {
- padding-bottom: 6px;
- h4 {
- line-height: 1.5;
- margin-bottom: 4px;
- }
- p {
- line-height: 1.5;
- padding: 2px 0;
- display: flex;
- align-items: center;
- }
- .fr {
- width: 92px;
- height: 92px;
- border: 1px solid #eeeeee;
- box-sizing: border-box;
- position: relative;
- overflow: hidden;
- img {
- max-width: 90px;
- max-height: 90px;
- // position: absolute;
- // top: 50%;
- // left: 50%;
- // -webkit-transform: translate(-50%, -50%);
- // -moz-transform: translate(-50%, -50%);
- // -ms-transform: translate(-50%, -50%);
- // -o-transform: translate(-50%, -50%);
- // transform: translate(-50%, -50%);
- }
- }
- }
- .center {
- padding: 8px 0;
- border-top: 1px dashed #eeeeee;
- border-bottom: 1px dashed #eeeeee;
- p {
- line-height: 1.5;
- display: flex;
- align-items: center;
- word-break: break-all;
- a,
- i {
- color: $colorMain;
- cursor: auto;
- }
- .kefu {
- i {
- cursor: pointer !important;
- }
- .iconfont {
- font-family: "iconfont" !important;
- font-size: 16px;
- font-style: normal;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- }
- }
- }
- }
- .bottom {
- padding-top: 13px;
- .go_store_btn {
- display: inline-block;
- width: 78px;
- height: 28px;
- text-align: center;
- line-height: 26px;
- border: 1px solid #dddddd;
- margin-right: 30px;
- padding: 0;
- font-size: 12px;
- color: #666;
- border-radius: 0;
- cursor: pointer;
- }
- }
- }
- }
- }
- .search_wrap {
- width: calc(100% - (585px + 60px));
- float: left;
- padding-top: 4px;
- margin-top: 30px;
- margin: 30px 30px 0;
- position: relative;
- form {
- border: 2px solid $colorMain;
- width: calc(100% - 103px);
- .text {
- width: calc(100% - 103px);
- -webkit-appearance: none;
- -webkit-border-radius: 0;
- height: 34px;
- padding: 5px 5px 5px 10px;
- background-position: 0 -360px;
- background-color: #fff;
- background-repeat: repeat-x;
- line-height: 20px;
- font-family: arial, "\5b8b\4f53";
- font-size: 12px;
- outline: none;
- border: none;
- }
- }
- input {
- margin: 0;
- padding: 0;
- height: 34px;
- border: 0;
- }
- .button {
- width: 103px;
- background: $colorMain;
- font-size: 16px;
- font-weight: 600;
- color: #fff;
- float: right;
- cursor: pointer;
- &.fl {
- height: 37px;
- }
- }
- .search_association {
- background: #fff;
- position: absolute;
- top: 43px;
- overflow: hidden;
- position: absolute;
- left: 0;
- width: 443px;
- border: 1px solid #ccc;
- background: #fff;
- z-index: 99;
- .s_a_item {
- display: flex;
- justify-content: space-between;
- overflow: hidden;
- padding: 1px 5px;
- line-height: 24px;
- cursor: pointer;
- font-size: 12px;
- -webkit-font-smoothing: antialiased;
- color: #666;
- div:first-child {
- width: 230px;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- div:last-child {
- overflow: hidden;
- color: #aaa;
- }
- &:hover {
- background-color: rgb(255, 233, 188);
- }
- }
- }
- }
- }
- .sld_store_label_nav_wrap {
- .sld_store_label_wrap {
- width: 100%;
- height: auto;
- padding: 0;
- position: relative;
- box-sizing: border-box;
- line-height: 0;
- height: 104px;
- img {
- position: relative;
- max-width: 100%;
- height: 104px;
- margin: 0 auto;
- display: block;
- }
- }
- .logo_banner_left{
- height: 0;
- z-index: 1;
- img{
- position: absolute;
- left: 0;
- max-height: 84px;
- top: -94px;
- }
- }
- .sld_store_nav {
- width: 100%;
- height: 38px;
- line-height: 38px;
- background-color: #080808;
- .sld_all_store_cat {
- &:hover {
- .sld_store_first_cat {
- display: block !important;
- }
- }
- }
- .sld_store_first_cat {
- position: absolute;
- top: 38px;
- left: 0;
- width: 200px;
- font-size: 15px;
- background-color: #ffffff;
- z-index: 119;
- display: none;
- li {
- position: relative;
- width: 100%;
- height: 40px;
- line-height: 40px;
- box-sizing: border-box;
- border-bottom: 1px solid rgba(0, 0, 0, 0.2);
- &:last-child {
- border-bottom: none;
- }
- a {
- display: block;
- width: 100%;
- color: #333333;
- text-align: left;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- span{
- text-overflow: ellipsis;
- white-space: nowrap;
- overflow: hidden;
- width: 85%;
- float: left;
- }
- }
- i {
- font-size: 14px !important;
- -webkit-transform: rotate(-90deg);
- -moz-transform: rotate(-90deg);
- -ms-transform: rotate(-90deg);
- -o-transform: rotate(-90deg);
- transform: rotate(-90deg);
- color: #666666;
- }
- }
- .sld_store_second_cat {
- display: none;
- position: absolute;
- top: 0px;
- left: 199px;
- width: 180px;
- }
- }
- .sld_store_first_cat > li {
- padding: 0 13px 0 17px;
- }
- .sld_store_first_cat > li:hover > .sld_store_second_cat {
- display: block !important;
- }
- .sld_store_second_cat > li {
- width: 200px;
- background-color: #ffffff;
- box-sizing: border-box;
- padding-left: 10px;
- }
- li {
- float: left;
- padding: 0 20px;
- text-align: center;
- height: 38px;
- &.sld_all_store_cat {
- position: relative;
- width: 200px;
- background-color: #ffffff;
- color: #333333;
- font-size: 14px;
- padding: 0;
- cursor: pointer;
- i {
- margin-left: 6px;
- font-size: 24px;
- vertical-align: bottom;
- }
- }
- a {
- font-size: 14px;
- color: #fff;
- }
- }
- ul {
- width: 1210px;
- margin: 0 auto;
- position: relative;
- }
- .sld_store_cat_horizontal {
- position: absolute;
- left: 200px;
- width: 735px;
- height: 38px;
- overflow: hidden;
- }
- }
- }
- .sld_cart_wrap {
- float: right;
- position: relative;
- z-index: 99;
- width: 200px;
- height: 40px;
- margin-top: 34px;
- text-align: right;
- dl {
- margin-bottom: 0px;
- .cart_goods_num {
- font: 11px/16px Verdana;
- color: #fff;
- background: $colorMain;
- text-align: center;
- display: inline-block;
- height: 16px;
- min-width: 16px;
- border: none 0;
- border-radius: 8px;
- margin-left: 10px;
- }
- dt {
- position: absolute;
- z-index: 3;
- height: 38px;
- background-color: #fff;
- cursor: pointer;
- font-weight: 400;
- .iconfont {
- margin: 0 8px 0 12px;
- color: $colorMain;
- font-weight: 600;
- vertical-align: bottom;
- font-family: "iconfont" !important;
- font-size: 17px;
- font-style: normal;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- line-height: 36px;
- img{
- width: 16px;
- position: relative;
- top: 2px;
- }
- }
- &.cart_icon_text_wrap {
- a {
- color: $colorMain;
- font-size: 14px;
- line-height: 36px;
- }
- }
- }
- dd {
- .cart_goods {
- dl {
- padding-top: 8px;
- }
- dd {
- &.cart_goods_price {
- position: static;
- em {
- margin-right: 6px;
- width: auto;
- color: #666;
- &:nth-child(1) {
- display: block;
- font-weight: 600;
- }
- &:nth-child(2) {
- display: block;
- text-align: right;
- margin-top: 6px;
- }
- }
- }
- }
- }
- }
- }
- dd {
- position: absolute;
- top: 37px;
- right: 0;
- width: 355px;
- border: 1px solid #e3e3e3;
- background: #fff;
- z-index: 1;
- }
- &:hover {
- .cart_more_view {
- display: inline-block;
- }
- }
- .cart_more_view {
- display: none;
- .empty_cart {
- width: 100%;
- position: relative;
- .empty_cart_line {
- position: absolute;
- width: 163px;
- right: 0;
- height: 2px;
- top: -2px;
- z-index: 999;
- background: #fff;
- }
- .empty_cart_txt {
- padding: 10px;
- color: #999;
- }
- }
- }
- }
- .ld {
- position: relative;
- zoom: 1;
- }
- .fl {
- float: left;
- }
- .fr {
- float: right;
- }
- .clearfix {
- display: block;
- zoom: 1;
- &:before {
- display: table;
- content: " ";
- }
- &:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
- }
- }
- .search_line {
- width: 1px;
- height: 20px;
- border: 1px solid #ffffff;
- opacity: 0.5;
- position: absolute;
- right: 300px;
- top: 8px;
- }
- .search_modle {
- width: 282px;
- position: absolute;
- right: 0;
- height: 38px;
- .search_input {
- width: 100%;
- height: 20px;
- background: #ffffff;
- border-radius: 2px 0 0 2px;
- display: block;
- border: none;
- border: 1px solid #fff;
- padding-left: 5px;
- }
- .search_input_button {
- display: block;
- width: 72px;
- height: 20px;
- background: $colorMain;
- border-radius: 0 2px 2px 0;
- font-size: 12px;
- //font-family: Microsoft YaHei;
- font-weight: 400;
- color: #ffffff;
- line-height: 20px;
- text-align: center;
- cursor: pointer;
- }
- }
- }
|