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
30d6e0acf8bd9960f3ee24dadb2bd6e016837112
1 parent
a30e292d
修改bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
res/js/yohood.js
res/js/yohood.js
View file @
30d6e0a
...
...
@@ -128,7 +128,7 @@ define('yohood', function(require, exports) {
}
html
+=
'<li><a href="'
+
v
.
url
+
'" target="_blank" title="'
+
v
.
name
+
'">'
+
'<div class="img-box"><img src="'
+
pic
+
'" alt=""><span class="'
+
topClass
+
'">TOP '
+
(
++
pos
)
+
'</span></div>'
+
'<p class="goods-name">'
+
tools
.
limitWords
(
v
.
name
,
4
0
)
+
'</p>'
+
'<p class="goods-name">'
+
tools
.
limitWords
(
v
.
name
,
4
8
)
+
'</p>'
+
'<p class="price">'
+
market_price
+
'¥'
+
price
+
'</p></a></li>'
;
if
(
pos
%
5
==
0
)
{
temp
+=
template
.
replace
(
'{li}'
,
html
);
...
...
Please
register
or
login
to post a comment