Authored by yyq

change style

... ... @@ -21,8 +21,8 @@
{{/dnsPrefetch.hosts}}
{{#if devEnv}}
<link rel="stylesheet" href="//{{devHost}}:5002/css/base.css">
<link rel="stylesheet" href="//{{devHost}}:5002/css/{{#if cssModule}}{{cssModule}}.css{{^}}{{module}}.css{{/if}}">
<link rel="stylesheet" href="//{{devHost}}:5002/base.css">
<link rel="stylesheet" href="//{{devHost}}:5002/{{#if cssModule}}{{cssModule}}.css{{^}}{{module}}.css{{/if}}">
{{^}}
<link rel="stylesheet" href="//{{#isEqual cdn 'qcloud'}}qcdn.yoho.cn{{^}}cdn.yoho.cn{{/isEqual}}/yohobuy-node/{{version}}/base.css">
<link rel="stylesheet" href="//{{#isEqual cdn 'qcloud'}}qcdn.yoho.cn{{^}}cdn.yoho.cn{{/isEqual}}/yohobuy-node/{{version}}/{{#if cssModule}}{{cssModule}}.css{{^}}{{module}}.css{{/if}}">
... ...
const info = {
host: '127.0.0.1',
port: 5002,
publicPath: 'http://127.0.0.1:5002'
publicPath: 'http://127.0.0.1:5002/'
};
module.exports = info;
... ...
.about-page {
width: 990px;
padding: 10px 0 20px;
.about-nav {
width: 210px;
padding: 10px 20px;
background-color: #ebe9ea;
border: 1px solid #d7d7d7;
border-radius: 5px;
li {
line-height: 30px;
font-size: 12px;
text-align: center;
border-bottom: #ddd 1px solid;
border-top: #fff 1px solid;
a {
color: #333;
font-weight: bold;
}
a:hover {
color: #f60;
}
}
li:first-child {
border-top: 0;
}
.act {
a {
color: #ed004c;
cursor: pointer;
}
a:hover {
color: #ed004c;
}
}
}
}
/* stylelint-disable */
@import "base";
@import "yohobuy";
@import "newpower";
@import "contact";
@import "link";
@import "privacy";
/* stylelint-enable */
... ...
.home-page {
width: 1150px;
margin: 10px auto 0;
.slide-container {
position: absolute;
left: 0;
right: 0;
height: 450px;
}
.slide-thumb-container {
height: 510px;
}
.slide-wrapper {
position: relative;
height: 450px;
overflow: hidden;
ul {
position: relative;
height: 100%;
}
&:hover .slide-switch.show {
display: block;
}
li {
display: none;
position: absolute;
top: 0;
right: 0;
width: 100%;
height: 100%;
a {
display: block;
height: 100%;
width: 1150px;
margin: 0 auto;
}
&:first-child {
display: block;
}
img {
width: 100%;
height: 100%;
}
}
}
.slide-container-placeholder {
height: 450px;
width: 100%;
}
.slide-thumb-container-placeholder {
height: 510px;
}
.slide-switch {
display: block;
a {
position: absolute;
top: 50%;
margin: -30px 0 0;
width: 60px;
height: 60px;
line-height: 56px;
text-align: center;
z-index: 2;
background: #fff;
opacity: 0.55;
&.prev {
left: 50%;
margin-left: -575px;
}
&.next {
right: 50%;
margin-right: -575px;
}
&:hover {
opacity: 0.9;
}
.iconfont {
font-size: 32px;
color: #59585a;
}
}
}
.thumb-pagination {
width: 1148px;
margin: 6px auto 0;
padding-left: 2px;
li {
position: relative;
float: left;
margin-left: 6px;
width: 138px;
height: 54px;
&:first-child {
margin: 0;
}
&.focus a {
opacity: 0;
}
a {
position: absolute;
left: 0;
right: 0;
bottom: 0;
top: 0;
background: #000;
opacity: 0.3;
}
img {
width: 100%;
height: 100%;
}
}
}
/* 大banner圆点 */
.slide-pagination {
font-size: 0;
.slide-shade {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: #000;
opacity: 0.3;
border-radius: 13px;
}
span {
position: relative;
display: inline-block;
margin: 0 7px;
width: 12px;
height: 12px;
background: #fff;
cursor: pointer;
opacity: 0.6;
border-radius: 6px;
z-index: 2;
&.focus {
opacity: 1;
}
}
}
.debris-slider {
height: 510px;
width: 100%;
.col {
float: left;
a {
display: block;
}
}
.left-col a,
.right-col a {
margin-bottom: 10px;
&:last-child {
margin-bottom: 0;
}
}
.right-col img,
.left-col img {
height: 100%;
width: 100%;
}
.left-col {
margin-right: 10px;
a {
width: 280px;
height: 120px;
}
a:first-child {
height: 250px;
}
}
.center-col {
position: relative;
width: 570px;
height: 100%;
margin-right: 10px;
font-size: 0;
&:hover {
.slide-switch.show {
display: block;
}
}
.slide-wrapper {
height: 100%;
a {
width: 100%;
}
}
.slide-switch {
a.prev {
left: 0;
margin-left: 0;
}
a.next {
right: 0;
margin-right: 0;
}
}
img {
max-width: 100%;
max-height: 100%;
}
}
.right-col a {
width: 280px;
height: 120px;
}
.right-col a:first-child {
height: 380px;
margin-bottom: 11px;
}
}
.new-report {
.report-list {
float: left;
width: 868px;
li {
float: left;
margin: 0 8px 8px 0;
width: 185px;
height: 248px;
overflow: hidden;
&:first-child {
margin-right: 7px;
width: 282px;
height: 504px;
}
}
}
.last-item {
float: left;
width: 282px;
height: 504px;
overflow: hidden;
}
}
/* 优选品牌 */
.preference-brand {
overflow: hidden;
}
.preference-brand-list {
margin-top: 8px;
width: 1158px;
}
.preference-brand-item {
float: left;
margin-right: 8px;
margin-bottom: 8px;
a {
display: table-cell;
width: 185px;
height: 86px;
text-align: center;
vertical-align: middle;
}
img {
display: block;
max-width: 100%;
max-height: 100%;
margin: 0 auto;
}
}
.preference-more {
float: left;
width: 185px;
height: 86px;
line-height: 100px;
text-align: center;
color: black;
font-size: 16px;
}
.img-slider-wrapper {
position: relative;
width: 100%;
height: 558px;
background: #8ae6e0;
overflow: hidden;
.img-brand-switch,
.new-user-switch {
display: block;
a {
position: absolute;
top: 50%;
font-size: 36px;
color: #fff;
&.next {
right: 30px;
}
&.prev {
left: 30px;
}
}
}
}
.img-container-landscape {
box-sizing: border-box;
margin: 86px auto 0;
width: 980px;
height: 433px;
overflow: hidden;
.img-list {
width: 1000px;
height: 100%;
}
.img-item {
float: left;
box-sizing: border-box;
width: 320px !important;
height: 100%;
margin-right: 10px;
img {
width: 100%;
height: 100%;
}
}
}
.img-brand,
.new-user-prolist {
position: relative;
width: 100%;
height: 175px;
overflow: hidden;
&:hover {
.img-brand-switch {
display: block;
}
}
ul {
width: 1158px;
}
li {
float: left;
margin-right: 8px;
width: 378px !important;
height: 175px;
line-height: 175px;
overflow: hidden;
font-size: 0;
text-align: center;
img {
max-width: 100%;
max-height: 100%;
vertical-align: middle;
}
}
.img-brand-switch {
display: none;
a {
position: absolute;
top: 50%;
margin: -20px 0 0;
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
z-index: 2;
background: #fff;
opacity: 0.55;
&.prev {
left: 0;
}
&.next {
right: 0;
}
&:hover {
opacity: 0.9;
}
}
}
}
.logo-brand {
width: 100%;
height: 282px;
overflow: hidden;
&.logos-10 {
height: 188px;
}
ul {
width: 1158px;
}
li {
float: left;
margin: 8px 8px 0 0;
width: 185px;
height: 86px;
line-height: 86px;
font-size: 0;
text-align: center;
img {
max-width: 100%;
max-height: 100%;
vertical-align: middle;
}
}
.logo-brand-switch {
position: relative;
background: resolve(index/logo-brand-line.png) no-repeat center center;
line-height: normal;
.iconfont {
position: absolute;
left: 50%;
font-size: 32px;
&.prev {
top: 10px;
margin-left: -48px;
}
&.next {
bottom: 12px;
margin-left: 20px;
}
}
}
.brand-more {
font-size: 16px;
&:hover {
text-decoration: underline;
}
}
}
.categorys-list {
ul {
width: 1158px;
}
li {
float: left;
margin: 0 8px 8px 0;
width: 185px;
height: 248px;
&.cate-item0 {
width: 185px;
height: 504px;
}
&.cate-item1 {
width: 377px;
height: 504px;
}
img {
display: block;
width: 100%;
height: 100%;
}
}
}
/* 新人专享 */
.new-user {
.new-user-banner > img {
width: 100%;
height: 368px;
}
.new-user-prolist {
height: auto;
margin-top: 10px;
.img-brand-switch {
display: block;
a {
margin: -30px 0 0;
width: 60px;
height: 60px;
line-height: 60px;
}
a .iconfont {
font-size: 30px;
}
}
}
.new-user-list {
.img-item {
float: left;
}
.good-info {
display: inline-block;
width: 185px;
padding: 18px;
margin-bottom: 0;
background-color: #f5f5f5;
.tag-container,
.brand {
display: none;
}
.good-detail-img {
height: 247px;
}
}
.good-detail-text {
> a {
font-weight: bold;
margin-top: 0;
}
.price {
font-weight: bold;
}
.market-price {
color: #000;
}
.sale-price {
color: #d62238;
}
.new-user-tag {
background-color: #d62238;
color: #fff;
font-weight: normal;
padding: 3px 10px;
margin-left: 10px;
}
}
}
}
.floor-header {
position: relative;
margin: 80px 0 40px;
.floor-title {
margin: 0 auto;
width: 298px;
height: 31px;
line-height: 31px;
border: 1px solid #000;
font-size: 16px;
text-align: center;
}
.header-navs {
position: absolute;
padding: 10px 0;
top: 0;
right: 0;
font-size: 14px;
li {
float: left;
padding: 1px 15px;
border-left: 1px solid #ccc;
&:first-child {
border-left: none;
}
&:hover {
text-decoration: underline;
}
a {
color: #333;
}
}
}
}
}
/* stylelint-disable */
@import "base";
@import "index-pliffy";
@import "min-index";
@import "brand";
@import "coupon";
@import "../variables";
/* stylelint-enable */
\ No newline at end of file
... ...
/*
公共样式
*/
.g-list {
li {
float: left;
a {
position: relative;
display: block;
overflow: hidden;
img {
width: 100%;
height: 100%;
}
}
}
}
/*
热门推荐模板样式
*/
.home-page {
.tpl-recommend {
width: 100%;
position: relative;
a {
display: block;
img {
display: block;
width: 100%;
height: 100%;
}
}
.tpl-body {
margin-bottom: 8px;
}
.tpl-nav {
float: left;
overflow: hidden;
.tpl-keywords {
margin-bottom: 8px;
}
.tpl-category {
padding: 10px 0;
background-color: #f8f8f8;
overflow: hidden;
a {
float: left;
width: 50%;
text-align: center;
color: #000;
overflow: hidden;
}
}
}
.tpl-brands {
float: left;
overflow: hidden;
margin-left: 8px;
li {
margin-top: 8px;
}
}
.tpl-types {
float: left;
overflow: hidden;
margin-top: -8px;
width: 579px;
li {
float: left;
margin-left: 8px;
margin-top: 8px;
a {
width: 185px;
height: 248px;
}
}
}
.tpl-products {
overflow: hidden;
margin-left: -10px;
li {
float: left;
margin-left: 10px;
a {
width: 222px;
height: 298px;
}
}
}
.tpl-nav {
width: 185px;
.keywords0,
.keywords1,
.keywords2 {
margin-bottom: 10px;
height: 76px;
}
.keywords2 {
margin-bottom: 0;
}
.tpl-category {
height: 228px;
a {
height: 38px;
line-height: 38px;
font-size: 14px;
}
}
}
.tpl-brands {
width: 378px;
height: 512px;
li a {
height: 248px;
}
}
}
}
/*
人气单品
*/
.home-page .flash-sale {
.flash-sale-list {
margin-left: -10px;
a {
height: 340px;
width: 560px;
}
li {
margin: 10px;
}
.flash-sale-banner {
position: relative;
height: 260px;
}
.flash-sale-bottom {
height: 78px;
position: relative;
border: 1px solid #000;
border-top-style: none;
}
p.flash-sale-count {
position: absolute;
left: 50px;
top: 20px;
}
p.flash-sale-name {
position: absolute;
left: 120px;
top: 20px;
}
p.flash-sale-timer {
position: absolute;
left: 50px;
top: 50px;
}
.flash-sale-logo {
position: absolute;
right: 50px;
width: 100px;
height: 80px;
img {
width: 100px;
height: 50px;
margin-top: 15px;
}
}
}
}
/* stylelint-disable */
@import "base";
@import "../variables";
@import "reset";
@import "common";
... ... @@ -216,4 +12,3 @@
@import "foot-pager";
@import "list";
@import "good";
/* stylelint-enable */
\ No newline at end of file
... ...
.guang-page {
width: 1150px;
margin: 0 auto;
.left-side {
float: left;
width: 830px;
}
.right-side {
float: left;
width: 290px;
margin-left: 30px;
}
img.blink,
.bg-img.blink {
opacity: 0.8;
}
/* 精彩推荐 */
.ex-reco-title {
color: #333;
line-height: 24px;
padding-bottom: 10px;
border-bottom: 1px solid #ccc;
font-size: 20px;
font-weight: bold;
}
.ex-reco-list {
margin-top: 14px;
}
.ex-reco-item {
box-sizing: border-box;
height: 60px;
margin-bottom: 14px;
&:last-child {
margin-bottom: 0;
}
}
.ex-reco-img {
display: block;
float: left;
width: 90px;
height: 60px;
span {
display: block;
height: 100%;
width: 100%;
background-size: cover;
background-position: center;
img {
width: 100%;
height: 100%;
}
}
margin-right: 5px;
}
.ex-reco-context {
float: left;
max-width: 195px;
height: 40px;
line-height: 20px;
font-size: 13px;
color: #666;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:hover {
color: #c30;
}
}
/* 热门标签 */
.hot {
margin-top: 40px;
.hot-title {
color: #333;
line-height: 24px;
padding-bottom: 10px;
border-bottom: 1px solid #ccc;
font-weight: bold;
font-size: 20px;
}
.hot-tag-list {
margin-top: 14px;
max-height: 150px;
overflow: hidden;
}
.hot-tag {
display: inline-block;
float: left;
padding: 5px;
font-size: 12px;
background-color: #ccc;
border: none;
margin-right: 10px;
margin-bottom: 10px;
color: white;
font-weight: bold;
&:hover {
background-color: #333;
}
}
}
/* 广告位 */
.ads {
margin-top: 30px;
.ad {
display: block;
box-sizing: border-box;
margin-bottom: 24px;
width: 290px;
img {
display: block;
width: 100%;
}
}
}
/* 资讯 */
.msg-content {
padding: 24px 0;
border-bottom: 1px solid #ccc;
position: relative;
.content {
height: 80px;
line-height: 24px;
}
.iconfont {
color: #ccc;
}
.msg-img {
position: relative;
float: left;
margin-right: 26px;
img {
display: block;
width: 360px;
height: 240px;
}
img.square {
height: 360px;
}
}
.classification {
position: absolute;
background-color: #000;
color: #fff;
text-align: center;
width: 80px;
height: 32px;
line-height: 32px;
font-size: 13px;
opacity: 0.9;
z-index: 99;
}
.video-icon {
position: absolute;
top: 50%;
left: 50%;
width: 54px;
height: 54px;
margin-top: -27px;
margin-left: -27px;
background: resolve("guang/isVideo.png") no-repeat;
background-size: 100% 100%;
z-index: 120;
}
.type-icon {
position: absolute;
top: 0;
left: 66px;
height: 32px;
width: 32px;
background: resolve("guang/msg-reco.png") no-repeat;
background-size: 100% 100%;
z-index: 100;
&.fashion-man {
background: resolve("guang/fashion-man.png") no-repeat;
}
}
.msg-info {
float: left;
width: 440px;
}
.msg-title {
display: block;
font-size: 22px;
color: #333;
line-height: 30px;
max-height: 64px;
&:hover {
color: #c30;
}
}
.content {
font-size: 14px;
color: #666;
}
.msg-app {
line-height: 34px;
color: #999;
font-size: 13px;
}
.author {
display: block;
float: left;
color: #333;
margin-right: 22px;
max-width: 180px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&:hover {
color: #c30;
}
}
.publish-time,
.page-view {
color: #999;
}
.publish-time {
margin-right: 30px;
}
.tags,
.like-comment {
position: absolute;
bottom: 24px;
font-size: 12px;
&.tags {
left: 386px;
max-width: 350px;
height: 20px;
overflow: hidden;
}
&.like-comment {
right: 0;
color: #999;
}
.like {
margin-right: 10px;
&:hover * {
color: #000;
}
}
.like-icon {
cursor: pointer;
&.liked {
color: #000;
}
}
}
.msg-tag {
display: inline-block;
text-align: center;
height: 20px;
line-height: 20px;
padding: 0 10px;
margin-right: 10px;
background-color: #ccc;
color: #fff;
&:last-child {
margin-right: 0;
}
&:hover {
background-color: #333;
}
}
}
.pager {
font-size: 12px;
a {
height: 24px;
padding: 0 9px;
line-height: 24px;
display: inline-block;
text-align: center;
margin-right: 8px;
color: #222;
&.cur {
background-color: #222;
color: #fff;
}
}
}
}
/* stylelint-disable */
@import "base";
@import "home";
@import "detail";
@import "list";
@import "../variables";
/* stylelint-enable */
\ No newline at end of file
... ...
.help-page {
.center-content {
width: 990px;
}
.home-icon {
font-size: 16px;
}
.red {
color: #ce021b;
margin: 0 5px;
}
.foot-pager {
border-top: none;
width: 740px;
margin: 0 auto;
padding-bottom: 10px;
}
.help-navigation {
width: 163px;
background: #fff;
margin-bottom: 20px;
.title {
width: 100%;
height: 54px;
background: #eaeaea;
padding-left: 20px;
line-height: 54px;
font-size: 18px;
box-sizing: border-box;
}
.nav {
background: #fbfbfb;
li {
cursor: pointer;
padding-left: 20px;
width: 100%;
box-sizing: border-box;
}
.icon {
cursor: pointer;
margin-right: 10px;
height: 13px;
width: 13px;
display: inline-block;
position: relative;
top: 1px;
}
.plus {
background-image: resolve("help/plus.png");
}
.minus {
background-image: resolve("help/minus.png");
}
.mult {
margin-right: 26px;
height: 14px;
width: 14px;
}
li.selected > a {
color: #ce021b;
}
}
.big-category {
height: 59px;
line-height: 59px;
font-size: 16px;
border-top: 1px solid #e8e8e8;
}
.smll-category {
display: none;
height: 16px;
line-height: 16px;
margin-bottom: 14px;
font-size: 14px;
a {
color: #6b6b6b;
}
}
}
.help-main {
width: 785px;
margin: 0 0 60px 40px;
border: 1px solid #e0e0e0;
padding-bottom: 20px;
}
.problem-box {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
line-height: calc(100vh);
text-align: center;
display: none;
.mark {
background: #000;
opacity: 0.5;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 1;
cursor: pointer;
}
.problem-area {
min-width: 345px;
max-width: 610px;
max-height: 380px;
position: relative;
z-index: 2;
vertical-align: middle;
display: inline-block;
line-height: 24px;
text-align: left;
border: 5px solid rgba(0, 0, 0, 0.4);
}
.problem-cont {
max-width: 610px;
max-height: 380px;
background: #fff;
}
.cont-area {
margin: 0 auto;
padding: 53px 18px 53px 45px;
}
.a-area,
.q-area {
position: relative;
font-size: 14px;
color: #444;
min-height: 20px;
margin-top: 15px;
padding-left: 30px;
&:before {
content: "";
width: 18px;
height: 18px;
display: block;
position: absolute;
left: 0;
top: 2px;
}
}
.a-area {
margin-top: 10px;
font-size: 18px;
color: #000;
}
.q-area {
line-height: 24px;
max-height: 210px;
overflow-y: auto;
overflow-x: hidden;
img {
max-width: 100%;
}
}
.a-area:before {
background: url("/help/q.png") no-repeat;
}
.q-area:before {
background: url("/help/a.png") no-repeat;
}
.iconfont {
position: absolute;
right: 28px;
top: 21px;
cursor: pointer;
font-size: 30px;
z-index: 4;
}
}
::-webkit-scrollbar {
width: 16px;
height: 16px;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
border-radius: 999px;
border: 5px solid transparent;
}
::-webkit-scrollbar-track {
box-shadow: 0 0 6px rgba(0, 0, 0, 0) inset;
}
::-webkit-scrollbar-thumb {
min-height: 20px;
background-clip: content-box;
box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.3) inset;
}
::-webkit-scrollbar-corner {
background: transparent;
}
}
/* stylelint-disable */
@import "base";
@import "help";
@import "detail";
@import "../variables";
/* stylelint-enable */
\ No newline at end of file
... ...
@import "../common/img-preview";
.comment-me-page {
.btn {
display: inline-block;
... ... @@ -461,6 +463,3 @@
padding-bottom: 0;
}
}
/* stylelint-disable */
@import "../common/img-preview";
/* stylelint-enable */
\ No newline at end of file
... ...
.me-page {
width: 990px;
margin: 0 auto 20px;
.home-path {
height: 40px;
line-height: 40px;
color: #ccc;
font-size: 12px;
.path-icon {
float: left;
display: block;
background: resolve(home/home-icon.png);
width: 15px;
height: 15px;
margin-right: 10px;
margin-top: 11px;
}
a,
span {
color: #666;
}
span {
font-weight: bold;
}
}
.block {
border: 1px solid #dedede;
border-radius: 2px;
}
.me-main .block {
margin-bottom: 10px;
}
.title {
height: 40px;
line-height: 40px;
padding: 0 8px;
background-color: #e3e3e3;
background-position: 10px 12px;
background-repeat: no-repeat;
}
.user-thumb {
text-align: center;
padding: 20px 0;
background: #f8f8f8;
.thumb-bg {
width: 100px;
height: 100px;
padding: 5px 7px 7px 5px;
margin: 0 auto;
background: resolve(home/thumb-bg.png);
}
img,
.default-user-thumb {
width: 100px;
height: 100px;
}
.default-user-thumb {
background: resolve(home/default-thumb.png) no-repeat;
background-size: 100%;
}
}
.home-navigation {
float: left;
width: 180px;
margin-right: 8px;
.ucenter {
background-image: resolve(home/ucenter.png);
}
}
.nav-group .row {
height: 38px;
line-height: 38px;
border-top: 1px solid #e2e2e2;
padding-left: 35px;
color: #666;
background: #f8f8f8;
font-size: 12px;
a {
display: inline-block;
color: #666;
}
&.active {
background: #636363;
a {
color: #fff;
}
}
&.first {
border-top: none;
}
span {
color: #e0012b;
font-weight: bold;
}
.new-count {
text-indent: -9999px;
background: resolve(home/new-ico.gif) no-repeat;
display: inline-block;
width: 30px;
height: 14px;
vertical-align: middle;
}
}
.nav-group li:hover {
background: #fff;
color: #000;
}
.nav-group .nav-title {
font-size: 14px;
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
color: #333;
background: #e6e6e6;
padding-left: 0;
.title-icon {
float: left;
display: block;
width: 15px;
height: 15px;
background: resolve(home/pre-title.png);
margin: 10px 10px 0;
}
}
.me-main {
float: left;
width: 800px;
}
.me-pager {
width: 778px;
height: 22px;
line-height: 22px;
background: #f3f3f3;
border-top: 1px solid #e3e3e3;
padding: 10px;
font-size: 12px;
color: #666;
.check-all {
margin: 0;
vertical-align: text-top;
margin-right: 5px;
}
.del-checked {
cursor: pointer;
margin-left: 5px;
&:hover {
color: #468fa2;
text-decoration: underline;
}
}
a {
border: 1px solid #cecece;
padding: 0 6px;
height: 18px;
line-height: 18px;
border-radius: 2px;
margin-right: 4px;
background-color: #fff;
&:hover,
&.cur {
background-color: #222;
color: #fff;
}
}
.pager-html {
display: inline;
}
}
.help-us {
height: 20px;
line-height: 20px;
font-size: 12px;
a {
color: #468fa2;
}
.help-us-icon {
display: inline-block;
width: 12px;
height: 12px;
margin-right: 8px;
vertical-align: middle;
background: resolve(home/help-us.png);
}
}
.help-us-txt {
vertical-align: middle;
}
.empty-tip {
padding: 200px 0;
text-align: center;
overflow: hidden;
}
.tabs {
height: 25px;
margin: 10px;
background: resolve(home/tab.png) repeat-x 0 -25px;
font-size: 12px;
line-height: 25px;
padding-left: 10px;
li {
display: block;
float: left;
width: 88px;
height: 25px;
text-align: center;
background: resolve(home/tab.png) no-repeat -92px 0;
margin-right: 3px;
color: #333;
&.active {
background-position: 0 0;
font-weight: bold;
}
}
a {
display: block;
width: 100%;
height: 100%;
}
}
.table-header {
height: 30px;
line-height: 30px;
background: #efefef;
border: 1px solid #e6e6e6;
padding: 0 10px;
> span {
display: block;
float: left;
text-align: center;
}
}
.freebie-tag,
.advance-buy-tag,
.virtual-good-tag,
.presall-tag {
display: block;
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 15px;
line-height: 16px;
text-align: center;
color: #fff;
}
.freebie-tag {
background: #88be51;
}
.advance-buy-tag {
background: #fc1264;
}
.virtual-good-tag,
.presall-tag {
background: #333;
}
.swindle-info {
margin: 10px;
padding: 10px;
font-size: 12px;
background-color: #faf6da;
color: #444;
span {
color: #cd0c25;
}
}
}
/* stylelint-disable */
@import "base";
@import "default";
@import "order-block";
@import "orders";
... ... @@ -335,4 +22,3 @@
@import "../variables";
@import "returns-detail";
@import "returns-save";
/* stylelint-enable */
\ No newline at end of file
... ...
@import "goods_type";
.apply-returns-page {
font-size: 12px;
... ... @@ -636,6 +638,3 @@
@mixin special-limit-day-box 35, 30, 31;
}
}
/* stylelint-disable */
@import "goods_type";
/* stylelint-enable */
\ No newline at end of file
... ...
.passport-page {
margin-right: auto;
margin-left: auto;
width: 1150px;
.content {
float: left;
margin-top: 107px;
padding-left: 85px;
}
.input {
width: 268px;
height: 43px;
border: 1px solid #dbdbdb;
color: #9a9a9a;
color: rgba(0, 0, 0, 0.5);
text-indent: 10px;
font-size: 16px;
line-height: 1.2;
line-height: 43px\9;
}
.error {
border-color: #f00 !important;
}
.btn {
display: block;
width: 100%;
height: 46px;
background-color: #ff1901;
color: #fff;
text-align: center;
letter-spacing: 10px;
font-size: 20px;
line-height: 46px;
cursor: pointer;
&.disable {
background-color: #555;
cursor: default;
}
}
.pwd-intensity-container {
padding-top: 5px;
width: 270px;
text-align: right;
&.red {
.pwd-intensity {
color: #e01;
}
.color {
background: #e01;
color: #fff;
}
}
&.yellow {
.pwd-intensity {
color: #f6da1e;
}
.color {
background: #f6da1e;
color: #fff;
}
}
&.green {
.pwd-intensity {
color: #3ee392;
}
.color {
background: #3ee392;
color: #fff;
}
}
.pwd-intensity {
padding: 0 10px;
height: 15px;
background-color: #e8e8e8;
color: #b9b9b9;
text-align: center;
font-size: 12px;
}
}
.pwd-tips {
position: absolute;
top: -10px;
left: 285px;
padding-top: 7px;
width: 160px !important;
height: 72px;
background: url(/passport/tip/block.png) no-repeat;
font-size: 12px;
> div {
position: relative;
margin-left: 15px;
padding-left: 15px;
height: 22px;
color: #b9b9b9;
font-size: 12px;
line-height: 22px;
i {
position: absolute;
top: 50%;
left: -2px;
margin: -7px 0 0;
width: 14px;
height: 14px;
background: url(/passport/tip/info.png) no-repeat;
}
&.no {
color: red;
i {
background: url(/passport/tip/error.png) no-repeat;
}
}
&.yes i {
background: url(/passport/tip/success.png) no-repeat;
}
}
}
.email-autocomplete {
position: absolute;
z-index: 1;
margin-top: 5px;
padding: 0 10px;
width: 248px;
border: 1px solid #fefefe;
border-radius: 5px;
background-color: #161616;
color: #fff;
font-size: 16px;
cursor: pointer;
li {
height: 24px;
line-height: 24px;
}
}
.err-tip {
position: absolute;
top: 8px;
left: 285px;
padding: 6px 0;
color: #f00;
white-space: nowrap;
font-size: 14px;
i {
display: block;
float: left;
margin-right: 5px;
width: 14px;
height: 14px;
background: url(/passport/tip/error.png) no-repeat;
}
a {
color: #f00;
text-decoration: underline;
}
}
/* 完善信息提示框 */
.page-tip {
display: block;
clear: both;
margin-bottom: 15px;
width: 100%;
height: 30px;
color: #ccc;
text-align: center;
font-weight: bold;
font-size: 20px;
line-height: 30px;
}
}
.passport-cover {
float: left;
margin: 107px 0;
width: 575px;
.cover-content {
padding: 50px 0;
width: 100%;
height: 318px;
border-right: 1px solid #dfdfdf;
}
.cover-img {
display: block;
margin: 0 auto;
margin-top: 50px;
width: 252px;
height: 190px;
}
}
/* stylelint-disable */
@import "base";
@import "login";
@import "register";
@import "back";
... ... @@ -221,4 +7,3 @@
@import "third";
@import "_bind-tip.css";
@import "../variables";
/* stylelint-enable */
\ No newline at end of file
... ...
.outlets-page {
.center-content {
width: 1150px !important;
}
.column-img-tab {
margin-top: 15px;
li {
width: 380px;
max-height: 178px;
margin-left: 5px;
float: left;
overflow: hidden;
}
li:first-child {
margin-left: 0;
}
img {
width: 100%;
}
}
.limited-buy {
.limit-list {
width: 65%;
}
.limit-item {
height: 260px;
margin-top: 15px;
overflow: hidden;
img {
width: 76%;
height: 100%;
float: right;
}
.item-info {
width: 24%;
height: 100%;
color: #585858;
font-size: 14px;
background-color: #f5f5f5;
position: relative;
text-align: center;
z-index: 1;
}
.item-info > a {
width: 100%;
height: 100%;
display: block;
}
.logo-img {
width: 140px;
height: auto;
margin: 25px 0 40px;
float: none;
}
.discount {
font-size: 20px;
font-weight: bold;
}
i {
font-style: italic;
color: #fe575d;
font-size: 30px;
margin-right: 10px;
}
.title {
font-size: 16px;
margin: 28px 0 14px;
padding: 0 8px;
font-weight: bold;
}
.time {
color: #585858;
}
}
.limit-item:first-child {
margin-top: 0;
}
}
.limit-extra {
width: 33%;
.source-img {
display: block;
margin-bottom: 15px;
}
.type-list {
padding: 15px 10px;
li {
width: 27%;
margin-left: 4%;
line-height: 40px;
display: inline-block;
text-align: center;
}
}
.brand-list {
width: 1135px;
max-height: 273px;
overflow: hidden;
.list-page {
width: 378px;
max-height: 918px;
overflow: hidden;
display: inline-block;
vertical-align: top;
}
.brand-item {
width: 125px;
height: 90px;
float: left;
border: 1px solid #ccc;
margin-top: -1px;
margin-left: -1px;
text-align: center;
}
.brand-item img {
width: 90%;
margin-top: 19px;
}
}
.brand-page-btns {
margin-top: 10px;
}
.good-list {
width: 300%;
.list-page {
width: 33.33%;
max-height: 918px;
overflow: hidden;
display: inline-block;
vertical-align: top;
}
.good-item {
padding: 15px;
}
.good-item > a {
width: 90px;
height: 120px;
display: inline-block;
}
.good-item > img {
width: 100%;
height: 100%;
}
}
.item-text {
width: 64%;
padding-right: 10px;
padding-top: 5px;
float: right;
a {
line-height: 26px;
color: #555;
margin: 5px 0 20px;
}
.price {
margin-top: 20px;
}
.sale-price {
color: #ec0011;
margin-right: 8px;
}
.market-price {
margin-right: 15px;
text-decoration: line-through;
}
.discount {
font-size: 12px;
line-height: 22px;
color: #fff;
padding: 0 10px 0 20px;
background: resolve("product/discount-tag.png") no-repeat;
display: inline-block;
}
}
.page-btns {
text-align: center;
padding-bottom: 10px;
display: none;
label {
width: 40px;
height: 40px;
line-height: 40px;
color: #fff;
background-color: #000;
text-align: center;
display: inline-block;
cursor: pointer;
font-size: 26px;
}
label:first-child {
margin-right: 20px;
}
}
}
.extra-pack {
margin-bottom: 15px;
border: 1px solid #000;
overflow: hidden;
.extra-title {
height: 34px;
line-height: 34px;
background-color: #000;
color: #fff;
font-size: 18px;
text-align: center;
}
}
.near-over {
width: 1170px;
margin-top: -20px;
.activity-list {
margin-top: -20px;
}
li {
float: left;
margin-right: 20px;
margin-top: 20px;
& > a {
width: 565px;
height: 263px;
display: block;
}
}
.item-info {
height: 80px;
border: 1px solid #000;
border-top: 0;
margin-top: -3px;
}
.brand-logo {
width: 120px;
float: right;
margin-top: 14px;
margin-right: 8px;
}
.activity-info {
width: 380px;
padding: 10px 20px;
p {
color: #585858;
font-size: 16px;
}
p:first-child {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
color: #000;
}
i {
font-style: italic;
color: #fe575d;
font-size: 30px;
margin-right: 10px;
}
.title {
max-width: 250px;
color: #3a3a3a;
font-size: 16px;
margin-left: 20px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
vertical-align: bottom;
}
}
}
.sort-layer {
height: 48px;
.full-line {
width: 100%;
background: #f5f7f6;
position: absolute;
left: 0;
}
.fixed {
position: fixed;
top: 0;
z-index: 1010;
opacity: 0.9;
}
.sort-pager {
width: 1150px;
margin: 0 auto;
}
}
.main-banner {
height: 450px;
position: relative;
.slide-wrapper {
height: 100%;
}
ul {
width: 100%;
height: 100%;
position: relative;
}
li {
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
left: 0;
}
li > a {
width: 100%;
height: 100%;
display: block;
}
.slide-switch {
position: relative;
width: 1150px;
left: 50%;
margin-left: -575px;
top: -225px;
display: block;
}
.slide-shade {
display: none;
}
}
}
/* stylelint-disable */
@import "base";
@import "channel";
@import "special";
@import "main-product";
/* stylelint-enable */
... ...
.center-content {
width: 1150px;
margin-left: auto;
margin-right: auto;
}
.sale-page {
margin-top: 10px;
.slide-container {
position: relative;
height: 450px;
ul {
width: 100%;
height: 100%;
position: relative;
}
li {
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
left: 0;
}
li > a {
width: 100%;
height: 100%;
display: block;
}
.slide-wrapper {
height: 100%;
}
.slide-switch {
position: relative;
width: 1150px;
left: 50%;
margin-left: -575px;
top: -225px;
display: block;
}
}
/*
大banner圆点
*/
.slide-pagination {
font-size: 0;
.slide-shade {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background: #000;
opacity: 0.3;
border-radius: 13px;
}
span {
position: relative;
display: inline-block;
margin: 0 7px;
width: 12px;
height: 12px;
background: #fff;
cursor: pointer;
opacity: 0.6;
border-radius: 6px;
z-index: 2;
&.focus {
opacity: 1;
}
}
}
.activity-entry {
margin: 10px 0;
width: 1150px;
.entry-item {
display: block;
margin-right: 10px;
background: #f5f5f5;
&.last {
margin-right: 0;
}
}
.entry-text {
padding-left: 160px;
font-size: 16px;
}
.icon {
width: 70px;
height: 70px;
margin-left: 48px;
background-repeat: no-repeat;
}
.title {
font-size: 30px;
font-weight: bold;
line-height: 48px;
}
}
.floor-title {
margin: 80px auto 40px;
width: 300px;
font-size: 16px;
line-height: 30px;
text-align: center;
border: 1px solid #000;
}
.brand-sale {
.sale-group-big {
width: 1150px + 10px;
.item {
width: 375px;
margin-right: 8px;
margin-bottom: 10px;
}
.pic {
position: relative;
height: 375px;
}
.time {
@include box-sizing(border-box);
position: absolute;
left: 0;
bottom: 0;
opacity: 0.7;
width: 100%;
letter-spacing: 1px;
font-size: 16px;
line-height: 30px;
text-align: right;
color: #fff;
background: #4e4e4e;
span {
margin-right: 10px;
}
}
.time-span {
margin-right: 20px;
}
.detail {
background: #f5f5f5;
}
.brand {
margin: 10px;
}
.text {
padding: 24px 10px 48px 0;
font-size: 16px;
padding-bottom: 20px;
color: #fd5659;
}
.discount {
font-size: 28px;
font-weight: bold;
text-align: right;
margin-right: 20px;
max-width: 220px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
.num {
font-size: 38px;
max-width: 120px;
overflow: hidden;
}
}
.active-name {
font-size: 15px;
font-weight: bold;
text-align: center;
margin-top: 10px;
}
.title {
font-size: 14px;
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
}
}
.sale-group {
width: 1150px + 8px;
.item {
width: 183px;
margin-right: 8px;
margin-bottom: 10px;
}
.pic {
width: 100%;
display: block;
}
.detail {
padding: 14px 10px;
background: #f5f5f5;
text-align: center;
line-height: 20px;
}
.title {
height: 20px;
width: auto;
font-size: 10px;
line-height: 20px;
font-weight: 500;
text-align: center;
max-width: 200px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
span {
font-size: 18px;
color: #ff0705;
display: inline-block;
}
}
.time {
font-size: 13px;
font-weight: 600;
}
}
}
.sale-nav {
display: inline-block;
width: 100%;
height: 40px;
background-color: #f5f5f5;
}
li {
cursor: pointer;
float: left;
width: 20%;
height: 40px;
line-height: 40px;
text-align: center;
background-color: #f5f5f5;
color: #6d6d6d;
margin-bottom: 10px;
&.active {
color: #fff;
background-repeat: no-repeat;
background-size: 100% 100%;
}
&.green {
&.active {
color: #fff;
background-image: resolve("sale/navactive-green-middle.png");
background-repeat: no-repeat;
background-size: 100% 100%;
}
&.first.active {
background-image: resolve("sale/navactive-green-first.png");
}
&.last.active {
background-image: resolve("sale/navactive-green-last.png");
}
}
&.yellow {
&.active {
color: #fff;
background-image: resolve("sale/navactive-yellow-middle.png");
background-repeat: no-repeat;
background-size: 100% 100%;
}
&.first.active {
background-image: resolve("sale/navactive-yellow-first.png");
}
&.last.active {
background-image: resolve("sale/navactive-yellow-last.png");
}
}
&.red {
&.active {
color: #fff;
background-image: resolve("sale/navactive-red-middle.png");
background-repeat: no-repeat;
background-size: 100% 100%;
}
&.first.active {
background-image: resolve("sale/navactive-red-first.png");
}
&.last.active {
background-image: resolve("sale/navactive-red-last.png");
}
}
}
@media screen and (min-width: 1150px) {
.floor-header {
margin: 80px 0 40px;
.header-navs li {
padding: 1px 15px;
}
}
}
.commodity-list ul {
width: 1004px;
}
.commodity-item {
float: left;
width: 241px;
margin: 0 10px 0 0;
}
.commodity-img {
position: relative;
height: 323px;
text-align: center;
img {
width: 100%;
height: 100%;
vertical-align: middle;
}
.top-tag {
position: absolute;
width: 60px;
height: 60px;
top: 10px;
right: 10px;
line-height: 60px;
font-size: 20px;
color: #fff;
}
.few-tag {
position: absolute;
bottom: 0;
width: 100%;
height: 20px;
background: #ffac5b;
color: #fff;
line-height: 20px;
text-align: center;
font-size: 12px;
}
}
.commodity-content {
padding-top: 10px;
height: 69px;
overflow: hidden;
.commodity-name {
font-size: 12px;
color: #000;
line-height: 18px;
text-align: center;
}
.commodity-price {
position: relative;
margin-top: 3px;
text-align: center;
line-height: 20px;
color: #000;
span {
display: inline-block;
*display: inline;
*zoom: 1;
font-size: 12px;
padding: 0 15px;
&.origin {
text-decoration: line-through;
}
}
strong {
font-weight: normal;
color: #565656;
font-size: 13px;
}
}
}
@media screen and (min-width: 1150px) {
.commodity-list ul {
width: 1160px;
}
.commodity-item {
width: 280px;
}
.commodity-img {
height: 374px;
}
.commodity-content {
padding-top: 14px;
height: 77px;
}
}
.good-info {
.good-detail-text {
> a {
margin-top: 16px;
line-height: 1.5;
display: block;
text-align: center;
font-weight: 600;
@mixin ellipsis ;
}
> .price {
margin-top: 5px;
text-align: center;
font-weight: bold;
}
.brand {
display: none;
}
.market-price {
text-decoration: line-through;
margin-left: 30px;
color: #444;
font-weight: bold;
}
}
}
.sale-vip-box {
.good-info {
width: 280px;
height: 380px;
margin-right: 10px;
float: left;
margin-bottom: 100px;
}
.good-detail-img {
height: 100%;
}
.good-detail-text {
> a {
margin-top: 16px;
line-height: 1.5;
display: block;
text-align: center;
font-weight: 600;
@mixin ellipsis ;
}
> .price {
margin-top: 5px;
text-align: center;
font-weight: bold;
}
.brand {
display: none;
}
.market-price {
text-decoration: line-through;
color: #444;
font-weight: bold;
}
.vip-span {
background-repeat: no-repeat;
background-size: 100% 100%;
line-height: 20px;
color: #fff;
font-style: italic;
margin-right: 5px;
margin-left: 10px;
margin-bottom: -3px;
padding-right: 5px;
padding-left: 5px;
display: inline-block;
}
.vip-tag {
background-image: resolve("sale/vip.png");
margin-left: 30px;
width: 20px;
height: 15px;
line-height: 16px;
padding-right: 7px;
}
.vip-1 {
background-image: resolve("product/silver.png");
margin-left: 30px;
width: 16px;
height: 16px;
}
.vip-2 {
background-image: resolve("product/golden.png");
margin-left: 30px;
width: 16px;
height: 16px;
}
.vip-3 {
background-image: resolve("product/platinum.png");
margin-left: 30px;
width: 16px;
height: 16px;
}
}
}
}
.sale-discount-page {
.sale-title {
margin: 30px 0;
font-size: 12px;
line-height: 26px;
.title {
margin-right: 20px;
font-size: 16px;
}
.discount {
display: inline-block;
margin-right: 10px;
padding: 0 10px;
height: 25px;
vertical-align: center;
font-weight: lighter;
line-height: 25px;
color: #fff;
background: #ff575c;
}
.time {
.iconfont {
margin-right: 5px;
}
}
}
.sort {
padding: 10px;
border: 1px solid #eaeceb;
li {
display: inline-block;
margin-right: 15px;
padding: 0 10px;
font-size: 12px;
line-height: 20px;
color: #444;
&.title {
margin-right: 0;
font-weight: bold;
}
&.active {
color: #666;
border: 1px solid #000;
}
}
}
.pager {
float: right;
}
.good-info {
.good-detail-text {
> .price {
margin-top: 5px;
text-align: left;
font-weight: bold;
position: relative;
}
.brand {
display: none;
}
.sale-price {
margin-left: 20px;
}
.market-price {
text-decoration: line-through;
margin-left: 5px;
margin-right: 0;
color: #444;
font-weight: bold;
}
strong {
font-weight: normal;
color: #565656;
font-size: 13px;
float: left;
}
.vip-span {
background-repeat: no-repeat;
background-size: 100% 100%;
line-height: 20px;
color: #fff;
font-style: italic;
margin-right: 5px;
margin-left: 10px;
padding-right: 5px;
padding-left: 5px;
float: left;
}
.vip-tag {
background-image: resolve("sale/vip.png");
width: 20px;
height: 15px;
}
.vip-1 {
background-image: resolve("product/silver.png");
width: 18px;
height: 16px;
}
.vip-2 {
background-image: resolve("product/golden.png");
width: 18px;
height: 16px;
}
.vip-3 {
background-image: resolve("product/platinum.png");
width: 18px;
height: 16px;
margin-bottom: 1px;
}
}
}
}
/* stylelint-disable */
@import "base";
@import "new-sale";
@import "special";
/* stylelint-enable */
\ No newline at end of file
... ...