Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
0bbedd1fe84e804b86841d7ba19bc09bf3ee2bda
2 parents
8c42145d
7e8154dd
Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
38 additions
and
25 deletions
static/js/product/newsale/discount.js
static/sass/_filter.scss
static/sass/_good.scss
static/sass/guang/_detail.scss
static/sass/guang/_info-list.scss
static/sass/home/_home-header.scss
static/sass/home/_hot-brands.scss
static/sass/home/_side-nav.scss
static/sass/layout/_header.scss
static/sass/product/_discount.scss
static/sass/product/_new-arrival.scss
template/m.yohobuy.com/actions/product/newsale/sale.phtml
yohobuy/m.yohobuy.com/application/models/Index/Side.php
static/js/product/newsale/discount.js
View file @
0bbedd1
...
...
@@ -3,7 +3,6 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/20
*/
var
$
=
require
(
'yoho.zepto'
),
Swiper
=
require
(
'yoho.iswiper'
),
lazyLoad
=
require
(
'yoho.zeptolazyload'
);
...
...
static/sass/_filter.scss
View file @
0bbedd1
...
...
@@ -2,7 +2,7 @@
position
:
absolute
;
left
:
0
;
right
:
0
;
top
:
0
;
top
:
2px
;
}
.filter-mask
{
...
...
static/sass/_good.scss
View file @
0bbedd1
.good-info
{
float
:
left
;
width
:
44%
;
width
:
4
6
.
4%
;
height
:
486rem
/
$pxConvertRem
;
margin
:
28rem
/
$pxConvertRem
3%
0
;
margin
:
28rem
/
$pxConvertRem
0
0
2
.4%
;
.tag-container
{
...
...
static/sass/guang/_detail.scss
View file @
0bbedd1
...
...
@@ -24,6 +24,10 @@ $clothes: sprite-map("guang/clothes/*.png");
}
.guang-detail-page
{
#wrapper
{
background
:
#f0f0f0
;
}
#wrapper
.ios
{
position
:
absolute
;
top
:
0
;
...
...
static/sass/guang/_info-list.scss
View file @
0bbedd1
...
...
@@ -73,6 +73,7 @@
.info-list-container
{
overflow-x
:
hidden
;
background
:
#f0f0f0
;
}
.info-list.hide
{
...
...
static/sass/home/_home-header.scss
View file @
0bbedd1
...
...
@@ -29,8 +29,8 @@
}
} */
.home-header
{
height
:
88rem
/
$pxConvertRem
;
line-height
:
88rem
/
$pxConvertRem
;
height
:
90rem
/
$pxConvertRem
;
line-height
:
90rem
/
$pxConvertRem
;
@include
background-image
(
linear-gradient
(
#323232
,
#414141
));
position
:
relative
;
.iconfont
{
...
...
static/sass/home/_hot-brands.scss
View file @
0bbedd1
...
...
@@ -14,16 +14,18 @@
border-right
:
1px
solid
#e0e0e0
;
border-top
:
1px
solid
#e0e0e0
;
overflow
:
hidden
;
background
:
#fff
;
.brand-logo
{
width
:
100%
;
display
:
table-cell
;
width
:
3
.95rem
;
height
:
128rem
/
$pxConvertRem
;
line-height
:
128rem
/
$pxConvertRem
;
text-align
:
center
;
font-size
:
0
;
vertical-align
:
middle
;
img
{
vertical-align
:
middle
;
max-width
:
100%
;
max-height
:
100%
;
}
...
...
@@ -52,6 +54,7 @@
width
:
317rem
/
$pxConvertRem
;
height
:
174rem
/
$pxConvertRem
;
border-top
:
1px
solid
#e0e0e0
;
background
:
#fff
;
a
{
display
:
block
;
...
...
@@ -68,7 +71,7 @@
background
:
#fff
;
width
:
100%
;
height
:
140rem
/
$pxConvertRem
;
margin-bottom
:
28rem
/
$pxConvertRem
;
//
margin-bottom: 28rem / $pxConvertRem;
border-top
:
1px
solid
#e0e0e0
;
overflow
:
hidden
;
...
...
static/sass/home/_side-nav.scss
View file @
0bbedd1
...
...
@@ -30,11 +30,11 @@
.nav-icon
,
.nav-img
{
position
:
absolute
;
width
:
60rem
/
$pxConvertRem
;
height
:
60rem
/
$pxConvertRem
;
width
:
48rem
/
$pxConvertRem
;
height
:
48rem
/
$pxConvertRem
;
top
:
50%
;
margin-top
:
-30rem
/
$pxConvertRem
;
left
:
24rem
/
$pxConvertRem
;
margin-top
:
-24rem
/
$pxConvertRem
;
left
:
30rem
/
$pxConvertRem
;
}
.enter-subnav
{
...
...
static/sass/layout/_header.scss
View file @
0bbedd1
...
...
@@ -4,8 +4,8 @@
color
:
#fff
;
width
:
100%
;
overflow
:
hidden
;
height
:
88rem
/
$pxConvertRem
;
line-height
:
88rem
/
$pxConvertRem
;
height
:
90rem
/
$pxConvertRem
;
line-height
:
90rem
/
$pxConvertRem
;
&
.boys
{
@include
background-image
(
linear-gradient
(
#323232
,
#414141
));
...
...
static/sass/product/_discount.scss
View file @
0bbedd1
.discount-page
{
background-color
:
#f
0f0f0
;
background-color
:
#f
ff
;
.swiper-container
{
width
:
100%
;
...
...
@@ -32,6 +32,7 @@
}
.list-nav
{
border
:
1px
solid
#e6e6e6
;
>
li
{
float
:
left
;
width
:
25%
;
...
...
@@ -50,9 +51,14 @@
}
.active
>
a
{
border-bottom
:
2px
solid
#000
;
color
:
#000
;
.spanTest
{
width
:
auto
;
height
:
100%
;
border-bottom
:
2px
solid
#000
;
display
:
inline-block
;
box-sizing
:border-box
;
}
.iconfont
{
color
:
#999
;
...
...
static/sass/product/_new-arrival.scss
View file @
0bbedd1
...
...
@@ -3,7 +3,7 @@
.swiper-container
{
width
:
100%
;
height
:
2
4
0rem
/
$pxConvertRem
;
height
:
2
0
0rem
/
$pxConvertRem
;
img
{
height
:
100%
;
...
...
@@ -23,7 +23,7 @@
.banner-top-single
{
width
:
100%
;
height
:
2
4
0rem
/
$pxConvertRem
;
height
:
2
0
0rem
/
$pxConvertRem
;
img
{
display
:
block
;
height
:
100%
;
...
...
template/m.yohobuy.com/actions/product/newsale/sale.phtml
View file @
0bbedd1
...
...
@@ -7,13 +7,13 @@
<ul
id=
"list-nav"
class=
"list-nav clearfix"
>
<li
class=
"new active"
>
<a
href=
"javascript:void(0);"
>
最新
<span
class=
"spanTest"
>最新</span>
<span
class=
"iconfont cur"
>
616
;</span>
</a>
</li>
<li
class=
"price"
>
<a
href=
"javascript:void(0);"
>
价格
<span
class=
"spanTest"
>价格</span>
<span
class=
"icon"
>
<i
class=
"iconfont up"
>
615
;</i>
<i
class=
"iconfont down cur"
>
616
;</i>
...
...
@@ -22,7 +22,7 @@
</li>
<li
class=
"discount"
>
<a
href=
"javascript:void(0);"
>
折扣
<span
class=
"spanTest"
>折扣</span>
<span
class=
"icon"
>
<i
class=
"iconfont up"
>
615
;</i>
<i
class=
"iconfont down cur"
>
616
;</i>
...
...
@@ -31,7 +31,7 @@
</li>
<li
class=
"filter"
>
<a
href=
"javascript:void(0);"
>
筛选
<span
class=
"spanTest"
>筛选</span>
<span
class=
"iconfont"
>
613
;</span>
</a>
</li>
...
...
yohobuy/m.yohobuy.com/application/models/Index/Side.php
View file @
0bbedd1
...
...
@@ -48,7 +48,7 @@ class SideModel
$result
[
$key
][
'textEn'
]
=
$value
[
'sort_name_en'
];
$result
[
$key
][
'styleClass'
]
=
strtolower
(
$value
[
'sort_name_en'
]);
$result
[
$key
][
'url'
]
=
Helpers
::
getFilterUrl
(
$value
[
'sort_url'
]);
$result
[
$key
][
'img'
]
=
Helpers
::
getImageUrl
(
$value
[
'sort_ico'
],
60
,
60
);
$result
[
$key
][
'img'
]
=
Helpers
::
getImageUrl
(
$value
[
'sort_ico'
],
60
,
60
,
1
);
}
}
...
...
Please
register
or
login
to post a comment