Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
Plain Diff
Browse Files
Authored by
梁志锋
2015-10-16 21:36:15 +0800
Commit
5df4e9e0657a496745f843a30aa8932a8fe7ce1f
2 parents
60e32781
bc70c241
update
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
35 additions
and
21 deletions
static/js/guang/detail.js
static/js/guang/info.js
static/js/guang/plus-star/detail.js
static/js/guang/plus-star/list.js
static/js/home/boys.js
static/js/home/home.js
static/js/home/maybe-like.js
static/js/product/newsale/discount.js
static/js/product/newsale/newarrival.js
static/package.json
static/sass/passport/_common.scss
template/m.yohobuy.com/partials/layout/header.phtml
template/m.yohobuy.com/partials/passport/header.phtml
static/js/guang/detail.js
View file @
5df4e9e
...
...
@@ -6,7 +6,7 @@
var
$
=
require
(
'yoho.zepto'
),
ellipsis
=
require
(
'mlellipsis'
),
lazyLoad
=
require
(
'yoho.lazyload'
),
lazyLoad
=
require
(
'yoho.
zepto
lazyload'
),
IScroll
=
require
(
'iscroll/iscroll-probe'
);
var
$authorIntro
=
$
(
'.author .intro'
);
...
...
static/js/guang/info.js
View file @
5df4e9e
...
...
@@ -6,7 +6,7 @@
var
$
=
require
(
'yoho.zepto'
),
ellipsis
=
require
(
'mlellipsis'
),
lazyLoad
=
require
(
'yoho.lazyload'
);
lazyLoad
=
require
(
'yoho.
zepto
lazyload'
);
var
tip
=
require
(
'../plugin/tip'
);
...
...
static/js/guang/plus-star/detail.js
View file @
5df4e9e
...
...
@@ -6,7 +6,7 @@
var
$
=
require
(
'yoho.zepto'
),
ellipsis
=
require
(
'mlellipsis'
),
lazyLoad
=
require
(
'yoho.lazyload'
);
lazyLoad
=
require
(
'yoho.
zepto
lazyload'
);
var
$intro
=
$
(
'#intro'
),
$imt
=
$
(
'#intro-more-txt'
),
...
...
static/js/guang/plus-star/list.js
View file @
5df4e9e
...
...
@@ -5,7 +5,7 @@
*/
var
$
=
require
(
'yoho.zepto'
),
lazyLoad
=
require
(
'yoho.lazyload'
),
lazyLoad
=
require
(
'yoho.
zepto
lazyload'
),
Swiper
=
require
(
'yoho.iswiper'
);
var
$navs
=
$
(
'#nav-tab > li'
),
...
...
static/js/home/boys.js
0 → 100644
View file @
5df4e9e
/**
* 男首
* @author: liangzhifeng<zhifeng.liang@yoho.cn>
* @date: 2015/10/12
*/
var
$
=
require
(
'yoho.zepto'
),
lazyLoad
=
require
(
'yoho.zeptolazyload'
);
//Init LazyLoad
lazyLoad
(
$
(
'img.lazy'
));
\ No newline at end of file
...
...
static/js/home/home.js
View file @
5df4e9e
...
...
@@ -5,7 +5,7 @@
*/
var
$
=
require
(
'yoho.zepto'
),
Swiper
=
require
(
'yoho.iswiper'
),
lazyLoad
=
require
(
'yoho.lazyload'
),
lazyLoad
=
require
(
'yoho.
zepto
lazyload'
),
bannerSwiper
,
recommendSwiper
,
trendTopicSwiper
,
...
...
static/js/home/maybe-like.js
View file @
5df4e9e
...
...
@@ -5,8 +5,8 @@
*/
var
$
=
require
(
'yoho.zepto'
),
lazyLoad
=
require
(
'yoho.lazyload'
),
tip
=
require
(
'../plugin/tip'
);
tip
=
require
(
'../plugin/tip'
),
lazyLoad
=
require
(
'yoho.zeptolazyload'
);
var
winH
=
$
(
window
).
height
(),
loadMoreH
=
$
(
'#load-more'
).
height
(),
...
...
static/js/product/newsale/discount.js
View file @
5df4e9e
var
$
=
require
(
'yoho.zepto'
),
Swiper
=
require
(
'yoho.iswiper'
),
lazyLoad
=
require
(
'yoho.lazyload'
);
lazyLoad
=
require
(
'yoho.
zepto
lazyload'
);
var
$curNav
,
$navList
=
$
(
'#discount-nav'
),
...
...
static/js/product/newsale/newarrival.js
View file @
5df4e9e
var
$
=
require
(
'yoho.zepto'
),
Swiper
=
require
(
'yoho.iswiper'
),
lazyLoad
=
require
(
'yoho.lazyload'
);
lazyLoad
=
require
(
'yoho.
zepto
lazyload'
);
var
$curNav
,
$navList
=
$
(
'#newarrival-nav'
),
...
...
static/package.json
View file @
5df4e9e
...
...
@@ -18,11 +18,11 @@
"dependencies"
:
{
"yoho.zepto"
:
"1.1.60"
,
"yoho.jquery"
:
"1.8.3"
,
"yoho.lazyload"
:
"1.1.0"
,
"mlellipsis"
:
"0.0.6"
,
"yoho.iswiper"
:
"3.0.1"
,
"iscroll"
:
"5.1.2"
,
"import-style"
:
"1.0.0"
"import-style"
:
"1.0.0"
,
"yoho.zeptolazyload"
:
"0.0.1"
},
"devDependencies"
:
{
"expect.js"
:
"0.3.1"
...
...
static/sass/passport/_common.scss
View file @
5df4e9e
...
...
@@ -17,11 +17,14 @@ body.passport-body {
margin
:
20px
0
30px
;
.go-back
{
display
:
block
;
position
:
absolute
;
height
:
30px
;
width
:
30px
;
top
:
5px
;
left
:
0
;
background
:
image-url
(
'passport/go-back.png'
)
no-repeat
;
background-size
:
100%
100%
;
}
.title
{
...
...
@@ -33,6 +36,9 @@ body.passport-body {
.img-header
{
width
:
68px
;
height
:
40px
;
background
:
image-url
(
'passport/yoho-family.png'
)
no-repeat
;
background-size
:
100%
100%
;
margin
:
0
auto
;
}
}
...
...
template/m.yohobuy.com/partials/layout/header.phtml
View file @
5df4e9e
...
...
@@ -22,15 +22,15 @@
}());
})(
document
,
window
);
</script>
{{#if rlsEnv}}
{{#if rlsEnv}}
<link
rel=
"stylesheet"
href=
"http://cdn.yoho.cn/myohobuy/{{version}}/index.css"
>
{{/if}}
{{#if testEnv}}
{{/if}}
{{#if testEnv}}
<link
rel=
"stylesheet"
href=
"http://static.wap.yohobuy.com/css/index.css"
>
{{/if}}
{{#if devEnv}}
{{/if}}
{{#if devEnv}}
<link
rel=
"stylesheet"
href=
"http://static.dev.yohobuy.com/css/index.css"
>
{{/if}}
{{/if}}
</head>
<body
{{#
if
isPassportPage
}}
class=
passport-body{{/if}}
>
{{> layout/page_header}}
\ No newline at end of file
...
...
template/m.yohobuy.com/partials/passport/header.phtml
View file @
5df4e9e
<div class="header">
{{#backUrl}}
<a class="go-back" href={{.}}>
<img src="http://static.dev.yohobuy.com/img/passport/go-back.png">
</a>
<a class="go-back" href={{.}}></a>
{{/backUrl}}
{{#showHeaderImg}}
<
img class="img-header" src="http://static.dev.yohobuy.com/img/passport/yoho-family.png"
>
<
div class="img-header"></div
>
{{/showHeaderImg}}
{{#headerText}}
<p class="title">{{.}}</p>
...
...
Please
register
or
login
to post a comment