gemercheung 1 year ago
parent
commit
614d861ef3
3 changed files with 19 additions and 5 deletions
  1. 2 2
      .env.production
  2. 17 3
      src/App.vue
  3. BIN
      src/assets/end.png

+ 2 - 2
.env.production

@@ -1,3 +1,3 @@
-VITE_APP_APIS_URL=https://v4-test.4dkankan.com/
-VITE_APP_IFRAME_URL=https://www.4dkankan.com
+VITE_APP_APIS_URL=https://www.4dkankan.com/
+VITE_APP_IFRAME_URL=https://www.4dkankan.com/livestream/
 VITE_PUBLIC_DIR="/livestream/fd/"

+ 17 - 3
src/App.vue

@@ -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;
 }

BIN
src/assets/end.png