Files
monitor/src/App.vue

44 lines
1.3 KiB
Vue
Raw Normal View History

2022-09-15 09:01:22 +08:00
<template>
2023-05-05 15:55:40 +08:00
<CameraList/>
<!-- <n-config-provider :date-locale="dateZhCN" :locale="zhCN">-->
<!-- <CameraItem-->
<!-- name="测试球机视频"-->
<!-- source="https://sf1-hscdn-tos.pstatp.com/obj/media-fe/xgplayer_doc_video/flv/xgplayer-demo-360p.flv"-->
<!-- />-->
<!-- </n-config-provider>-->
<!-- source="/video/sms/34020000002020000001/flv/hls/34020000001320000011_34020000001320000011.flv"-->
<!-- source="https://sf1-hscdn-tos.pstatp.com/obj/media-fe/xgplayer_doc_video/flv/xgplayer-demo-720p.flv"-->
<!-- source="http://106.74.152.123:10000/sms/34020000002020000001/flv/hls/34020000001320000011_34020000001320000011.flv"-->
2022-09-15 09:01:22 +08:00
</template>
<script>
2023-05-05 15:55:40 +08:00
// import {NConfigProvider, zhCN,dateZhCN} from 'naive-ui'
2022-11-28 16:44:51 +08:00
import CameraList from "./components/CameraList.vue";
2023-05-05 15:55:40 +08:00
import CameraItem from "@/components/CameraItem.vue";
import {useTokenStore} from "@/store/token";
2022-11-28 16:44:51 +08:00
// import List from "./infinite-list-vue.umd.cjs";
2022-09-15 09:01:22 +08:00
export default {
2023-05-05 15:55:40 +08:00
name: "App",
computed: {
zhCN() {
return zhCN
}
},
components: {
CameraItem,
CameraList,
},
mounted() {
const tokenStore = useTokenStore();
tokenStore.fetchToken();
},
2022-10-20 23:55:57 +08:00
};
2022-09-15 09:01:22 +08:00
</script>
<style>
#app {
2023-05-05 15:55:40 +08:00
background-color: #f6f6f6;
//width: 100vw; //height: 100vh;
2022-10-20 23:55:57 +08:00
}
2022-09-15 09:01:22 +08:00
</style>