lsc 1 vuosi sitten
vanhempi
commit
d622abd9e1
3 muutettua tiedostoa jossa 46 lisäystä ja 2 poistoa
  1. 22 0
      dist/cocoai.html
  2. 22 0
      public/cocoai.html
  3. 2 2
      src/views/cocoai/index.vue

+ 22 - 0
dist/cocoai.html

@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>CocoAI</title>
+    <style>
+        *{
+            margin: 0;
+            padding: 0;
+        }
+        body,html{
+            height: 100%;
+            width: 100%;
+            overflow: hidden;
+        }
+    </style>
+</head>
+<body>
+    <iframe allow="camera *; microphone *;display-capture;midi;encrypted-media;" src="https://cloud.cocorobo.hk/#/cocoai" frameborder="0" style="width: 100%;height: 100%;box-sizing: border-box;"></iframe>
+</body>
+</html>

+ 22 - 0
public/cocoai.html

@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>CocoAI</title>
+    <style>
+        *{
+            margin: 0;
+            padding: 0;
+        }
+        body,html{
+            height: 100%;
+            width: 100%;
+            overflow: hidden;
+        }
+    </style>
+</head>
+<body>
+    <iframe allow="camera *; microphone *;display-capture;midi;encrypted-media;" src="https://cloud.cocorobo.hk/#/cocoai" frameborder="0" style="width: 100%;height: 100%;box-sizing: border-box;"></iframe>
+</body>
+</html>

+ 2 - 2
src/views/cocoai/index.vue

@@ -13,7 +13,7 @@ export default {
     return {
       redirect: undefined,
       timer: null,
-      iframe: 'https://cloud.cocorobo.hk/aigpt/'
+      iframe: 'https://cloud.cocorobo.hk/#/cocoai'
     }
   },
   computed: {
@@ -51,7 +51,7 @@ export default {
     // this.timer = setInterval(() => {
     //   this.getLogin()
     // }, 2000)
-    this.iframe = `https://cloud.cocorobo.hk/aigpt/?userid=${this.userinfo.userid}&oid=${this.userinfo.organizeid}&org=${this.userinfo.org}&role=${this.userinfo.role}`
+    // this.iframe = `https://cloud.cocorobo.hk/aigpt/?userid=${this.userinfo.userid}&oid=${this.userinfo.organizeid}&org=${this.userinfo.org}&role=${this.userinfo.role}`
   }
 }
 </script>