mental-health-web/src/views/index.vue

31 lines
860 B
Vue
Raw Normal View History

2024-03-15 03:07:18 +00:00
<template>
2024-04-28 02:34:21 +00:00
<div class="app-container">
2024-04-29 03:05:42 +00:00
<!-- <el-button round>-->
<!-- <router-link target="_blank" to="/bigScreen">-->
<!-- <el-icon>-->
<!-- <FullScreen />-->
<!-- </el-icon><span></span>-->
<!-- </router-link>-->
<!-- </el-button>-->
2024-03-15 03:07:18 +00:00
</div>
</template>
<script setup name="Index" lang="ts">
2024-04-26 09:10:09 +00:00
// import { initWebSocket } from '@/utils/websocket';
2024-03-15 03:07:18 +00:00
2024-04-26 09:10:09 +00:00
// onMounted(() => {
// let protocol = window.location.protocol === 'https:' ? 'wss://' : 'ws://'
// initWebSocket(protocol + window.location.host + import.meta.env.VITE_APP_BASE_API + "/resource/websocket");
// });
2024-03-15 03:07:18 +00:00
</script>
<style scoped lang="scss">
2024-04-28 02:34:21 +00:00
.app-container {
height: calc(100vh - 85px);
position: relative;
background: url('@/assets/images/welcome.png') no-repeat top center;
background-size: cover;
text-align: right;
2024-03-15 03:07:18 +00:00
}
</style>