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
Email Patches
Plain Diff
Browse Files
Authored by
whb
10 years ago
Commit
2f720bcfa5444cb1e772d87dbc9799366394c8af
1 parent
0b7121a8
推荐商品
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
res/js/yohood.js
website/view/script/product/recommend.php
res/js/yohood.js
View file @
2f720bc
...
...
@@ -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/view/script/product/recommend.php
View file @
2f720bc
...
...
@@ -68,4 +68,12 @@
<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
...
...
Please
register
or
login
to post a comment