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
yangyang
2015-11-17 15:00:54 +0800
Commit
9fcd5699dc86a47113526035bc032993acb39e79
2 parents
d3d7ab8f
1a3b6556
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohobuy
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
48 deletions
static/js/product/newsale/hot-rank.js
template/m.yohobuy.com/actions/index/home/coupons.phtml
template/m.yohobuy.com/actions/index/home/personal-details.phtml
template/m.yohobuy.com/actions/product/newsale/hotlist.phtml
template/m.yohobuy.com/partials/layout/not-footer.phtml
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Newsale.php
static/js/product/newsale/hot-rank.js
View file @
9fcd569
var
$
=
require
(
'jquery'
),
Hammer
=
require
(
'yoho.hammer'
),
Swiper
=
require
(
'yoho.iswiper'
),
lazyLoad
=
require
(
'yoho.lazyload'
)
loading
=
require
(
'../../plugin/loading'
);;
lazyLoad
=
require
(
'yoho.lazyload'
),
loading
=
require
(
'../../plugin/loading'
);
var
page
=
1
,
winH
,
...
...
template/m.yohobuy.com/actions/index/home/coupons.phtml
View file @
9fcd569
...
...
@@ -17,4 +17,4 @@
<p>有效期:
2014.07
.
28
-
2014.09
.
15
</p>
</div>
</div>
{
{>
layout/not-footer
}
}
\ No newline at end of file
{
{>
layout/footer
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/home/personal-details.phtml
View file @
9fcd569
...
...
@@ -3,7 +3,7 @@
<ul>
<li><span>头像</span><span><i
class=
"head-portrait"
><img
src=
"{{ head_ico }}"
></i></span></li>
<li><span>昵称</span><span>
{
{
username
}
}</span></li>
<li><span>性别</span><span></span></li>
<li><span>性别</span><span>
{
{
gender
}
}
</span></li>
<li><span>生日</span><span>
{
{
birthday
}
}</span></li>
<li><span>会员等级</span>
<span>
...
...
template/m.yohobuy.com/actions/product/newsale/hotlist.phtml
View file @
9fcd569
...
...
@@ -2,10 +2,10 @@
<div
class=
"s-goods-nav goods-nav"
>
<ul
class=
"swiper-wrapper clearfix"
>
{
{#
tabs
}
}
{
{#
title
}
}
<li
class=
"swiper-slide nav-item"
>
<span
data-sort=
"{{ params}}"
data-id=
"{{ id}}"
>
{
{
name
}
}</span>
</li>
{
{#
title
}
}
<li
class=
"swiper-slide nav-item {{#if @first}} active{{/if}}"
>
<span
data-sort=
"{{ params}}"
data-id=
"{{ id}}"
>
{
{
name
}
}</span>
</li>
{
{/
title
}
}
{
{/
tabs
}
}
</ul>
...
...
template/m.yohobuy.com/partials/layout/not-footer.phtml
deleted
100644 → 0
View file @
d3d7ab8
{
{#if
hasWxShare
}
}
<script
type=
"text/javascript"
charset=
"utf-8"
src=
"http://res.wx.qq.com/open/js/jweixin-1.0.0.js"
></script>
{
{/if
}
}
{
{#if
rlsEnv
}
}
<script
src=
"http://cdn.yoho.cn/myohobuy/{{version}}/lib.js"
></script>
<script
src=
"http://cdn.yoho.cn/myohobuy/{{version}}/index.js"
></script>
{
{/if
}
}
{
{#if
preEnv
}
}
<script
src=
"http://cdn.yoho.cn/myohobuy/{{version}}/lib.js"
></script>
<script
src=
"http://cdn.yoho.cn/myohobuy/{{version}}/index.js"
></script>
{
{/if
}
}
{
{#if
testEnv
}
}
<script
src=
"http://static.buy.test.yoho.cn/dist/myohobuy/{{version}}/lib.js"
></script>
<script
src=
"http://static.buy.test.yoho.cn/dist/myohobuy/{{version}}/index-debug.js"
></script>
{
{/if
}
}
{
{#if
devEnv
}
}
<script
src=
"http://localhost:8000/static/js/sea.js?nowrap"
></script>
<script>seajs.config(
{
base:
'http://localhost:8000/'
}
);</script>
{
{/if
}
}
<script
type=
"text/javascript"
>
(function(w,d,s,j,f)
{
w['YohoAcquisitionObject']=f;
w[f]=function(){w[f].p=arguments;
}
;
var
a=d.createElement(s);
var
m=d.getElementsByTagName(s)
[
0
]
;
a.async=
1
;
a.src=j;
m.parentNode.insertBefore(a,m);
})(window,document,'script','http://cdn.yoho.cn/yas-jssdk/
1.0
.
13
/yas.js','_yas');
</script>
{
{>
layout/use
}
}
{
{>
layout/analysis
}
}
</body>
</html>
\ No newline at end of file
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Newsale.php
View file @
9fcd569
...
...
@@ -112,7 +112,6 @@ class NewsaleController extends AbstractAction
$gender
=
Helpers
::
getGenderByCookie
();
$result
=
\Product\NewsaleModel
::
selectTopData
(
$gender
,
$sort
,
$tab_id
,
$notab
,
$limit
,
$page
);
}
if
(
empty
(
$result
))
{
echo
' '
;
}
else
{
...
...
Please
register
or
login
to post a comment