Authored by 毕凯

H5 product scss => css

... ... @@ -185,6 +185,6 @@ a {
@import "home/index";
@import "category/index";
@import "me/index";
/*
@import "product/index";
/*
@import "cart/index";*/
... ...
@define-mixin consult-item {
margin-top: 30px;
padding: 20px 28px;
background-color: #fff;
border-bottom: 1px solid $borderC;
border-top: 1px solid $borderC;
.question {
font-size: 24px;
color: $mainFontC;
span {
display: block;
float: left;
padding-right: 15px;
}
p {
overflow: hidden;
padding-bottom: 15px;
border-bottom: 1px solid $borderC;
}
}
.time {
font-size: 22px;
color: $subFontC;
}
.answer {
font-size: 24px;
line-height: 36px;
color: $subFontC;
margin-top: 14px;
span {
display: block;
float: left;
color: $mainFontC;
padding-right: 15px;
}
p {
overflow: hidden;
}
}
.operation {
width: 120%;
height: 60px;
line-height: 80px;
position: relative;
right: 12%;
border-top: 1px solid #e0e0e0;
margin-top: 20px;
li{
&.highlight{
color: $basicBtnC;
}
font-size:28px;
float:left;
width: 50%;
text-align: center;
color:$subFontC;
.iconfont{
display: inline-block;
padding-right: 5px;
font-size: inherit;
}
position: relative;
.animate-count {
display: none;
position: absolute;
top: 0;
font-size: 20px;
z-index: 5;
}
i.count {
position: absolute;
}
}
li.fav {
.animate-count {
right: 100px;
}
}
li.useful {
.animate-count {
right: 88px;
}
}
}
}
.goods-comments-page {
.goods-comments {
.comment-item {
border-bottom: 1px solid $borderC;
padding: 0 28px;
.user-name {
display: inline-block;
float: left;
max-width: 9rem;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 24px;
line-height: 62px;
color: $mainFontC;
}
.goods-spec,
.comment-time {
font-size: 24px;
line-height: 62px;
}
.detail-content {
font-size: 24px;
line-height: 62px;
color: $mainFontC;
}
.goods-spec,
.comment-time {
font-size: 24px;
line-height: 62px;
}
.detail-content {
font-size: 28px;
line-height: 36px;
}
.goods-spec,
.detail-content {
color: $mainFontC;
}
.comment-time {
color: #c1c1c1;
}
}
}
}
.goods-consults-page {
background-color: #f0f0f0;
.goto-consult {
position: fixed;
top: 2.25rem;
width: 100%;
box-sizing:border-box;
padding: 0 28px;
height: 120px;
background-color: #ffffff;
border-bottom: 1px solid $borderC;
z-index: 10;
i,
span,
a {
line-height: 120px;
font-size: 28px;
color: $mainFontC;
}
.consult-logo {
padding-right: 15px;
}
.enter-consult-page {
float: right;
color: $subFontC;
}
}
.goods-consults.customer-consults {
.consult-item:nth-child(1) {
display: block;
}
.consult-item:nth-child(2) {
display: block;
}
.consult-item {
display: none;
}
}
.goods-consults {
margin-top: 5.25rem;
overflow: hidden;
@mixin consult-item;
}
.readmore{
display: block;
height: 88px;
line-height: 88px;
background-color: #fff;
text-align: center;
color: $subFontC;
margin-top: 30px;
border-top: 1px solid $borderC;
border-bottom: 1px solid $borderC;
font-size: 28px;
i{
font-size: inherit;
}
}
.faq-title{
height: 88px;
line-height: 88px;
text-align: center;
font-size: 32px;
}
.goods-consults .faq-item{
@mixin consult-item;
margin-top: 0;
margin-bottom: 30px;
.answer{
border-bottom: none;
}
}
}
.consult-form-page {
padding: 28px;
text-align: center;
textarea {
box-sizing: border-box;
width: 100%;
height: 400px;
font-size: 28px;
padding: 10px;
color: $mainFontC;
}
a {
display: inline-block;
height: 80px;
width: 360px;
color: #fff;
background-color: #444;
font-size: 40px;
line-height: 80px;
text-align: center;
margin-top: 20px;
}
}
.good-detail-page {
.feedback-list {
padding-top: 30px;
margin-bottom: 30px;
background-color: #f0f0f0;
.nav-tab {
width: 100%;
height: 60px;
padding: 10px 0;
background-color: #fff;
border-top: 1px solid $borderC;
border-bottom: 1px solid $borderC;
}
.comment-nav,
.consult-nav {
box-sizing: border-box;
float: left;
width: 50%;
height: 60px;
line-height: 60px;
font-size: 28px;
text-align: center;
color: $subFontC;
&.focus {
color: #000;
}
}
.comment-nav {
border-right: 1px solid #ccc;
}
.content {
.content-main {
background-color: #fff;
border-bottom: 1px solid $borderC;
&.comment-content-main {
.user-name {
font-size: 24px;
line-height: 62px;
color: $mainFontC;
padding-left: 28px;
padding-right: 18px;
}
.goods-spec,
.comment-time {
font-size: 24px;
line-height: 62px;
}
.detail-content {
font-size: 24px;
line-height: 62px;
color: $mainFontC;
padding-left: 28px;
padding-right: 18px;
}
.goods-spec,
.comment-time {
font-size: 24px;
line-height: 62px;
}
.detail-content {
font-size: 28px;
line-height: 36px;
}
.goods-spec,
.detail-content {
color: $mainFontC;
}
.detail-content,
.comment-time {
padding-left: 28px;
}
.detail-content {
padding-right: 28px;
padding-left: 28px;
}
.detail-content {
padding-right: 28px;
}
.comment-time {
color: #c1c1c1;
}
}
&.consult-content-main {
padding-right: 28px;
padding-left: 28px;
padding-top: 20px;
padding-bottom: 20px;
.question {
font-size: 24px;
color: $mainFontC;
span {
display: block;
float: left;
font-size: inherit;
padding-right: 15px;
}
p {
overflow: hidden;
}
}
.time {
font-size: 22px;
color: $subFontC;
}
.answer {
font-size: 24px;
line-height: 36px;
color: $subFontC;
margin-top: 14px;
span {
display: block;
float: left;
font-size: inherit;
color: $mainFontC;
padding-right: 15px;
}
p {
overflow: hidden;
}
}
}
&.no-item{
height: 200px;
line-height: 200px;
color: #e0e0e0;
font-size: 16px;
text-align: center;
span{
display: inline-block;
font-size: 16px;
padding-right: 5px;
}
}
}
}
.comment-content-footer,
.consult-content-footer {
display: block;
min-height: 88px;
text-align: center;
background-color: #fff;
border-bottom: 1px solid $borderC;
line-height: 88px;
font-size: 28px;
color: #b0b0b0;
.iconfont {
font-size: inherit;
}
}
.content.hide {
display: none;
}
.nodata {
height: 88px;
font-size: 28px;
line-height: 88px;
background-color: #fff;
padding: 0 28px;
border-top: 1px solid $borderC;
border-bottom: 1px solid $borderC;
.go-consult {
float: right;
color: $subFontC;
span {
font-size: 28px;
}
}
}
}
}
... ...
$pageBgC:#f0f0f0;
$mainFontC:#444444;
$subFontC:#b0b0b0;
$borderC:#e0e0e0;
$tableCellC:#eee;
$basicBtnC:#eb0313;
.good-detail-page {
overflow: hidden;
background-color: #f0f0f0;
.yoho-tip {
z-index: 4;
}
.page-block {
background-color: #fff;
box-sizing: border-box;
width: 100%;
border-bottom: 1px solid $borderC;
border-top: 1px solid $borderC;
padding: 0 28px;
margin-bottom: 30px;
>.title {
line-height: 88px;
color: $mainFontC;
font-size: 28px;
border-bottom: 1px solid $borderC;
span {
color: #a0a0a0;
font-size: 18px;
}
}
.pro-detail {
margin-top: 20px;
margin-bottom: 20px;
}
.detail {
margin-top: 20px;
margin-bottom: 20px;
font-size: 24px;
line-height: 36px;
b {
font-weight: bold;
}
i {
font-style: italic;
}
&.table {
.js-wraper {
@include flexbox((
display: box,
box-lines: multiple,
box-pack: start
), $version: 1);
@include flexbox((
display: flex,
flex-wrap: wrap,
justify-content: flex-start
));
}
width: 100%;
.column {
box-sizing: border-box;
/*padding: 20px 12px;*/
padding: 6px 3%;
width: 49.9%;
border: 1px solid #fff;
font-size: 24px;
background-color: $tableCellC;
word-wrap: break-word;
@include flexbox((
box-flex: 1.0,
display: box,
box-align: center
), $version: 1);
@include flexbox((
display: flex,
align-items: center,
flex-basis: 49.9%
))
}
.oldbox{
padding: 6px 3%;
width: 49.9%;
background-color: $tableCellC;
box-sizing: border-box;
border: 1px solid #fff;
width: 49.9%;
height: 100%;
float: left;
text-overflow:ellipsis;
white-space:nowrap;
overflow:hidden;
}
}
}
}
.my-swiper-button-prev,
.my-swiper-button-next {
position: absolute;
top: 50%;
width: 48px;
height: 48px;
margin-top: -44px;
cursor: pointer;
color: #666;
font-size: 48px;
&.swiper-button-disabled{
opacity: .3;
}
}
.next-grey {
right: 30px;
left: auto;
}
.prev-grey {
left: 30px;
right: auto;
}
.tag-container {
position: absolute;
left: 108px;
top: 40px;
height: 35px;
color: #fff;
font-size: 20px;
line-height: 35px;
z-index: 2;
.good-tag {
display: inline-block;
box-sizing: border-box;
margin-left: .5px;
font-size: 18px;
text-align: center;
padding:1px 5px;
}
.new-tag {
background-color: #78dc7e;
color: #fff;
}
.renew-tag {
background-color: #78dc7e;
color: #fff;
}
.sale-tag {
background-color: #ff575c;
color: #fff;
}
.new-festival-tag {
background-color: #000;
color: #fff;
}
.yohood-tag {
background-color: #000;
color: #fff;
}
.limit-tag {
border: 1px solid #000;
background-color: #fff;
color: #000;
}
.soonSoldOut-tag {
background-color: #ffac5b;
color: #fff;
}
}
.banner-container {
position: relative;
background-color: #fff;
}
.banner-top-single{
margin:0 auto;
overflow: hidden;
img{
width: 448px;
margin-top:30px;
margin-bottom:30px;
}
}
.banner-top {
min-height: 660px;
overflow: hidden;
position: relative;
.swiper-pagination {
position: absolute;
z-index: 2;
bottom: 40px;
.pagination-inner {
span {
background-color: #b0b0b0;
}
.swiper-pagination-bullet {
margin-right: 2px;
}
.swiper-pagination-bullet-active {
background-color: #000;
}
}
}
}
.banner-swiper {
min-height: 600px;
min-width: 448px;
margin: 30px 96px;
overflow: hidden;
ul {
position: relative;
height: auto;
li {
float: left;
img {
height: auto;
}
}
}
}
.goodsName {
box-sizing: border-box;
width: 100%;
font-size: 28px;
color: #fff;
padding: 20px 28px;
line-height: 48px;
background-color: #515150;
}
.goodsSubtitle {
/*display: table;*/
height: 88px;
font-size: 24px;
color: $subFontC;
padding-left: 28px;
padding-right: 28px;
border-bottom: 1px solid $borderC;
background-color: $pageBgC;
@include flexbox((
box-flex: 1.0,
display: box,
box-align: center
), $version: 1);
@include flexbox((
display: flex,
align-items: center
));
span{
/*display: table-cell;*/
display: -webkit-box;
line-height: 36px;
margin: 0;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
}
.price-date {
position: relative;
width: 100%;
color: $subFontC;
height: 88px;
padding-left: 28px;
padding-right: 28px;
background-color: #fff;
border-bottom: 1px solid $borderC;
}
.limit-sale {
position: absolute;
right: 84px;
top: 24px;
color: #d0021b;
border: 2px solid #d0021b;
background-color: #fff;
border-radius: 40px;
padding: 4px 20px;
font-size: 24px;
font-weight: bold;
}
.limit-sale:active {
background-color: #f0f0f0;
}
.got-limit-sale {
position: absolute;
right: 84px;
top: 24px;
color: #d0021b;
border: 2px solid #d0021b;
background-color: #fff;
border-radius: 40px;
padding: 4px 20px;
font-size: 24px;
font-weight: bold;
color: #ccc;
border-color: #ccc;
}
.goodsPrice {
float: left;
font-size: 34.59px;
h1 {
display: inline-block;
line-height: 88px;
}
.currentPrice {
color: #d0021b;
margin-right: 10px;
}
.previousPrice {
text-decoration: line-through;
}
}
.periodOfMarket {
font-size: 24px;
float: right;
color: #d0021b;
margin-right: 1.4rem;
h1 {
display: inline-block;
line-height: 88px;
}
}
.vip-level {
box-sizing: box-border;
padding-left: 28px;
padding-right: 28px;
min-height: 88px;
background-color: #fff;
font-size: 22px;
color: #999999;
border-bottom: 1px solid $borderC;
.icons-item {
float: left;
width: 33.3%;
height: 88px;
margin: 0;
&.current-level{
.vip-price{
color:#d0021b;
}
}
span {
vertical-align: middle;
display: inline-block;
line-height: 88px;
padding-left: 8px;
}
.vip-img {
width: 53px;
height: 32px;
}
&:nth-child(1) {
text-align: left;
.vip-img {
background: resolve('product/silver.png') no-repeat;
}
}
&:nth-child(2) {
.vip-img {
background: resolve('product/golden.png') no-repeat;
}
}
&:nth-child(3) {
text-align: right;
.vip-img {
background: resolve('product/platinum.png') no-repeat;
}
}
}
}
.goodsDiscount {
display: block;
width: 100%;
height:auto;
font-size: 28px;
color: $mainFontC;
background-color: #fff;
border-bottom: 1px solid $borderC;
h1 {
position: relative;
padding: 30px 60px 30px 28px;
line-height: 36px;
}
.short-text {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.iconfont {
position: absolute;
top: 30px;
right: 36px;
width: 35px;
font-size: 45px;
float: right;
color: #e0e0e0;
/*padding-left:50px;*/
}
.discount-folder {
.folder-item {
border-top: 1px solid $borderC;
}
display: none;
}
}
.enter-store {
position: relative;
padding: 0 180px 0 114px;
line-height: 84px;
background-color: #fff;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
.store-logo {
position: absolute;
left: 0;
top: 1px;
width: 68px;
height: 84px;
margin-left: 30px;
font-size: 0;
text-align: center;
img {
display: inline-block;
width: auto;
height: 68px;
vertical-align: middle;
}
}
.store-name {
font-size: 34px;
color: $mainFontC;
}
.store-link {
position: absolute;
right: 0;
top: 1px;
padding-right: 30px;
font-size: 28px;
color: $subFontC;
text-align: right;
span {
font-size: inherit;
}
}
}
/*底部固定栏*/
.cart-bar {
position: relative;
box-sizing: border-box;
width: 100%;
height: 120px;
position: fixed;
bottom: 0;
background-color: #fff;
z-index: 2;
padding: 20px 28px;
text-align: center;
border-top: 1px solid $borderC;
a {
display: inline-block;
&.num-incart {
font-size: 47px;
color: #444;
}
&.favorite {
font-size: 34px;
color: #ccc
}
&.favorite.liked {
color: $basicBtnC;
;
}
&.addto-cart,
&.sold-out {
height: 80px;
width: 260px;
margin: 0 100px 0 115px;
color: #fff;
background-color: $basicBtnC;
font-size: 32px;
line-height: 80px;
text-align: center;
}
&.sold-out {
background-color: #f58189;
}
}
.num-tag {
display: block;
position: absolute;
top: 0;
left: 48px;
width: 72px;
height: 72px;
font-size: 40px;
line-height: 72px;
color: #fff;
background: $basicBtnC;
text-align: center;
border-radius: 50%;
transform: scale(0.5);
&.hide{
display: none;
}
}
}
.recommend-for-you{
border-bottom: none;
}
.yoho-tip{
top:40%;
}
}
@import "comments-consults";
@import "product-description";
... ...
.discount-page {
background-color: #fff;
.swiper-container {
width: 100%;
height: 310px;
img {
height: 100%;
width: 100%;
}
.swiper-pagination {
bottom: 0;
left: 0;
width: 100%;
}
.swiper-pagination-bullet-active {
background: #fff;
}
}
.banner-top-single{
width: 100%;
height: 200px;
img {
display: block;
height: 100%;
width: 100%;
}
}
.list-nav {
border-top:2px solid #fff;
border-bottom:1px solid #e6e6e6;
> li {
float: left;
width: 25%;
height: 33px;
line-height: 33px;
text-align: center;
font-size: 14px;
}
.bytouch{
background:#eee;
}
a {
display: block;
box-sizing: border-box;
width: 100%;
height: 100%;
color: #999;
}
.active > a {
color: #000;
.spanTest{
width: auto;
height: 100%;
display: inline-block;
box-sizing:border-box;
}
.iconfont {
color: #999;
&.cur {
color: #000;
}
}
}
.new .iconfont {
transform: scale(0.8);
font-weight: bold;
}
.filter .iconfont {
font-size: 12px;
transition: transform 0.1 ease-in;
}
.filter.active .iconfont {
transform: rotate(-180deg);
}
.icon {
position: relative;
i {
position: absolute;
transform: scale(0.8);
font-weight: bold;
}
.up {
top: -11px;
}
.down {
top: -4px;
}
}
}
.no-result {
text-align: center;
vertical-align: middle;
color: #ccc;
font-size: 1.2em;
margin-top: 160px;
}
.goods-container {
position: relative;
min-height: 440px;
padding-left: 0.375rem;
padding-top: 0.2rem;
}
}
... ...
.rank-main {
padding: 14px 0 0 30px;
background: #fff;
li {
height: 230px;
overflow: hidden;
.item-img {
float: left;
width: 150px;
height: 200px;
padding: 14px 0;
line-height: 200px;
text-align: center;
img {
max-width: 100%;
max-height: 100%;
vertical-align: middle;
}
}
.item-content {
float: left;
width: 407px;
height: 213px;
margin: 0 0 0 13px;
padding: 14px 0 0 30px;
border-top: 1px solid #e0e0e0;
overflow: hidden;
.rank-icon {
display: block;
height: 45px;
width: 50px;
line-height: 50px;
text-align: center;
font-size: 22px;
color: #fff;
background: resolve("../img/me/employ/rank.png") no-repeat;
background-position: center top;
background-size: auto 100%;
&.top {
background: resolve("../img/me/employ/rank-t.png") no-repeat;
background-position: center top;
background-size: 100%;
line-height: 54px;
}
}
h2 {
margin: 15px 0 0 !important;
padding: 0 !important;
width: 9.5rem;
max-height: 72px;
overflow: hidden;
line-height: 36px;
color: #444;
font-size: 28px;
&.hasActive {
margin: 5px 0 0 !important;
}
}
p {
margin: 0 !important;
padding: 0 !important;
width: 9.5rem;
line-height: 36px;
font-size: 24px;
color: #d0021b;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
b {
text-decoration: line-through;
color: #b0b0b0;
margin-left: 10px;
}
}
}
}
li:first-child {
.item-content {
border: none;
}
}
}
.goods-nav {
border-bottom: 2px solid #e6e6e6;
height: 67px;
overflow: hidden;
li {
float: left;
width: auto;
height: 67px;
line-height: 67px;
width: 145px;
text-align: center;
font-size: 28px;
a {
display: inline-block;
padding: 0 5px;
font-size: 28px;
color: #999;
height: 65px;
}
}
li:first-child {
margin-left: 30px;
}
li.focus {
a {
border-bottom: 4px solid #000;
color: #000;
}
}
}
.s-goods-nav {
box-sizing:border-box;
overflow: hidden;
li {
margin: 0 10px;
padding:0 15px;
width: auto;
height: 100%;
color: #999;
&.active{
color: #000;
}
&.bgActive{
color: #000;
background-color:#e0e0e0;
}
a {
padding: 0;
}
}
li:first-child {
margin: 0 0 0 39px;
}
}
... ...
@import "new-arrival";
@import "discount";
@import "list";
@import "detail";
@import "suspend-cart";
@import "hot-rank";
@import "recommend-for-you";
... ...
.good-list-page {
.search-input {
position: relative;
padding: 14px 30px;
background: #f8f8f8;
> form {
position: relative;
}
.search-icon {
position: absolute;
font-size: 24px;
top: 18px;
left: 20px;
}
input {
box-sizing: border-box;
padding-left: 52px;
padding-right: 68px;
height: 60px;
width: 85%;
border-radius: 30px;
background: #fff;
border: none;
}
.clear-input {
position: absolute;
top: 10px;
right: 100px;
}
.search {
position: absolute;
top: 4px;
right: -8px;
border: none;
background: transparent;
font-size: 32px;
height: 60px;
overflow: hidden;
line-height: 60px;
color: #666;
}
}
.brand-way {
padding-bottom: 20px;
background: #f4f4f4;
> a {
display: block;
height: 80px;
line-height: 80px;
padding: 0 20px;
border-bottom: 1px solid #e6e6e6;
border-top: 1px solid #e6e6e6;
font-size: 34px;
background: #fff;
color: #000;
}
.brand-thumb {
display: block;
float: left;
width: 150px;
height: 80px;
margin: 0;
}
.entry {
color: #999;
font-size: 28px;
float: right;
}
}
.brand-header {
position: relative;
height: 150px;
> img {
display: block;
height: 100%;
width: 100%;
}
}
.btn-intro, .btn-col {
position: absolute;
display: block;
width: 124px;
height: 48px;
line-height: 48px;
text-align: center;
border: 1px solid #fff;
color: #fff;
top: 50%;
margin-top: -24px;
}
.btn-intro {
right: 180px;
}
.btn-col {
right: 30px;
.iconfont {
font-size: 24px;
}
&.coled {
opacity: 0.5;
}
.txt:after {
content: '收藏'
}
&.coled .txt:after {
content: '已收藏'
}
}
.brand-intro-box {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,.3);
padding: 88px 0;
z-index: 1;
overflow: auto;
.brand-intro {
position: relative;
box-sizing: border-box;
width: 85%;
margin: 0 7.5%;
background: #fff;
padding: 20px 8%;
}
h2 {
text-align: center;
font-size: 34px;
line-height: 80px;
}
.con {
font-size: 24px;
line-height: 32px;
padding: 40px 0;
border-top: 1px solid #e6e6e6;
border-bottom: 1px solid #e6e6e6;
overflow-x: hidden;
}
.fo {
font-size: 36px;
height: 80px;
line-height: 80px;
text-align: center;
> span {
font-size: 44px;
}
}
.close-intro {
position: absolute;
top: 12px;
right: 12px;
}
}
.list-nav {
border-top: 2px solid #fff;
border-bottom: 1px solid #e6e6e6;
> li {
float: left;
width: 25%;
height: 66px;
line-height: 66px;
text-align: center;
font-size: 28px;
}
.bytouch{
background:#eee;
}
a {
display: block;
box-sizing: border-box;
width: 100%;
height: 100%;
color: #999;
}
.nav-txt {
display: inline-block;
height: 100%;
box-sizing: border-box;
}
.active > a {
color: #000;
.iconfont {
color: #999;
&.cur {
color: #000;
}
}
}
.new .iconfont {
transform: scale(0.8);
font-weight: bold;
}
.filter .iconfont {
font-size: 24px;
transition: transform 0.1 ease-in;
}
.filter.active .iconfont {
transform: rotate(-180deg);
}
.icon {
position: relative;
i {
position: absolute;
transform: scale(0.8);
font-weight: bold;
}
.up {
top: -22px;
}
.down {
top: -8px;
}
}
}
.no-result {
text-align: center;
vertical-align: middle;
color: #ccc;
font-size: 1.2em;
margin-top: 440px;
}
.goods-container {
position: relative;
min-height: 880px;
padding-left: 0.375rem;
padding-top: 0.2rem;
}
}
... ...
.newarrival-page {
background-color: #fff;
.swiper-container {
width: 100%;
height: 310px;
img {
height: 100%;
width: 100%;
}
.swiper-pagination {
bottom: 0;
left: 0;
width: 100%;
}
.swiper-pagination-bullet-active {
background: #fff;
}
}
.banner-top-single{
width: 100%;
height: 200px;
img {
display: block;
height: 100%;
width: 100%;
}
}
.list-nav {
border-top:2px solid #fff;
border-bottom:1px solid #e6e6e6;
> li {
float: left;
width: 25%;
height: 66px;
line-height: 66px;
text-align: center;
font-size: 28px;
color: #999;
}
.bytouch{
background:#eee;
}
a {
display: inline-block;
box-sizing: border-box;
width: auto;
height: 100%;
color: #999;
}
.active > a {
color: #000;
box-sizing:border-box;
}
.active > .iconfont {
color: #000;
&.cur {
color: #000;
}
}
.filter .iconfont {
font-size: 24px;
transition: transform 0.1 ease-in;
}
.filter.active .iconfont {
transform: rotate(-180deg);
}
}
.no-result {
text-align: center;
vertical-align: middle;
color: #ccc;
font-size: 1.2em;
margin-top: 320px;
}
.goods-container {
position: relative;
min-height: 880px;
padding-left: 0.375rem;
padding-top: 0.2rem;
}
}
... ...
.good-detail-page{
.goods-desc {
padding-bottom: 20px;
padding-top: 20px;
.service {
width: 494px;
height: 28px;
margin-left: 50px;
background: resolve('product/service.png') no-repeat;
background-size: cover;
}
.detail{
margin-bottom: 1px;
}
.desc-text {
font-size: 24px;
padding: 16px 12px;
color: $mainFontC;
background-color: $tableCellC;
}
}
.tips {
color: $subFontC;
font-size: 18px;
margin-top: 20px;
}
.materials {
overflow: hidden;
&.page-block{
margin-bottom: 0;
border-bottom: none;
.detail{
margin-bottom: 0;
}
}
.detail {
.material-item{
margin: 10px 0;
width: 100%;
height: auto;
overflow: hidden;
display: block;
position: relative;
img {
margin: 0;
}
.material-image {
width: 23%;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
}
.material-desc {
font-size: 24px;
box-sizing: border-box;
text-align: left;
padding-left: 2%;
height: auto;
line-height: 38px;
color: #4b4b4b;
word-wrap: break-word;
width: 76.9%;
float: right;
}
&:last-child{
border-bottom: none;
}
}
}
}
.wash-tips{
padding-top:20px;
&.page-block{
padding-left: 15px;
padding-right: 15px;
}
.tip{
display: inline-block;
width: 16.6%;
float:left;
img{
width: 48px;
height: 48px;
margin-bottom: 10px;
}
.caption{
display: block;
padding: 0 13px;
font-size: 18px;
line-height: 22px;
min-height: 44px;
text-align:center;
}
}
}
.product-detail {
.detail {
img {
margin-top: 20px;
width: 581px;
height:auto;
}
a {
color: #2f91f6;
text-decoration: underline;
}
}
margin-top: 30px;
margin-bottom: 30px;
}
.detail-swiper {
.swiper-wrapper {
.swiper-slide {
width: auto;
div {
text-align: center;
&.cell {
line-height: 53px;
font-size: 24px;
background-color: $tableCellC;
padding: 0 40px;
border: 1px solid #fff;
}
}
}
}
}
/*模特*/
#reference-swiper-container {
.first-group {
width: 70px;
margin-top: 55px;
div{
height: 55px;
.avatar {
display: inline-block;
width: 40px;
border-radius: 50%;
margin-top:7px;
}
}
}
}
/*测量方法*/
.measurement-method {
.detail {
width: 100%;
margin-top:0;
margin-bottom: 0;
img {
width: 100%;
height:auto;
}
}
}
}
... ...
.recommend-for-you {
padding: 30px 0 30px;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
background: #fff;
.title {
font-size: 32px;
line-height: 88px;
text-align: center;
color: #444;
}
.swiper-container {
padding: 30px 0 20px;
width: 100%;
.swiper-slide {
padding: 0 10px;
float: left;
width: 156px;
&:first-child {
padding-left: 30px;
}
&:last-child {
padding-right: 30px;
}
img {
width: 100%;
height: 208px;
}
}
}
.sale-name {
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
white-space: nowrap;
margin-top: 20px;
color: #444;
}
.price {
position: relative;
margin-top: 8px;
font-size: 24px;
line-height: 1;
.sale-price {
display: block;
color: #d9134f;
margin-right: 8px;
}
.old-price {
display: block;
color: #b0b0b0;
text-decoration: line-through;
}
.no-price {
color: #444;
}
}
}
... ...
.suspend-cart {
position: fixed;
width: 88px;
height: 88px;
line-height: 88px;
border-radius: 50%;
background: rgba(0,0,0,0.3);
text-align: center;
right: 30px;
bottom: 140px;
z-index: 10;
a {
display: block;
width: 100%;
height: 100%;
}
.iconfont {
color: #fff;
font-size: 36px;
}
.cart-count {
position: absolute;
top: -24px;
right: -20px;
width: 72px;
height: 72px;
font-size: 40px;
line-height: 72px;
color: #fff;
background: #f03d35;
text-align: center;
border-radius: 50%;
transform: scale(0.5);
}
}
... ...