Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
bdf827d4
Commit
bdf827d4
authored
Jun 10, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完工返回上一页更新订单状态
parent
fd8d93b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
complete.vue
src/pages/order/complete.vue
+9
-2
No files found.
src/pages/order/complete.vue
View file @
bdf827d4
...
...
@@ -2,7 +2,7 @@
<view
class=
"pg-complete"
>
<complete-check
:show=
"completeCheck.status"
:list-data=
"completeCheck.result"
:pass=
"pass"
@
close=
"closeCheckResult"
@
confirm=
"confirm"
:confirm-button-text=
"completeCheck.confirmText"
:cancel-button-text=
"completeCheck.cancelText"
></complete-check>
<view
class=
"com-content"
>
<u-navbar
:background=
"
{background: '#2272FF'}" back-icon-color="#fff" :title-size="32" title-color="#fff" :border-bottom="false" :title="list[tabIndex].panelName" title-bold>
</u-navbar>
<u-navbar
:background=
"
{background: '#2272FF'}" back-icon-color="#fff" :title-size="32" title-color="#fff" :border-bottom="false" :title="list[tabIndex].panelName" title-bold
:custom-back="backGo"
>
</u-navbar>
<u-tabs
class=
"order-tabs"
ref=
"tabs"
:current=
"current"
name=
"panelName"
:list=
"tabList"
@
change=
"swichMenu"
bg-color=
"#2272FF"
inactive-color=
"#a6c6ff"
active-color=
"#fff"
height=
"80"
font-size=
"32"
></u-tabs>
<view
class=
"u-menu-wrap"
>
<scroll-view
:scroll-top=
"scrollRightTop"
style=
"height: 100%;"
scroll-y
scroll-with-animation
class=
"right-box"
@
scroll=
"rightScroll"
:scroll-into-view=
"itemId"
>
...
...
@@ -808,7 +808,14 @@
},
handleTouchstart
()
{
// 防止输入光标滚动出现错乱
uni
.
hideKeyboard
()
}
},
// 返回上一页更新订单状态
backGo
()
{
const
pages
=
getCurrentPages
()
const
beforePage
=
pages
[
pages
.
length
-
2
]
beforePage
.
$vm
.
loadOrderDetail
()
uni
.
navigateBack
()
}
}
}
</
script
>
...
...
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