Yansen пре 5 година
родитељ
комит
bca183a03f

+ 1
- 0
build/webpack.prod.conf.js Прегледај датотеку

@@ -14,6 +14,7 @@ const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
14 14
 const env = require('../config/prod.env')
15 15
 
16 16
 const webpackConfig = merge(baseWebpackConfig, {
17
+  // baseUrl: 'https://njcjweb.oss-cn-beijing.aliyuncs.com/office/',
17 18
   module: {
18 19
     rules: utils.styleLoaders({
19 20
       sourceMap: config.build.productionSourceMap,

+ 2
- 2
index.html Прегледај датотеку

@@ -3,9 +3,9 @@
3 3
   <head>
4 4
     <meta charset="utf-8">
5 5
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
6
-    <meta name="keywords" content="线上售楼处,小程序,地产">
6
+    <meta name="keywords" content="买房,新房,楼盘,看房,二手房,新媒体营销,地产渠道,找房,地产推广,地产自媒体,地产营销,地产广告,社群">
7 7
     <script src="https://cdn.bootcdn.net/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
8
-    <title>office-vue</title>
8
+    <title>橙蕉互动</title>
9 9
   </head>
10 10
   <body>
11 11
     <div id="app"></div>

+ 3
- 1
src/App.vue Прегледај датотеку

@@ -40,6 +40,8 @@ ul li {
40 40
 }
41 41
 
42 42
 .page-container {
43
-  margin: 0 0.8rem;
43
+  padding: 0;
44
+  padding-left: 12%;
45
+  padding-right: 12%;
44 46
 }
45 47
 </style>

+ 4
- 6
src/components/Gallery/index.vue Прегледај датотеку

@@ -59,12 +59,14 @@ export default {
59 59
   methods: {
60 60
     setItemBound () {
61 61
       const width = this.$el.offsetWidth
62
-      const height = this.$el.offsetHeight
63 62
       const items = document.getElementsByClassName('scroll-item');
64 63
 
65 64
       [].forEach.call(items, function (d) {
65
+        // const height = d.firstElementChild.offsetHeight
66
+        // console.log(d, d.firstElementChild, height)
67
+
66 68
         d.style.width = `${width}px`
67
-        d.style.height = `${height}px`
69
+        // d.style.height = `${height}px`
68 70
       })
69 71
     },
70 72
     handleItemClick (item) {
@@ -99,18 +101,15 @@ export default {
99 101
 <style lang="less" scoped>
100 102
 .gallery {
101 103
   width: 100%;
102
-  height: 8.06rem;
103 104
 }
104 105
 
105 106
 .gallery {
106 107
   position: relative;
107
-  contain: strict;
108 108
 
109 109
   .scroll {
110 110
     display: flex;
111 111
     overflow-x: hidden;
112 112
     overflow-y: hidden;
113
-    height: 100%;
114 113
     scrollbar-width: none;
115 114
     -ms-overflow-style: none;
116 115
     scroll-behavior: smooth;
@@ -125,7 +124,6 @@ export default {
125 124
 
126 125
         img {
127 126
           width: 100%;
128
-          height: 100%;
129 127
         }
130 128
       }
131 129
     }

+ 4
- 0
src/pages/About/index.vue Прегледај датотеку

@@ -168,6 +168,10 @@ export default {
168 168
       display: flex;
169 169
       justify-content: space-between;
170 170
       align-content: center;
171
+
172
+      li {
173
+        flex: 1;
174
+      }
171 175
     }
172 176
   }
173 177
 }

+ 4
- 0
src/pages/Index/components/AdvTab/Pannel.vue Прегледај датотеку

@@ -24,6 +24,10 @@ export default {
24 24
   padding-top: 0.1rem;
25 25
   display: flex;
26 26
 
27
+  & > img {
28
+    max-width: 30%;
29
+  }
30
+
27 31
   ul {
28 32
     margin: 0;
29 33
     padding: 0;

+ 1
- 2
src/pages/Index/components/Tactics/CardImage.vue Прегледај датотеку

@@ -31,8 +31,7 @@ export default {
31 31
 <style lang="less" scoped>
32 32
 .card-img {
33 33
   display: block;
34
-  width: 3.2rem;
35
-  height: 3.2rem;
34
+  width: 100%;
36 35
   position: relative;
37 36
 }
38 37
 </style>

+ 1
- 0
src/pages/Index/components/Tactics/index.vue Прегледај датотеку

@@ -70,6 +70,7 @@ export default {
70 70
     li {
71 71
       list-style: none;
72 72
       position: relative;
73
+      max-width: 20%;
73 74
 
74 75
       &:hover {
75 76
         cursor: pointer;

+ 0
- 1
src/pages/Prod/components/Card/index.vue Прегледај датотеку

@@ -33,7 +33,6 @@ export default {
33 33
   background: #fff;
34 34
   display: flex;
35 35
   padding: 0.3rem;
36
-  max-width: 6rem;
37 36
   border: 0.01rem solid rgba(255,126,72,0.12);
38 37
   align-items: center;
39 38
 

+ 4
- 0
src/pages/Prod/index.vue Прегледај датотеку

@@ -326,6 +326,10 @@ export default {
326 326
         color:#666;
327 327
         line-height:0.32rem;
328 328
       }
329
+
330
+      & + .prod-item {
331
+        margin-left: 2%;
332
+      }
329 333
     }
330 334
 
331 335
     ul {