Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
Project
Project
Details
Activity
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
Administrator
jd-vx-app
Commits
cd106b58
Commit
cd106b58
authored
May 08, 2022
by
程新智
👽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
2bf0cf0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
scroll-list.vue
common/scroll-list/scroll-list.vue
+9
-0
myOrder.vue
pagesD/pages/personal/myOrder.vue
+1
-0
No files found.
common/scroll-list/scroll-list.vue
View file @
cd106b58
...
@@ -203,6 +203,15 @@ export default {
...
@@ -203,6 +203,15 @@ export default {
// 触发加载失败事件
// 触发加载失败事件
this
.
$emit
(
'loadFail'
);
this
.
$emit
(
'loadFail'
);
},
},
//切换效果
toggle
()
{
this
.
showEmpty
=
false
;
},
//showEmpty
show
()
{
this
.
showEmpty
=
true
;
this
.
loadStateText
=
''
},
// 刷新数据
// 刷新数据
refresh
()
{
refresh
()
{
// 如果是下拉刷新
// 如果是下拉刷新
...
...
pagesD/pages/personal/myOrder.vue
View file @
cd106b58
...
@@ -293,6 +293,7 @@ export default {
...
@@ -293,6 +293,7 @@ export default {
this
.
http
.
httpTokenRequest
(
opts
,
order
).
then
(
res
=>
{
this
.
http
.
httpTokenRequest
(
opts
,
order
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
this
.
orderList
=
res
.
data
.
data
.
rows
this
.
orderList
=
res
.
data
.
data
.
rows
this
.
orderList
.
length
>
0
?
this
.
$refs
.
list
.
toggle
():
this
.
$refs
.
list
.
show
()
}
}
})
})
},
},
...
...
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