Bläddra i källkod

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

xiaoming_global 5 år sedan
förälder
incheckning
41cc393b05
2 ändrade filer med 28 tillägg och 6 borttagningar
  1. 10 6
      src/router/index.js
  2. 18 0
      src/scrm_pages/newsDetail/newsDetail.vue

+ 10 - 6
src/router/index.js Visa fil

73
     component: () =>
73
     component: () =>
74
       import("@/scrm_pages/hospitalIntroduction/hospitalIntroduction")
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
     path: "/medicalTeam",
85
     path: "/medicalTeam",
86
     component: () => import("@/scrm_pages/medicalTeam/medicalTeam")
86
     component: () => import("@/scrm_pages/medicalTeam/medicalTeam")
87
   },
87
   },
88
-  
88
+
89
   // 名医介绍详情
89
   // 名医介绍详情
90
 
90
 
91
   {
91
   {
110
     path: "/apply",
110
     path: "/apply",
111
     component: () => import("@/scrm_pages/apply/apply")
111
     component: () => import("@/scrm_pages/apply/apply")
112
   },
112
   },
113
+  {
114
+    path: "/newsDetail",
115
+    component: () => import("@/scrm_pages/newsDetail/newsDetail")
116
+  },
113
   {
117
   {
114
     path: "/",
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 Visa fil

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>