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
2473a0423a123568bd70c5dcd7cada156b87e6a6
1 parent
59d4d1f3
fixed 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 @
2473a04
...
...
@@ -126,7 +126,7 @@ 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
.
replace
(
/
\s
+/g
,
' '
).
replace
(
/
"/g
,
"\
""
);
+
'">'
+
html
+=
'<li><a href="'
+
v
.
url
+
'" target="_blank" title="'
+
v
.
name
.
replace
(
/
\s
+/g
,
' '
).
replace
(
/
\"
/g
,
"
""); + '"
>
' +
'
<
div
class
=
"img-box"
><
img
src
=
"' + pic + '"
alt
=
""
><
span
class
=
"' + topClass + '"
>
TOP
' + (++pos) + '
<
/span></
div
>
' +
'
<
p
class
=
"goods-name"
>
' + tools.limitWords(v.name.replace(/\s+/g, '
'), 50) + '
<
/p>'
+
'<p class="price">'
+
market_price
+
'¥'
+
price
+
'</p></a></li>'
;
...
...
Please
register
or
login
to post a comment