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
81b80ade
Commit
81b80ade
authored
Aug 27, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 标注
parent
3178e1cd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
order.vue
src/pages/index/order.vue
+2
-9
No files found.
src/pages/index/order.vue
View file @
81b80ade
...
@@ -281,6 +281,7 @@ export default {
...
@@ -281,6 +281,7 @@ export default {
onLoad
(
e
)
{
onLoad
(
e
)
{
getApp
().
trackPage
(
'订单首页'
)
getApp
().
trackPage
(
'订单首页'
)
this
.
_freshing
=
false
this
.
_freshing
=
false
// 跳转到本页是否带了跳到那个tab的参数
if
(
e
&&
e
.
type
)
{
if
(
e
&&
e
.
type
)
{
this
.
current
[
this
.
curNow
]
=
Math
.
max
(
this
.
current
[
this
.
curNow
]
=
Math
.
max
(
0
,
0
,
...
@@ -301,7 +302,7 @@ export default {
...
@@ -301,7 +302,7 @@ export default {
this
.
current
[
this
.
curNow
]
=
index
this
.
current
[
this
.
curNow
]
=
index
this
.
reloadOrderList
()
this
.
reloadOrderList
()
},
},
// 滚动底部
reachBottom
(
e
)
{
reachBottom
(
e
)
{
if
(
this
.
loadStatus
!=
'loadmore'
)
return
if
(
this
.
loadStatus
!=
'loadmore'
)
return
this
.
loadStatus
==
'loading'
this
.
loadStatus
==
'loading'
...
@@ -409,7 +410,6 @@ export default {
...
@@ -409,7 +410,6 @@ export default {
},
},
handleClickCellButton
(
item
,
type
)
{
handleClickCellButton
(
item
,
type
)
{
if
(
!
this
.
loaded
)
return
if
(
!
this
.
loaded
)
return
// 去完工
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
url
:
'pages/order/complete?orderId='
+
'pages/order/complete?orderId='
+
...
@@ -486,16 +486,9 @@ export default {
...
@@ -486,16 +486,9 @@ export default {
.u-tabs-box
{
.u-tabs-box
{
margin-bottom
:
30rpx
;
margin-bottom
:
30rpx
;
}
}
// .u-tabs-box {
// margin-bottom: 20rpx !important;
// }
// /deep/ .u-tab-bar {
// bottom: 10rpx !important;
// }
.tab-view
{
.tab-view
{
height
:
100%
;
height
:
100%
;
overflow
:
auto
;
overflow
:
auto
;
// padding-bottom: 20rpx;
.load-more-view
{
.load-more-view
{
padding-bottom
:
44rpx
;
padding-bottom
:
44rpx
;
}
}
...
...
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