rax-medical/src/views/remote-manage/remote-thumbnail.vue

71 lines
2.1 KiB
Vue
Raw Normal View History

2024-01-17 17:53:13 +08:00
<template>
2024-01-17 18:57:00 +08:00
<div class="remote-thumbnail-page">
<div class="remote-box row1">
<div class="remote-item">
<RemoteItem ref="remoteItemRef1" @click="openRemote(1)"></RemoteItem>
</div>
<div class="remote-item">
<RemoteItem ref="remoteItemRef2" @click="openRemote(2)"></RemoteItem>
</div>
<div class="remote-item">
<RemoteItem ref="remoteItemRef3" @click="openRemote(3)"></RemoteItem>
</div>
<div class="remote-item">
<RemoteItem ref="remoteItemRef4" @click="openRemote(4)"></RemoteItem>
</div>
</div>
<div class="remote-box row2">
<div class="left-box">
<div class="remote-item">
<RemoteItem ref="remoteItemRef5" @click="openRemote(5)"></RemoteItem>
</div>
<div class="remote-item">
<RemoteItem ref="remoteItemRef6" @click="openRemote(6)"></RemoteItem>
</div>
<div class="remote-item">
<RemoteItem ref="remoteItemRef7" @click="openRemote(7)"></RemoteItem>
</div>
<div class="remote-item">
<RemoteItem ref="remoteItemRef8" @click="openRemote(8)"></RemoteItem>
</div>
<div class="remote-item">
<RemoteItem ref="remoteItemRef9" @click="openRemote(9)"></RemoteItem>
</div>
<div class="remote-item">
<RemoteItem ref="remoteItemRef10" @click="openRemote(10)"></RemoteItem>
</div>
</div>
<div class="right-box">
<div class="message-item" v-for="item in 10" :key="'message-item' + item">
{{ item }}
<MessageItem></MessageItem>
</div>
</div>
</div>
</div>
2024-01-17 17:53:13 +08:00
</template>
<script lang='ts' setup>
import { onMounted, reactive, ref, toRefs, watch } from 'vue'
import { useRouter } from 'vue-router'
import { useRemoteStore } from '@/stores/remote-info-store'
2024-01-17 18:57:00 +08:00
import RemoteItem from './part/remote-item.vue'
import MessageItem from './part/message-item.vue'
2024-01-17 17:53:13 +08:00
const router = useRouter()
2024-01-17 18:57:00 +08:00
const openRemote = (num: number) => {
console.log(num)
}
2024-01-17 17:53:13 +08:00
</script>
<style lang='scss' scoped>
2024-01-17 18:57:00 +08:00
.remote-thumbnail-page {
width: 1920px;
height: 1080px;
}
2024-01-17 17:53:13 +08:00
</style>