Преглед на файлове

Merge branch 'master' into bzkf30

bzkf30 преди 2 години
родител
ревизия
876b86d8ba

+ 2 - 1
.gitignore

@@ -1,3 +1,4 @@
 /node_modules/
 .idea/
-src/*.d.ts
+src/*.d.ts
+/dist/

+ 9 - 9
public/config.js

@@ -1,10 +1,10 @@
 // 本地开发环境
 const local = {
-    web_pc: 'http://tyyx.bozedu.top/',
-    web_mobile: 'http://tyyxm.bozedu.top/',
+    web_pc: 'https://tyyx.bozedu.top/',
+    web_mobile: 'https://tyyxm.bozedu.top/',
 
-    api: 'http://tyyx_openapi.bozedu.top/',
-    oss: 'http://tyyx_openapi.bozedu.top/',
+    api: 'https://tyyxopenapi.bozedu.top/',
+    oss: 'https://tyyxopenapi.bozedu.top/',
     origin: window.location.origin,
 }
 
@@ -19,17 +19,17 @@ const development = {
 
 // 正式服环境
 const production = {
-    web_pc: 'https://tyyx.bozedu.top/',
-    web_mobile: 'https://tyyxm.bozedu.top/',
+    web_pc: 'https://tyyx.bozedu.net/',
+    web_mobile: 'https://tyyxm.bozedu.net/',
     origin: window.location.origin,
-    api: 'https://tyyxopenapi.bozedu.top/',
-    oss: 'https://tyyxopenapi.bozedu.top/'
+    api: 'https://tyyxopenapi.bozedu.net/',
+    oss: 'https://tyyxopenapi.bozedu.net/'
 }
 
 function isWhich() {
     if (window.location.host.includes('tyyx.bozedu.top')) {
         return development
-    } else if (window.location.protocol === 'https:') {
+    } else if(window.location.host.includes('tyyx.bozedu.net')) {
         return production
     } else {
         return local

BIN
public/jsc/assets/bg_cool.b256a881.png


Файловите разлики са ограничени, защото са твърде много
+ 1 - 0
public/jsc/assets/index.93718f43.css


Файловите разлики са ограничени, защото са твърде много
+ 61 - 0
public/jsc/assets/index.c7e495cd.js


BIN
public/jsc/assets/tempp.a9ddff5c.png


BIN
public/jsc/assets/temppp.da770d1e.png


+ 15 - 0
public/jsc/index.html

@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html lang="en">
+  <head>
+    <meta charset="UTF-8" />
+    <link rel="icon" type="image/svg+xml" href="vite.svg" />
+    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+    <title>桐艺云校-数据驾驶舱</title>
+    <script type="module" crossorigin src="assets/index.c7e495cd.js"></script>
+    <link rel="stylesheet" href="assets/index.93718f43.css">
+  </head>
+  <body>
+    <div id="app"></div>
+    
+  </body>
+</html>

+ 23 - 0
public/jsc/index.vue

@@ -0,0 +1,23 @@
+<template>
+<div>驾驶舱</div>
+</template>
+
+<script>
+export default {
+  name: "index",
+  data() {
+    return {
+
+    }
+  },
+  methods:{
+    openLink() {
+      window.open(window.GLOBAL_CONFIG.origin + '')
+    }
+  }
+}
+</script>
+
+<style scoped>
+
+</style>

Файловите разлики са ограничени, защото са твърде много
+ 1 - 0
public/jsc/vite.svg


+ 28 - 0
src/pages/jsc/index.vue

@@ -0,0 +1,28 @@
+<template>
+<div>驾驶舱</div>
+</template>
+
+<script>
+export default {
+  name: "index",
+  data() {
+    return {
+
+    }
+  },
+  methods:{
+    openLink() {
+      window.open('/jsc/index.html','_blank');
+
+      this.$router.back();
+    }
+  },
+  mounted() {
+    this.openLink();
+  }
+}
+</script>
+
+<style scoped>
+
+</style>

+ 13 - 0
src/router/routes/jcxx.ts

@@ -252,6 +252,19 @@ export default <RouteRecordDetailRaw[]>[
         }
     },
     {
+        "path": "/jsc",
+        "name": "jsc",
+        "props": true,
+        "meta": {
+            "hidden": false,
+            "breadcrumb": false,
+            "sort": 0,
+            "title": "驾驶舱"
+        },
+        "component": () => import('~/pages/jsc/index.vue'),
+        "redirect": null
+    },
+    {
         "path": "/zykgl",
         "name": "zykgl",
         "props": true,

Файловите разлики са ограничени, защото са твърде много
+ 1 - 71
src/store/user.ts