Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
cb2b3763
Commit
cb2b3763
authored
Oct 14, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ab57ce69
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
7 deletions
+16
-7
submit2Pay.vue
components/pay/submit2Pay.vue
+3
-2
order-submit2.vue
pages/order-submit/order-submit2.vue
+1
-1
index.vue
pages/order/index/index.vue
+6
-2
order-detail.vue
pages/order/order-detail.vue
+6
-2
No files found.
components/pay/submit2Pay.vue
View file @
cb2b3763
...
...
@@ -119,7 +119,6 @@ export default {
"paySign"
:
payData
.
paySign
,
//微信签名
'success'
:
function
(
res
){
uni
.
hideLoading
()
that
.
closePay
()
uni
.
navigateTo
({
url
:
'/pages/order-submit/pay-success?payInfo='
+
JSON
.
stringify
(
that
.
payInfo
)
});
...
...
@@ -129,7 +128,9 @@ export default {
},
'fail'
:
function
(
res
){
uni
.
hideLoading
()
that
.
closePay
()
uni
.
navigateTo
({
url
:
'/pages/order/index/index?status=1'
});
},
'complete'
:
function
(
res
){
// uni.showToast({
...
...
pages/order-submit/order-submit2.vue
View file @
cb2b3763
...
...
@@ -331,7 +331,7 @@
},
data
()
{
return
{
isAlipay
:
2
,
isAlipay
:
2
,
//1微信 2微信支付宝
JJSWStuId
:
""
,
Thename2
:
''
,
u
:
{},
...
...
pages/order/index/index.vue
View file @
cb2b3763
...
...
@@ -95,7 +95,8 @@
:border-radius=
"20"
></u-modal>
<good-list
:list=
"goodData"
v-if=
"showGoodList"
@
close=
"closeGoodListHandler"
></good-list>
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
'goback'
></auth>
<payCom
v-if=
"payBtn"
:payInfo=
"payInfo"
@
closePay=
"closePay"
></payCom>
<payCom
v-if=
"payBtn&&u.TenantId!=27"
:payInfo=
"payInfo"
@
closePay=
"closePay"
></payCom>
<submit2PayCom
v-if=
"payBtn&&u.TenantId==27"
:payInfo=
"payInfo"
:isAlipay=
"isAlipay"
@
closePay=
"closePay"
></submit2PayCom>
<u-popup
v-model=
"payExit"
mode=
"center"
:mask-close-able=
"false"
>
<view
style=
"background:#fff;width:500rpx"
>
<view
style=
"padding:10px 0 0 10px"
>
提交失败
</view>
...
...
@@ -110,16 +111,19 @@
<
script
>
import
payCom
from
'@/components/pay/pay'
;
import
submit2PayCom
from
'@/components/pay/submit2Pay'
;
import
goodList
from
"@/components/goods/order-good-list2"
;
import
auth
from
"../../../components/auth/index.vue"
;
export
default
{
components
:
{
goodList
,
auth
,
payCom
payCom
,
submit2PayCom
},
data
()
{
return
{
isAlipay
:
2
,
//1微信 2微信支付宝
pageTitle
:
"我的订单"
,
current
:
0
,
list
:
[],
...
...
pages/order/order-detail.vue
View file @
cb2b3763
...
...
@@ -241,7 +241,8 @@
<u-modal
v-model=
"showReviceModal"
content=
"是否确认收货?"
:show-cancel-button=
"true"
:show-title=
"false"
@
confirm=
"submitReviceGoodHandler"
:border-radius=
"20"
></u-modal>
<u-toast
ref=
"uToast"
/>
<payCom
v-if=
"payBtn"
:payInfo=
"payInfo"
@
closePay=
"closePay"
></payCom>
<payCom
v-if=
"payBtn&&u.TenantId!=27"
:payInfo=
"payInfo"
@
closePay=
"closePay"
></payCom>
<submit2PayCom
v-if=
"payBtn&&u.TenantId==27"
:payInfo=
"payInfo"
:isAlipay=
"isAlipay"
@
closePay=
"closePay"
></submit2PayCom>
<u-popup
v-model=
"payExit"
mode=
"center"
:mask-close-able=
"false"
>
<view
style=
"background:#fff;width:500rpx"
>
<view
style=
"padding:10px 0 0 10px"
>
提交失败
</view>
...
...
@@ -257,16 +258,19 @@
<
script
>
import
payCom
from
'@/components/pay/pay'
;
import
submit2PayCom
from
'@/components/pay/submit2Pay'
;
import
afterSale
from
"@/components/userorder/after-sale"
;
import
goodlist
from
"@/components/goods/list"
;
export
default
{
components
:
{
afterSale
,
goodlist
,
payCom
payCom
,
submit2PayCom
},
data
()
{
return
{
isAlipay
:
2
,
//1微信 2微信支付宝
u
:{},
mc
:
""
,
secondary
:
""
,
...
...
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