许成详 před 6 roky
rodič
revize
7af16d252e

+ 3
- 1
src/App.vue Zobrazit soubor

@@ -11,12 +11,14 @@ export default {
11 11
 </script>
12 12
 
13 13
 <style>
14
+html,body,#app{
15
+ height: 100%;
16
+}
14 17
 #app {
15 18
   font-family: 'Avenir', Helvetica, Arial, sans-serif;
16 19
   -webkit-font-smoothing: antialiased;
17 20
   -moz-osx-font-smoothing: grayscale;
18 21
   text-align: center;
19 22
   color: #2c3e50;
20
-  margin-top: 60px;
21 23
 }
22 24
 </style>

binární
src/assets/image/program/bg1.jpg Zobrazit soubor


binární
src/assets/image/program/bg2.jpg Zobrazit soubor


binární
src/assets/image/program/bg3.jpg Zobrazit soubor


+ 18
- 13
src/components/commonComponents/headerTab.vue Zobrazit soubor

@@ -1,29 +1,31 @@
1 1
 <template>
2 2
   <div class="header-tab">
3 3
     <el-row>
4
-       <el-col :span="12"><img src="../../assets/image/home/logo/logo.png" alt=""></el-col>
5
-  <el-col :span="12"><el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect">
6
-  <el-menu-item index="1">首页</el-menu-item>
7
-  <el-menu-item index="2">解决方案</el-menu-item>
8
-  <el-menu-item index="3">产品中心</el-menu-item>
9
-  <el-menu-item index="4">新闻资讯</el-menu-item>
10
-  <el-menu-item index="5">关于我们</el-menu-item>
11
-</el-menu></el-col>
12
- 
13
-</el-row>
14
-
4
+      <el-col :span="12">
5
+        <img class="logo" src="../../assets/image/home/logo/logo.png" alt>
6
+      </el-col>
7
+      <el-col :span="12">
8
+        <el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect">
9
+          <el-menu-item index="1">首页</el-menu-item>
10
+          <el-menu-item index="2">解决方案</el-menu-item>
11
+          <el-menu-item index="3">产品中心</el-menu-item>
12
+          <el-menu-item index="4">新闻资讯</el-menu-item>
13
+          <el-menu-item index="5">关于我们</el-menu-item>
14
+        </el-menu>
15
+      </el-col>
16
+    </el-row>
15 17
   </div>
16 18
 </template>
17 19
 
18 20
 <script>
19 21
 export default {
20
-  data() {
22
+  data () {
21 23
     return {
22 24
       activeIndex: "1"
23 25
     };
24 26
   },
25 27
   methods: {
26
-    handleSelect(key, keyPath) {
28
+    handleSelect (key, keyPath) {
27 29
       if (key === "2") {
28 30
         this.activeIndex = "2";
29 31
         this.$router.push("/solution");
@@ -83,4 +85,7 @@ export default {
83 85
   padding: 0;
84 86
   margin: 0 20px;
85 87
 }
88
+.logo{
89
+  height: 35px;
90
+}
86 91
 </style>

+ 48
- 11
src/components/pages/productCenter/productCenter.vue Zobrazit soubor

@@ -1,15 +1,19 @@
1 1
 <template>
2 2
   <div class="product-center">
3
-      <headerTab></headerTab>
4
-   
5
-  <div>
6
-
7
-  产品中心
8
-
9
-
3
+    <headerTab></headerTab>
4
+    <div class="product_box">
5
+      <div class="product_top">
6
+        <div class="product_top_con">
7
+          <div class="product_top_con_left">
8
+            <h3>{{tittle}}</h3>
9
+          </div>
10
+          <div class="product_top_con_right">
11
+            <h3>{{tittle}}</h3>
12
+          </div>
13
+        </div>
14
+      </div>
10 15
     </div>
11 16
     <footerNav></footerNav>
12
-
13 17
   </div>
14 18
 </template>
15 19
 
@@ -19,10 +23,10 @@ import footerNav from "@/components/commonComponents/footerNav";
19 23
 
20 24
 export default {
21 25
   components: { headerTab, footerNav },
22
- 
26
+
23 27
   data () {
24 28
     return {
25
-  
29
+      tittle: '二手房管理平台'
26 30
     }
27 31
   }
28 32
 }
@@ -30,5 +34,38 @@ export default {
30 34
 
31 35
 <!-- Add "scoped" attribute to limit CSS to this component only -->
32 36
 <style scoped>
33
-
37
+.product-center {
38
+  background: url(../../../assets/image/program/bg1.jpg) no-repeat center;
39
+  width: 100%;
40
+  min-width: 1260px;
41
+  height: 390px;
42
+  background-size: cover;
43
+}
44
+.product_box {
45
+  width: 1260px;
46
+  height: 390px;
47
+  margin: 0 auto;
48
+}
49
+.product_top {
50
+  width: 1260px;
51
+  height: 390px;
52
+}
53
+.product_top_con_left {
54
+  display: inline-block;
55
+  color: #fff;
56
+}
57
+.product_top_con_left h3{
58
+  font-size:33px;
59
+  font-weight:100;
60
+}
61
+.product_top_con_right {
62
+  display: inline-block;
63
+  color: #fff;
64
+}
65
+.product_top_con {
66
+  text-align: center;
67
+  line-height: 390px;
68
+  display: flex;
69
+  justify-content: space-between;
70
+}
34 71
 </style>