收藏
回答

scroll-view 兼容行问题

 ios可以横向滚动


Android就不能横向滚动

 


回答关注问题邀请回答
收藏

6 个回答

  • 义不在迷茫!
    义不在迷茫!
    2017-08-28

    overflow: auto;


    2017-08-28
    有用
    回复
  • 台台以台以台台
    台台以台以台台
    2017-08-09

      <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" class="swiperCon" indicator-active-color="#34cca6" style="height:{{imageHeight}}px">

        <block wx:for="{{focus}}" wx:for-item="item">

          <swiper-item>

            <!--<navigator bindtap="Appdetails" data-id="{{item.id}}" data-type="{{item.type}}" data-url="{{item.url}}">-->

            <image src="{{item.image}}" class="slide-image" style="height:{{imageHeight}}px" />

            <!--</navigator>-->

          </swiper-item>

        </block>

      </swiper>

    .swiperCon {

      position: relative;

    }


    .swiperCon .swiperView {

      position: absolute;

      left: 0;

      bottom: 0px;

      width: 100%;

      height: 24px;

      overflow: hidden;

      line-height: 24px;

      background-color: rgba(10, 10, 10, 0.3);

    }


    .slide-image {

      width: 100%;

    }


    2017-08-09
    有用
    回复
  • 小坏不坏
    小坏不坏
    2017-08-02

    横向滚动的时候在安卓机上超出屏幕显示,然后overflow隐藏的话不能滚动,请问你有遇到这个问题吗,有的话是怎么解决的呢

    2017-08-02
    有用
    回复
  • 台台以台以台台
    台台以台以台台
    2017-07-06

    高度的问题,具体忘记了,全部给高度就行

    2017-07-06
    有用
    回复
  • 嘿嘿 .҈҉҈҉҈҉҈҉҈҉
    嘿嘿 .҈҉҈҉҈҉҈҉҈҉
    2017-07-05

    楼主怎么做的,现在遇到这个问题

    2017-07-05
    有用
    回复
  • 一步
    一步
    2017-06-19

    现在也遇到这个问题了,你是怎么解决的啊?  能不能分享一下,大神,万分感谢

    2017-06-19
    有用
    回复
登录 后发表内容