Merge branch 'main' of http://123.132.248.154:10000/HC_YFZX/CaiYuanYiTiHua
commit
e14e1be7d4
|
|
@ -1,24 +1,27 @@
|
|||
<template>
|
||||
<a-tabs
|
||||
style="width: 100%;"
|
||||
v-model:activeKey="activeKey"
|
||||
>
|
||||
<a-tab-pane key="1" tab="基础查询"><BasicQuery :data="props.info?.result"/></a-tab-pane>
|
||||
<a-tab-pane key="2" tab="时序影像"><TimeImages :data="props.info?.yingxiang"/> </a-tab-pane>
|
||||
<a-tabs style="width: 100%" v-model:activeKey="activeKey">
|
||||
<a-tab-pane key="1" tab="基础查询">
|
||||
<BasicQuery :data="props.info?.result" />
|
||||
</a-tab-pane>
|
||||
<a-tab-pane key="2" tab="时序影像">
|
||||
<TimeImages
|
||||
:data="props.info?.yingxiang?.sort((a, b) => dayjs(b.shijian) - dayjs(a.shijian))"
|
||||
/>
|
||||
</a-tab-pane>
|
||||
</a-tabs>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, defineProps } from "vue"
|
||||
import BasicQuery from './BasicQuery/index.vue'
|
||||
import TimeImages from './TimeImages/index.vue'
|
||||
import dayjs from 'dayjs';
|
||||
import { ref, defineProps } from 'vue';
|
||||
import BasicQuery from './BasicQuery/index.vue';
|
||||
import TimeImages from './TimeImages/index.vue';
|
||||
|
||||
const props = defineProps(['info'])
|
||||
const activeKey = ref('1')
|
||||
const props = defineProps(['info']);
|
||||
const activeKey = ref('1');
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
:deep(.ant-tabs-nav){
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
:deep(.ant-tabs-nav) {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue