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
uedxwg
2015-11-17 14:25:36 +0800
Commit
839edc94c4b5c959e04231691410b9106f6bf13d
1 parent
d8496d38
update
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
47 deletions
static/js/product/newsale/hot-rank.js
template/m.yohobuy.com/actions/index/home/coupons.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 @
839edc9
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 @
839edc9
...
...
@@ -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/product/newsale/hotlist.phtml
View file @
839edc9
...
...
@@ -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 @
d8496d3
{
{#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 @
839edc9
...
...
@@ -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