ArvinQi 6 anni fa
parent
commit
2645be22d9
58 ha cambiato i file con 148 aggiunte e 92 eliminazioni
  1. 2 2
      dist/200.html
  2. 1 1
      dist/_nuxt/b349f3bfd79fffd3ae59.js
  3. 1 1
      dist/_nuxt/a367f6e2ffd24c84a934.js
  4. 1 1
      dist/_nuxt/2545bc1c4147de3e353f.js
  5. 2 0
      dist/_nuxt/2d544f04aecd3d32562c.js
  6. 1 0
      dist/_nuxt/3208dc9a2b503b176cae.js
  7. 1 1
      dist/_nuxt/8801f98a9495f09d310d.js
  8. 0 2
      dist/_nuxt/489551a4ca67124f7ff3.js
  9. 1 1
      dist/_nuxt/093ac0a7f1fbf2e2d619.js
  10. 1 1
      dist/_nuxt/ad899732a1f33989501c.js
  11. 1 1
      dist/_nuxt/2bb2a4e078bf04198e69.js
  12. 1 1
      dist/_nuxt/58023976596aa9ab925d.js
  13. 1 1
      dist/_nuxt/7895ba930187532c5915.js
  14. 1 1
      dist/_nuxt/fdc4c43a7d4a4a4f67e1.js
  15. 1 1
      dist/_nuxt/cda05a62ed0d631e93ab.js
  16. 0 1
      dist/_nuxt/815339f8cf552fe342e7.js
  17. 0 1
      dist/_nuxt/831246ebe62b811e9728.js
  18. 1 1
      dist/_nuxt/5bf946c0f3bf8d38937a.js
  19. 0 1
      dist/_nuxt/9701f26256913f5d1089.js
  20. 1 1
      dist/_nuxt/783712f236723025d1b6.js
  21. 1 0
      dist/_nuxt/ab589d201d5e5cde8c59.js
  22. 1 1
      dist/_nuxt/793c0b8a887ee1f540f5.js
  23. 1 1
      dist/_nuxt/d9b66d851f999d933b27.js
  24. 1 1
      dist/_nuxt/f3c2b8347037cc64cb77.js
  25. 1 0
      dist/_nuxt/c693ca374fa1a18262d8.js
  26. 1 1
      dist/_nuxt/c647be0756720c71732b.js
  27. 1 1
      dist/_nuxt/8fc3d1d414e55970ac3b.js
  28. 1 1
      dist/_nuxt/651e6437bb31dbe3eb09.js
  29. 1 1
      dist/_nuxt/1471a8c19c0ae88f3aa1.js
  30. 1 1
      dist/_nuxt/781b239fd5ec72645d53.js
  31. 1 0
      dist/_nuxt/def53cb4f683f9cf46dc.js
  32. 0 1
      dist/_nuxt/e3bdd505f6b097d6ea5a.js
  33. 1 1
      dist/_nuxt/e91cfb89072cdfb1ca2e.js
  34. 2 2
      dist/index.html
  35. 2 2
      dist/login/index.html
  36. 2 2
      dist/main/404/index.html
  37. 2 2
      dist/main/cats copy/index.html
  38. 2 2
      dist/main/cats/index.html
  39. 2 2
      dist/main/cert_check/index.html
  40. 2 2
      dist/main/cert_edit/index.html
  41. 2 2
      dist/main/cert_pro/index.html
  42. 2 2
      dist/main/cloud_balance/index.html
  43. 2 2
      dist/main/cloud_developer/index.html
  44. 2 2
      dist/main/cloud_job/index.html
  45. 2 2
      dist/main/dev_check/index.html
  46. 2 2
      dist/main/dev_check_detail/index.html
  47. 2 2
      dist/main/dev_show/index.html
  48. 2 2
      dist/main/gongmall/index.html
  49. 2 2
      dist/main/group_list/index.html
  50. 2 2
      dist/main/index.html
  51. 2 2
      dist/main/vip_manager/index.html
  52. 2 2
      dist/main/vip_order/index.html
  53. 2 2
      dist/main/vip_setting/index.html
  54. 2 2
      dist/main/wage_details/index.html
  55. 2 2
      dist/main/wage_settlement/index.html
  56. 55 0
      layouts/empty.vue
  57. 18 17
      pages/login/index.vue
  58. 1 1
      pages/main/index.vue

File diff suppressed because it is too large
+ 2 - 2
dist/200.html


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/b349f3bfd79fffd3ae59.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/a367f6e2ffd24c84a934.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/2545bc1c4147de3e353f.js


File diff suppressed because it is too large
+ 2 - 0
dist/_nuxt/2d544f04aecd3d32562c.js


File diff suppressed because it is too large
+ 1 - 0
dist/_nuxt/3208dc9a2b503b176cae.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/8801f98a9495f09d310d.js


File diff suppressed because it is too large
+ 0 - 2
dist/_nuxt/489551a4ca67124f7ff3.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/093ac0a7f1fbf2e2d619.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/ad899732a1f33989501c.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/2bb2a4e078bf04198e69.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/58023976596aa9ab925d.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/7895ba930187532c5915.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/fdc4c43a7d4a4a4f67e1.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/cda05a62ed0d631e93ab.js


File diff suppressed because it is too large
+ 0 - 1
dist/_nuxt/815339f8cf552fe342e7.js


File diff suppressed because it is too large
+ 0 - 1
dist/_nuxt/831246ebe62b811e9728.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/5bf946c0f3bf8d38937a.js


File diff suppressed because it is too large
+ 0 - 1
dist/_nuxt/9701f26256913f5d1089.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/783712f236723025d1b6.js


File diff suppressed because it is too large
+ 1 - 0
dist/_nuxt/ab589d201d5e5cde8c59.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/793c0b8a887ee1f540f5.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/d9b66d851f999d933b27.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/f3c2b8347037cc64cb77.js


File diff suppressed because it is too large
+ 1 - 0
dist/_nuxt/c693ca374fa1a18262d8.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/c647be0756720c71732b.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/8fc3d1d414e55970ac3b.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/651e6437bb31dbe3eb09.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/1471a8c19c0ae88f3aa1.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/781b239fd5ec72645d53.js


File diff suppressed because it is too large
+ 1 - 0
dist/_nuxt/def53cb4f683f9cf46dc.js


File diff suppressed because it is too large
+ 0 - 1
dist/_nuxt/e3bdd505f6b097d6ea5a.js


File diff suppressed because it is too large
+ 1 - 1
dist/_nuxt/e91cfb89072cdfb1ca2e.js


File diff suppressed because it is too large
+ 2 - 2
dist/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/login/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/404/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cats copy/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cats/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cert_check/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cert_edit/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cert_pro/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_balance/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_developer/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/cloud_job/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/dev_check/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/dev_check_detail/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/dev_show/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/gongmall/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/group_list/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_manager/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_order/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/vip_setting/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/wage_details/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/main/wage_settlement/index.html


+ 55 - 0
layouts/empty.vue

@@ -0,0 +1,55 @@
+<template>
+  <div>
+    <nuxt />
+  </div>
+</template>
+
+<style>
+html {
+  font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
+    Roboto, "Helvetica Neue", Arial, sans-serif;
+  font-size: 16px;
+  word-spacing: 1px;
+  -ms-text-size-adjust: 100%;
+  -webkit-text-size-adjust: 100%;
+  -moz-osx-font-smoothing: grayscale;
+  -webkit-font-smoothing: antialiased;
+  box-sizing: border-box;
+}
+
+*,
+*:before,
+*:after {
+  box-sizing: border-box;
+  margin: 0;
+}
+
+.button--green {
+  display: inline-block;
+  border-radius: 4px;
+  border: 1px solid #3b8070;
+  color: #3b8070;
+  text-decoration: none;
+  padding: 10px 30px;
+}
+
+.button--green:hover {
+  color: #fff;
+  background-color: #3b8070;
+}
+
+.button--grey {
+  display: inline-block;
+  border-radius: 4px;
+  border: 1px solid #35495e;
+  color: #35495e;
+  text-decoration: none;
+  padding: 10px 30px;
+  margin-left: 15px;
+}
+
+.button--grey:hover {
+  color: #fff;
+  background-color: #35495e;
+}
+</style>

+ 18 - 17
pages/login/index.vue

@@ -25,41 +25,42 @@
 
 <script>
 export default {
+  layout: "empty",
   data() {
     return {
       ruleForm: {
         // 账号
-        webmaster: '',
+        webmaster: "",
         // 密码
-        password: '',
+        password: "",
         // 口令,格式:inn月日,无 0
-        cypher: '',
+        cypher: ""
       },
       rules: {
-        webmaster: [
-          { required: true, message: '请输入账号', trigger: 'blur' },
-        ],
+        webmaster: [{ required: true, message: "请输入账号", trigger: "blur" }],
         password: [
-          { required: true, message: '请输入密码', trigger: 'change' },
-          { min: 6, message: '长度在 6 个字符以上', trigger: 'blur' },
-        ],
-        cypher: [
-          { required: true, message: '请输入账号', trigger: 'blur' },
+          { required: true, message: "请输入密码", trigger: "change" },
+          { min: 6, message: "长度在 6 个字符以上", trigger: "blur" }
         ],
+        cypher: [{ required: true, message: "请输入账号", trigger: "blur" }]
       }
-    }
+    };
   },
   methods: {
     async submit() {
       // this.$router.replace('/main')
       // return
-      const { webmaster, password, cypher } = this.ruleForm
-      const res = await this.$post('/api/admin/index/login', { webmaster, password, cypher })
-      console.log(res)
-      if(res && res.status) this.$router.replace('/main')
+      const { webmaster, password, cypher } = this.ruleForm;
+      const res = await this.$post("/api/admin/index/login", {
+        webmaster,
+        password,
+        cypher
+      });
+      console.log(res);
+      if (res && res.status) this.$router.replace("/main");
     }
   }
-}
+};
 </script>
 
 <style>

+ 1 - 1
pages/main/index.vue

@@ -24,7 +24,7 @@ export default {
 <style scoped>
 #main {
   display: flex;
-  height: 100vh;
+  height: calc(100vh - 70px);
   padding: 10px;
 }
 .main-content {