修改了背景色 添加了限制事件

This commit is contained in:
luyuan 2020-11-03 10:34:22 +08:00
parent 74ccc85a0d
commit 4552d29469
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
3 changed files with 20 additions and 12 deletions

View File

@ -76,15 +76,15 @@
width: 62px;
height: 22px;
margin-top: 30px;
background-color: #ccc;
background-color: #07AD97;
text-align: center;
line-height: 22px;
color: #fff;
cursor: pointer;
font-size: 9px;
&:hover{
background-color: #07AD97;
}
// &:hover{
// background-color: #;
// }
}
}

View File

@ -424,14 +424,14 @@ export default defineComponent({
padding: 0;
width: 63px;
height: 23px;
background: #ccc;
background: #08ae98;
border-radius: 3px;
font-size: 10px;
font-weight: 500;
color: #ffffff;
&:hover {
background: #08ae98;
}
// &:hover {
// background: #08ae98;
// }
}
}
.video-cover {

View File

@ -122,6 +122,7 @@
show-time
format="YYYY-MM-DD HH:mm"
:value="form.dateline"
:disabled-date="disabledDate"
@change="startchange"
:placeholder="lan.$t('shezhikaishishijian')"
:getCalendarContainer="
@ -515,6 +516,12 @@ export default defineComponent({
}
}
function disabledDate(current: any){
console.log(current + 0)
const now = dayjs().date(dayjs().date() - 1);
return current && current < now;
}
return {
labelCol: { span: 4 },
wrapperCol: { span: 14 },
@ -545,6 +552,7 @@ export default defineComponent({
ifallowupload,
fankui,
lan,
disabledDate
};
},
});
@ -621,14 +629,14 @@ export default defineComponent({
padding: 0;
width: 63px;
height: 23px;
background: #ccc;
background: #08ae98;
border-radius: 3px;
font-size: 10px;
font-weight: 500;
color: #ffffff;
&:hover{
background: #08ae98;
}
// &:hover{
// background: #08ae98;
// }
}
}
.item-cover {