Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
9 years ago
Commit
2e2037005618bc77fabe194e6fb059649fc98051
1 parent
35eb6d93
fix image quality
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
apps/product/models/detail-service.js
apps/product/models/detail-service.js
View file @
2e20370
...
...
@@ -1123,14 +1123,15 @@ const _getDetailDataBySizeInfo = (sizeInfo) => {
'<img src='
:
'<img class="lazy" src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP///93d3f'
+
'///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" data-original='
,
'<img border="0" src='
:
'<img border="0" class="lazy" src="data:image/gif;base64,R0lGODlhAQABAJEAAAAAAP'
+
'///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" data-original='
'///93d3f///yH5BAEAAAMALAAAAAABAAEAAAICVAEAOw==" data-original='
,
'.jpg'
:
'.jpg?imageView2/0/q/90'
};
let
intro
=
_
.
get
(
sizeInfo
,
'productIntroBo.productIntro'
,
''
);
// 详情配图
_
(
replacePairs
).
forEach
((
value
,
key
)
=>
{
intro
=
_
.
replace
(
intro
,
key
,
value
);
intro
=
_
.
replace
(
intro
,
new
RegExp
(
key
,
'gm'
)
,
value
);
});
details
+=
intro
;
...
...
Please
register
or
login
to post a comment