Bladeren bron

Merge branch 'master' of http://git.shengws.com/xmg123/micro_vue

xiaoming_global 5 jaren geleden
bovenliggende
commit
41cc393b05
2 gewijzigde bestanden met toevoegingen van 28 en 6 verwijderingen
  1. 10 6
      src/router/index.js
  2. 18 0
      src/scrm_pages/newsDetail/newsDetail.vue

+ 10 - 6
src/router/index.js Bestand weergeven

@@ -73,19 +73,19 @@ var _constant_router_map = [
73 73
     component: () =>
74 74
       import("@/scrm_pages/hospitalIntroduction/hospitalIntroduction")
75 75
   },
76
-  
76
+
77 77
   // 科室介绍详情
78 78
   {
79
-    path:"/officeIntroduction",
80
-    component:() =>
81
-    import('@/scrm_pages/officeIntroduction/officeIntroduction')
79
+    path: "/officeIntroduction",
80
+    component: () =>
81
+      import("@/scrm_pages/officeIntroduction/officeIntroduction")
82 82
   },
83 83
 
84 84
   {
85 85
     path: "/medicalTeam",
86 86
     component: () => import("@/scrm_pages/medicalTeam/medicalTeam")
87 87
   },
88
-  
88
+
89 89
   // 名医介绍详情
90 90
 
91 91
   {
@@ -110,9 +110,13 @@ var _constant_router_map = [
110 110
     path: "/apply",
111 111
     component: () => import("@/scrm_pages/apply/apply")
112 112
   },
113
+  {
114
+    path: "/newsDetail",
115
+    component: () => import("@/scrm_pages/newsDetail/newsDetail")
116
+  },
113 117
   {
114 118
     path: "/",
115
-    component: () => import("@/scrm_pages/news/news")
119
+    component: () => import("@/scrm_pages/newsDetail/newsDetail")
116 120
   },
117 121
 
118 122
   // 医院介绍详情路由

+ 18 - 0
src/scrm_pages/newsDetail/newsDetail.vue Bestand weergeven

@@ -0,0 +1,18 @@
1
+<template>
2
+  <div>
3
+    <div class="newsTitle">山东潍坊,高考还剩最后一门,女孩却被同学杀死了</div>
4
+  </div>
5
+</template>
6
+
7
+
8
+
9
+<style lang="scss" scoped>
10
+.newsTitle {
11
+  width: 19.9375rem;
12
+  height: 3.125rem;
13
+  font-size: 1.25rem;
14
+  font-weight: 400;
15
+  color: rgba(7, 18, 40, 1);
16
+  line-height: 1.875rem;
17
+}
18
+</style>