Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6fb91d3b
authored
Apr 10, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.3支付完成
1 parent
eb08f41f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
3 deletions
config.js
packageCrowdFunding/pages/activityPay/activityPay.js
packageCrowdFunding/pages/newOrder/newOrder.js
project.private.config.json
config.js
View file @
6fb91d3
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
* 2测试
* 2测试
* 3生产环境
* 3生产环境
*/
*/
let
index
=
2
let
index
=
1
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
accountInfo
=
wx
.
getAccountInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
const
systemInfo
=
wx
.
getSystemInfoSync
()
...
...
packageCrowdFunding/pages/activityPay/activityPay.js
View file @
6fb91d3
...
@@ -165,7 +165,7 @@ Page({
...
@@ -165,7 +165,7 @@ Page({
onRoute
(
options
)
{
onRoute
(
options
)
{
// 先模拟数据
// 先模拟数据
options
=
{
options
=
{
orderCode
:
'
2101271622299797
'
,
orderCode
:
'
S2304101345174444
'
,
orderPaySource
:
1
orderPaySource
:
1
}
}
...
...
packageCrowdFunding/pages/newOrder/newOrder.js
View file @
6fb91d3
...
@@ -79,6 +79,7 @@ Page({
...
@@ -79,6 +79,7 @@ Page({
const
orderObj
=
wx
.
$util
.
deepClone
(
orderInfo
)
const
orderObj
=
wx
.
$util
.
deepClone
(
orderInfo
)
delete
orderObj
.
activityPrice
delete
orderObj
.
activityPrice
delete
orderObj
.
crowdFundingPrice
delete
orderObj
.
crowdFundingPrice
delete
orderObj
.
balancePrice
let
params
=
{
let
params
=
{
...
orderObj
,
...
orderObj
,
selectPayType
,
selectPayType
,
...
@@ -92,7 +93,7 @@ Page({
...
@@ -92,7 +93,7 @@ Page({
let
{
code
,
data
,
message
}
=
res
let
{
code
,
data
,
message
}
=
res
if
(
code
==
'0'
)
{
if
(
code
==
'0'
)
{
// wx.$router.reLaunch
// wx.$router.reLaunch
wx
.
$router
.
redirectTo
(
'activityPay'
,
{
orderCode
:
data
.
o
rderCode
,
selectPayType
,
outTradeNo
:
data
.
outTradeNo
})
wx
.
$router
.
redirectTo
(
'activityPay'
,
{
orderCode
:
data
.
subO
rderCode
,
selectPayType
,
outTradeNo
:
data
.
outTradeNo
})
}
}
})
})
},
},
...
...
project.private.config.json
View file @
6fb91d3
...
@@ -235,6 +235,13 @@
...
@@ -235,6 +235,13 @@
"query"
:
""
,
"query"
:
""
,
"launchMode"
:
"default"
,
"launchMode"
:
"default"
,
"scene"
:
null
"scene"
:
null
},
{
"name"
:
"1.3支付"
,
"pathName"
:
"packageCrowdFunding/pages/activityPay/activityPay"
,
"query"
:
""
,
"launchMode"
:
"default"
,
"scene"
:
null
}
}
]
]
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment