Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai
9 years ago
Commit
9a0784f693b309f379d5607c5378071c03405a33
1 parent
536631da
maybelike 底线
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
3 deletions
static/js/category/brand.js
static/sass/home/_maybe-like.scss
template/m.yohobuy.com/actions/index/index/index.phtml
static/js/category/brand.js
View file @
9a0784f
...
...
@@ -65,10 +65,12 @@ $(window).scroll(function() {
function
rightBarBindClick
()
{
$
(
'#right-bar .con'
).
find
(
'b'
).
unbind
().
on
(
'touchstart'
,
function
(
e
)
{
var
index
=
$
(
this
).
index
();
var
index
=
$
(
this
).
index
(),
top
;
if
(
$
(
'.bar-'
+
index
).
size
()
>
0
)
{
document
.
body
.
scrollTop
=
parseInt
(
$
(
'.bar-'
+
index
)[
0
].
offsetTop
)
-
parseInt
(
brandSwipe
-
1
);
top
=
parseInt
(
$
(
'.bar-'
+
index
)[
0
].
offsetTop
)
-
parseInt
(
brandSwipe
-
1
);
$
(
document
).
scrollTop
(
top
);
}
e
.
stopPropagation
();
});
...
...
static/sass/home/_maybe-like.scss
View file @
9a0784f
.maybe-like
{
position
:
relative
;
background
:
#fff
;
padding-left
:
15rem
/
$pxConvertRem
;
border-top
:
1px
solid
#ccc
;
// border-bottom: 1px solid #ccc;
margin-top
:
30rem
/
$pxConvertRem
;
&
:before
{
content
:
''
;
position
:
absolute
;
border-top
:
1px
solid
#ccc
;
left
:
0
;
top
:
80rem
/
$pxConvertRem
;
width
:
640rem
/
$pxConvertRem
;
height
:
0
;
}
.title
{
height
:
104rem
/
$pxConvertRem
;
font-size
:
38rem
/
$pxConvertRem
;
...
...
template/m.yohobuy.com/actions/index/index/index.phtml
View file @
9a0784f
...
...
@@ -7,7 +7,7 @@
<a
href=
"javascript:void(0);"
class=
"no-search"
>取消</a>
<div
class=
"search-box"
>
<input
type=
"hidden"
name=
"from"
value=
"search"
>
<input
type=
"text"
name=
"query"
placeholder=
"搜索"
>
<input
type=
"text"
name=
"query"
placeholder=
"搜索"
autocomplete=
"off"
>
<span
class=
"iconfont clear-text"
>
623
;</span>
<span
class=
"iconfont search-icon"
>
60
f;</span>
</div>
...
...
Please
register
or
login
to post a comment