Init frontend (#1)

更新静态资源
This commit is contained in:
bingochaos
2025-08-07 18:18:54 +08:00
committed by GitHub
parent 10b28534be
commit 3fddf021be
67 changed files with 11271 additions and 0 deletions

32
src/App.vue Normal file
View File

@@ -0,0 +1,32 @@
<script setup lang="ts">
import WebcamPermission from '@/components/WebcamPermission.vue';
import { antdLocale, locale } from '@/langs';
import VideoChat from '@/views/VideoChat/index.vue';
import { ConfigProvider } from 'ant-design-vue';
import { useVideoChatStore } from './store';
const videoChatState = useVideoChatStore();
videoChatState.init();
// import dayjs from 'dayjs';
// import 'dayjs/locale/zh-cn';
// dayjs.locale('zh-cn');
</script>
<template>
<ConfigProvider :locale="antdLocale[locale]">
<div class="wrap">
<WebcamPermission v-if="!videoChatState.webcamAccessed" />
<VideoChat />
</div>
</ConfigProvider>
</template>
<style lang="less" scoped>
.wrap {
background-image: url(@/assets/background.png);
height: calc(max(80vh, 100%));
background-size: 100% 100%;
background-repeat: no-repeat;
position: relative;
*::-webkit-scrollbar {
display: none;
}
}
</style>