Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
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
王水玲
6 years ago
Commit
b8a07abd030a8c398cba32f49e136c0f367dcff8
1 parent
dd76f66e
食品套餐修改尺码为规格
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
public/js/product/bundle.page.js
utils/product-process.js
public/js/product/bundle.page.js
View file @
b8a07ab
...
...
@@ -63,7 +63,8 @@ $selectBtn.on('touchend', function() {
colorName
=
colorName
.
substring
(
0
,
4
)
+
'...'
;
product
.
data
(
'sku'
,
result
.
sku
.
skuId
);
product
.
html
(
'颜色:'
+
colorName
+
' 尺码:'
+
result
.
sku
.
prop
.
size
.
valName
);
product
.
html
(
'颜色:'
+
colorName
+
' '
+
result
.
sku
.
prop
.
size
.
skuTitle
+
':'
+
result
.
sku
.
prop
.
size
.
valName
);
}
},
()
=>
{});
});
...
...
utils/product-process.js
View file @
b8a07ab
...
...
@@ -494,7 +494,8 @@ exports.processSkusInfo = (origin) => {
},
size
:
{
valId
:
size
.
size_id
,
valName
:
size
.
size_name
valName
:
size
.
size_name
,
skuTitle
:
origin
.
skuTitle
}
},
limitNum
:
size
.
limit_buy_num
...
...
Please
register
or
login
to post a comment