LiZedc 5 년 전
부모
커밋
03554cf84f
5개의 변경된 파일42개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 0
      src/components/SideBar.vue
  2. 5 0
      src/router.js
  3. 34 0
      src/views/account/register.vue
  4. 1 1
      src/views/login.vue
  5. 1 1
      vue.config.js

+ 1 - 0
src/components/SideBar.vue

@@ -7,6 +7,7 @@
     <el-menu mode="vertical" :show-timeout="200" :router="true" background-color="#00142a" text-color="hsla(0, 0%, 100%, .65)" active-text-color="#409EFF">
       <el-menu-item index="/404">404</el-menu-item>
       <el-menu-item index="/views/certificate/index">凭证管理</el-menu-item>
+      <el-menu-item index="/account/register">账号管理</el-menu-item>
     </el-menu>
   </scroll-bar>
 </template>

+ 5 - 0
src/router.js

@@ -27,6 +27,11 @@ export default new Router({
           name: 'certificate',
           component: () => import('./views/certificate/index.vue'),
         },
+        {
+          path: '/account/register',
+          name: 'register',
+          component: () => import('./views/account/register.vue'),
+        },
       ],
     },
   ],

+ 34 - 0
src/views/account/register.vue

@@ -0,0 +1,34 @@
+<template lang="html">
+  <div id="register">
+    <el-row class="register">
+      <el-col :span="24">
+        标题
+      </el-col>
+      <el-col :span="24">
+        搜索
+      </el-col>
+      <el-col :span="24">
+        列表
+      </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+export default {
+  name: 'register',
+  props: {},
+  components: {},
+  data: () => ({}),
+  created() {},
+  computed: {},
+  methods: {},
+};
+</script>
+
+<style lang="scss" scoped>
+.register {
+  width: 100%;
+  padding: 20px;
+}
+</style>

+ 1 - 1
src/views/login.vue

@@ -3,7 +3,7 @@
     <body :style="'overflow-y: auto;background-image: url(' + img.bg + '); background-repeat:no-repeat; background-size:auto;'">
       <div class="page-container">
         <div>
-          <h1 style="letter-spacing:4px; padding-bottom:20px; font-weight:bold; color:#fff;">科技厅中台系统</h1>
+          <h1 style="letter-spacing:4px; padding-bottom:20px; font-weight:bold; color:#fff;">信任管理系统</h1>
         </div>
         <el-form :model="form" :rules="rules" ref="form" style="background:#ffffff;padding:5% 2%;" class="row">
           <el-row>

+ 1 - 1
vue.config.js

@@ -1,7 +1,7 @@
 const path = require('path');
 
 module.exports = {
-  publicPath: process.env.NODE_ENV === 'production' ? '/kjtAdmin/' : './',
+  publicPath: '/',
   // pages: {
   //   index: 'src/pages/login/main.js',
   // },