Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hongweigao
8 years ago
Commit
057b2dcd807b5c738a905ce18e77be91e73d9fda
1 parent
5beb5439
新品到着页面
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
994 additions
and
11 deletions
apps/product/models/newArrive-service.js
apps/product/views/action/list/new-arrive.hbs
config/common.js
package.json
public/js/product/newArrive.page.js
public/scss/common/_swiper.css
public/scss/product/_new-arrive.css
apps/product/models/newArrive-service.js
View file @
057b2dc
...
...
@@ -49,11 +49,61 @@ const index = (channel) => {
url
:
'http://www.yohobuy.com/special/674_NEWS.html'
}
];
respData
.
recommond
=
{
name
:
'为您推荐'
}
name
:
'为您推荐'
,
dataList
:
[{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/01e5494e8bbf99060c8039d83e6528bc3d.jpg'
},{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/0199c48ea974bfca2aad51de2be0c656b5.jpg'
},{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/01e5494e8bbf99060c8039d83e6528bc3d.jpg'
},{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/0199c48ea974bfca2aad51de2be0c656b5.jpg'
},{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/01e5494e8bbf99060c8039d83e6528bc3d.jpg'
},
{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/0199c48ea974bfca2aad51de2be0c656b5.jpg'
},
{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/01e5494e8bbf99060c8039d83e6528bc3d.jpg'
},
{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/01e5494e8bbf99060c8039d83e6528bc3d.jpg'
},{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/0199c48ea974bfca2aad51de2be0c656b5.jpg'
},{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/01e5494e8bbf99060c8039d83e6528bc3d.jpg'
},{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/0199c48ea974bfca2aad51de2be0c656b5.jpg'
},{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/01e5494e8bbf99060c8039d83e6528bc3d.jpg'
},
{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/0199c48ea974bfca2aad51de2be0c656b5.jpg'
},
{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/01e5494e8bbf99060c8039d83e6528bc3d.jpg'
}]
};
respData
.
newBrand
=
{
name
:
'新品牌入驻'
,
brandList
:
[{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/01e5494e8bbf99060c8039d83e6528bc3d.jpg'
},{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/0199c48ea974bfca2aad51de2be0c656b5.jpg'
},{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/01e5494e8bbf99060c8039d83e6528bc3d.jpg'
},{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/0199c48ea974bfca2aad51de2be0c656b5.jpg'
},{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/01e5494e8bbf99060c8039d83e6528bc3d.jpg'
},
{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/0199c48ea974bfca2aad51de2be0c656b5.jpg'
},
{
src
:
'//img11.static.yhbimg.com/yhb-img01/2016/12/30/17/01e5494e8bbf99060c8039d83e6528bc3d.jpg'
}]
};
respData
.
newProduct
=
{
name
:
'最新上架'
}
};
respData
.
firstLook
=
{
name
:
'精彩抢先看'
};
return
respData
;
});
};
...
...
apps/product/views/action/list/new-arrive.hbs
View file @
057b2dc
...
...
@@ -7,9 +7,67 @@
{{/
slide
}}
{{#
recommond
}}
<div
class=
"recommond-floor"
>
{{>
common
/
floor-header
}}
{{>
common
/
floor-header
}}
<div
class=
"swiper-container new-arrival-swiper"
>
<div
class=
"swiper-wrapper"
>
{{#
dataList
}}
<div
class=
"swiper-slide"
>
<a
class=
"rec-pro"
href=
""
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"
{{
image
src
185
86
}}
"
style=
"display: block; opacity: 1;"
>
<p
class=
"new-num"
>
上新
<span>
14
</span>
款
</p>
</a>
<a
class=
"rec-pro"
href=
""
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"
{{
image
src
185
86
}}
"
style=
"display: block; opacity: 1;"
>
<p
class=
"new-num"
>
上新
<span>
14
</span>
款
</p>
</a>
</div>
{{/
dataList
}}
</div>
<!-- 如果需要导航按钮 -->
<div
class=
"swiper-button-prev"
></div>
<div
class=
"swiper-button-next"
></div>
</div>
</div>
{{/
recommond
}}
{{#
newBrand
}}
<div
class=
"newBrand-floor"
>
{{>
common
/
floor-header
}}
<div
class=
"swiper-container new-arrival-swiper"
>
<div
class=
"swiper-wrapper"
>
{{#
brandList
}}
<div
class=
"swiper-slide"
>
<a
class=
""
href=
""
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"
{{
image
src
185
86
}}
"
style=
"display: block; opacity: 1;"
>
</a>
</div>
{{/
brandList
}}
</div>
<!-- 如果需要导航按钮 -->
<div
class=
"swiper-button-prev"
></div>
<div
class=
"swiper-button-next"
></div>
</div>
</div>
{{/
newBrand
}}
{{#
firstLook
}}
<div
class=
"firstLook-floor clearfix"
>
{{>
common
/
floor-header
}}
<div
class=
"left-one"
>
<a
class=
"first-left-img"
href=
""
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
src=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
style=
"display: block; opacity: 1;"
>
</a>
</div>
<div
class=
"right-two"
>
<a
class=
"first-right-img"
href=
""
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
src=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
style=
"display: block; opacity: 1;"
>
</a>
<a
class=
"first-right-img"
href=
""
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
src=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
style=
"display: block; opacity: 1;"
>
</a>
</div>
</div>
{{/
firstLook
}}
{{#
newProduct
}}
<div
class=
"newProduct-floor"
>
{{>
common
/
floor-header
}}
...
...
@@ -39,6 +97,90 @@
<a
target=
"_blank"
href=
"
{{
url
}}
"
>
MORE
</a>
</div>
</div>
<div
class=
"new-arrive-list clearfix"
>
<div
class=
"good-info imgopacity"
data-skn=
""
>
<div
class=
"list-top-img"
>
<img
class=
"lazy"
data-original=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
src=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
style=
"display: block; opacity: 1;"
>
</div>
<ul
class=
"list-box clearfix"
>
<li><a>
夹克
</a></li>
<li><a>
夹克
</a></li>
<li><a>
夹克
</a></li>
<li><a>
夹克
</a></li>
<li><a>
夹克
</a></li>
<li><a>
夹克
</a></li>
<li><a>
夹克
</a></li>
<li><a>
夹克
</a></li>
</ul>
</div>
<div
class=
"good-info imgopacity"
data-skn=
""
>
<div
class=
"good-detail-img"
>
<a
class=
"good-thumb"
href=
""
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
src=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
style=
"display: block; opacity: 1;"
>
</a>
</div>
<div
class=
"good-detail-text"
>
<a
href=
""
target=
"_blank"
>
Preppy Elite 简约连帽棉衣【两色可选】
</a>
<p
class=
"price"
>
<span
class=
"sale-priceprime-cost"
>
¥379.00
</span>
</p>
</div>
</div>
<div
class=
"good-info imgopacity"
data-skn=
""
>
<div
class=
"brand-box"
>
<div
class=
"logo-wrap"
>
<img
class=
"lazy"
data-original=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
src=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
style=
"display: block; opacity: 1;"
>
</div>
<div
class=
"brand-info clearfix"
>
<p
class=
"num-info"
>
上新
<span>
11
</span>
件
<span>
1122
</span>
人收藏
</p>
<span
class=
"btn-tag tag-col pull-left"
>
<i
class=
"iconfont"
>

</i>
<em>
已收藏
</em>
</span>
<span
class=
"btn-tag tag-home pull-right"
>
<i
class=
"iconfont"
>

</i>
<em>
进入店铺
</em>
</span>
</div>
</div>
</div>
<div
class=
"good-info imgopacity"
data-skn=
""
>
<div
class=
"good-detail-img"
>
<a
class=
"good-thumb"
href=
""
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
src=
"//img13.static.yhbimg.com/goodsimg/2016/11/08/16/0209f4293037c2c5ca85bf67991b691c9a.jpg?imageMogr2/thumbnail/280x373/extent/280x373/background/d2hpdGU=/position/center/quality/90"
style=
"display: block; opacity: 1;"
>
</a>
</div>
<!--<p class="ka-name">STUSSY</p>-->
<div
class=
"good-detail-text ka-detail-text"
>
<a
href=
""
target=
"_blank"
>
Preppy Elite 简约连帽棉衣【两色可选】
</a>
<p
class=
"price"
>
<span
class=
"sale-priceprime-cost"
>
¥379.00
</span>
</p>
</div>
</div>
<div
class=
"good-info imgopacity"
data-skn=
""
>
<div
class=
"guang-box"
>
<div
class=
"classification"
>
潮品
</div>
<div
class=
"type-icon fashion-good"
></div>
<a
class=
"guang-img"
href=
"//guang.yohobuy.com/62007.html?channel=boys"
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"//img12.static.yhbimg.com/article/2016/12/30/12/024b324e2058a9343edf3567ebe5271743.jpg?imageView2/1/w/360/h/240/q/90"
src=
"//img12.static.yhbimg.com/article/2016/12/30/12/024b324e2058a9343edf3567ebe5271743.jpg?imageView2/1/w/360/h/240/q/90"
style=
"display: block;"
>
</a>
<div
class=
"msg-info"
>
<a
class=
"msg-title"
href=
"//guang.yohobuy.com/62007.html?channel=boys"
target=
"_blank"
style=
"word-wrap: break-word;"
>
电影[侠盗一号]还没上映??!幸好我有头顶会冒烟的黑武士!!
</a>
<p
class=
"msg-app"
>
<span
class=
"publish-time"
>
<i
class=
"iconfont"
>
</i>
2017年01月03日 15:10
</span>
<span
class=
"page-view"
>
<i
class=
"iconfont"
>
</i>
<em>
68
</em>
</span>
</p>
</div>
</div>
</div>
</div>
</div>
{{/
newProduct
}}
</div>
...
...
config/common.js
View file @
057b2dc
...
...
@@ -18,11 +18,11 @@ module.exports = {
domains
:
{
favApi
:
'http://192.168.102.31:8092/brower'
,
// api: 'http://api-test3.yohops.com:9999/',
// service: 'http://service-test3.yohops.com:9999/',
//
api
:
'http://api.yoho.cn/'
,
service
:
'http://service.yoho.cn/'
,
api
:
'http://api-test3.yohops.com:9999/'
,
service
:
'http://service-test3.yohops.com:9999/'
,
// api: 'http://api.yoho.cn/',
// service: 'http://service.yoho.cn/',
// api: 'http://192.168.102.205:8080/gateway/',
// service: 'http://dev-service.yohops.com:9999/',
...
...
package.json
View file @
057b2dc
...
...
@@ -104,11 +104,12 @@
"webpack-stream"
:
"^3.1.0"
,
"yoho-handlebars"
:
"^4.0.5"
,
"yoho-jquery"
:
"^1.12.4"
,
"yoho-jquery-dotdotdot"
:
"0.0.1"
,
"yoho-jquery-lazyload"
:
"^1.9.7"
,
"yoho-jquery-pjax"
:
"0.0.1"
,
"yoho-jquery-placeholder"
:
"^2.3.1"
,
"yoho-jquery-qrcode"
:
"^0.14.0"
,
"yoho-slider"
:
"0.0.2"
,
"yoho-jquery-dotdotdot"
:
"0.0.1"
,
"yoho-jquery-qrcode"
:
"^0.14.0"
"yoho-swiper"
:
"^3.3.1"
}
}
...
...
public/js/product/newArrive.page.js
View file @
057b2dc
...
...
@@ -6,5 +6,14 @@ var $ = require('yoho-jquery'),
require
(
'../common'
);
require
(
'../plugins/slider'
);
require
(
'yoho-swiper'
);
$
(
'.slide-container'
).
slider
();
var
swiper
=
new
Swiper
(
'.swiper-container'
,
{
pagination
:
'.swiper-pagination'
,
slidesPerView
:
6
,
paginationClickable
:
true
,
spaceBetween
:
30
});
lazyLoad
(
$
(
'img.lazy'
));
...
...
public/scss/common/_swiper.css
0 → 100644
View file @
057b2dc
/**
* Swiper 3.3.1
* Most modern mobile touch slider and framework with hardware accelerated transitions
*
* http://www.idangero.us/swiper/
*
* Copyright 2016, Vladimir Kharlampidi
* The iDangero.us
* http://www.idangero.us/
*
* Licensed under MIT
*
* Released on: February 7, 2016
*/
.swiper-container
{
margin
:
0
auto
;
position
:
relative
;
overflow
:
hidden
;
/* Fix of Webkit flickering */
z-index
:
1
;
}
.swiper-container-no-flexbox
.swiper-slide
{
float
:
left
;
}
.swiper-container-vertical
>
.swiper-wrapper
{
-webkit-box-orient
:
vertical
;
-moz-box-orient
:
vertical
;
-ms-flex-direction
:
column
;
-webkit-flex-direction
:
column
;
flex-direction
:
column
;
}
.swiper-wrapper
{
position
:
relative
;
width
:
100%
;
height
:
100%
;
z-index
:
1
;
display
:
-webkit-box
;
display
:
-moz-box
;
display
:
-ms-flexbox
;
display
:
-webkit-flex
;
display
:
flex
;
-webkit-transition-property
:
-webkit-transform
;
-moz-transition-property
:
-moz-transform
;
-o-transition-property
:
-o-transform
;
-ms-transition-property
:
-ms-transform
;
transition-property
:
transform
;
-webkit-box-sizing
:
content-box
;
-moz-box-sizing
:
content-box
;
box-sizing
:
content-box
;
}
.swiper-container-android
.swiper-slide
,
.swiper-wrapper
{
-webkit-transform
:
translate3d
(
0px
,
0
,
0
);
-moz-transform
:
translate3d
(
0px
,
0
,
0
);
-o-transform
:
translate
(
0px
,
0px
);
-ms-transform
:
translate3d
(
0px
,
0
,
0
);
transform
:
translate3d
(
0px
,
0
,
0
);
}
.swiper-container-multirow
>
.swiper-wrapper
{
-webkit-box-lines
:
multiple
;
-moz-box-lines
:
multiple
;
-ms-flex-wrap
:
wrap
;
-webkit-flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
}
.swiper-container-free-mode
>
.swiper-wrapper
{
-webkit-transition-timing-function
:
ease-out
;
-moz-transition-timing-function
:
ease-out
;
-ms-transition-timing-function
:
ease-out
;
-o-transition-timing-function
:
ease-out
;
transition-timing-function
:
ease-out
;
margin
:
0
auto
;
}
.swiper-slide
{
-webkit-flex-shrink
:
0
;
-ms-flex
:
0
0
auto
;
flex-shrink
:
0
;
width
:
100%
;
height
:
100%
;
position
:
relative
;
}
/* Auto Height */
.swiper-container-autoheight
,
.swiper-container-autoheight
.swiper-slide
{
height
:
auto
;
}
.swiper-container-autoheight
.swiper-wrapper
{
-webkit-box-align
:
start
;
-ms-flex-align
:
start
;
-webkit-align-items
:
flex-start
;
align-items
:
flex-start
;
-webkit-transition-property
:
-webkit-transform
,
height
;
-moz-transition-property
:
-moz-transform
;
-o-transition-property
:
-o-transform
;
-ms-transition-property
:
-ms-transform
;
transition-property
:
transform
,
height
;
}
/* a11y */
.swiper-container
.swiper-notification
{
position
:
absolute
;
left
:
0
;
top
:
0
;
pointer-events
:
none
;
opacity
:
0
;
z-index
:
-1000
;
}
/* IE10 Windows Phone 8 Fixes */
.swiper-wp8-horizontal
{
-ms-touch-action
:
pan-y
;
touch-action
:
pan-y
;
}
.swiper-wp8-vertical
{
-ms-touch-action
:
pan-x
;
touch-action
:
pan-x
;
}
/* Arrows */
.swiper-button-prev
,
.swiper-button-next
{
position
:
absolute
;
top
:
50%
;
width
:
27px
;
height
:
44px
;
margin-top
:
-22px
;
z-index
:
10
;
cursor
:
pointer
;
-moz-background-size
:
27px
44px
;
-webkit-background-size
:
27px
44px
;
background-size
:
27px
44px
;
background-position
:
center
;
background-repeat
:
no-repeat
;
}
.swiper-button-prev.swiper-button-disabled
,
.swiper-button-next.swiper-button-disabled
{
opacity
:
0.35
;
cursor
:
auto
;
pointer-events
:
none
;
}
.swiper-button-prev
,
.swiper-container-rtl
.swiper-button-next
{
background-image
:
url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E")
;
left
:
10px
;
right
:
auto
;
}
.swiper-button-prev.swiper-button-black
,
.swiper-container-rtl
.swiper-button-next.swiper-button-black
{
background-image
:
url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")
;
}
.swiper-button-prev.swiper-button-white
,
.swiper-container-rtl
.swiper-button-next.swiper-button-white
{
background-image
:
url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")
;
}
.swiper-button-next
,
.swiper-container-rtl
.swiper-button-prev
{
background-image
:
url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E")
;
right
:
10px
;
left
:
auto
;
}
.swiper-button-next.swiper-button-black
,
.swiper-container-rtl
.swiper-button-prev.swiper-button-black
{
background-image
:
url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")
;
}
.swiper-button-next.swiper-button-white
,
.swiper-container-rtl
.swiper-button-prev.swiper-button-white
{
background-image
:
url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")
;
}
/* Pagination Styles */
.swiper-pagination
{
position
:
absolute
;
text-align
:
center
;
-webkit-transition
:
300ms
;
-moz-transition
:
300ms
;
-o-transition
:
300ms
;
transition
:
300ms
;
-webkit-transform
:
translate3d
(
0
,
0
,
0
);
-ms-transform
:
translate3d
(
0
,
0
,
0
);
-o-transform
:
translate3d
(
0
,
0
,
0
);
transform
:
translate3d
(
0
,
0
,
0
);
z-index
:
10
;
}
.swiper-pagination.swiper-pagination-hidden
{
opacity
:
0
;
}
/* Common Styles */
.swiper-pagination-fraction
,
.swiper-pagination-custom
,
.swiper-container-horizontal
>
.swiper-pagination-bullets
{
bottom
:
10px
;
left
:
0
;
width
:
100%
;
}
/* Bullets */
.swiper-pagination-bullet
{
width
:
8px
;
height
:
8px
;
display
:
inline-block
;
border-radius
:
100%
;
background
:
#000
;
opacity
:
0.2
;
}
button
.swiper-pagination-bullet
{
border
:
none
;
margin
:
0
;
padding
:
0
;
box-shadow
:
none
;
-moz-appearance
:
none
;
-ms-appearance
:
none
;
-webkit-appearance
:
none
;
appearance
:
none
;
}
.swiper-pagination-clickable
.swiper-pagination-bullet
{
cursor
:
pointer
;
}
.swiper-pagination-white
.swiper-pagination-bullet
{
background
:
#fff
;
}
.swiper-pagination-bullet-active
{
opacity
:
1
;
background
:
#007aff
;
}
.swiper-pagination-white
.swiper-pagination-bullet-active
{
background
:
#fff
;
}
.swiper-pagination-black
.swiper-pagination-bullet-active
{
background
:
#000
;
}
.swiper-container-vertical
>
.swiper-pagination-bullets
{
right
:
10px
;
top
:
50%
;
-webkit-transform
:
translate3d
(
0px
,
-50%
,
0
);
-moz-transform
:
translate3d
(
0px
,
-50%
,
0
);
-o-transform
:
translate
(
0px
,
-50%
);
-ms-transform
:
translate3d
(
0px
,
-50%
,
0
);
transform
:
translate3d
(
0px
,
-50%
,
0
);
}
.swiper-container-vertical
>
.swiper-pagination-bullets
.swiper-pagination-bullet
{
margin
:
5px
0
;
display
:
block
;
}
.swiper-container-horizontal
>
.swiper-pagination-bullets
.swiper-pagination-bullet
{
margin
:
0
5px
;
}
/* Progress */
.swiper-pagination-progress
{
background
:
rgba
(
0
,
0
,
0
,
0.25
);
position
:
absolute
;
}
.swiper-pagination-progress
.swiper-pagination-progressbar
{
background
:
#007aff
;
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
-webkit-transform
:
scale
(
0
);
-ms-transform
:
scale
(
0
);
-o-transform
:
scale
(
0
);
transform
:
scale
(
0
);
-webkit-transform-origin
:
left
top
;
-moz-transform-origin
:
left
top
;
-ms-transform-origin
:
left
top
;
-o-transform-origin
:
left
top
;
transform-origin
:
left
top
;
}
.swiper-container-rtl
.swiper-pagination-progress
.swiper-pagination-progressbar
{
-webkit-transform-origin
:
right
top
;
-moz-transform-origin
:
right
top
;
-ms-transform-origin
:
right
top
;
-o-transform-origin
:
right
top
;
transform-origin
:
right
top
;
}
.swiper-container-horizontal
>
.swiper-pagination-progress
{
width
:
100%
;
height
:
4px
;
left
:
0
;
top
:
0
;
}
.swiper-container-vertical
>
.swiper-pagination-progress
{
width
:
4px
;
height
:
100%
;
left
:
0
;
top
:
0
;
}
.swiper-pagination-progress.swiper-pagination-white
{
background
:
rgba
(
255
,
255
,
255
,
0.5
);
}
.swiper-pagination-progress.swiper-pagination-white
.swiper-pagination-progressbar
{
background
:
#fff
;
}
.swiper-pagination-progress.swiper-pagination-black
.swiper-pagination-progressbar
{
background
:
#000
;
}
/* 3D Container */
.swiper-container-3d
{
-webkit-perspective
:
1200px
;
-moz-perspective
:
1200px
;
-o-perspective
:
1200px
;
perspective
:
1200px
;
}
.swiper-container-3d
.swiper-wrapper
,
.swiper-container-3d
.swiper-slide
,
.swiper-container-3d
.swiper-slide-shadow-left
,
.swiper-container-3d
.swiper-slide-shadow-right
,
.swiper-container-3d
.swiper-slide-shadow-top
,
.swiper-container-3d
.swiper-slide-shadow-bottom
,
.swiper-container-3d
.swiper-cube-shadow
{
-webkit-transform-style
:
preserve-3d
;
-moz-transform-style
:
preserve-3d
;
-ms-transform-style
:
preserve-3d
;
transform-style
:
preserve-3d
;
}
.swiper-container-3d
.swiper-slide-shadow-left
,
.swiper-container-3d
.swiper-slide-shadow-right
,
.swiper-container-3d
.swiper-slide-shadow-top
,
.swiper-container-3d
.swiper-slide-shadow-bottom
{
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
pointer-events
:
none
;
z-index
:
10
;
}
.swiper-container-3d
.swiper-slide-shadow-left
{
background-image
:
-webkit-gradient
(
linear
,
left
top
,
right
top
,
from
(
rgba
(
0
,
0
,
0
,
0.5
)),
to
(
rgba
(
0
,
0
,
0
,
0
)));
/* Safari 4+, Chrome */
background-image
:
-webkit-linear-gradient
(
right
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Chrome 10+, Safari 5.1+, iOS 5+ */
background-image
:
-moz-linear-gradient
(
right
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Firefox 3.6-15 */
background-image
:
-o-linear-gradient
(
right
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Opera 11.10-12.00 */
background-image
:
linear-gradient
(
to
left
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Firefox 16+, IE10, Opera 12.50+ */
}
.swiper-container-3d
.swiper-slide-shadow-right
{
background-image
:
-webkit-gradient
(
linear
,
right
top
,
left
top
,
from
(
rgba
(
0
,
0
,
0
,
0.5
)),
to
(
rgba
(
0
,
0
,
0
,
0
)));
/* Safari 4+, Chrome */
background-image
:
-webkit-linear-gradient
(
left
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Chrome 10+, Safari 5.1+, iOS 5+ */
background-image
:
-moz-linear-gradient
(
left
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Firefox 3.6-15 */
background-image
:
-o-linear-gradient
(
left
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Opera 11.10-12.00 */
background-image
:
linear-gradient
(
to
right
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Firefox 16+, IE10, Opera 12.50+ */
}
.swiper-container-3d
.swiper-slide-shadow-top
{
background-image
:
-webkit-gradient
(
linear
,
left
top
,
left
bottom
,
from
(
rgba
(
0
,
0
,
0
,
0.5
)),
to
(
rgba
(
0
,
0
,
0
,
0
)));
/* Safari 4+, Chrome */
background-image
:
-webkit-linear-gradient
(
bottom
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Chrome 10+, Safari 5.1+, iOS 5+ */
background-image
:
-moz-linear-gradient
(
bottom
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Firefox 3.6-15 */
background-image
:
-o-linear-gradient
(
bottom
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Opera 11.10-12.00 */
background-image
:
linear-gradient
(
to
top
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Firefox 16+, IE10, Opera 12.50+ */
}
.swiper-container-3d
.swiper-slide-shadow-bottom
{
background-image
:
-webkit-gradient
(
linear
,
left
bottom
,
left
top
,
from
(
rgba
(
0
,
0
,
0
,
0.5
)),
to
(
rgba
(
0
,
0
,
0
,
0
)));
/* Safari 4+, Chrome */
background-image
:
-webkit-linear-gradient
(
top
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Chrome 10+, Safari 5.1+, iOS 5+ */
background-image
:
-moz-linear-gradient
(
top
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Firefox 3.6-15 */
background-image
:
-o-linear-gradient
(
top
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Opera 11.10-12.00 */
background-image
:
linear-gradient
(
to
bottom
,
rgba
(
0
,
0
,
0
,
0.5
),
rgba
(
0
,
0
,
0
,
0
));
/* Firefox 16+, IE10, Opera 12.50+ */
}
/* Coverflow */
.swiper-container-coverflow
.swiper-wrapper
,
.swiper-container-flip
.swiper-wrapper
{
/* Windows 8 IE 10 fix */
-ms-perspective
:
1200px
;
}
/* Cube + Flip */
.swiper-container-cube
,
.swiper-container-flip
{
overflow
:
visible
;
}
.swiper-container-cube
.swiper-slide
,
.swiper-container-flip
.swiper-slide
{
pointer-events
:
none
;
-webkit-backface-visibility
:
hidden
;
-moz-backface-visibility
:
hidden
;
-ms-backface-visibility
:
hidden
;
backface-visibility
:
hidden
;
z-index
:
1
;
}
.swiper-container-cube
.swiper-slide
.swiper-slide
,
.swiper-container-flip
.swiper-slide
.swiper-slide
{
pointer-events
:
none
;
}
.swiper-container-cube
.swiper-slide-active
,
.swiper-container-flip
.swiper-slide-active
,
.swiper-container-cube
.swiper-slide-active
.swiper-slide-active
,
.swiper-container-flip
.swiper-slide-active
.swiper-slide-active
{
pointer-events
:
auto
;
}
.swiper-container-cube
.swiper-slide-shadow-top
,
.swiper-container-flip
.swiper-slide-shadow-top
,
.swiper-container-cube
.swiper-slide-shadow-bottom
,
.swiper-container-flip
.swiper-slide-shadow-bottom
,
.swiper-container-cube
.swiper-slide-shadow-left
,
.swiper-container-flip
.swiper-slide-shadow-left
,
.swiper-container-cube
.swiper-slide-shadow-right
,
.swiper-container-flip
.swiper-slide-shadow-right
{
z-index
:
0
;
-webkit-backface-visibility
:
hidden
;
-moz-backface-visibility
:
hidden
;
-ms-backface-visibility
:
hidden
;
backface-visibility
:
hidden
;
}
/* Cube */
.swiper-container-cube
.swiper-slide
{
visibility
:
hidden
;
-webkit-transform-origin
:
0
0
;
-moz-transform-origin
:
0
0
;
-ms-transform-origin
:
0
0
;
transform-origin
:
0
0
;
width
:
100%
;
height
:
100%
;
}
.swiper-container-cube.swiper-container-rtl
.swiper-slide
{
-webkit-transform-origin
:
100%
0
;
-moz-transform-origin
:
100%
0
;
-ms-transform-origin
:
100%
0
;
transform-origin
:
100%
0
;
}
.swiper-container-cube
.swiper-slide-active
,
.swiper-container-cube
.swiper-slide-next
,
.swiper-container-cube
.swiper-slide-prev
,
.swiper-container-cube
.swiper-slide-next
+
.swiper-slide
{
pointer-events
:
auto
;
visibility
:
visible
;
}
.swiper-container-cube
.swiper-cube-shadow
{
position
:
absolute
;
left
:
0
;
bottom
:
0px
;
width
:
100%
;
height
:
100%
;
background
:
#000
;
opacity
:
0.6
;
-webkit-filter
:
blur
(
50px
);
filter
:
blur
(
50px
);
z-index
:
0
;
}
/* Fade */
.swiper-container-fade.swiper-container-free-mode
.swiper-slide
{
-webkit-transition-timing-function
:
ease-out
;
-moz-transition-timing-function
:
ease-out
;
-ms-transition-timing-function
:
ease-out
;
-o-transition-timing-function
:
ease-out
;
transition-timing-function
:
ease-out
;
}
.swiper-container-fade
.swiper-slide
{
pointer-events
:
none
;
-webkit-transition-property
:
opacity
;
-moz-transition-property
:
opacity
;
-o-transition-property
:
opacity
;
transition-property
:
opacity
;
}
.swiper-container-fade
.swiper-slide
.swiper-slide
{
pointer-events
:
none
;
}
.swiper-container-fade
.swiper-slide-active
,
.swiper-container-fade
.swiper-slide-active
.swiper-slide-active
{
pointer-events
:
auto
;
}
/* Scrollbar */
.swiper-scrollbar
{
border-radius
:
10px
;
position
:
relative
;
-ms-touch-action
:
none
;
background
:
rgba
(
0
,
0
,
0
,
0.1
);
}
.swiper-container-horizontal
>
.swiper-scrollbar
{
position
:
absolute
;
left
:
1%
;
bottom
:
3px
;
z-index
:
50
;
height
:
5px
;
width
:
98%
;
}
.swiper-container-vertical
>
.swiper-scrollbar
{
position
:
absolute
;
right
:
3px
;
top
:
1%
;
z-index
:
50
;
width
:
5px
;
height
:
98%
;
}
.swiper-scrollbar-drag
{
height
:
100%
;
width
:
100%
;
position
:
relative
;
background
:
rgba
(
0
,
0
,
0
,
0.5
);
border-radius
:
10px
;
left
:
0
;
top
:
0
;
}
.swiper-scrollbar-cursor-drag
{
cursor
:
move
;
}
/* Preloader */
.swiper-lazy-preloader
{
width
:
42px
;
height
:
42px
;
position
:
absolute
;
left
:
50%
;
top
:
50%
;
margin-left
:
-21px
;
margin-top
:
-21px
;
z-index
:
10
;
-webkit-transform-origin
:
50%
;
-moz-transform-origin
:
50%
;
transform-origin
:
50%
;
-webkit-animation
:
swiper-preloader-spin
1s
steps
(
12
,
end
)
infinite
;
-moz-animation
:
swiper-preloader-spin
1s
steps
(
12
,
end
)
infinite
;
animation
:
swiper-preloader-spin
1s
steps
(
12
,
end
)
infinite
;
}
.swiper-lazy-preloader
:after
{
display
:
block
;
content
:
""
;
width
:
100%
;
height
:
100%
;
background-image
:
url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.27
'%20transform%3D'
rotate
(
60%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.27
'%20transform%3D'
rotate
(
90%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.27
'%20transform%3D'
rotate
(
120%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.27
'%20transform%3D'
rotate
(
150%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.37
'%20transform%3D'
rotate
(
180%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.46
'%20transform%3D'
rotate
(
210%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.56
'%20transform%3D'
rotate
(
240%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.66
'%20transform%3D'
rotate
(
270%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.75
'%20transform%3D'
rotate
(
300%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.85
'%20transform%3D'
rotate
(
330%2060%2
C60
)
'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
background-position: 50%;
-webkit-background-size: 100%;
background-size: 100%;
background-repeat: no-repeat;
}
.swiper-lazy-preloader-white:after {
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'
0%200%20120%20120
'%20xmlns%3D'
http
%
3
A
%
2
F
%
2
Fwww
.
w3
.
org
%
2
F2000
%
2
Fsvg
'%20xmlns%3Axlink%3D'
http
%
3
A
%
2
F
%
2
Fwww
.
w3
.
org
%
2
F1999
%
2
Fxlink
'%3E%3Cdefs%3E%3Cline%20id%3D'
l
'%20x1%3D'
60
'%20x2%3D'
60
'%20y1%3D'
7
'%20y2%3D'
27
'%20stroke%3D'
%
23
fff
'%20stroke-width%3D'
11
'%20stroke-linecap%3D'
round
'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.27
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.27
'%20transform%3D'
rotate
(
30%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.27
'%20transform%3D'
rotate
(
60%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.27
'%20transform%3D'
rotate
(
90%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.27
'%20transform%3D'
rotate
(
120%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.27
'%20transform%3D'
rotate
(
150%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.37
'%20transform%3D'
rotate
(
180%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.46
'%20transform%3D'
rotate
(
210%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.56
'%20transform%3D'
rotate
(
240%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.66
'%20transform%3D'
rotate
(
270%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.75
'%20transform%3D'
rotate
(
300%2060%2
C60
)
'%2F%3E%3Cuse%20xlink%3Ahref%3D'
%
23
l
'%20opacity%3D'
.85
'%20transform%3D'
rotate
(
330%2060%2
C60
)
'%
2
F
%
3
E
%
3
C
%
2
Fg
%
3
E
%
3
C
%
2
Fsvg
%
3
E
"
);
}
@-webkit-keyframes
swiper-preloader-spin
{
100
%
{
-webkit-transform
:
rotate
(
360deg
);
}
}
@keyframes
swiper-preloader-spin
{
100
%
{
transform
:
rotate
(
360deg
);
}
}
...
...
public/scss/product/_new-arrive.css
View file @
057b2dc
@import
"../common/swiper"
;
.new-arrival-swiper
{
width
:
100%
;
}
.recommond-floor
{
.rec-pro
{
margin-bottom
:
20px
;
display
:
block
;
.new-num
{
background
:
#fb452c
;
text-align
:
center
;
line-height
:
30px
;
color
:
#fff
;
}
}
}
.recommond-floor
.swiper-slide
,
.newBrand-floor
.swiper-slide
{
width
:
185px
!important
;
margin-right
:
8px
!important
;
}
.firstLook-floor
{
.left-one
{
width
:
785px
;
margin-right
:
10px
;
float
:
left
;
.first-left-img
{
height
:
420px
;
display
:
block
;
>
img
{
width
:
100%
;
height
:
100%
;
}
}
}
.right-two
{
width
:
355px
;
float
:
left
;
.first-right-img
{
height
:
205px
;
margin-bottom
:
10px
;
display
:
block
;
>
img
{
width
:
100%
;
height
:
100%
;
}
}
}
}
.all-catagory
{
line-height
:
40px
;
font-size
:
14px
;
...
...
@@ -39,3 +98,178 @@
}
}
}
.new-arrive-list
{
margin-top
:
20px
;
margin-right
:
-10px
;
.list-top-img
{
width
:
100%
;
height
:
110px
;
img
{
overflow
:
hidden
;
width
:
100%
;
height
:
100%
;
}
}
.list-box
{
border
:
1px
solid
#e6e6e6
;
height
:
163px
;
padding-top
:
25px
;
li
{
float
:
left
;
width
:
90px
;
height
:
30px
;
line-height
:
30px
;
background
:
#f8f8f8
;
margin
:
5px
;
padding
:
0
5px
;
text-align
:
center
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
.logo-wrap
{
width
:
185px
;
height
:
86px
;
margin
:
35px
auto
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.brand-box
{
display
:
inline-block
;
width
:
100%
;
background
:
#f5f5f5
;
}
.brand-info
{
padding
:
0
15px
;
.num-info
{
text-align
:
center
;
margin
:
50px
0
;
span
{
color
:
#ee0011
;
}
}
.btn-tag
{
font-size
:
14px
;
color
:
#fff
;
padding
:
8px
6px
;
}
.btn-tag.tag-col
{
background
:
#ee0011
;
}
.btn-tag.tag-home
{
background
:
#000
;
}
}
.good-detail-img
,
.guang-box
,
.brand-box
{
height
:
300px
;
}
.good-detail-text
{
height
:
60px
;
>
a
{
margin-top
:
10px
;
padding
:
0
5px
;
}
.price
{
text-align
:
center
;
}
}
.ka-detail-text
{
position
:
relative
;
background
:
#fb452c
;
color
:
#fff
;
>
a
{
color
:
#fff
;
}
}
.ka-name
{
display
:
inline-block
;
background
:
#000
;
padding
:
5px
10px
;
color
:
#fff
;
}
.guang-box
{
position
:
relative
;
.guang-img
{
width
:
100%
;
height
:
140px
;
img
{
width
:
100%
;
}
}
.classification
{
position
:
absolute
;
background-color
:
#000
;
color
:
#fff
;
text-align
:
center
;
width
:
80px
;
height
:
32px
;
line-height
:
32px
;
font-size
:
13px
;
-ms-filter
:
"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)"
;
opacity
:
.9
;
z-index
:
99
;
}
.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
;
}
.type-icon.fashion-good
{
background
:
resolve
(
'guang/fashion-good.png'
)
no-repeat
;
}
.msg-info
{
position
:
relative
;
height
:
127px
;
background
:
#027cf9
;
color
:
#fff
;
padding
:
15px
10px
10px
;
>
a
{
color
:
#fff
;
line-height
:
25px
;
}
.msg-app
{
position
:
absolute
;
bottom
:
15px
;
font-size
:
12px
;
}
}
}
}
...
...
Please
register
or
login
to post a comment