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
周少峰
2017-04-14 17:15:46 +0800
Commit
fc13ee045e581f9f4aec26b3b65deb72fd92a725
1 parent
175df8e7
slim
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
apps/product/views/partial/product/detail-header.hbs
public/js/common/helpers/image2.js
utils/helpers.js
apps/product/views/partial/product/detail-header.hbs
View file @
fc13ee0
...
...
@@ -143,7 +143,7 @@
<span
id=
"open-soon"
class=
"buy-btn item-buy dis"
>
即将开售
</span>
{{/
openSoon
}}
{{#if
notForSale
}}
<span
class=
"buy-btn dis"
>
<i
class=
"iconfont"
>

</i>
非
买
品
</span>
<span
class=
"buy-btn dis"
>
<i
class=
"iconfont"
>

</i>
非
卖
品
</span>
{{/if}}
{{#if
addToCart
}}
<span
id=
"add-to-cart"
class=
"buy-btn item-buy add-to-cart"
>
<i
class=
"iconfont"
>
...
...
public/js/common/helpers/image2.js
View file @
fc13ee0
...
...
@@ -61,7 +61,7 @@ module.exports = function(imageUrl, opts) {
}
else
{
query
=
'imageView2/2/interlace/1/q/'
+
(
params
.
q
||
75
);
}
return
uri
+
'?'
+
query
;
return
uri
+
'?'
+
query
+
'|imageslim'
;
}
else
{
return
imageUrl
;
}
...
...
utils/helpers.js
View file @
fc13ee0
...
...
@@ -61,7 +61,7 @@ module.exports = {
}
else
{
query
=
'imageView2/2/interlace/1/q/'
+
(
params
.
q
||
75
);
}
return
uri
+
'?'
+
query
;
return
uri
+
'?'
+
query
+
'|imageslim'
;
}
else
{
return
''
;
}
...
...
Please
register
or
login
to post a comment