无人机管理后台前端(已迁走)
张含笑
2025-07-23 fbe7c50dee59abe3a463f4682a3fb675a955d8ae
src/views/wel/components/calendarBox.vue
@@ -1,9 +1,10 @@
<template>
  <div class="calenBox">
    <el-calendar ref="calendar" v-model="currentMonth">
    <el-calendar ref="calendar" v-model="currentMonth" >
      <template #header="{ date }">
        <div>
          <img :src="caleft" alt="" @click="selectDate('prev-month')" />
          <el-date-picker
            v-model="currentMonth"
            type="month"
@@ -223,7 +224,7 @@
<style lang="scss">
.calenBox {
  height: pxToVh(660);
  height: pxToVh(670);
  // 隐藏按钮组中间按钮
  .el-button-group > .el-button:not(:first-child):not(:last-child) {
    display: none;
@@ -302,7 +303,7 @@
<style lang="scss" scoped>
.calenBox {
  margin-top: 10px;
  height: pxToVh(622);
  height: pxToVh(632);
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff;
@@ -317,7 +318,7 @@
      color: #363636;
    }
    .el-calendar-table .el-calendar-day {
      height: pxToVh(85) !important;
      height: pxToVh(88) !important;
    }
    // 选中日期样式