Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
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
unknown
10 years ago
Commit
08e7ee019a3814aa3d8dedd16aeb3ac452955b06
2 parents
5ee5c32e
1f188d55
Merge branch 'develop' of
http://git.dev.yoho.cn/web/yohood
into develop
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
83 additions
and
7 deletions
res/js/yohood.js
website/controller/Product.class.php
website/view/script/default/indexmobile.php
website/view/script/product/recommend.php
website/view/script/product/recommendmobile.php
res/js/yohood.js
View file @
08e7ee0
...
...
@@ -753,4 +753,9 @@ define('yohood', function(require, exports) {
//图片转换
imgTransform
(
$
(
".image-box img"
));
}
//推荐
exports
.
recommend
=
function
()
{
$
(
".wrapper"
).
attr
(
"class"
,
""
);
$
(
".bd"
).
attr
(
"class"
,
""
);
}
});
\ No newline at end of file
...
...
website/controller/Product.class.php
View file @
08e7ee0
...
...
@@ -15,7 +15,7 @@ class Controller_Product extends Controller_Abstract
*/
public
function
recommendAction
()
{
$this
->
_viewname
=
'../default/other'
;
}
/**
...
...
website/view/script/default/indexmobile.php
View file @
08e7ee0
...
...
@@ -49,7 +49,7 @@
</a>
</li>
<li>
<a
href=
"
/default/other
"
>
<a
href=
"
http://feature.yohobuy.com/0/0/408/index.html
"
>
<div
class=
"channel-pic recmmend"
></div>
<h2
class=
"channel-name"
>
RECMMEND
</h2>
<p
class=
"channel-name-cn"
>
限量推荐
</p>
...
...
website/view/script/product/recommend.php
View file @
08e7ee0
<?php
$this
->
_extends
(
'layout/default_layout'
);
?>
<?php
$this
->
_block
(
'main'
);
?>
<img
src=
"
<?php
echo
SITE_RES
.
'/images/yohood/recom.jpg'
;
?>
"
style=
"margin: 0 auto; width: 100%;"
/>
<div
class=
"special-bd"
>
<div
style=
"height:103px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_01.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:102px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_02.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:117px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_03.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:134px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_04.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:143px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_05.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:167px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_06.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:116px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_07.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:240px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_08.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:255px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_09.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:128px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_10.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:351px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_11.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:110px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_12.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:312px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_13.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:94px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_14.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:485px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_15.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:406px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_16.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:429px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_17.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:497px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_18.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:479px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_19.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:449px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_20.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:502px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_21.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:513px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_22.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:430px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_23.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:486px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_24.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:224px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_25.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:315px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_26.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:255px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_27.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:450px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_28.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:207px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_29.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
</div>
<div
style=
"height:377px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_30.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
<div
style=
"width:1000px; margin:0 auto; overflow:hidden;"
>
<img
border=
"0"
height=
"377"
src=
"
<?php
echo
SITE_RES
?>
/images/yohood/special/blank.png"
usemap=
"#Map"
width=
"1000"
><map
id=
"Map"
name=
"Map"
><area
coords=
"2,15,495,339"
href=
"http://www.yohobuy.com/special_9663_0828NEWHOMEBOY.html"
shape=
"rect"
target=
"_blank"
>
<area
coords=
"549,21,995,126"
href=
"http://sale.yohobuy.com/?specialsale_id=5&gender=1,3&order=s_t_desc"
shape=
"rect"
target=
"_blank"
>
<area
coords=
"543,158,997,345"
href=
"http://www.yohobuy.com/special_9667_0828NEWMAPBOY.html"
shape=
"rect"
target=
"_blank"
></map></div>
</div>
<div
style=
"height:243px; background:url(
<?php
echo
SITE_RES
?>
/images/yohood/special/ex_boy_31.jpg) no-repeat center center; width:100%; margin:0 auto;"
>
<div
style=
"width:1000px; margin:0 auto; overflow:hidden;"
>
<a
href=
"http://www.yohobuy.com/"
target=
"_blank"
><img
height=
"243"
src=
"
<?php
echo
SITE_RES
?>
/images/yohood/special/blank.png"
width=
"1000"
></a></div>
</div>
</div>
<?php
$this
->
_endblock
();
?>
<?php
$this
->
_block
(
'js'
);
?>
<script
type=
"text/javascript"
>
seajs
.
use
(
'yohood'
,
function
(
yohood
)
{
yohood
.
recommend
();
});
</script>
<?php
$this
->
_endblock
();
?>
\ No newline at end of file
...
...
website/view/script/product/recommendmobile.php
deleted
100644 → 0
View file @
5ee5c32
<?php
$this
->
_extends
(
'layout/default_layout_mobile'
);
?>
<?php
$this
->
_block
(
'main'
);
?>
<img
src=
"
<?php
echo
SITE_RES
.
'/images/yohood/recom.jpg'
;
?>
"
/>
<?php
$this
->
_endblock
();
?>
\ No newline at end of file
Please
register
or
login
to post a comment