李志伟 hace 3 años
padre
commit
8d798e6e0c
Se han modificado 3 ficheros con 0 adiciones y 17 borrados
  1. 0
    11
      src/api/register.js
  2. 0
    5
      src/pages/index.vue
  3. 0
    1
      src/pages/signup.vue

+ 0
- 11
src/api/register.js Ver fichero

1
-import request  from "../utils/request";
2
-import { baseURL } from "../utils/request";
3
-/**
4
- * 报名
5
- * @param {*} person 
6
- * @returns 
7
- */
8
-export function register(data) {
9
-  const url = `${baseURL}/register`
10
-  return request(url, { method: 'POST', body: JSON.stringify(data) })
11
-}

+ 0
- 5
src/pages/index.vue Ver fichero

21
 .index-image {
21
 .index-image {
22
   background-color: black;
22
   background-color: black;
23
 
23
 
24
-  // background-color: #1d429d;
25
   width: 100vw;
24
   width: 100vw;
26
   height: 100vh;
25
   height: 100vh;
27
   display: flex;
26
   display: flex;
28
   align-items: center;
27
   align-items: center;
29
-  // overflow: hidden;
30
 
28
 
31
   .bg-image {
29
   .bg-image {
32
     width: 100%;
30
     width: 100%;
36
     position: absolute;
34
     position: absolute;
37
     width: 45vw;
35
     width: 45vw;
38
     bottom: 18vh;
36
     bottom: 18vh;
39
-    /* margin: 0 auto; */
40
-    /* justify-content: center; */
41
-    /* margin: 0 auto; */
42
     display: flex;
37
     display: flex;
43
     left: 27.5vw;
38
     left: 27.5vw;
44
     align-items: center;
39
     align-items: center;

+ 0
- 1
src/pages/signup.vue Ver fichero

71
 </template>
71
 </template>
72
 <script>
72
 <script>
73
 
73
 
74
-import { register } from '../api/register'
75
 import { setRegister, getCity } from '../utils/api'
74
 import { setRegister, getCity } from '../utils/api'
76
 export default {
75
 export default {
77
   components: {
76
   components: {