Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
ChengjingPremiumMember
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢卓城
ChengjingPremiumMember
Commits
3c5c3ae1
Commit
3c5c3ae1
authored
Dec 05, 2020
by
谢卓城
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复:购物车商品数量减少逻辑错误
parent
72060550
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
index.js
CJPremiumMember/pages/Cart/index.js
+3
-1
project.config.json
project.config.json
+1
-1
No files found.
CJPremiumMember/pages/Cart/index.js
View file @
3c5c3ae1
...
...
@@ -247,7 +247,9 @@ Page({
return
}
let
totalPrice
=
this
.
data
.
totalPrice
totalPrice
=
totalPrice
-
goods
.
goodsPrice
if
(
goods
.
isSelect
)
{
totalPrice
=
totalPrice
-
goods
.
goodsPrice
}
goods
.
goodsCount
=
number
this
.
setData
({
goodsList
:
goodsList
,
...
...
project.config.json
View file @
3c5c3ae1
...
...
@@ -32,7 +32,6 @@
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.14.1"
,
"appid"
:
"wx8b5f30d2d4a5a6e0"
,
"projectname"
:
"ChengjingPremiumMember"
,
"debugOptions"
:
{
"hidedInDevtools"
:
[]
...
...
@@ -41,6 +40,7 @@
"isGameTourist"
:
false
,
"simulatorType"
:
"wechat"
,
"simulatorPluginLibVersion"
:
{},
"appid"
:
"wx8b5f30d2d4a5a6e0"
,
"condition"
:
{
"search"
:
{
"list"
:
[]
...
...
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