码迷,mamicode.com
首页 > 其他好文 > 详细

2018.3.26 封装淘气玩平台请求数据

时间:2018-03-26 19:13:30      阅读:129      评论:0      收藏:0      [点我收藏+]

标签:div   targe   evel   ati   navig   next   blank   rev   ann   

 1.封装淘气玩平台请求数据

//ios游戏  iosGame
//安卓游戏 androidGame
//网络游戏  wangLuoGame
//单击游戏  danJiGame
//游戏开服  kaiFuGame
//广告 bannerGet
//新闻 newGet
//游戏详情 gameGet
//新闻详情 newShowGet

  

2.更换滚动效果

<div class="swiper-container bannerA" id="swiper">
                  <div class="swiper-wrapper">
                    <div class="swiper-slide" v-for="item in bannerList">
                      <a href="javascript:void(0)" target="_blank" :title="item.ad_title"><img class="image" :src="item.ad_logo" :alt="item.ad_title"><p class="title">{{item.ad_title}}</p></a>
                    </div>
                  </div>
                  <div class="swiper-pagination"></div>
                  <div class="swiper-button-next">111</div>
                  <div class="swiper-button-prev">2222</div>
                </div>

var swiper = new Swiper(‘.swiper-container‘, {
        slidesPerView: 4,
        spaceBetween: 30,
        slidesPerGroup: 4,
        loop: true,
        loopFillGroupWithBlank: true,
        pagination: {
          el: ‘.swiper-pagination‘,
          clickable: true,
        },
        navigation: {
          nextEl: ‘.swiper-button-next‘,
          prevEl: ‘.swiper-button-prev‘,
        }
      });

  

2018.3.26 封装淘气玩平台请求数据

标签:div   targe   evel   ati   navig   next   blank   rev   ann   

原文地址:https://www.cnblogs.com/fm060/p/8652499.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!