浏览代码

增加vr示例

shmily1213 3 年之前
父节点
当前提交
19099454f9
共有 3 个文件被更改,包括 107 次插入0 次删除
  1. 31 0
      public/ar/hd.html
  2. 45 0
      public/ar/index.html
  3. 31 0
      public/ar/qh.html

+ 31 - 0
public/ar/hd.html

@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+  <meta charset="UTF-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  <title>湖南大学</title>
+</head>
+<style>
+  * {
+    margin: 0;
+    padding: 0;
+  }
+  #app {
+    width: 100vw;
+    height: 100vh;
+  }
+
+  iframe {
+    border: none;
+  }
+</style>
+
+<body>
+  <div id="app">
+    <iframe allowfullscreen="true" width="100%" height="100%" src="http://720yun.com/pano/256zccfvk0s"></iframe>
+  </div>
+</body>
+
+</html>

+ 45 - 0
public/ar/index.html

@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+  <meta charset="utf-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+  <meta name="renderer" content="webkit">
+  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
+  <title>vr</title>
+
+  <script>
+
+  </script>
+  <style>
+    * {
+      margin: 0;
+      padding: 0;
+    }
+
+    #app {
+      padding: 30px;
+    }
+
+    ul {
+      list-style-type: disclosure-closed;
+    }
+
+    ul li+li {
+      margin-top: 20px;
+    }
+  </style>
+</head>
+
+<body>
+  <div id="app">
+    <ul>
+      <li>
+        <a href="./qh.html">清华大学</a>
+      </li>
+      <li><a href="./hd.html">湖南大学</a></li>
+    </ul>
+  </div>
+</body>
+
+</html>

+ 31 - 0
public/ar/qh.html

@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+  <meta charset="UTF-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+  <title>清华大学</title>
+</head>
+<style>
+  * {
+    margin: 0;
+    padding: 0;
+  }
+  #app {
+    width: 100vw;
+    height: 100vh;
+  }
+
+  iframe {
+    border: none;
+  }
+</style>
+
+<body>
+  <div id="app">
+    <iframe allowfullscreen="true" width="100%" height="100%" src="http://720yun.com/t/a7727upvq4i"></iframe>
+  </div>
+</body>
+
+</html>