zmc
2023-08-31 013ed9283200da41902835f9fd679df13299d436
src/sfc/TimeSelectWithShortCuts.vue
@@ -74,18 +74,18 @@
<template>
    <div class="block">
    <div class="demonstration">起止时间:</div>
    <el-date-picker
      v-model="time"
      type="datetimerange"
      :shortcuts="shortcuts"
      range-separator="~"
      start-placeholder="开始时间"
      end-placeholder="结束时间"
      value-format="YYYY-MM-DD HH:mm:ss"
      @change="$emit('submitTime', time)"
      class="pick-date"
    />
        <span class="demonstration">起止时间:</span>
        <el-date-picker
          v-model="time"
          type="datetimerange"
          :shortcuts="shortcuts"
          range-separator="~"
          start-placeholder="开始时间"
          end-placeholder="结束时间"
          value-format="YYYY-MM-DD HH:mm:ss"
          @change="$emit('submitTime', time)"
          class="pick-date"
        />
  </div>
</template>
@@ -96,8 +96,9 @@
}
.demonstration {
  margin-left: 15px;
  margin-top: 5px;
  /* margin-top: 5px; */
  font-weight: bold;
  font-size: 16px;
}
.pick-date {