diff --git a/src/components/VideoReview.vue b/src/components/VideoReview.vue index da5bddf..658ff9f 100644 --- a/src/components/VideoReview.vue +++ b/src/components/VideoReview.vue @@ -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: #; + // } } } diff --git a/src/views/mine/ReleaseVideo.vue b/src/views/mine/ReleaseVideo.vue index 0b544ca..e5622a9 100644 --- a/src/views/mine/ReleaseVideo.vue +++ b/src/views/mine/ReleaseVideo.vue @@ -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 { diff --git a/src/views/mine/ReleaseWebcast.vue b/src/views/mine/ReleaseWebcast.vue index c7b9bc0..1042521 100644 --- a/src/views/mine/ReleaseWebcast.vue +++ b/src/views/mine/ReleaseWebcast.vue @@ -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 {