Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
iBiz-Vue-Mob-R7-Res
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz-R7前端标准模板
iBiz-Vue-Mob-R7-Res
提交
de9a95d4
提交
de9a95d4
编写于
9月 17, 2020
作者:
KK
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
日历样式优化
上级
455d27af
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
395 行增加
和
399 行删除
+395
-399
browser-style.css
src/components/app-calendar/browser-style.css
+4
-6
icon.css
src/components/app-calendar/icon.css
+1
-0
style.css
src/components/app-calendar/style.css
+390
-393
未找到文件。
src/components/app-calendar/browser-style.css
浏览文件 @
de9a95d4
...
@@ -8,12 +8,10 @@
...
@@ -8,12 +8,10 @@
}
}
.calendar-tools
{
.calendar-tools
{
height
:
40px
;
height
:
40px
;
font-size
:
20
px
;
font-size
:
15
px
;
line-height
:
40px
;
line-height
:
40px
;
color
:
#5e7a88
;
color
:
#5e7a88
;
box-shadow
:
0px
4px
8px
rgba
(
25
,
47
,
89
,
0.1
);
border-bottom
:
0.3px
solid
#efefef
;
margin-bottom
:
20px
;
border-top
:
1px
solid
rgba
(
200
,
200
,
200
,
.1
);
}
}
.calendar-tools
span
{
.calendar-tools
span
{
cursor
:
pointer
;
cursor
:
pointer
;
...
@@ -174,7 +172,7 @@
...
@@ -174,7 +172,7 @@
.mc-head-box
div
{
.mc-head-box
div
{
flex
:
1
;
flex
:
1
;
text-align
:
center
;
text-align
:
center
;
font-size
:
1
8
px
;
font-size
:
1
5
px
;
}
}
.mc-head-box
{
.mc-head-box
{
display
:
flex
;
display
:
flex
;
...
@@ -183,7 +181,7 @@
...
@@ -183,7 +181,7 @@
align-content
:
space-between
align-content
:
space-between
}
}
.mc-body
{
.mc-body
{
padding-bottom
:
2
0px
;
padding-bottom
:
1
0px
;
}
}
.mc-body
tr
{
.mc-body
tr
{
display
:
flex
;
display
:
flex
;
...
...
src/components/app-calendar/icon.css
浏览文件 @
de9a95d4
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
height
:
4px
;
height
:
4px
;
color
:
#ccc
;
color
:
#ccc
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
600
;
}
}
.changeStyle_bottom
{
.changeStyle_bottom
{
border-color
:
rgb
(
135
,
135
,
135
);
border-color
:
rgb
(
135
,
135
,
135
);
...
...
src/components/app-calendar/style.css
浏览文件 @
de9a95d4
.mpvue-calendar
{
.mpvue-calendar
{
margin
:
auto
;
margin
:
auto
;
width
:
100%
;
width
:
100%
;
min-width
:
300
rpx
;
min-width
:
300
rpx
;
background
:
#fff
;
background
:
#fff
;
user-select
:
none
;
user-select
:
none
;
position
:
relative
;
position
:
relative
;
}
}
.calendar-tools
{
.calendar-tools
{
height
:
40px
;
height
:
40px
;
font-size
:
20px
;
font-size
:
15px
;
line-height
:
40px
;
line-height
:
40px
;
color
:
#5e7a88
;
color
:
#5e7a88
;
box-shadow
:
0
rpx
4
rpx
8
rpx
rgba
(
25
,
47
,
89
,
0.1
);
}
margin-bottom
:
30
rpx
;
.calendar-prev
{
border-top
:
1px
solid
rgba
(
200
,
200
,
200
,
.1
);
width
:
14.28571429%
;
}
float
:
left
;
.calendar-prev
{
text-align
:
center
;
width
:
14.28571429%
;
}
float
:
left
;
.calendar-prev
img
,
.calendar-next
img
{
text-align
:
center
;
width
:
34
rpx
;
}
height
:
34
rpx
;
.calendar-prev
img
,
.calendar-next
img
{
}
width
:
34
rpx
;
.calendar-info
{
height
:
34
rpx
;
padding-top
:
3px
;
}
font-size
:
16px
;
.calendar-info
{
line-height
:
1.3
;
padding-top
:
3px
;
text-align
:
center
;
font-size
:
16px
;
width
:
220
rpx
;
line-height
:
1.3
;
margin
:
0
auto
;
text-align
:
center
;
}
width
:
220
rpx
;
.calendar-info
>
div
.mc-month
{
margin
:
0
auto
;
margin
:
auto
;
}
height
:
40
rpx
;
.calendar-info
>
div
.mc-month
{
width
:
100px
;
margin
:
auto
;
text-align
:
center
;
height
:
40
rpx
;
color
:
#5e7a88
;
width
:
100px
;
overflow
:
hidden
;
text-align
:
center
;
position
:
relative
;
color
:
#5e7a88
;
}
overflow
:
hidden
;
.calendar-info
>
div
.mc-month
.mc-month-inner
{
position
:
relative
;
position
:
absolute
;
}
left
:
0
;
.calendar-info
>
div
.mc-month
.mc-month-inner
{
top
:
0
;
position
:
absolute
;
height
:
480
rpx
;
left
:
0
;
}
top
:
0
;
.month-transition
{
height
:
480
rpx
;
transition
:
top
.5s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
}
}
.month-transition
{
.calendar-info
.mc-month-text
{
transition
:
top
.5s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
display
:
block
;
}
font-size
:
28
rpx
;
.calendar-info
.mc-month-text
{
height
:
40
rpx
;
display
:
block
;
width
:
200
rpx
;
font-size
:
28
rpx
;
overflow
:
hidden
;
height
:
40
rpx
;
text-align
:
center
;
width
:
200
rpx
;
}
overflow
:
hidden
;
.calendar-info
>
div
.mc-month
.mc-month-inner
>
span
{
text-align
:
center
;
display
:
block
;
}
font-size
:
14px
;
.calendar-info
>
div
.mc-month
.mc-month-inner
>
span
{
height
:
20px
;
display
:
block
;
width
:
100px
;
font-size
:
14px
;
overflow
:
hidden
;
height
:
20px
;
text-align
:
center
;
width
:
100px
;
}
overflow
:
hidden
;
.calendar-info
>
div
.mc-year
{
text-align
:
center
;
font-size
:
10px
;
}
line-height
:
1
;
.calendar-info
>
div
.mc-year
{
color
:
#999
;
font-size
:
10px
;
}
line-height
:
1
;
.calendar-next
{
color
:
#999
;
width
:
14.28571429%
;
}
float
:
right
;
.calendar-next
{
text-align
:
center
;
width
:
14.28571429%
;
}
float
:
right
;
.mpvue-calendar
table
{
text-align
:
center
;
clear
:
both
;
}
width
:
100%
;
.mpvue-calendar
table
{
margin-bottom
:
10px
;
clear
:
both
;
border-collapse
:
collapse
;
width
:
100%
;
color
:
#444444
;
margin-bottom
:
10px
;
}
border-collapse
:
collapse
;
.mpvue-calendar
td
{
color
:
#444444
;
margin
:
2px
!important
;
}
padding
:
0px
0
;
.mpvue-calendar
td
{
width
:
14.28571429%
;
margin
:
2px
!important
;
height
:
88
rpx
;
padding
:
0px
0
;
text-align
:
center
;
width
:
14.28571429%
;
vertical-align
:
middle
;
height
:
88
rpx
;
font-size
:
14px
;
text-align
:
center
;
line-height
:
125%
;
vertical-align
:
middle
;
cursor
:
pointer
;
font-size
:
14px
;
position
:
relative
;
line-height
:
125%
;
vertical-align
:
top
;
cursor
:
pointer
;
}
position
:
relative
;
.mpvue-calendar
td
.mc-week
{
vertical-align
:
top
;
font-size
:
10px
;
}
pointer-events
:
none
!important
;
.mpvue-calendar
td
.mc-week
{
cursor
:
default
!important
;
font-size
:
10px
;
}
pointer-events
:
none
!important
;
.mpvue-calendar
td
.disabled
{
cursor
:
default
!important
;
color
:
#ccc
;
}
}
.mpvue-calendar
td
.disabled
{
.mpvue-calendar
td
.disabled
div
{
color
:
#ccc
;
color
:
#ccc
;
}
}
.mpvue-calendar
td
.disabled
div
{
.mpvue-calendar
td
span
{
color
:
#ccc
;
display
:
block
;
}
height
:
76
rpx
;
.mpvue-calendar
td
span
{
width
:
76
rpx
;
display
:
block
;
font-size
:
28
rpx
;
height
:
76
rpx
;
line-height
:
76
rpx
;
width
:
76
rpx
;
margin
:
0px
auto
;
font-size
:
28
rpx
;
position
:
relative
;
line-height
:
76
rpx
;
z-index
:
3
;
margin
:
0px
auto
;
}
position
:
relative
;
.mpvue-calendar
td
:not
(
.disabled
)
span
.mc-date-red
{
z-index
:
3
;
color
:
#ea6151
;
}
}
.mpvue-calendar
td
:not
(
.disabled
)
span
.mc-date-red
{
.mc-today
{
color
:
#ea6151
;
color
:
#3b75fb
;
}
}
.mc-today
{
.mpvue-calendar
td
.selected
span
{
color
:
#3b75fb
;
background-color
:
#3b75fb
;
}
color
:
#fff
;
.mpvue-calendar
td
.selected
span
{
border-radius
:
50%
;
background-color
:
#3b75fb
;
}
color
:
#fff
;
.mpvue-calendar
td
.mc-text
{
border-radius
:
50%
;
position
:
absolute
;
}
top
:
28px
;
.mpvue-calendar
td
.mc-text
{
left
:
0
;
position
:
absolute
;
right
:
0
;
top
:
28px
;
text-align
:
center
;
left
:
0
;
padding
:
2px
;
right
:
0
;
font-size
:
20
rpx
;
text-align
:
center
;
line-height
:
1.2
;
padding
:
2px
;
color
:
#444
;
font-size
:
20
rpx
;
z-index
:
4
;
line-height
:
1.2
;
}
color
:
#444
;
.mpvue-calendar
td
.isGregorianFestival
,
z-index
:
4
;
.mpvue-calendar
td
.isTerm
,
}
.mpvue-calendar
td
.isLunarFestival
{
.mpvue-calendar
td
.isGregorianFestival
,
color
:
#ea6151
;
.mpvue-calendar
td
.isTerm
,
}
.mpvue-calendar
td
.isLunarFestival
{
.mpvue-calendar
td
.selected
span
.mc-date-red
{
color
:
#ea6151
;
background-color
:
#3b75fb
;
}
color
:
#fff
;
.mpvue-calendar
td
.selected
span
.mc-date-red
{
}
background-color
:
#3b75fb
;
.selected
.mc-text
{
color
:
#fff
;
color
:
#fff
!important
;
}
}
.selected
.mc-text
{
.mpvue-calendar
.lunarStyle
span
{
color
:
#fff
!important
;
width
:
80
rpx
;
}
height
:
80
rpx
;
.mpvue-calendar
.lunarStyle
span
{
line-height
:
54
rpx
;
width
:
80
rpx
;
}
height
:
80
rpx
;
.mpvue-calendar
.lunarStyle
.mc-text
{
line-height
:
54
rpx
;
top
:
44
rpx
;
}
}
.mpvue-calendar
.lunarStyle
.mc-text
{
.mpvue-calendar
thead
td
{
top
:
44
rpx
;
text-transform
:
uppercase
;
}
height
:
30px
;
.mpvue-calendar
thead
td
{
vertical-align
:
middle
;
text-transform
:
uppercase
;
}
height
:
30px
;
.mc-head
{
vertical-align
:
middle
;
margin-bottom
:
20
rpx
;
}
}
.mc-head
{
.mc-head
div
{
margin-bottom
:
20
rpx
;
overflow
:
hidden
;
}
}
.mc-head
div
{
.mc-head-box
div
{
overflow
:
hidden
;
flex
:
1
;
}
text-align
:
center
;
.mc-head-box
div
{
}
flex
:
1
;
.mc-head-box
{
text-align
:
center
;
display
:
flex
;
}
flex-direction
:
row
;
.mc-head-box
{
justify-content
:
center
;
display
:
flex
;
align-content
:
space-between
flex-direction
:
row
;
}
justify-content
:
center
;
.mc-head-box
div
{
align-content
:
space-between
/* font-size: 28rpx; */
}
}
.mc-head-box
div
{
.mc-body
tr
{
font-size
:
28
rpx
;
display
:
flex
;
}
flex-direction
:
row
;
.mc-body
tr
{
justify-content
:
center
;
display
:
flex
;
align-content
:
space-between
flex-direction
:
row
;
}
justify-content
:
center
;
.mc-dot
{
align-content
:
space-between
width
:
10
rpx
;
}
height
:
10
rpx
;
.mc-dot
{
background-color
:
#ea6151
;
width
:
10
rpx
;
border-radius
:
50%
;
height
:
10
rpx
;
margin
:
0
auto
;
background-color
:
#ea6151
;
margin-top
:
5
rpx
;
border-radius
:
50%
;
position
:
absolute
;
margin
:
0
auto
;
bottom
:
-5
rpx
;
margin-top
:
5
rpx
;
left
:
50%
;
position
:
absolute
;
margin-left
:
-5
rpx
;
bottom
:
-5
rpx
;
z-index
:
5
;
left
:
50%
;
}
margin-left
:
-5
rpx
;
.remark-text
{
z-index
:
5
;
padding-left
:
8
rpx
;
}
padding-right
:
8
rpx
;
.remark-text
{
box-sizing
:
border-box
;
padding-left
:
8
rpx
;
height
:
34
rpx
;
padding-right
:
8
rpx
;
overflow
:
hidden
;
box-sizing
:
border-box
;
text-overflow
:
ellipsis
;
height
:
34
rpx
;
white-space
:
nowrap
;
overflow
:
hidden
;
}
text-overflow
:
ellipsis
;
.slot-element
{
white-space
:
nowrap
;
line-height
:
normal
;
}
position
:
absolute
;
.slot-element
{
z-index
:
5
;
line-height
:
normal
;
}
position
:
absolute
;
.mpvue-calendar-change
{
z-index
:
5
;
position
:
absolute
;
}
left
:
0
rpx
;
.mpvue-calendar-change
{
top
:
85
rpx
;
position
:
absolute
;
right
:
0
rpx
;
left
:
0
rpx
;
bottom
:
0
rpx
;
top
:
85
rpx
;
background
:
#fff
;
right
:
0
rpx
;
display
:
flex
;
bottom
:
0
rpx
;
justify-content
:
center
;
background
:
#fff
;
align-items
:
center
;
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
center
;
overflow
:
auto
;
align-items
:
center
;
transition
:
all
.5s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
flex-wrap
:
wrap
;
opacity
:
0
;
overflow
:
auto
;
pointer-events
:
none
;
transition
:
all
.5s
cubic-bezier
(
0.075
,
0.82
,
0.165
,
1
);
transform
:
translateY
(
-10px
);
opacity
:
0
;
z-index
:
9
;
pointer-events
:
none
;
}
transform
:
translateY
(
-10px
);
.mpvue-calendar-change.show
{
z-index
:
9
;
opacity
:
1
;
}
pointer-events
:
auto
;
.mpvue-calendar-change.show
{
transform
:
translateY
(
0px
);
opacity
:
1
;
}
pointer-events
:
auto
;
.mpvue-calendar-change
span
{
transform
:
translateY
(
0px
);
margin
:
4px
2%
;
}
display
:
inline-block
;
.mpvue-calendar-change
span
{
line-height
:
30px
;
margin
:
4px
2%
;
border-radius
:
20px
;
display
:
inline-block
;
text-align
:
center
;
line-height
:
30px
;
color
:
#999
;
border-radius
:
20px
;
width
:
20%
;
text-align
:
center
;
float
:
left
;
color
:
#999
;
text-align
:
center
;
width
:
20%
;
border-radius
:
40px
;
float
:
left
;
box-sizing
:
border-box
;
text-align
:
center
;
margin-bottom
:
4%
;
border-radius
:
40px
;
}
box-sizing
:
border-box
;
.mpvue-calendar-change
span
.active
{
margin-bottom
:
4%
;
background-color
:
#587dff
;
}
box-shadow
:
2px
2px
2px
rgba
(
88
,
125
,
255
,
0.7
);
.mpvue-calendar-change
span
.active
{
color
:
#fff
;
background-color
:
#587dff
;
}
box-shadow
:
2px
2px
2px
rgba
(
88
,
125
,
255
,
0.7
);
.mpvue-calendar-change
.calendar-week-switch-months
{
color
:
#fff
;
height
:
100%
;
}
padding
:
10
rpx
20
rpx
;
.mpvue-calendar-change
.calendar-week-switch-months
{
}
height
:
100%
;
.mpvue-calendar-change
.calendar-week-switch-months
span
{
padding
:
10
rpx
20
rpx
;
margin-bottom
:
20
rpx
;
}
margin-top
:
0px
;
.mpvue-calendar-change
.calendar-week-switch-months
span
{
font-size
:
26
rpx
;
margin-bottom
:
20
rpx
;
line-height
:
40
rpx
;
margin-top
:
0px
;
}
font-size
:
26
rpx
;
.calendar-years
,
.calendar-months
{
line-height
:
40
rpx
;
height
:
50%
;
}
width
:
100%
;
.calendar-years
,
.calendar-months
{
padding
:
10px
;
height
:
50%
;
box-sizing
:
border-box
;
width
:
100%
;
position
:
relative
;
padding
:
10px
;
}
box-sizing
:
border-box
;
.calendar-years
:after
{
position
:
relative
;
content
:
''
;
}
display
:
block
;
.calendar-years
:after
{
width
:
86%
;
content
:
''
;
height
:
1
rpx
;
display
:
block
;
background-color
:
#eee
;
width
:
86%
;
position
:
absolute
;
height
:
1
rpx
;
bottom
:
2%
;
background-color
:
#eee
;
left
:
7%
;
position
:
absolute
;
}
bottom
:
2%
;
/*range background*/
left
:
7%
;
.mc-range-mode
.selected
.mc-range-bg
{
}
content
:
''
;
/*range background*/
display
:
block
;
.mc-range-mode
.selected
.mc-range-bg
{
width
:
110
rpx
;
content
:
''
;
height
:
80
rpx
;
display
:
block
;
background-color
:
#01a1ed
;
width
:
110
rpx
;
position
:
absolute
;
height
:
80
rpx
;
top
:
0
rpx
;
background-color
:
#01a1ed
;
left
:
50%
;
position
:
absolute
;
}
top
:
0
rpx
;
.mpvue-calendar
.mc-range-mode
.selected
.calendar-date
{
left
:
50%
;
background-color
:
transparent
;
}
}
.mpvue-calendar
.mc-range-mode
.selected
.calendar-date
{
.mpvue-calendar
.mc-range-mode
.mc-range-row-last
span
.calendar-date
,
.mpvue-calendar
.mc-range-mode
.mc-range-row-first
span
.calendar-date
{
background-color
:
transparent
;
border-radius
:
6
rpx
;
}
background-color
:
#01a1ed
;
.mpvue-calendar
.mc-range-mode
.mc-range-row-last
span
.calendar-date
,
.mpvue-calendar
.mc-range-mode
.mc-range-row-first
span
.calendar-date
{
}
border-radius
:
6
rpx
;
.mpvue-calendar
.mc-range-mode
.mc-range-month-first.selected
.calendar-date
,
.mpvue-calendar
.mc-range-mode
.mc-range-month-last.selected
.calendar-date
{
background-color
:
#01a1ed
;
border-radius
:
6
rpx
;
}
background-color
:
#01a1ed
;
.mpvue-calendar
.mc-range-mode
.mc-range-month-first.selected
.calendar-date
,
.mpvue-calendar
.mc-range-mode
.mc-range-month-last.selected
.calendar-date
{
}
border-radius
:
6
rpx
;
.mc-range-mode
.mc-range-month-last
.mc-range-bg
{
background-color
:
#01a1ed
;
background-color
:
transparent
;
}
border-radius
:
6
rpx
;
.mc-range-mode
.mc-range-month-last
.mc-range-bg
{
}
background-color
:
transparent
;
.mc-range-mode
.mc-range-end
.mc-range-bg
,
.mc-range-mode
.mc-range-row-last
.mc-range-bg
{
border-radius
:
6
rpx
;
display
:
none
;
}
}
.mc-range-mode
.mc-range-end
.mc-range-bg
,
.mc-range-mode
.mc-range-row-last
.mc-range-bg
{
.mpvue-calendar
.mc-range-mode
.mc-range-end
span
.calendar-date
,
.mpvue-calendar
.mc-range-mode
.mc-range-begin
span
.calendar-date
{
display
:
none
;
background-color
:
#3b75fb
;
}
color
:
#fff
;
.mpvue-calendar
.mc-range-mode
.mc-range-end
span
.calendar-date
,
.mpvue-calendar
.mc-range-mode
.mc-range-begin
span
.calendar-date
{
border-radius
:
50%
;
background-color
:
#3b75fb
;
}
color
:
#fff
;
.mc-range-mode
.mc-range-row-first.mc-range-end
.mc-range-bg
{
border-radius
:
50%
;
display
:
block
;
}
border-radius
:
6
rpx
;
.mc-range-mode
.mc-range-row-first.mc-range-end
.mc-range-bg
{
width
:
40
rpx
;
display
:
block
;
left
:
5px
;
border-radius
:
6
rpx
;
}
width
:
40
rpx
;
.mpvue-calendar
.mc-range-row-first.mc-range-end.month-first-date
.mc-range-bg
{
left
:
5px
;
margin-left
:
0px
;
}
}
.mpvue-calendar
.mc-range-row-first.mc-range-end.month-first-date
.mc-range-bg
{
.mc-range-mode
.mc-range-row-last.mc-range-begin
.mc-range-bg
{
margin-left
:
0px
;
display
:
block
;
}
border-radius
:
4
rpx
;
.mc-range-mode
.mc-range-row-last.mc-range-begin
.mc-range-bg
{
width
:
40
rpx
;
display
:
block
;
right
:
10px
;
border-radius
:
4
rpx
;
}
width
:
40
rpx
;
.mpvue-calendar
.mc-range-mode
.month-last-date.mc-range-begin
.mc-range-bg
{
right
:
10px
;
display
:
block
;
}
width
:
40
rpx
;
.mpvue-calendar
.mc-range-mode
.month-last-date.mc-range-begin
.mc-range-bg
{
border-radius
:
6
rpx
;
display
:
block
;
}
width
:
40
rpx
;
.mpvue-calendar
.mc-range-mode
.month-first-date.mc-range-end
.mc-range-bg
{
border-radius
:
6
rpx
;
display
:
block
;
}
width
:
40
rpx
;
.mpvue-calendar
.mc-range-mode
.month-first-date.mc-range-end
.mc-range-bg
{
border-radius
:
6
rpx
;
display
:
block
;
left
:
10
rpx
;
width
:
40
rpx
;
}
border-radius
:
6
rpx
;
.mpvue-calendar
.mc-range-mode
.mc-range-select-one
div
.mc-range-bg
{
left
:
10
rpx
;
display
:
none
!important
;
}
}
.mpvue-calendar
.mc-range-mode
.mc-range-select-one
div
.mc-range-bg
{
.mc-body
.mc-today-element
.calendar-date
{
display
:
none
!important
;
background-color
:
rgba
(
25
,
47
,
89
,
0.1
);
}
border-radius
:
6
rpx
;
.mc-body
.mc-today-element
.calendar-date
{
}
background-color
:
rgba
(
25
,
47
,
89
,
0.1
);
/*week switch*/
border-radius
:
6
rpx
;
.mpvue-calendar
.mc-range-mode.week-switch
.month-last-date.mc-range-begin
.mc-range-bg
{
}
width
:
130%
;
/*week switch*/
border-radius
:
0px
20%
20%
0px
;
.mpvue-calendar
.mc-range-mode.week-switch
.month-last-date.mc-range-begin
.mc-range-bg
{
}
width
:
130%
;
.mpvue-calendar
.mc-range-mode.week-switch
.mc-range-month-last
.mc-range-bg
{
border-radius
:
0px
20%
20%
0px
;
background-color
:
#01a1ed
;
}
border-radius
:
0px
20%
20%
0px
;
.mpvue-calendar
.mc-range-mode.week-switch
.mc-range-month-last
.mc-range-bg
{
}
background-color
:
#01a1ed
;
/*month range*/
border-radius
:
0px
20%
20%
0px
;
.mpvue-calendar
.month-range-mode
{
}
border-bottom
:
1px
solid
#f2f2f2
;
/*month range*/
position
:
relative
;
.mpvue-calendar
.month-range-mode
{
}
border-bottom
:
1px
solid
#f2f2f2
;
.mpvue-calendar
.mc-month-range-mode-head
{
position
:
relative
;
box-shadow
:
0
4px
8px
rgba
(
25
,
47
,
89
,
.1
);
}
padding
:
15
rpx
0
rpx
;
.mpvue-calendar
.mc-month-range-mode-head
{
position
:
sticky
;
box-shadow
:
0
4px
8px
rgba
(
25
,
47
,
89
,
.1
);
top
:
0px
;
padding
:
15
rpx
0
rpx
;
background-color
:
#fff
;
position
:
sticky
;
z-index
:
9
;
top
:
0px
;
}
background-color
:
#fff
;
.month-range-mode
.month-rang-head
{
z-index
:
9
;
text-align
:
left
;
}
margin
:
20
rpx
0px
;
.month-range-mode
.month-rang-head
{
padding-left
:
40
rpx
;
text-align
:
left
;
font-size
:
28
rpx
;
margin
:
20
rpx
0px
;
}
padding-left
:
40
rpx
;
.month-range-mode
.mc-last-month
,
.month-range-mode
.mc-next-month
{
font-size
:
28
rpx
;
opacity
:
0
!important
;
}
}
.month-range-mode
.mc-last-month
,
.month-range-mode
.mc-next-month
{
.month-text-background
{
opacity
:
0
!important
;
position
:
absolute
;
}
font-size
:
140px
;
.month-text-background
{
width
:
100%
;
position
:
absolute
;
height
:
100%
;
font-size
:
140px
;
text-align
:
center
;
width
:
100%
;
line-height
:
2.4
;
height
:
100%
;
}
text-align
:
center
;
line-height
:
2.4
;
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录