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
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai
9 years ago
Commit
8358b390ae421418d3c0959663a39cce185c70b5
1 parent
500b11ba
首页bug 修复
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
12 deletions
static/js/index/footer.js
static/sass/home/_goods-category.scss
static/sass/home/_hot-category.scss
static/sass/index/_footer.scss
template/m.yohobuy.com/partials/home/hot_category.phtml
static/js/index/footer.js
View file @
8358b39
...
...
@@ -34,7 +34,7 @@ $('#float-layer-close').bind('tap', function () {
});
});
$
(
'#float-layer-btn'
).
tap
(
function
()
{
$
(
'#float-layer-btn'
).
bind
(
'tap'
,
function
()
{
downLoadApp
(
'bottom'
);
});
...
...
@@ -76,10 +76,10 @@ $searchBox.find('input').on('focus', function () {
$
(
'.clear-text, .no-search'
).
hide
();
});
$searchBox
.
find
(
'.clear-text'
).
tap
(
function
()
{
$searchBox
.
find
(
'.clear-text'
).
bind
(
'tap'
,
function
()
{
$searchBox
.
find
(
'input'
).
val
(
''
).
trigger
(
'focus'
);
});
$searchBox
.
find
(
'.search-icon'
).
tap
(
function
()
{
$searchBox
.
find
(
'.search-icon'
).
bind
(
'tap'
,
function
()
{
$indexSearch
.
submit
();
});
\ No newline at end of file
...
...
static/sass/home/_goods-category.scss
View file @
8358b39
...
...
@@ -85,7 +85,7 @@
font-size
:
22rem
/
$pxConvertRem
;
}
}
li
:nth-child
(
4
),
li
:nth-child
(
5
)
{
border-top
:
1px
solid
#e0e0e0
;
}
// li:nth-child(4), li:nth-child(5) {
// border-top: 1px solid #e0e0e0;
// }
}
\ No newline at end of file
...
...
static/sass/home/_hot-category.scss
View file @
8358b39
...
...
@@ -7,7 +7,7 @@
img
{
display
:
block
;
width
:
100%
;
height
:
1
00%
;
height
:
1
98rem
/
$pxConvertRem
;
}
}
.category-list
{
...
...
@@ -16,7 +16,7 @@
li
{
float
:
left
;
width
:
158rem
/
$pxConvertRem
;
height
:
1
7
4rem
/
$pxConvertRem
;
height
:
1
5
4rem
/
$pxConvertRem
;
border-top
:
1px
solid
#e0e0e0
;
border-left
:
1px
solid
#e0e0e0
;
overflow
:
hidden
;
...
...
@@ -24,7 +24,7 @@
.img-box
{
width
:
100%
;
height
:
100%
;
line-height
:
1
7
4rem
/
$pxConvertRem
;
line-height
:
1
5
4rem
/
$pxConvertRem
;
text-align
:
center
;
overflow
:
hidden
;
font-size
:
0
;
...
...
static/sass/index/_footer.scss
View file @
8358b39
...
...
@@ -36,7 +36,7 @@
height
:
44px
;
text-align
:
center
;
color
:
#fff
;
background-
color
:
#000
;
background-
image
:
linear-gradient
(
#323232
,
#0f0f0f
)
;
border-radius
:
10px
;
}
}
...
...
template/m.yohobuy.com/partials/home/hot_category.phtml
View file @
8358b39
...
...
@@ -2,7 +2,7 @@
{{> home/floor_header}}
{{# banner}}
<a class="banner" href="{{url}}">
<a class="
category-
banner" href="{{url}}">
<img class="lazy" data-original="{{img}}">
</a>
{{/ banner}}
...
...
@@ -13,7 +13,6 @@
<div class="img-box">
<img class="lazy" data-original="{{img}}" alt="">
</div>
<p class="category-title">{{textCn}}</p>
</a>
</li>
{{/ list}}
...
...
Please
register
or
login
to post a comment