yuantianjiao 7 лет назад
Родитель
Сommit
437d2b2813
5 измененных файлов: 7 добавлений и 149 удалений
  1. Двоичные данные
      build/logo.png
  2. 2
    1
      index.html
  3. 0
    113
      src/components/HelloWorld.vue
  4. 0
    29
      src/page/userCenter/userCenter.vue
  5. 5
    6
      src/router/index.js

Двоичные данные
build/logo.png Просмотреть файл


+ 2
- 1
index.html Просмотреть файл

@@ -3,7 +3,8 @@
3 3
   <head>
4 4
     <meta charset="utf-8">
5 5
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
6
-    <title>spaceofcheng</title>
6
+    <link rel="stylesheet" href="//at.alicdn.com/t/font_775069_gqyqpakvbzi.css">
7
+    <title>城的空间</title>
7 8
   </head>
8 9
   <body>
9 10
     <div id="app"></div>

+ 0
- 113
src/components/HelloWorld.vue Просмотреть файл

@@ -1,113 +0,0 @@
1
-<template>
2
-  <div class="hello">
3
-    <h1>{{ msg }}</h1>
4
-    <h2>Essential Links</h2>
5
-    <ul>
6
-      <li>
7
-        <a
8
-          href="https://vuejs.org"
9
-          target="_blank"
10
-        >
11
-          Core Docs
12
-        </a>
13
-      </li>
14
-      <li>
15
-        <a
16
-          href="https://forum.vuejs.org"
17
-          target="_blank"
18
-        >
19
-          Forum
20
-        </a>
21
-      </li>
22
-      <li>
23
-        <a
24
-          href="https://chat.vuejs.org"
25
-          target="_blank"
26
-        >
27
-          Community Chat
28
-        </a>
29
-      </li>
30
-      <li>
31
-        <a
32
-          href="https://twitter.com/vuejs"
33
-          target="_blank"
34
-        >
35
-          Twitter
36
-        </a>
37
-      </li>
38
-      <br>
39
-      <li>
40
-        <a
41
-          href="http://vuejs-templates.github.io/webpack/"
42
-          target="_blank"
43
-        >
44
-          Docs for This Template
45
-        </a>
46
-      </li>
47
-    </ul>
48
-    <h2>Ecosystem</h2>
49
-    <ul>
50
-      <li>
51
-        <a
52
-          href="http://router.vuejs.org/"
53
-          target="_blank"
54
-        >
55
-          vue-router
56
-        </a>
57
-      </li>
58
-      <li>
59
-        <a
60
-          href="http://vuex.vuejs.org/"
61
-          target="_blank"
62
-        >
63
-          vuex
64
-        </a>
65
-      </li>
66
-      <li>
67
-        <a
68
-          href="http://vue-loader.vuejs.org/"
69
-          target="_blank"
70
-        >
71
-          vue-loader
72
-        </a>
73
-      </li>
74
-      <li>
75
-        <a
76
-          href="https://github.com/vuejs/awesome-vue"
77
-          target="_blank"
78
-        >
79
-          awesome-vue
80
-        </a>
81
-      </li>
82
-    </ul>
83
-  </div>
84
-</template>
85
-
86
-<script>
87
-export default {
88
-  name: 'HelloWorld',
89
-  data () {
90
-    return {
91
-      msg: 'Welcome to Your Vue.js App'
92
-    }
93
-  }
94
-}
95
-</script>
96
-
97
-<!-- Add "scoped" attribute to limit CSS to this component only -->
98
-<style scoped>
99
-h1, h2 {
100
-  font-weight: normal;
101
-}
102
-ul {
103
-  list-style-type: none;
104
-  padding: 0;
105
-}
106
-li {
107
-  display: inline-block;
108
-  margin: 0 10px;
109
-}
110
-a {
111
-  color: #42b983;
112
-}
113
-</style>

+ 0
- 29
src/page/userCenter/userCenter.vue Просмотреть файл

@@ -1,29 +0,0 @@
1
-<template>
2
-    <div class="asl">
3
-        sadadas{{test}}
4
-        <span></span>
5
-    </div>
6
-</template>
7
-
8
-<script>
9
-export default {
10
-  data () {
11
-    return {
12
-      test: 111
13
-    }
14
-  }
15
-}
16
-</script>
17
-
18
-<style lang="scss" scoped>
19
-.asl {
20
-  width: 2rem;
21
-  font-size: 1rem;
22
-  height: 1rem;
23
-}
24
-
25
-.test {
26
-  width: 5rem;
27
-  height: 2rem;
28
-}
29
-</style>

+ 5
- 6
src/router/index.js Просмотреть файл

@@ -1,15 +1,14 @@
1 1
 import Vue from 'vue'
2 2
 import Router from 'vue-router'
3
-import userCenter from '../page/userCenter/userCenter'
4 3
 
5 4
 Vue.use(Router)
6 5
 
7 6
 export default new Router({
8 7
   routes: [
9
-    {
10
-      path: '/',
11
-      name: 'userCenter',
12
-      component: userCenter
13
-    }
8
+    // {
9
+    //   path: '/',
10
+    //   name: 'userCenter',
11
+    //   component: userCenter
12
+    // }
14 13
   ]
15 14
 })