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
1ab17635
Commit
1ab17635
authored
Aug 30, 2021
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 订单管理日期
parent
cbe16c31
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
index.vue
src/pages/mine/order/index.vue
+2
-0
list.vue
src/pages/mine/order/list.vue
+0
-1
No files found.
src/pages/mine/order/index.vue
View file @
1ab17635
...
...
@@ -87,10 +87,12 @@ export default {
var
timestamp
=
date
.
getTime
()
var
today
=
this
.
$u
.
timeFormat
(
timestamp
,
'yyyy-mm-dd'
)
var
yesterday
=
this
.
$u
.
timeFormat
(
date
.
setDate
(
date
.
getDate
()
-
1
))
date
=
new
Date
()
var
weekDays
=
[
6
,
0
,
1
,
2
,
3
,
4
,
5
]
var
week
=
this
.
$u
.
timeFormat
(
date
.
setDate
(
date
.
getDate
()
-
weekDays
[
date
.
getDay
()])
)
date
=
new
Date
()
var
month
=
this
.
$u
.
timeFormat
(
date
.
setDate
(
1
))
return
[
{
start
:
today
,
end
:
today
},
...
...
src/pages/mine/order/list.vue
View file @
1ab17635
...
...
@@ -10,7 +10,6 @@
></u-navbar>
<view
class=
"content-view"
>
<scroll-view
scroll-y
@
scrolltolower=
"reachBottom"
scroll-anchoring
refresher-enabled=
"true"
...
...
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