Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
5184386f
Commit
5184386f
authored
Mar 17, 2020
by
李嘉林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
选择规格组件
parent
a3b3041f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/components/livedModel/livedSelectionSpe.vue
+5
-4
No files found.
src/components/livedModel/livedSelectionSpe.vue
View file @
5184386f
...
...
@@ -75,10 +75,10 @@
</ul>
</div>
<div
class=
"buyQty flex"
>
<div
class=
"ti"
>
购买数量
{{buyQty}}
</div>
<div
class=
"ti"
>
购买数量
</div>
<van-stepper
:value=
"buyQty"
:min=
"product_goods_info.productMinCount
=='0'?1:Number(product_goods_info.productMinCount)
"
:min=
"product_goods_info.productMinCount
>0?product_goods_info.productMinCount:1
"
:max=
"MaxQtyNum"
:disable-input=
"true"
@
change=
"changeQty"
...
...
@@ -383,8 +383,8 @@ export default {
this
.
product_goods_info
.
singleItemActivityId
=
res
.
data
.
data
.
singleItemActivityId
||
''
;
//
this.buyQty =
// res.data.data.productMinCount == "0" ? 1 : Number(res.data.data.productMinCount)
;
this
.
buyQty
=
this
.
product_goods_info
.
productMinCount
>
0
?
this
.
product_goods_info
.
productMinCount
:
1
;
if
(
this
.
product_goods_info
.
oversoldFlag
!=
1
&&
this
.
product_goods_info
.
sellMaxQty
-
0
<=
0
...
...
@@ -724,6 +724,7 @@ export default {
height
:
50px
;
text-align
:
center
;
line-height
:
50px
;
font-size
:
20px
;
}
.toPay
{
background
:
#ff4240
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment