Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
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
刘文虎
account-book
Commits
41d059df
Commit
41d059df
authored
Jul 27, 2022
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve: 日期选择器
parent
a13e4e20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
calendar.vue
components/date-range-picker/calendar.vue
+9
-2
index.vue
pages/index/index.vue
+1
-1
No files found.
components/date-range-picker/calendar.vue
View file @
41d059df
...
...
@@ -517,25 +517,32 @@
this
.
init
(
this
.
date
)
}
this
.
show
=
true
// #ifdef APP-PLUS || H5
this
.
$nextTick
(()
=>
{
setTimeout
(()
=>
{
// #endif
this
.
aniMaskShow
=
true
// #ifdef APP-PLUS || H5
},
50
)
})
console
.
log
(
'-----this-------'
,
this
.
cale
,
this
.
calendar
,
this
.
selected
,
this
.
lunar
,
this
.
range
)
// #endif
},
/**
* 关闭日历弹窗
*/
close
()
{
this
.
aniMaskShow
=
false
// #ifdef APP-PLUS || H5
this
.
$nextTick
(()
=>
{
setTimeout
(()
=>
{
// #endif
this
.
show
=
false
this
.
$emit
(
'close'
)
// #ifdef APP-PLUS || H5
},
300
)
})
// #endif
},
/**
* 确认按钮
...
...
pages/index/index.vue
View file @
41d059df
...
...
@@ -542,7 +542,7 @@ export default {
}
.right-view
{
border-radius
:
8rpx
;
background-color
:
rgba
(
2
4
,
204
,
100
,
0
.3
);
background-color
:
rgba
(
2
55
,
255
,
255
,
0
.3
);
height
:
56rpx
;
padding
:
0rpx
16rpx
;
display
:
flex
;
...
...
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