chao 1 vuosi sitten
vanhempi
commit
87d8d2fa0b
4 muutettua tiedostoa jossa 6 lisäystä ja 21 poistoa
  1. 1 1
      dist/index.html
  2. 1 1
      index.html
  3. 4 3
      src/views/iframeRoute.vue
  4. 0 16
      vue.config.js

+ 1 - 1
dist/index.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <link rel="icon" href="./favicon.ico">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Vite App</title>
+    <title>课程资源平台</title>
     <script type="module" crossorigin src="./assets/index-jahuapU2.js"></script>
     <link rel="stylesheet" crossorigin href="./assets/index-dUn6Kx2x.css">
   </head>

+ 1 - 1
index.html

@@ -4,7 +4,7 @@
     <meta charset="UTF-8">
     <link rel="icon" href="/favicon.ico">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Vite App</title>
+    <title>课程资源平台</title>
   </head>
   <body>
     <div id="app"></div>

+ 4 - 3
src/views/iframeRoute.vue

@@ -10,7 +10,8 @@
             </el-breadcrumb>
         </template>
         <div class="iframDiv">
-            <iframe :src="iframeSrc" frameborder="0"></iframe>
+            <iframe :src="iframeSrc" frameborder="0" scrolling="no"
+            allow="camera *; fullscreen *;fullscreen 'src'"></iframe>
         </div>
     </el-page-header>
 </template>
@@ -33,10 +34,10 @@ const iframeList = [
         src: "//ai-demos.cocorobo.cn/labs/speech-recognition/"
     },{
         label: "图形化",
-        src: "//pi.cocorobo.cn/?lang=zh-hans"
+        src: "//beta.v.cocorobo.cn/?lang=zh-hans"
     },{
         label: "Python",
-        src: "//pi.cocorobo.cn/python/?lang=zh-hans"
+        src: "//beta.v.cocorobo.cn/python/?lang=zh-hans"
     },{
         label: "课程管理",
         src: "//beta.pbl.cocorobo.cn/pbl-teacher-table/dist/#/course?userid=a77e9404-efec-11e9-96f9-028edca3b798&oid=45facc0a-1211-11ec-80ad-005056b86db5&org=&role=0"

+ 0 - 16
vue.config.js

@@ -1,16 +0,0 @@
-const path = require("path");
-const resolve = dir => path.join(__dirname, dir);
-//用于生产环境去除多余的css
-const PurgecssPlugin = require("purgecss-webpack-plugin");
-//全局文件路径
-const glob = require("glob-all");
-//压缩代码并去掉console
-const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
-//代码打包zip
-const CompressionWebpackPlugin = require("compression-webpack-plugin");
-const productionGzipExtensions = /\.(js|css|json|txt|html|ico|svg)(\?.*)?$/i;
-module.exports = {
-  // 废弃baseUrl  一般运维会配置好的
-  publicPath: "./",
- 
-};