浏览代码

联系我们

See999 5 年前
父节点
当前提交
e4144b5bbd
共有 3 个文件被更改,包括 70 次插入2 次删除
  1. 5 1
      src/router/index.js
  2. 64 0
      src/scrm_pages/contact/contact.vue
  3. 1 1
      src/scrm_pages/newsDetail/newsDetail.vue

+ 5 - 1
src/router/index.js 查看文件

@@ -114,9 +114,13 @@ var _constant_router_map = [
114 114
     path: "/newsDetail",
115 115
     component: () => import("@/scrm_pages/newsDetail/newsDetail")
116 116
   },
117
+  {
118
+    path: "/contact",
119
+    component: () => import("@/scrm_pages/contact/contact")
120
+  },
117 121
   {
118 122
     path: "/",
119
-    component: () => import("@/scrm_pages/newsDetail/newsDetail")
123
+    component: () => import("@/scrm_pages/contact/contact")
120 124
   },
121 125
 
122 126
   // 医院介绍详情路由

+ 64 - 0
src/scrm_pages/contact/contact.vue 查看文件

@@ -0,0 +1,64 @@
1
+<template>
2
+  <div>
3
+    <div class="focusImg">
4
+      <img src="static/images/img2.png" alt />
5
+    </div>
6
+    <div class="detail">
7
+      <div class="row one">
8
+        <p class="title">医院地址:</p>
9
+        <p class="msg">深圳市南山区学苑大道1001号南山智园A4栋9楼918</p>
10
+      </div>
11
+      <div class="row">
12
+        <p class="title">电&ensp;&ensp;&ensp;&ensp;话:</p>
13
+        <p class="msg">0755-8548683</p>
14
+      </div>
15
+      <div class="row">
16
+        <p class="title">手机号码:</p>
17
+        <p class="msg">13612805443</p>
18
+      </div>
19
+      <div class="row">
20
+        <p class="title">工作时间:</p>
21
+        <p class="msg">15:00-18:00</p>
22
+      </div>
23
+      <div class="row one">
24
+        <p class="title">乘车方式:</p>
25
+        <p class="msg">乘1路或859路车至千峰路口站下车向南500米</p>
26
+      </div>
27
+    </div>
28
+  </div>
29
+</template>
30
+
31
+
32
+<style lang="scss" scoped>
33
+.focusImg {
34
+  width: 23.4375rem;
35
+  height: 11.5625rem;
36
+  img {
37
+    width: 100%;
38
+    height: 100%;
39
+  }
40
+}
41
+.detail {
42
+  width: 21.125rem;
43
+  margin: 1.1875rem 1.25rem 0 1.25rem;
44
+
45
+  .row {
46
+    font-size: 1rem;
47
+    font-weight: 600;
48
+    color: rgba(7, 18, 40, 1);
49
+    line-height: 2.375rem;
50
+    height: 2.375rem;
51
+    .title {
52
+      float: left;
53
+    }
54
+    .msg {
55
+      float: left;
56
+      width: 16rem;
57
+    }
58
+  }
59
+  .one {
60
+    height: 3rem;
61
+    line-height: 1.5rem;
62
+  }
63
+}
64
+</style>

+ 1 - 1
src/scrm_pages/newsDetail/newsDetail.vue 查看文件

@@ -26,7 +26,7 @@
26 26
 }
27 27
 .msg {
28 28
   width: 21rem;
29
-  height: 12.0625rem;
29
+  min-height: 12.0625rem;
30 30
   font-size: 1rem;
31 31
   font-weight: 600;
32 32
   color: rgba(7, 18, 40, 1);