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
e7b9e52571b02d3ea9aa6d1db62d3eb940834e22
1 parent
589cd21d
fixed bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
res/js/yohood.js
res/js/yohood.js
View file @
e7b9e52
...
...
@@ -126,9 +126,9 @@ define('yohood', function(require, exports) {
market_price
=
parts
[
0
]
+
'.'
+
(
parts
[
1
]
?
parts
[
1
]
:
'00'
);
market_price
=
'<span class="original-price">¥ '
+
market_price
+
'</span>'
;
}
html
+=
'<li><a href="'
+
v
.
url
+
'" target="_blank" title="'
+
v
.
name
+
'">'
+
html
+=
'<li><a href="'
+
v
.
url
+
'" target="_blank" title="'
+
v
.
name
.
replace
(
/
\s
+/g
,
' '
)
+
'">'
+
'<div class="img-box"><img src="'
+
pic
+
'" alt=""><span class="'
+
topClass
+
'">TOP '
+
(
++
pos
)
+
'</span></div>'
+
'<p class="goods-name">'
+
tools
.
limitWords
(
v
.
name
,
6
0
)
+
'</p>'
+
'<p class="goods-name">'
+
tools
.
limitWords
(
v
.
name
.
replace
(
/
\s
+/g
,
' '
),
5
0
)
+
'</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