|
@@ -3,6 +3,7 @@
|
|
|
<div class="head">
|
|
<div class="head">
|
|
|
<div class="line"></div>
|
|
<div class="line"></div>
|
|
|
<div class="title">视频下载</div>
|
|
<div class="title">视频下载</div>
|
|
|
|
|
+ <span class="tips">(请先拖动进度条,再点击选取时间按钮)</span>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="timeselect">
|
|
<div class="timeselect">
|
|
@@ -17,9 +18,12 @@
|
|
|
<img
|
|
<img
|
|
|
@click="callSetTime(true)"
|
|
@click="callSetTime(true)"
|
|
|
style="cursor: pointer"
|
|
style="cursor: pointer"
|
|
|
- src="@\assets\icons\edit.png"
|
|
|
|
|
|
|
+ src="@\assets\icons\icon-picker.png"
|
|
|
alt=""
|
|
alt=""
|
|
|
/>
|
|
/>
|
|
|
|
|
+ <el-icon class="icon-refresh" :size="18">
|
|
|
|
|
+ <Refresh />
|
|
|
|
|
+ </el-icon>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="time-picker">
|
|
<div class="time-picker">
|
|
|
结束时间:
|
|
结束时间:
|
|
@@ -32,12 +36,20 @@
|
|
|
<img
|
|
<img
|
|
|
@click="callSetTime(false)"
|
|
@click="callSetTime(false)"
|
|
|
style="cursor: pointer"
|
|
style="cursor: pointer"
|
|
|
- src="@\assets\icons\edit.png"
|
|
|
|
|
|
|
+ src="@\assets\icons\icon-picker.png"
|
|
|
alt=""
|
|
alt=""
|
|
|
/>
|
|
/>
|
|
|
|
|
+ <el-icon class="icon-refresh" :size="18">
|
|
|
|
|
+ <Refresh />
|
|
|
|
|
+ </el-icon>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <el-button type="primary" @click="nvrDownload">下 载</el-button>
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ :disabled="!startTime.length || !endTime.length"
|
|
|
|
|
+ @click="nvrDownload"
|
|
|
|
|
+ >下 载</el-button
|
|
|
|
|
+ >
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -45,6 +57,8 @@
|
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
|
import { ref } from 'vue';
|
|
import { ref } from 'vue';
|
|
|
import { ElInput } from 'element-plus';
|
|
import { ElInput } from 'element-plus';
|
|
|
|
|
+ import { Refresh } from '@element-plus/icons-vue';
|
|
|
|
|
+ import { ElIcon } from 'element-plus';
|
|
|
|
|
|
|
|
const startTime = ref('');
|
|
const startTime = ref('');
|
|
|
const endTime = ref('');
|
|
const endTime = ref('');
|
|
@@ -90,15 +104,24 @@
|
|
|
line-height: 20px;
|
|
line-height: 20px;
|
|
|
margin-left: 8px;
|
|
margin-left: 8px;
|
|
|
}
|
|
}
|
|
|
|
|
+ .tips {
|
|
|
|
|
+ font-weight: 400;
|
|
|
|
|
+ font-size: 10px;
|
|
|
|
|
+ color: #909399;
|
|
|
|
|
+ line-height: 14px;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
.timeselect {
|
|
.timeselect {
|
|
|
padding: 12px 22px 0 22px;
|
|
padding: 12px 22px 0 22px;
|
|
|
.time-picker {
|
|
.time-picker {
|
|
|
margin-bottom: 12px;
|
|
margin-bottom: 12px;
|
|
|
- }
|
|
|
|
|
- img {
|
|
|
|
|
- display: inline;
|
|
|
|
|
- margin-left: 20px;
|
|
|
|
|
|
|
+ img {
|
|
|
|
|
+ display: inline;
|
|
|
|
|
+ margin-left: 20px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .icon-refresh {
|
|
|
|
|
+ color: #1677ff;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|