zmc
2023-08-14 172d73cbe737c04b3d2c3fe8908db2460c241543
src/sfc/TimeSelect.vue
@@ -48,10 +48,12 @@
    <el-date-picker
      v-model="time"
      type="datetimerange"
      range-separator="To"
      range-separator="~"
      start-placeholder="Start date"
      end-placeholder="End date"
      @change="$emit('submitTime', time)"
      class="pick-date"
    />
  </div>
</template>
@@ -61,5 +63,16 @@
  margin-left: 30px;
  margin-top: 5px;
  font-weight: bold;
  white-space: nowrap;
}
.block {
  display: flex;
  justify-content: center;
  /* width: 50%; */
  white-space: nowrap;
}
.pick-date {
  width: 100%;
}
</style>