蒋科 1 рік тому
батько
коміт
dea4d8dbe6

+ 1 - 1
.env.development

@@ -4,4 +4,4 @@ ENV = 'development'
 # base api
 VUE_APP_BASE_API = 'http://192.168.3.177:8080/api'
 VUE_APP_WS = 'ws://192.168.3.177:8080/ws'
-# VUE_APP_VIDEO = 'ws://192.168.3.110:8082/ws'
+VUE_APP_VIDEO = 'ws://192.168.3.177:8082/ws'

+ 38 - 9
README.md

@@ -1,12 +1,41 @@
-touch README.md
-git init
-git add README.md
-git commit -m "first commit"
-git remote add origin http://git.fast-fun.cn:92/ruili/centralized-control-center-frontend_v1.git
-git push -u origin master
 
+## Getting started
 
-git remote add origin http://git.fast-fun.cn:92/ruili/centralized-control-center-frontend_v1.git
-git push -u origin master
+```bash
+
+# install dependency
+npm install
+
+# develop
+npm run dev
+```
+
+# node 后端服务需执行以下命令:
+node websocket-relay.js video1 8081 8082
+
+## Build
+
+```bash
+# build for test environment
+npm run build:stage
+
+# build for production environment
+npm run build:prod
+```
+
+## Advanced
+
+```bash
+# preview the release environment effect
+npm run preview
+
+# preview the release environment effect + static resource analysis
+npm run preview -- --report
+
+# code format check
+npm run lint
+
+# code format check and auto fix
+npm run lint -- --fix
+```
 
-http://git.fast-fun.cn:92/ruili/centralized-control-center-frontend_v1.git

+ 1 - 0
src/layout/components/Navbar.vue

@@ -164,6 +164,7 @@ export default {
       //console.log(this.permission_routes);
       // this.PermissionList = this.permission_routes.slice(5, 11);
       this.PermissionList = this.permission_routes.slice(5,10);
+      console.log(this.PermissionList);
     },
     //当前时间
     timer() {

BIN
src/views/login/assets/index.png


BIN
src/views/login/assets/login-bg.png


BIN
src/views/login/assets/login.png


+ 3 - 3
src/views/login/index.vue

@@ -203,9 +203,9 @@ $light_gray: #eee;
 .login-container {
   min-height: 100%;
   width: 100%;
-  background-color: black;
-  background-image: url("./assets/index.png");
-  background-size: 100% 100%;
+  background-color: #141518;
+  background-image: url("./assets/login-bg.png");
+  background-size: 741px 694px;
   overflow: hidden;
 
   .login-bg {