梁彦春 пре 6 година
родитељ
комит
65caf839df

+ 3
- 1
.babelrc Прегледај датотеку

@@ -6,7 +6,9 @@
6 6
         "browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
7 7
       }
8 8
     }],
9
-    "stage-2"
9
+    
10
+    "stage-2",
11
+    // ["es2015", "stage-2"],
10 12
   ],
11 13
   "plugins": ["transform-vue-jsx"]
12 14
 }

+ 4
- 2
build/webpack.base.conf.js Прегледај датотеку

@@ -13,7 +13,7 @@ function resolve (dir) {
13 13
 module.exports = {
14 14
   context: path.resolve(__dirname, '../'),
15 15
   entry: {
16
-    app: './src/main.js'
16
+    app: ["babel-polyfill",'./src/main.js']
17 17
   },
18 18
   output: {
19 19
     path: config.build.assetsRoot,
@@ -64,7 +64,9 @@ module.exports = {
64 64
           limit: 10000,
65 65
           name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
66 66
         }
67
-      }
67
+      },
68
+      
69
+      
68 70
     ]
69 71
   },
70 72
   node: {

+ 4
- 1
package.json Прегледај датотеку

@@ -13,6 +13,7 @@
13 13
     "animate.css": "^3.7.0",
14 14
     "element-ui": "^2.8.2",
15 15
     "vue": "^2.5.2",
16
+    "vue-awesome-swiper": "^3.1.3",
16 17
     "vue-fullpage": "^2.0.5",
17 18
     "vue-router": "^3.0.1"
18 19
   },
@@ -24,11 +25,13 @@
24 25
     "babel-plugin-syntax-jsx": "^6.18.0",
25 26
     "babel-plugin-transform-runtime": "^6.22.0",
26 27
     "babel-plugin-transform-vue-jsx": "^3.5.0",
28
+    "babel-polyfill": "^6.26.0",
27 29
     "babel-preset-env": "^1.3.2",
28 30
     "babel-preset-stage-2": "^6.22.0",
29 31
     "chalk": "^2.0.1",
30 32
     "copy-webpack-plugin": "^4.0.1",
31 33
     "css-loader": "^0.28.0",
34
+    "es6-promise": "^4.2.8",
32 35
     "extract-text-webpack-plugin": "^3.0.0",
33 36
     "file-loader": "^1.1.4",
34 37
     "friendly-errors-webpack-plugin": "^1.6.1",
@@ -45,7 +48,7 @@
45 48
     "rimraf": "^2.6.0",
46 49
     "semver": "^5.3.0",
47 50
     "shelljs": "^0.7.6",
48
-    "swiper": "^2.7.6",
51
+    "swiper": "^4.5.0",
49 52
     "uglifyjs-webpack-plugin": "^1.1.1",
50 53
     "url-loader": "^0.5.8",
51 54
     "vue-loader": "^13.3.0",

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

@@ -32,9 +32,23 @@ touch-action: none;
32 32
   text-align: center;
33 33
   color: #2c3e50;
34 34
 }
35
+a{
36
+  text-decoration: none
37
+}
35 38
 html{
36 39
    /* touch-action:none; */
37 40
 }
41
+body .el-table th.gutter {
42
+  display: table-cell !important;
43
+}
44
+
45
+body .el-table colgroup.gutter {
46
+  display: table-cell !important;
47
+}
48
+
49
+table {
50
+  width: 100% !important;
51
+}
38 52
 .el-submenu__title i{
39 53
   display: none;
40 54
 }
@@ -94,4 +108,65 @@ html{
94 108
   left: 9.6% !important;
95 109
 }
96 110
 
111
+/* .el-form--inline .el-form-item {
112
+    margin: 0 !important;
113
+} */
114
+.el-form-item__label{
115
+  width: 76px !important;
116
+    -moz-text-align-last: justify !important;
117
+    text-align-last: justify !important;
118
+    text-align: justify !important;
119
+  padding: 0 4px 0 0 !important;
120
+  font-size: 18px !important;
121
+  font-weight:300 !important;
122
+  color: rgba(0, 0, 0, 1) !important;
123
+}
124
+.el-form-item__label:before{
125
+  content: none !important;
126
+}
127
+.el-input__inner{
128
+  border: none !important;
129
+  border-bottom: 1px solid rgba(187, 187, 187, 1) !important;
130
+  outline: none !important;
131
+  border-radius: 0 !important;
132
+  padding: 0 !important;
133
+  width: 160px !important;
134
+  font-size: 18px !important;
135
+    font-family: PingFangSC-Light !important;
136
+    font-weight: 300 !important;
137
+    color: rgba(0, 0, 0, 1) !important;
138
+    height: 25px !important;
139
+    line-height: 20px !important;
140
+}
141
+.el-input__inner::placeholder{
142
+  color: rgba(0, 0, 0, 1) !important;
143
+  font-weight: 400 !important;
144
+}
145
+.el-input--suffix .el-input__inner{
146
+  width: 160px !important;
147
+  font-size: 18px !important;
148
+  font-weight: 300 !important;
149
+}
150
+.el-select-dropdown__item{
151
+  font-size:16px !important;
152
+font-weight:400 !important;
153
+color:rgba(128,128,128,1) !important;
154
+line-height:22px !important;
155
+height: 40px !important;
156
+    line-height: 40px !important;
157
+}
158
+.el-select-dropdown__item.hover, .el-select-dropdown__item:hover {
159
+    background-color:rgba(217,230,255,1) !important;
160
+    color:rgba(78,132,255,1) !important;
161
+}
162
+.el-select-dropdown{
163
+  box-shadow:0px 1px 14px 0px rgba(65,101,242,0.2) !important;
164
+}
165
+.el-input__suffix{
166
+  right:0 !important;
167
+}
168
+.el-form-item{
169
+  display: flex;
170
+  margin: 0 !important;
171
+}
97 172
 </style>

BIN
src/assets/image/logoicon/arrows.png Прегледај датотеку


BIN
src/assets/image/logoicon/success.png Прегледај датотеку


BIN
src/assets/image/yincheng/bg.jpg Прегледај датотеку


+ 194
- 68
src/components/commonComponents/icon.vue Прегледај датотеку

@@ -9,43 +9,79 @@
9 9
           <div class="bar"></div>
10 10
           <p class="small_tittle">向精细化案场进发</p>
11 11
           <div class="mes_con">
12
-            <div class="con_fir">
13
-              <div class="name_con">
14
-                <div class="con_tittle">姓名</div>
15
-                <input type="text" class="inp">
12
+            <el-form :rules="rules" ref="ruleForm" :model="ruleForm" class="demo-form-inline">
13
+              <div class="con_fir">
14
+                <div class="name_con">
15
+                  <!-- <div class="con_tittle">姓名</div>
16
+                  <input type="text" class="inp">-->
17
+                  <el-form-item label="姓名" prop="name">
18
+                    <el-input v-model="ruleForm.name"></el-input>
19
+                  </el-form-item>
20
+                </div>
21
+                <div class="phone_con">
22
+                  <!-- <div class="con_tittle">手机</div>
23
+                  <input type="text" class="inp">-->
24
+                  <el-form-item label="手机" prop="phone">
25
+                    <el-input v-model="ruleForm.phone"></el-input>
26
+                  </el-form-item>
27
+                </div>
16 28
               </div>
17
-              <div class="phone_con">
18
-                <div class="con_tittle">手机</div>
29
+              <div class="con_sec">
30
+                <div class="name_con">
31
+                  <div class="con_tittle">城市</div>
32
+                  <input type="text" class="inp" v-model="city">
33
+                </div>
34
+                <!-- <div class="phone_con">
35
+                <div class="con_tittle">体验项目</div>
19 36
                 <input type="text" class="inp">
37
+                </div>-->
38
+                <div class="phone_con">
39
+                  <el-form-item label="体验项目" prop="region">
40
+                    <el-select v-model="ruleForm.region" placeholder="请选择">
41
+                      <el-option label="全渠道在线平台" value="online"></el-option>
42
+                      <el-option label="二手房管理平台" value="secondHouse"></el-option>
43
+                      <el-option label="AI迎宾判客系统" value="AIwelcome"></el-option>
44
+                      <el-option label="智慧大屏机" value="bigscreen"></el-option>
45
+                      <el-option label="全案发布平台" value="release"></el-option>
46
+                      <el-option label="微楼书" value="micro"></el-option>
47
+                      <el-option label="智慧社区" value="community"></el-option>
48
+                      <el-option label="城的空间" value="city"></el-option>
49
+                    </el-select>
50
+                  </el-form-item>
51
+                </div>
20 52
               </div>
21
-            </div>
22
-            <div class="con_sec">
23
-              <div class="name_con">
24
-                <div class="con_tittle">城市</div>
25
-                <input type="text" class="inp">
53
+              <div class="con_third">
54
+                <div class="con_tittle">公司</div>
55
+                <input type="text" class="company_inp" v-model="company">
26 56
               </div>
27
-              <div class="phone_con">
28
-                <div class="con_tittle">体验项目</div>
29
-                <input type="text" class="inp">
57
+              <div class="btn" @click="submitForm('ruleForm')">
58
+                <div class="submit">提交</div>
30 59
               </div>
31
-            </div>
32
-            <div class="con_third">
33
-              <div class="con_tittle">公司</div>
34
-              <input type="text" class="company_inp">
35
-            </div>
36
-          </div>
37
-          <div class="btn" @click="submit">
38
-            <div class="submit">提交</div>
60
+              <div class="cancel" @click="cancel">
61
+                <img src="../../assets/image/logoicon/cancel.png" alt class="cancelImg">
62
+              </div>
63
+            </el-form>
39 64
           </div>
40 65
         </div>
41
-        <div class="cancel" @click="cancel">
42
-          <img src="../../assets/image/logoicon/cancel.png" alt="" class="cancelImg">
66
+      </div>
67
+    </div>
68
+    <div class="submit_mask" v-show="success">
69
+      <div>
70
+        <div class="submit_bullet">
71
+        <div class="submit_mes">
72
+          <div class="success_logo"></div>
73
+          <p class="success_tittle">提交成功!</p>
74
+          <p class="success_con1">感谢您对我们的信任</p>
75
+          <p class="success_con2">稍后将有工作人员与您联系, 请保持手机畅通</p>
43 76
         </div>
44 77
       </div>
78
+      <div class="success_cancel" @click="cancel_success">
79
+        <img src="../../assets/image/logoicon/cancel.png" alt class="cancelImg">
80
+      </div>
81
+      </div>
45 82
     </div>
46 83
   </div>
47 84
 </template>
48
-
49 85
 <script>
50 86
 export default {
51 87
   name: "to-top",
@@ -54,48 +90,84 @@ export default {
54 90
       scrollTop: '',
55 91
       toTopIsShow: false,
56 92
       mask: false,
93
+      success: false,
94
+      city:'',
95
+      company:'',
96
+      ruleForm: {
97
+        name: '',
98
+        region: '',
99
+        phone: '',
100
+      },
101
+      rules: {
102
+        name: [
103
+          { required: true, message: '请输入您的姓名', trigger: 'blur' },
104
+          { min: 2, max: 5, message: '长度在 2 到 5 个字符', trigger: 'blur' },
105
+        ],
106
+        phone: [
107
+          { required: true, message: '请输入手机号', trigger: 'blur' }
108
+        ],
109
+        region: [
110
+          { required: true, message: '请选择一个想要体验的项目', trigger: 'change' }
111
+        ],
112
+      }
57 113
     }
58 114
   }
59 115
   ,
60 116
   methods: {
61
-     handleScroll () {
62
-          this.scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop
63
-          if(this.scrollTop>500){
64
-            this.toTopIsShow=true
65
-          }else{
66
-              this.toTopIsShow= false
67
-          }
68
-        },
69
-        toTop(){
70
-          let timer=null,_that=this;
71
-          cancelAnimationFrame(timer)
72
-          timer=requestAnimationFrame(function fn(){
73
-            if(_that.scrollTop>0){
74
-              _that.scrollTop-=200;
75
-              document.body.scrollTop = document.documentElement.scrollTop = _that.scrollTop;
76
-              timer=requestAnimationFrame(fn)
77
-            }else {
78
-              cancelAnimationFrame(timer);
79
-              _that.toTopIsShow=false;
80
-            }
81
-          })
82
-        },
117
+    handleScroll () {
118
+      this.scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop
119
+      if (this.scrollTop > 500) {
120
+        this.toTopIsShow = true
121
+      } else {
122
+        this.toTopIsShow = false
123
+      }
124
+    },
125
+    toTop () {
126
+      let timer = null, _that = this;
127
+      cancelAnimationFrame(timer)
128
+      timer = requestAnimationFrame(function fn () {
129
+        if (_that.scrollTop > 0) {
130
+          _that.scrollTop -= 200;
131
+          document.body.scrollTop = document.documentElement.scrollTop = _that.scrollTop;
132
+          timer = requestAnimationFrame(fn)
133
+        } else {
134
+          cancelAnimationFrame(timer);
135
+          _that.toTopIsShow = false;
136
+        }
137
+      })
138
+    },
83 139
     news () {
84
-      this.mask = true
140
+      this.mask = true;
141
+      this.ruleForm.name = '';
142
+      this.ruleForm.phone = '';
143
+      this.city = '';
144
+      this.ruleForm.region = '';
145
+      this.company = '';
85 146
     },
86
-    cancel() {
87
-        this.mask = false
147
+    cancel () {
148
+      this.mask = false
88 149
     },
89
-    submit() {
90
-        this.mask = false
150
+    submitForm (formName) {
151
+      this.$refs[formName].validate((valid) => {
152
+        if (valid) {
153
+          this.success = true,
154
+            this.mask = false
155
+        } else {
156
+          console.log('error submit!!');
157
+          return false;
158
+        }
159
+      });
160
+    },
161
+    cancel_success () {
162
+      this.success = false
91 163
     }
92 164
   },
93 165
   mounted () {
94 166
     window.addEventListener('scroll', this.handleScroll);
95 167
   },
96
-  destroyed(){
97
-        window.removeEventListener('scroll', this.handleScroll)
98
-      }
168
+  destroyed () {
169
+    window.removeEventListener('scroll', this.handleScroll)
170
+  }
99 171
 }
100 172
 </script>
101 173
 
@@ -136,13 +208,59 @@ export default {
136 208
   align-items: center;
137 209
   justify-content: center;
138 210
 }
139
-.mes {
211
+.submit_mask {
212
+  width: 100%;
213
+  height: 100%;
214
+  padding-top: 59px;
215
+  background-color: rgba(0, 0, 0, 0.4);
216
+  position: fixed;
217
+  left: 0;
218
+  top: 0;
219
+  display: flex;
220
+  align-items: center;
221
+  justify-content: center;
222
+}
223
+.bullet {
140 224
   width: 760px;
141 225
   height: 480px;
142 226
   background: url("../../assets/image/logoicon/mask.png") no-repeat center;
143 227
   background-size: 100%;
144 228
   text-align: center;
145 229
 }
230
+.submit_bullet {
231
+  width: 760px;
232
+  height: 480px;
233
+  background: url("../../assets/image/logoicon/mask.png") no-repeat center;
234
+  background-size: 100%;
235
+  display: flex;
236
+  align-items: center;
237
+  justify-content: center;
238
+}
239
+.success_logo {
240
+  width: 108px;
241
+  height: 108px;
242
+  background-color: red;
243
+  background: url("../../assets/image/logoicon/success.png") no-repeat center;
244
+  background-size: 100%;
245
+  margin: auto;
246
+}
247
+.success_tittle {
248
+  font-size: 26px;
249
+  font-family: PingFangSC-Regular;
250
+  font-weight: 400;
251
+  color: rgba(0, 0, 0, 1);
252
+  line-height: 37px;
253
+  margin: 20px 0 10px 0;
254
+}
255
+.success_con1,
256
+.success_con2 {
257
+  font-size: 16px;
258
+  font-family: PingFangSC-Regular;
259
+  font-weight: 400;
260
+  color: rgba(102, 102, 102, 1);
261
+  line-height: 22px;
262
+}
263
+
146 264
 .tittle {
147 265
   padding-top: 40px;
148 266
   font-size: 30px;
@@ -178,6 +296,10 @@ export default {
178 296
   text-align-last: justify;
179 297
   text-align: justify;
180 298
   margin-right: 4px;
299
+  font-size: 18px;
300
+
301
+  font-weight: 300;
302
+  color: rgba(0, 0, 0, 1);
181 303
 }
182 304
 .con_fir,
183 305
 .con_sec,
@@ -187,27 +309,27 @@ export default {
187 309
   justify-content: space-between;
188 310
 }
189 311
 .inp {
190
-  font-size:18px;
191
-font-family:PingFangSC-Light;
192
-font-weight:300;
193
-color:rgba(0,0,0,1);
312
+  font-size: 18px;
313
+  font-family: PingFangSC-Light;
314
+  font-weight: 300;
315
+  color: rgba(0, 0, 0, 1);
194 316
   width: 160px;
195 317
   border: none;
196 318
   border-bottom: 1px solid rgba(187, 187, 187, 1);
197 319
   outline: none;
198 320
 }
199 321
 .company_inp {
200
-  font-size:18px;
201
-font-family:PingFangSC-Light;
202
-font-weight:300;
203
-color:rgba(0,0,0,1);
322
+  font-size: 18px;
323
+  font-family: PingFangSC-Light;
324
+  font-weight: 300;
325
+  color: rgba(0, 0, 0, 1);
204 326
   width: 462px;
205 327
   border: none;
206 328
   border-bottom: 1px solid rgba(187, 187, 187, 1);
207 329
   outline: none;
208 330
 }
209 331
 .btn {
210
-  margin: 63px auto 43px auto;
332
+  margin: 43px auto;
211 333
   width: 169px;
212 334
   height: 48px;
213 335
   background: rgba(78, 132, 255, 1);
@@ -223,10 +345,11 @@ color:rgba(0,0,0,1);
223 345
   color: rgba(255, 255, 255, 1);
224 346
   cursor: pointer;
225 347
 }
226
-.cancel {
348
+.cancel,
349
+.cancel_success {
227 350
   /* background: url("../../assets/image/logoicon/cancel.png") no-repeat;
228 351
   background-size: 100% 100%; */
229
-  margin: 70px auto 0 auto;
352
+  margin: 90px auto 0 auto;
230 353
   width: 40px;
231 354
   height: 40px;
232 355
   border-radius: 50%;
@@ -239,7 +362,10 @@ color:rgba(0,0,0,1);
239 362
   /* font-size: 16px; */
240 363
   cursor: pointer;
241 364
 }
242
-.cancelImg{
365
+.success_cancel{
366
+  margin: 32px auto 0 auto;
367
+}
368
+.cancelImg {
243 369
   width: 80px;
244 370
   height: 80px;
245 371
   border-radius: 50%;

+ 171
- 124
src/components/pages/index.vue Прегледај датотеку

@@ -2,6 +2,7 @@
2 2
   <div>
3 3
     <div class="section" :style="{'height':offsetheight+'px'}">
4 4
       <headerTab></headerTab>
5
+      <icon></icon>
5 6
       <div class="container" :style="{'transform': 'translate3d(0px,-'+ fullPage*offsetheight +'px, 0px)'}">
6 7
         <div class="page-1 page fp-auto-height">
7 8
           <div class="part-1" :class="page1 == true ? 'animated fadeIn5' :''">
@@ -23,6 +24,9 @@
23 24
                 <div class="frame3"></div>
24 25
                 <div class="frame4"></div>
25 26
               </div>
27
+              <!-- <span class="arrow-left" @click="arrow_left()"></span>
28
+              <span class="arrow-right" @click="arrow_right()"></span>-->
29
+
26 30
               <div class="swiper-container">
27 31
                 <div class="swiper-wrapper">
28 32
                   <div class="swiper-slide red-slide" style="width:960px;">
@@ -102,6 +106,8 @@
102 106
                     </div>
103 107
                   </div>
104 108
                 </div>
109
+                <!-- <div class="swiper-button-prev"></div>
110
+                <div class="swiper-button-next"></div>-->
105 111
                 <div class="pagination"></div>
106 112
               </div>
107 113
             </div>
@@ -112,28 +118,36 @@
112 118
             <div class="produce">
113 119
               <p class="title">产品简介</p>
114 120
               <div class="peoduce_top">
115
-                <div class="list first" :class="page3 == true ? 'animation fadeIn1' :''">
116
-                  <p class="list-name">AI迎宾判客系统</p>
117
-                  <img src="../../assets/image/home/produce/Group45.png" alt style="margin-top: 10.5%;">
118
-                  <p class="list-desc">智慧人脸风控应用于案场、地铁、银行等</p>
119
-                </div>
120
-                <div class="list" :class="page3 == true ? 'animation fadeIn2' :''">
121
-                  <p class="list-name">智慧大屏机</p>
122
-                  <img src="../../assets/image/home/produce/Group46.png" alt>
123
-                  <p class="list-desc">无人售楼终端机结合VR技术, 沉浸式看房体验</p>
124
-                </div>
121
+                <router-link to="../productCenter/AIwelcome" class="list first" :class="page3 == true ? 'animation fadeIn1' :''">
122
+                  <div>
123
+                    <p class="list-name">AI迎宾判客系统</p>
124
+                    <img src="../../assets/image/home/produce/Group45.png" alt style="margin-top: 10.5%;">
125
+                    <p class="list-desc">智慧人脸风控应用于案场、地铁、银行等</p>
126
+                  </div>
127
+                </router-link>
128
+                <router-link to="../productCenter/bigscreen" class="list" :class="page3 == true ? 'animation fadeIn2' :''">
129
+                  <div>
130
+                    <p class="list-name">智慧大屏机</p>
131
+                    <img src="../../assets/image/home/produce/Group46.png" alt>
132
+                    <p class="list-desc">无人售楼终端机结合VR技术, 沉浸式看房体验</p>
133
+                  </div>
134
+                </router-link>
125 135
               </div>
126 136
               <div class="produce_bottom">
127
-                <div class="list" :class="page3 == true ? 'animation fadeIn3' :''" >
128
-                  <p class="list-name">银城慧家APP</p>
129
-                  <img src="../../assets/image/home/produce/Group47.png" alt style="margin-top: 10.5%;">
130
-                  <p class="list-desc">智慧社区管理软件,一键开启智慧社区美好生活</p>
131
-                </div>
132
-                <div class="list" :class="page3 == true ? 'animation fadeIn4' :''">
133
-                  <p class="list-name">全楼盘</p>
134
-                  <img src="../../assets/image/home/produce/Group48.png" alt>
135
-                  <p class="list-desc">线上售楼处平台, 满足开发商和购房者共同需求</p>
136
-                </div>
137
+                <router-link to="../productCenter/community" class="list" :class="page3 == true ? 'animation fadeIn3' :''">
138
+                  <div>
139
+                    <p class="list-name">银城慧家APP</p>
140
+                    <img src="../../assets/image/home/produce/Group47.png" alt style="margin-top: 10.5%;">
141
+                    <p class="list-desc">智慧社区管理软件,一键开启智慧社区美好生活</p>
142
+                  </div>
143
+                </router-link>
144
+                <router-link to="../productCenter/online" class="list" :class="page3 == true ? 'animation fadeIn4' :''">
145
+                  <div>
146
+                    <p class="list-name">全楼盘</p>
147
+                    <img src="../../assets/image/home/produce/Group48.png" alt>
148
+                    <p class="list-desc">线上售楼处平台, 满足开发商和购房者共同需求</p>
149
+                  </div>
150
+                </router-link>
137 151
               </div>
138 152
             </div>
139 153
           </div>
@@ -169,37 +183,39 @@
169 183
                   </div>
170 184
                 </div>
171 185
               </div>
186
+              <div class="swiper-button-prev"></div>
187
+              <div class="swiper-button-next"></div>
172 188
             </div>
173 189
           </div>
174 190
         </div>
175 191
         <div class="page-5 fp-auto-height">
176 192
           <div class="page-5-con">
177 193
             <p class="title">我们的客户</p>
178
-          <div class="logo-box">
179
-            <div>
180
-              <img src="../../assets/image/home/logo/Group29.png" alt>
181
-              <img src="../../assets/image/home/logo/Group32.png" alt>
182
-              <img src="../../assets/image/home/logo/Group35.png" alt>
183
-              <img src="../../assets/image/home/logo/Group40.png" alt>
184
-              <img src="../../assets/image/home/logo/Group41.png" alt>
185
-            </div>
186
-            <div>
187
-              <img src="../../assets/image/home/logo/Group30.png" alt>
188
-              <img src="../../assets/image/home/logo/Group33.png" alt>
189
-              <img src="../../assets/image/home/logo/Group36.png" alt>
190
-              <img src="../../assets/image/home/logo/Group39.png" alt>
191
-              <img src="../../assets/image/home/logo/Group42.png" alt>
192
-            </div>
194
+            <div class="logo-box">
195
+              <div>
196
+                <img src="../../assets/image/home/logo/Group29.png" alt>
197
+                <img src="../../assets/image/home/logo/Group32.png" alt>
198
+                <img src="../../assets/image/home/logo/Group35.png" alt>
199
+                <img src="../../assets/image/home/logo/Group40.png" alt>
200
+                <img src="../../assets/image/home/logo/Group41.png" alt>
201
+              </div>
202
+              <div>
203
+                <img src="../../assets/image/home/logo/Group30.png" alt>
204
+                <img src="../../assets/image/home/logo/Group33.png" alt>
205
+                <img src="../../assets/image/home/logo/Group36.png" alt>
206
+                <img src="../../assets/image/home/logo/Group39.png" alt>
207
+                <img src="../../assets/image/home/logo/Group42.png" alt>
208
+              </div>
193 209
 
194
-            <div>
195
-              <img src="../../assets/image/home/logo/Group31.png" alt>
196
-              <img src="../../assets/image/home/logo/Group34.png" alt>
197
-              <img src="../../assets/image/home/logo/Group37.png" alt>
198
-              <img src="../../assets/image/home/logo/Group38.png" alt>
199
-              <img src="../../assets/image/home/logo/Group43.png" alt>
210
+              <div>
211
+                <img src="../../assets/image/home/logo/Group31.png" alt>
212
+                <img src="../../assets/image/home/logo/Group34.png" alt>
213
+                <img src="../../assets/image/home/logo/Group37.png" alt>
214
+                <img src="../../assets/image/home/logo/Group38.png" alt>
215
+                <img src="../../assets/image/home/logo/Group43.png" alt>
216
+              </div>
200 217
             </div>
201 218
           </div>
202
-          </div>
203 219
           <footerNav class="foot"></footerNav>
204 220
         </div>
205 221
       </div>
@@ -212,20 +228,13 @@
212 228
 
213 229
 
214 230
 <script>
215
-import Swiper from '../../static/js/idangerous.swiper.min.js';
231
+
232
+import Swiper from 'swiper';
216 233
 import headerTab from "@/components/commonComponents/headerTab";
217 234
 import footerNav from "@/components/commonComponents/footerNav";
218
-
219
-// window.onload = function() {
220
-//   var mySwiper = new Swiper('.swiper-container', {
221
-//       centeredSlides: true,
222
-//       slidesPerView: 'auto',
223
-//       loop: true
224
-//     })
225
-// }
226
-
235
+import icon from "@/components/commonComponents/icon";
227 236
 export default {
228
-  components: { headerTab, footerNav, Swiper },
237
+  components: { headerTab, footerNav, Swiper, icon },
229 238
   data () {
230 239
     return {
231 240
       bannerList: [
@@ -256,29 +265,42 @@ export default {
256 265
     };
257 266
   },
258 267
   mounted () {
259
-
260
-
261
-
262
-
263 268
     //在元素加载完毕的时候添加鼠标滑动事件
264 269
     //
265 270
     if (document.addEventListener) {
266 271
       document.addEventListener("DOMMouseScroll", this.scroll, false);
272
+      document.addEventListener('wheel', this.scroll, false);
273
+      document.addEventListener('mousewheel', this.scroll, false);
274
+    }else{
275
+      document.attachEvent('onmousewheel', this.scroll);
267 276
     }
268 277
     window.onmousewheel = document.onmousewheel = this.scroll;
269 278
     var mySwiper = new Swiper('.swiper-container', {
270
-      centeredSlides: true,
271 279
       slidesPerView: 'auto',
272 280
       loop: true,
273
-      autoplay: 4000,
274
-      // grabCursor : true,
281
+      // autoplay: 4000,
282
+      autoplay: {
283
+        delay: 4000,
284
+        disableOnInteraction: false,
285
+      },
286
+      paginationClickable: true,
287
+      slideToClickedSlide: true,
288
+      centeredSlides: true,
275 289
     });
276 290
     var mySwiper = new Swiper('.page-4-swiper-container', {
277 291
       centeredSlides: true,
278 292
       slidesPerView: 3,
279 293
       loop: true,
280
-      autoplay: 4000,
281
-      grabCursor : true,
294
+      // autoplay: 4000,
295
+      autoplay: {
296
+        delay: 4000,
297
+        disableOnInteraction: false,
298
+      },
299
+      grabCursor: true,
300
+      navigation: {
301
+        nextEl: '.swiper-button-next',
302
+        prevEl: '.swiper-button-prev',
303
+      },
282 304
     });
283 305
   },
284 306
   methods: {
@@ -299,10 +321,8 @@ export default {
299 321
       if (this.fullPageNum) {
300 322
         return false;
301 323
       }
302
-      //
303
-      //   e.wheelDelta为负数时向下滑动
304
-      //
305
-      if (e.wheelDelta < 0) {
324
+      if (e.wheelDelta < 0 || -e.deltaY < 0 || -e.detail < 0) {
325
+        // console.log("下滑")
306 326
         if (this.fullPage >= 4) {
307 327
           return false;
308 328
         }
@@ -318,6 +338,7 @@ export default {
318 338
         //   否则就是向上划
319 339
         //
320 340
       } else {
341
+        // console.log("上划")
321 342
         if (this.fullPage <= 0) {
322 343
           return false;
323 344
         }
@@ -343,17 +364,20 @@ export default {
343 364
       } else {
344 365
         this.page1 = false;
345 366
       }
346
-    }
347
-  }
367
+    },
368
+  },
369
+  beforeDestroy(){
370
+    console.log(this.scroll,"aaa")
371
+    window.removeEventListener("DOMMouseScroll",this.scroll)
372
+    window.removeEventListener("wheel",this.scroll)
373
+    window.removeEventListener("mousewheel",this.scroll)
374
+  },
348 375
 };
349 376
 </script>
350 377
 <style scoped lang="less">
351
-@import "../../static/css/idangerous.swiper.css";
352 378
 .el-carousel__item h3 {
353 379
   color: #475669;
354 380
   font-size: 14px;
355
-  // opacity: 0.75;
356
-  // line-height: 200px;
357 381
   margin: 0;
358 382
 }
359 383
 
@@ -458,11 +482,11 @@ export default {
458 482
       width: 100%;
459 483
       margin: auto;
460 484
       position: absolute;
461
-      bottom: 2%;
485
+      bottom: 1%;
462 486
       // padding: 8.5% 0 3% 0;
463 487
       .title {
464 488
         font-size: 56px;
465
-        margin: 2%;
489
+        margin: 1%;
466 490
         // margin-top: 7%;
467 491
         // padding-top: 5%;
468 492
         color: #fff;
@@ -474,26 +498,25 @@ export default {
474 498
         width: 50%;
475 499
         min-width: 540px;
476 500
         margin: 20px auto;
477
-        .peoduce_top{
501
+        .peoduce_top {
478 502
           display: flex;
479 503
           // justify-content: space-between;
480 504
         }
481
-        .produce_bottom{
505
+        .produce_bottom {
482 506
           display: flex;
483 507
           // justify-content: space-between;
484 508
         }
485 509
         .list {
486
-          
487
-              width: 54.48%;
488
-    /* height: 23.81%; */
489
-    background-color: #fff;
490
-    border-radius: 4px;
491
-    padding: 0 4%;
492
-    margin: 0.5%;
510
+          width: 54.48%;
511
+          /* height: 23.81%; */
512
+          background-color: #fff;
513
+          border-radius: 4px;
514
+          padding: 0 4%;
515
+          margin: 0.5%;
493 516
           .list-name {
494 517
             color: #03033f;
495 518
             border-bottom: 1.5px dashed #040445;
496
-            padding: 7.5% 0 4% 0;
519
+            padding: 2.5% 0 2% 0;
497 520
             font-size: 30px;
498 521
           }
499 522
           img {
@@ -531,12 +554,28 @@ export default {
531 554
       // background-size:
532 555
       .page-4-swiper-container {
533 556
         width: 87%;
534
-
535 557
         overflow: hidden;
558
+        position: relative;
536 559
         .swiper-wrapper {
537
-          margin: auto;
560
+          // margin: auto;
538 561
           width: 87%;
539
-          overflow: hidden;
562
+          // overflow: hidden;
563
+        }
564
+        .swiper-button-prev{
565
+          width: 27%;
566
+          height: 45%;
567
+          background-color: #fff;
568
+          position: absolute;
569
+          top: 41%;
570
+          opacity: 0;
571
+        }
572
+        .swiper-button-next{
573
+          width: 27%;
574
+          height: 45%;
575
+          background-color: #fff;
576
+          position: absolute;
577
+          top: 41%;
578
+          opacity: 0;
540 579
         }
541 580
       }
542 581
       .opt {
@@ -560,37 +599,45 @@ export default {
560 599
       }
561 600
       .swiper-slide {
562 601
         opacity: 1;
602
+        text-align: center;
603
+        // display: flex;
604
+        // justify-content: center;
605
+        // align-items: center;
606
+        transition: 300ms;
563 607
         /* height: 100%; */
564 608
         -webkit-transition: 300ms;
565 609
         -moz-transition: 300ms;
566 610
         -ms-transition: 300ms;
567 611
         -o-transition: 300ms;
568 612
         transition: 300ms;
569
-        -webkit-transform: scale(0.6735);
570
-        -moz-transform: scale(0.6735);
571
-        -ms-transform: scale(0.6735);
572
-        -o-transform: scale(0.6735);
573
-        transform: scale(0.6735);
613
+        // -webkit-transform: scale(0.6735);
614
+        // -moz-transform: scale(0.6735);
615
+        // -ms-transform: scale(0.6735);
616
+        // -o-transform: scale(0.6735);
617
+        // transform: scale(0.6735);
574 618
       }
575
-      .swiper-slide-visible {
576
-        opacity: 1;
577
-        -webkit-transform: scale(0.6735);
578
-        -moz-transform: scale(0.6735);
579
-        -ms-transform: scale(0.6735);
580
-        -o-transform: scale(0.6735);
619
+      .swiper-slide:not(.swiper-slide-active) {
581 620
         transform: scale(0.6735);
582 621
       }
622
+      // .swiper-slide-visible {
623
+      //   opacity: 1;
624
+      //   -webkit-transform: scale(0.6735);
625
+      //   -moz-transform: scale(0.6735);
626
+      //   -ms-transform: scale(0.6735);
627
+      //   -o-transform: scale(0.6735);
628
+      //   transform: scale(0.6735);
629
+      // }
583 630
 
584
-      .swiper-slide-active {
585
-        /* top: 0; */
586
-        opacity: 1;
587
-        -webkit-transform: scale(1);
588
-        -moz-transform: scale(1);
589
-        -ms-transform: scale(1);
590
-        -o-transform: scale(1);
591
-        transform: scale(1);
592
-        z-index: 1000;
593
-      }
631
+      // .swiper-slide-active {
632
+      //   /* top: 0; */
633
+      //   opacity: 1;
634
+      //   -webkit-transform: scale(1);
635
+      //   -moz-transform: scale(1);
636
+      //   -ms-transform: scale(1);
637
+      //   -o-transform: scale(1);
638
+      //   transform: scale(1);
639
+      //   z-index: 1000;
640
+      // }
594 641
 
595 642
       // .blue-slide {
596 643
 
@@ -654,27 +701,27 @@ export default {
654 701
     height: 100%;
655 702
     background-size: 100% 100%;
656 703
     overflow: hidden;
657
-    .page-5-con{
704
+    .page-5-con {
658 705
       // margin: 13%;
659 706
       position: absolute;
660
-    bottom: 30%;
707
+      bottom: 30%;
661 708
       .title {
662
-      font-size: 56px;
663
-      margin-bottom: 30px;
664
-      color: #fff;
665
-    }
666
-    .logo-box {
667
-      width: 65.63%;
668
-      min-width: 980px;
669
-      margin: auto;
670
-      // margin: 0.63% auto;
671
-      img {
672
-        width: 13.14%;
673
-        min-width: 183px;
674
-        height: 19.7%;
675
-        margin: 0.39%;
709
+        font-size: 56px;
710
+        margin-bottom: 30px;
711
+        color: #fff;
712
+      }
713
+      .logo-box {
714
+        width: 65.63%;
715
+        min-width: 980px;
716
+        margin: auto;
717
+        // margin: 0.63% auto;
718
+        img {
719
+          width: 13.14%;
720
+          min-width: 183px;
721
+          height: 19.7%;
722
+          margin: 0.39%;
723
+        }
676 724
       }
677
-    }
678 725
     }
679 726
   }
680 727
 }

+ 1
- 1
src/components/pages/productCenter/city.vue Прегледај датотеку

@@ -343,7 +343,7 @@ letter-spacing:7px;
343 343
 .city_content {
344 344
   background: url(../../../assets/image/program/bg.jpg) no-repeat center;
345 345
   background-size: 100%;
346
-  margin-top: 174px;
346
+  padding-top: 174px;
347 347
   .product_int {
348 348
     margin: 0 auto;
349 349
     padding: 80px 0;

+ 3
- 3
src/components/pages/productCenter/community.vue Прегледај датотеку

@@ -323,10 +323,10 @@ export default {
323 323
   width: 100%;
324 324
   // height: 100%;
325 325
   background-color: red;
326
-  background: url(../../../assets/image/yincheng/bg.jpg) no-repeat center;
327
-  background-size: 100% 100%;
326
+  background: url('../../../assets/image/yincheng/bg.jpg') no-repeat center 100%;
327
+  background-size: 100%;
328 328
   .community_content {
329
-    margin: 0 auto 70px auto;
329
+    margin: 0 auto;
330 330
     padding: 140px 0;
331 331
     width: 960px;
332 332
     // display: flex;

+ 27
- 28
src/components/pages/solution/solution.vue Прегледај датотеку

@@ -383,38 +383,37 @@ export default {
383 383
     };
384 384
   },
385 385
   methods: {
386
-    backTop () {
387
-      let that = this
388
-      let timer = setInterval(() => {
389
-        let ispeed = Math.floor(-that.scrollTop / 5)
390
-        document.documentElement.scrollTop = document.body.scrollTop = that.scrollTop + ispeed
391
-        if (that.scrollTop === 0) {
392
-          clearInterval(timer)
393
-        }
394
-      }, 16)
395
-  },
396
-
397
-  scrollToTop () {
398
-    let that = this
399
-    let scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop
400
-    that.scrollTop = scrollTop
401
-    if (that.scrollTop > 60) {
402
-      that.btnFlag = true
403
-    } else {
404
-      that.btnFlag = false
405
-    }
406
-  },
407
-
408
-
386
+  //   backTop () {
387
+  //     let that = this
388
+  //     let timer = setInterval(() => {
389
+  //       let ispeed = Math.floor(-that.scrollTop / 5)
390
+  //       document.documentElement.scrollTop = document.body.scrollTop = that.scrollTop + ispeed
391
+  //       if (that.scrollTop === 0) {
392
+  //         clearInterval(timer)
393
+  //       }
394
+  //     }, 16)
395
+  // },
409 396
 
397
+  // scrollToTop () {
398
+  //   let that = this
399
+  //   let scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop
400
+  //   that.scrollTop = scrollTop
401
+  //   if (that.scrollTop > 60) {
402
+  //     that.btnFlag = true
403
+  //   } else {
404
+  //     that.btnFlag = false
405
+  //   }
406
+  // },
410 407
     handleClick (tab, event) {
411
-      console.log(tab, event);
412
-      if (this.activeName === "second") {
408
+      console.log("111",tab, event);
409
+      document.body.scrollTop = 0;
410
+      document.documentElement.scrollTop = 0;
411
+      if (this.activeName == "second") {
413 412
         this.title = "智慧社区服务平台 ";
414 413
         this.desc = "一个全系平台,四大集群系统";
415 414
         this.desc2 = "";
416 415
         this.engdesc = "A FULL SYSTEM PLATFORM, FOUR CLUSTERS SYSTEM";
417
-      } else if (this.activeName === "third") {
416
+      } else if (this.activeName == "third") {
418 417
         this.title = "按需定制";
419 418
         this.desc = "软件开发 我们更懂你 ";
420 419
         this.desc2 = "我们提供的就是您想要的服务";
@@ -439,10 +438,10 @@ export default {
439 438
     }
440 439
   },
441 440
   mounted(){
442
-    window.addEventListener('scroll', this.scrollToTop)
441
+    // window.addEventListener('scroll', this.scrollToTop)
443 442
   },
444 443
   destroyed () {
445
-  window.removeEventListener('scroll', this.scrollToTop)
444
+  // window.removeEventListener('scroll', this.scrollToTop)
446 445
 },
447 446
 };
448 447
 </script>

+ 8
- 9
src/main.js Прегледај датотеку

@@ -2,24 +2,23 @@
2 2
 // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
3 3
 import Vue from 'vue'
4 4
 import ElementUI from 'element-ui'
5
+// import 'babel-polyfill'
6
+// import promise from 'es6-promise'
5 7
 import 'element-ui/lib/theme-chalk/index.css'
6 8
 import App from './App'
7 9
 import router from './router'
8
-
10
+import 'swiper/dist/css/swiper.css';
9 11
 Vue.config.productionTip = false
10 12
 
11 13
 import animate from 'animate.css'
12
-import 'vue-fullpage/vue-fullpage.css'
13
-import VueFullpage from 'vue-fullpage'
14
-Vue.use(VueFullpage)
15
-
14
+// import 'vue-fullpage/vue-fullpage.css'
15
+// import VueFullpage from 'vue-fullpage'
16
+// Vue.use(VueFullpage)
16 17
 Vue.use(animate)
17 18
 
18
-
19
-
20 19
 Vue.use(ElementUI)
21
-
22
-
20
+// require('es6-promise').polyfill()
21
+// promise.polyfill()
23 22
  
24 23
 // new Vue({
25 24
 //   el: '#app',

+ 9
- 1
src/router/index.js Прегледај датотеку

@@ -128,5 +128,13 @@ export default new Router({
128 128
       component: aboutUs
129 129
     }
130 130
 
131
-  ]
131
+  ],
132
+  scrollBehavior (to, from, savedPosition) {
133
+    if (savedPosition) {
134
+        return savedPosition
135
+    } else {
136
+        return { x: 0, y: 0 }
137
+    }
138
+}
132 139
 })
140
+