Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
eb628dbd
authored
2022-11-16 11:26:13 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:日历样式
1 parent
a80c2f0b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
6 deletions
src/components/Calendar/index.vue
src/components/calendar/index.vue
src/components/Calendar/index.vue
View file @
eb628db
...
...
@@ -68,7 +68,7 @@ export default {
}
/
deep
/
.el-calendar__body
{
padding
:
12px
!important
;
padding
:
8px
;
}
/
deep
/
.el-calendar-table
.el-calendar-day
{
...
...
@@ -82,6 +82,18 @@ export default {
text-align
:
center
;
}
/
deep
/
.el-calendar-table
thead
th
{
padding
:
0
0
6px
0
!important
;
}
/
deep
/
.el-calendar-day
{
padding
:
3px
!important
;
}
/
deep
/
.el-calendar__header
{
padding
:
8px
15px
;
}
/**日期div的样式*/
.el-calendar-table
tr
td
:first-child
{
border-left
:
0px
;
...
...
@@ -108,14 +120,16 @@ export default {
/**日期div的样式-公历*/
.el-calendar-table
.el-calendar-day
>
div
.solar
{
text-align
:
center
text-align
:
center
;
margin-top
:
3px
;
}
/**日期div的样式-农历*/
.el-calendar-table
.el-calendar-day
>
div
.lunar
{
padding-top
:
5px
;
font-size
:
12px
;
text-align
:
center
text-align
:
center
;
margin-bottom
:
5px
;
}
/**日期div的样式-选中*/
...
...
src/components/calendar/index.vue
View file @
eb628db
...
...
@@ -68,7 +68,7 @@ export default {
}
/
deep
/
.el-calendar__body
{
padding
:
12px
!important
;
padding
:
8px
;
}
/
deep
/
.el-calendar-table
.el-calendar-day
{
...
...
@@ -82,6 +82,18 @@ export default {
text-align
:
center
;
}
/
deep
/
.el-calendar-table
thead
th
{
padding
:
0
0
6px
0
!important
;
}
/
deep
/
.el-calendar-day
{
padding
:
3px
!important
;
}
/
deep
/
.el-calendar__header
{
padding
:
8px
15px
;
}
/**日期div的样式*/
.el-calendar-table
tr
td
:first-child
{
border-left
:
0px
;
...
...
@@ -108,14 +120,16 @@ export default {
/**日期div的样式-公历*/
.el-calendar-table
.el-calendar-day
>
div
.solar
{
text-align
:
center
text-align
:
center
;
margin-top
:
3px
;
}
/**日期div的样式-农历*/
.el-calendar-table
.el-calendar-day
>
div
.lunar
{
padding-top
:
5px
;
font-size
:
12px
;
text-align
:
center
text-align
:
center
;
margin-bottom
:
5px
;
}
/**日期div的样式-选中*/
...
...
Please
register
or
sign in
to post a comment