|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<!-- <n-space vertical size="large"> -->
|
|
|
- <n-config-provider :theme="themes['dark']">
|
|
|
+ <n-config-provider :theme="themes['light']">
|
|
|
<n-message-provider>
|
|
|
<n-layout has-sider class="layout">
|
|
|
<!-- <n-layout-sider
|
|
@@ -21,14 +21,26 @@
|
|
|
:src="iframeURL"
|
|
|
allow="camera;microphone;"
|
|
|
></iframe>
|
|
|
+
|
|
|
<n-result
|
|
|
+ title=""
|
|
|
+ size="huge"
|
|
|
+ class="page-result"
|
|
|
+ v-else
|
|
|
+ description="带看已结束"
|
|
|
+ >
|
|
|
+ <template #icon>
|
|
|
+ <img :src="EndPng" style="margin:0 auto;width: 280px;" />
|
|
|
+ </template>
|
|
|
+ </n-result>
|
|
|
+ <!-- <n-result
|
|
|
v-else
|
|
|
class="page-result"
|
|
|
status="403"
|
|
|
title="403 禁止访问"
|
|
|
description="当前场景非公开"
|
|
|
>
|
|
|
- </n-result>
|
|
|
+ </n-result> -->
|
|
|
</n-layout-content>
|
|
|
</n-layout>
|
|
|
</n-message-provider>
|
|
@@ -52,6 +64,7 @@ import {
|
|
|
import { onMounted, ref, computed } from "vue";
|
|
|
import { useUrlSearchParams } from "@vueuse/core";
|
|
|
import { getRoomInfo, dimissMissRoom } from "./http.ts";
|
|
|
+import EndPng from "./assets/end.png";
|
|
|
// import sceneList from "./components/sceneList.vue";
|
|
|
const isOK = ref(true);
|
|
|
// const iframe = ref(
|
|
@@ -182,7 +195,8 @@ onMounted(async () => {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
display: flex;
|
|
|
- justify-content: center;
|
|
|
+ padding-top: 200px;
|
|
|
+ justify-content: start;
|
|
|
align-items: center;
|
|
|
flex-direction: column;
|
|
|
}
|