home.vue 14.5 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515
<template>
  <div>
    <swiper :options="swiperOption" ref="mySwiper" class="swiper-banner">
      <!-- slides -->
      <swiper-slide class="bannerBG1">
        <div class="contentWidth pos-rel">
          <p>全方位解决方案 全时空可视化</p>
          <p>最懂你、任你停</p>
          <img src="../assets/images/home/banner1-icon.png">
        </div>

      </swiper-slide>
      <swiper-slide class="bannerBG2">
        <div class="contentWidth pos-rel">
          <p>云端saas服务,大并发高可用架构</p>
          <p>为您的数字资产保驾护航 数据全方位呵护</p>
          <img src="../assets/images/home/banner2-icon.png">
        </div>
      </swiper-slide>
      <swiper-slide class="bannerBG3">
        <div class="contentWidth pos-rel">
          <p>物联改变时代 智慧停车 从现在开始</p>
          <p>快速、高效、不停车、不拥堵</p>
          <div class="parkpoint parkpoint1 pos-abs"></div>
          <div class="parkpoint parkpoint2 pos-abs"></div>
          <div class="parkpoint parkpoint3 pos-abs"></div>
          <div class="parkpoint parkpoint4 pos-abs"></div>
          <div class="parkpoint parkpoint5 pos-abs"></div>
          <div class="parkpoint parkpoint6 pos-abs"></div>
          <div class="parkpoint parkpoint7 pos-abs"></div>
        </div>
      </swiper-slide>

      <!-- Optional controls -->
      <div class="swiper-pagination" slot="pagination"></div>
      <!--<div class="swiper-button-prev" slot="button-prev"></div>-->
      <!--<div class="swiper-button-next" slot="button-next"></div>-->
      <!--<div class="swiper-scrollbar" slot="scrollbar"></div>-->
    </swiper>

    <div class="features">
      <h1>硬件产品</h1>
      <h2>封闭车场+路侧车场+停车诱导+违章抓拍 </h2>
      <div class="features-main displayFlex">
        <ul class="averageFlex deviceall">
          <li><span></span>高清智能芯片、车辆进出场车牌识别快、准、清</li>
          <li><span></span>地磁、视频桩、PDA多级设备联动,路侧车辆入场实时通知</li>
          <li><span></span>多级诱导系统 ,车位、路况信息精准、高清展示、为车主快速'指路'</li>
          <li><span></span>低照度、高防护、成像高清、违章抓拍系统让 违章停车 无所遁形</li>
        </ul>
        <img class="averageFlex" src="../assets/images/home/deviceallnew.png">
      </div>
    </div>
    <div class="features featuresgray">
      <h1>软件产品</h1>
      <h2>任你停+企业云平台+数据分析平台 </h2>
      <div class="features-main displayFlex">
        <img class="averageFlex" src="../assets/images/home/softwareall.png">
        <ul class="averageFlex softall">
          <li><span></span>任你停,车场导航,随停即走,无感支付
          </li>
          <li><span></span>云端服务、精细化运营,业务规则灵活配置
          </li>
          <li><span></span>大数据资产管理、商业运营分析、资产经营决策建议</li>
          <li>
            <div class="fl">
              <img src="../assets/images/home/rnt-app.png">
            </div>
            <div class="fl">
              <img src="../assets/images/home/rnt_ios.png" onclick="window.open('https://itunes.apple.com/cn/app/%E4%BB%BB%E4%BD%A0%E5%81%9C/id1020126552?mt=8')">
              <img src="../assets/images/home/rnt_andoird.png" onclick="window.open('https://a.app.qq.com/o/simple.jsp?pkgname=com.zteits.rnting')">
            </div>
          </li>
        </ul>
      </div>
    </div>
    <!--新闻动态-->
    <div class="features index-news-section">
      <div class="section-title">
        <h2>新闻动态</h2>
      </div>
      <div class="news-bd">
        <div class="focus swiper-container swiper-container-horizontal" id="swiper-container-news">
        </div>
        <div class="newslist">
          <ul>
            <li v-for="(news,index) in newsLists" :key="index" @click="">
              <p class="pos-rel red-slide"> <a data-href="" title="">{{news.newsTitle}}<span class="pos-abs" style="bottom: 0px;right: 2px;color: rgba(0,0,0,0.3);font-size: 12px">{{news.time}}</span> </a>
              </p>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import 'swiper/dist/css/swiper.css'

import {swiper, swiperSlide} from 'vue-awesome-swiper'

export default {
  name: 'VHome',
  components: {
    swiper,
    swiperSlide
  },
  data() {
    return {
      swiperOption: {
        pagination: {
          el: ".swiper-pagination",
          clickable: true
        },
        autoplay: {
          enabled: true,
          disableOnInteraction: false,
          delay: 3000
        },
      },
      newsLists:[
        {
          "href":"https://mp.weixin.qq.com/s/NcWXfcxjy5t-sqG2yFg6JQ",
          "newsTitle":"【公司要闻】中兴智能交通建设甘肃省周边“一带一路”沿线城市的智慧停车",
          "img":"http://www.zte-its.com/Upload/2019-01/20190107134910953.jpg",
          "time":"2019-01-06"
        },
        {
          "href":"https://mp.weixin.qq.com/s/bO_1as7-8enGR7g4sI_6lw",
          "newsTitle":"【公司要闻】年度盘点丨2018,中兴智能交通铸就辉煌",
          "img":"http://www.zte-its.com/Upload/2019-01/20190107120328342.jpg",
          "time":"2018-12-30"
        },
        {
          "href":"https://mp.weixin.qq.com/s/ZJCdWCWCkrxtmOCep9fvwQ",
          "newsTitle":"【公司要闻】中兴智能交通荣获”2018中国城市无人化停车十大创新方案”称号",
          "img":"http://www.zte-its.com/Upload/2019-01/20190114111641907.jpg",
          "time":"2019-01-14"
        },
        {
          "href":"https://mp.weixin.qq.com/s/ilplSVvIBUt0sDtqTgsgbw",
          "newsTitle":"【公司要闻】2018年年底,赤峰智慧停车项目正式上线运营",
          "img":"http://www.zte-its.com/ckfinder/userfiles/images/Snap2(34).jpg",
          "time":"2018-12-26"
        },
        {
          "href":"https://mp.weixin.qq.com/s/j4FJmW-dAMAKK8WBilHSzw",
          "newsTitle":"【公司要闻】中兴智能交通应邀出席“2018第三届中国物联网国际峰会”",
          "img":"http://www.zte-its.com/Upload/2018-05/20180529172415999.jpg",
          "time":"2018-05-15"
        },
        {
          "href":"https://mp.weixin.qq.com/s/Q3V4F0PHm0cS7a-zlXx6OA",
          "newsTitle":"【行业动态】贵州机动车停放收费新规5月起试行 小区停车费由业主大会决定",
          "img":"http://www.zte-its.com/Upload/2018-08/20180808173733771.jpg",
          "time":"2018-04-24"
        },
        {
          "href":"https://mp.weixin.qq.com/s/BEyfUDkfrZqLokZxoKp04Q",
          "newsTitle":"【行业动态】广州停车场条例10月起施行 小区停车收费标准先议价",
          "img":"http://www.zte-its.com/Upload/2018-09/20180918095140370.jpg",
          "time":"2018-04-24"
        },
        {
          "href":"https://mp.weixin.qq.com/s/-ltsBzboxdeCzwz4-nOy0Q",
          "newsTitle":"【行业动态】2018雄安新区停车设备设施投资建设高峰论坛暨博览会隆重召开!",
          "img":"https://mmbiz.qpic.cn/mmbiz_jpg/eRs8EuRTNC1tBsAtYFuuFx3SgKrPpkMYib3bP9kBKnxqcwcosVOUc5iaF4hQ9JkHfZib0SWuANXAuzI8u4vzWgDFA/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1",
          "time":"2018-04-20"
        },
        {
          "href":"https://mp.weixin.qq.com/s/3tWOAvnXl5T78TzBPgWszA",
          "newsTitle":"【行业动态】滴滴发布企业公民报告:让城市交通更智慧 运行更高效",
          "img":"https://mmbiz.qpic.cn/mmbiz_jpg/uWQ5Iz1kD2bHvLt6DEdN4ib00PeTsmxiaTye2BHMuxXSD7Z51HnBicxNc53FeZceD2ZiaJ4Eq4ft9cHY9Uib1CXNzIA/640?wx_fmt=jpeg&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1",
          "time":"2018-04-20"
        }, {
          "href":"https://mp.weixin.qq.com/s/ZrDwirjt0JTntmcCI5L4Ag",
          "newsTitle":"【行业动态】昆明停车管理新规 力图破解“圈地收费”乱象",
          "img":"http://www.zte-its.com/Upload/2018-05/20180529173902781.jpg",
          "time":"2018-04-20"
        }

      ]
    }
  },
  computed: {
    swiper() {
      return this.$refs.mySwiper.swiper
    }
  },
  mounted() {
    // current swiper instance
    // 然后你就可以使用当前上下文内的swiper对象去做你想做的事了
    console.log('this is current swiper instance object', this.swiper)
    //this.swiper(7, 1000, false)
  }
}
</script>

<style scoped lang="scss">
  .swiper-banner {
    height: 540px;
  }

  .bannerBG1 {
    background: url("../assets/images/home/bannerBg1.png") no-repeat;
    background-size: 100% 100%;
    text-align: left;
    color: #fff;
    p:nth-of-type(1) {
      padding-top: 168px;
      margin: 0 0 25px 0;
      font-size: 44px;
    }
    p:nth-of-type(2) {
      font-size: 24px;
    }
    img {
      position: absolute;
      right: 0;
      top: 20px;
    }
  }

  .bannerBG2 {
    background: url("../assets/images/home/bannerBg2.png") no-repeat;
    background-size: 100% 100%;
    text-align: left;
    color: #fff;
    p:nth-of-type(1) {
      padding-top: 168px;
      margin: 0 0 25px 0;
      font-size: 44px;
    }
    p:nth-of-type(2) {
      font-size: 24px;
    }
    img {
      position: absolute;
      right: 0;
      top: 20px;
    }
  }

  .bannerBG3 {
    background: url("../assets/images/home/bannerBg3.png") no-repeat;
    background-size: 100% 100%;
    text-align: left;
    color: #fff;
    p:nth-of-type(1) {
      padding-top: 168px;
      margin: 0 0 25px 0;
      font-size: 44px;
    }
    p:nth-of-type(2) {
      font-size: 24px;
    }
    .parkpoint {
      width: 25px;
      height: 39px;
    }
    .parkpoint1 {
      background: url("../assets/images/home/blue.png") no-repeat;
      left: 100px;
      top: 50px;
      animation: pointMove 3S infinite;
    }
    .parkpoint2 {
      background: url("../assets/images/home/blue.png") no-repeat;
      left: 900px;
      top: 150px;
      animation: pointMove 3S infinite;
    }
    .parkpoint3 {
      background: url("../assets/images/home/green.png") no-repeat;
      left: 700px;
      top: 250px;
      animation: pointMove 3S infinite;
    }
    .parkpoint4 {
      background: url("../assets/images/home/green.png") no-repeat;
      left: 470px;
      top: 350px;
      animation: pointMove 3S infinite;
    }
    .parkpoint5 {
      background: url("../assets/images/home/blue.png") no-repeat;
      right: 70px;
      top: 400px;
      animation: pointMove 3S infinite;
    }
    .parkpoint6 {
      background: url("../assets/images/home/blue.png") no-repeat;
      right: 70px;
      bottom: 50px;
      animation: pointMove 3S infinite;
    }

    .parkpoint7 {
      background: url("../assets/images/home/green.png") no-repeat;
      left: 70px;
      bottom: 350px;
      animation: pointMove 3S infinite;
    }

  }

  @keyframes pointMove {
    0% {
      opacity: 0;
      transform: scale(0);
    }
    50% {
      opacity: 1;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(0);
    }
  }

  .features {
    padding: 36px 0;

    h1 {
      font-size: 36px;
      padding-bottom: 15px;
    }
    h2 {
      font-size: 20px;
      padding-bottom: 30px;
    }
  }

  .featuresgray {
    background: $baseGrayBg;
  }

  .features-main {
    width: 1200px;
    margin: 0 auto;
  }

  .deviceall {
    padding-top: 120px;
    font-size: 18px;
    text-align: left;
    li {
      padding-left: 20px;
      line-height: 50px;
      position: relative;
      &:before {
        content: '';
        width: 10px;
        height: 10px;
        position: absolute;
        left: 0px;
        top: 50%;
        margin-top: -7px;
        background: rgba(66, 160, 251, 1);
        border-radius: 50%;
      }
    }
  }

  .softall {
    padding-top: 20px;
    font-size: 18px;
    text-align: left;
    li {
      padding-left: 20px;
      line-height: 40px;
      position: relative;
      &:before {
        content: '';
        width: 10px;
        height: 10px;
        position: absolute;
        left: 0px;
        top: 50%;
        margin-top: -7px;
        background: rgba(66, 160, 251, 1);
        border-radius: 50%;
      }
    }
  }

  /*news */
  .section-title{
    text-align: center;
    margin-bottom: 20px;
    padding: 0 190px;
  }
  .section-title h2{
    font-size:36px;
    font-weight: 500;
    text-transform:uppercase;
    padding-bottom:15px;
    position:relative;
  }

  /*news 新闻中心*/
  .index-news-section .news-bd{
    width: 1200px;
    overflow: hidden;
    margin: 0 auto;
  }
  .index-news-section .focus {
    width: 476px !important;
    height: 289px !important;
    float: left;
    position: relative;
  }
  .index-news-section .newslist {
    width: 715px;
    float: left;
    margin-bottom: 10px;
  }
  .index-news-section .newslist ul {
    padding: 15px 0;
    overflow: hidden;
    list-style: initial;
    color: #797979;
  }
  .index-news-section .newslist li {
    width: 326px;
    height: 45px;
    line-height: 22px;
    float: left;
    margin-left: 30px;
    list-style: none;
    text-align: left;
  }
  .index-news-section .newslist li {
    margin-bottom: 10px;
    background-image: url(../assets/images/point.png);
    background-repeat: no-repeat;
    background-position: 5px 7px;
  }
  .index-news-section .newslist li p {
    padding-left: 10px;
    margin-left: 8px;
    height: 44px;
  }
  .newslist li a{
    color: rgba(0,0,0,.6);
    display: block;
  }
  .pos-rel{
    position: relative;
  }
  .pos-abs{
    position: absolute;
  }
  /*轮播 */
  .news_a {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    height: 272px;
  }
  .news_title {
    display: block;
    position: absolute;
    bottom: 0;
    padding: 10px;
    width: 100%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 16px;
    border-radius: 0 0 5px 5px;
    text-align: left;
  }
  .news_title p {
    margin: 0;
    width: 65%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .news_a img {
    width: 100%;
    height: 272px;
  }
  .pagination{
    position: absolute;
    z-index: 20;
    right: 10px;
    bottom: 10px;
    margin: 0;
    height: 20px;
  }
  .news-pagination{
    right: 0px !important;
    bottom: 30px !important;
    width: 120px !important;
    margin-left: 340px;
  }
  .news-pagination .swiper-pagination-bullet{
    width:28px;
    height:4px;
    background:rgba(255,255,255,1);
    opacity: 0.5;
    border-radius:0;
  }
  .news-pagination .swiper-pagination-bullet-active{
    background:rgba(255,255,255,1);
    opacity: 1 !important;
  }
  .red-slide{
    cursor: pointer;
  }
</style>