diff --git a/src/articledetail.vue b/src/articledetail.vue new file mode 100644 index 0000000..1268a68 --- /dev/null +++ b/src/articledetail.vue @@ -0,0 +1,275 @@ + + + + + \ No newline at end of file diff --git a/src/assets/index.png b/src/assets/index.png new file mode 100644 index 0000000..8a8d589 Binary files /dev/null and b/src/assets/index.png differ diff --git a/src/assets/logo1.png b/src/assets/logo1.png new file mode 100644 index 0000000..a53991a Binary files /dev/null and b/src/assets/logo1.png differ diff --git a/src/assets/logout.png b/src/assets/logout.png new file mode 100644 index 0000000..a14c1ed Binary files /dev/null and b/src/assets/logout.png differ diff --git a/src/assets/mine.png b/src/assets/mine.png new file mode 100644 index 0000000..2bd542b Binary files /dev/null and b/src/assets/mine.png differ diff --git a/src/assets/zoom.png b/src/assets/zoom.png new file mode 100644 index 0000000..e2bc5a7 Binary files /dev/null and b/src/assets/zoom.png differ diff --git a/src/components/indexFollow1.vue b/src/components/indexFollow1.vue new file mode 100644 index 0000000..9ff1e37 --- /dev/null +++ b/src/components/indexFollow1.vue @@ -0,0 +1,236 @@ + + + \ No newline at end of file diff --git a/src/components/indexhead.vue b/src/components/indexhead.vue index b40b6ad..db68ec7 100644 --- a/src/components/indexhead.vue +++ b/src/components/indexhead.vue @@ -3,15 +3,22 @@
-
首页
-
我的主页
-
退出登录
+
+ + 首页
+
+ + 我的主页
+
+ + 退出登录
- + +
@@ -32,6 +39,11 @@ flex-direction: column; color: #333; font-size: 24px; + .icon{ + width: 26px; + height: 30px; + margin-right: 15px; + } } .head { position: fixed; @@ -63,7 +75,7 @@ margin-left: 23px; width: 30px; height: 30px; - background-color: #000; + // background-color: #000; } > input { margin-left: 21px; @@ -105,8 +117,27 @@ export default { shuru() { window.console.log(this.serch); this.$router.push({ - path: `/indexfind?word=`+this.serch + path: `/indexfind?word=` + this.serch }); + }, + tab(e) { + switch (e) { + case 0: + this.$router.push({ + path: `/index` + }); + break; + case 1: + this.$router.push({ + path: `/PersonalHomepage` + }); + break; + case 2: + this.$router.push({ + path: `/login` + }); + break; + } } } }; diff --git a/src/index.vue b/src/index.vue index a5069ec..2209707 100644 --- a/src/index.vue +++ b/src/index.vue @@ -2,15 +2,19 @@
- + +
+
{{text}}
@@ -63,6 +67,12 @@ export default { } }) + }, + todetail(e){ + window.console.log(e) + this.$router.push({ + path: `/IndexArticleDetaill?id=`+e + }); } }, components: { diff --git a/src/router.js b/src/router.js index 7bc237a..80e3dac 100644 --- a/src/router.js +++ b/src/router.js @@ -16,8 +16,13 @@ import IndexReport1 from "./IndexReport1" import IndexReport2 from "./IndexReport2" import Answer from "./Answer" import sign from "./sign" +import ArticleDetail from "./articledetail" const router=new Router({ routes: [ + { + path: '/', + component: ArticleDetail + }, { path: '/sign', component: sign