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
Plain Diff
Browse Files
Authored by
王水玲
6 years ago
Commit
34e0a0947f8ec3f21995431e8df0fa4f3fd3e7d6
2 parents
1bb25de1
b99f62e7
Merge branch 'feature/food-setting' into 'release/6.8.3'
全球购商品详情页兼容 See merge request
!399
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
apps/product/models/global.js
apps/product/views/partial/product/size-list.hbs
apps/product/models/global.js
View file @
34e0a09
...
...
@@ -353,6 +353,7 @@ function getGlobalProductDetailData(skn, channelNum, channel) {
});
detailInfo
.
colors
=
colors
;
detailInfo
.
skuTitle
=
'尺码'
;
_
.
set
(
detailInfo
,
'bundle.count'
,
1
);
// 设置默认数量为1
}
}
...
...
apps/product/views/partial/product/size-list.hbs
View file @
34e0a09
<div
class=
"chose-size row clearfix"
>
<span
class=
"title pull-left"
><i
class=
"sku-label"
>
{{
skuTitle
||
'尺码'
}}
</i>
:
</span>
<span
class=
"title pull-left"
><i
class=
"sku-label"
>
{{
skuTitle
}}
</i>
:
</span>
<div
id=
"sizes"
class=
"size-wrapper pull-left"
>
{{#
each
colors
}}
...
...
Please
register
or
login
to post a comment