阁楼庭院
阁楼庭院
  • 发布:2019-05-07 17:02
  • 更新:2019-05-08 10:26
  • 阅读:1353

【报Bug】iphone Xs Max 手机适配问题,顶部scroll标签

分类:uni-app
              iphone Xs Max 手机适配问题,主要是顶部,主要是顶部没法接受  
<!-- #ifdef APP-PLUS -->
<!-- 固定在顶部的导航栏 -->
<uni-nav-bar fixed="true" shadow="false" @click-right="addDevice" right-icon="plusempty" title="设备"></uni-nav-bar>
<!-- 使用非原生导航栏后需要在页面顶部占位 -->
<view style="height:80px;">...</view>
<!-- #endif -->
<!-- #ifdef APP-PLUS -->
<scroll-view id="tab-bar" class="swiper-tab" scroll-x :scroll-left="scrollLeft" style="margin-top: 100upx;" v-if="tabBars.length > 0">
<view v-for="(tab, index) in tabBars" :key="tab.area_id" :class="['swiper-tab-list',tabIndex==index ? 'active' : '']"
id="'area_'+tab.area_id" :data-current="index" @tap.stop="tapTab(tab,index)">{{tab.area_name}}</view> </scroll-view>
<view v-else-if="tabBars.length == 0 && isHostOnline" class="noData" style="height:calc(100% - 100upx);">
<view class="noDataBox" >
<view class="no-host-icon">
<image src="/static/img/index/noneHostIcon.png" mode="aspectFit"></image>
</view>
<view class="no-host-title">
暂无主机,请前往首页添加!
</view>
</view>
</view>

2019-05-07 17:02 负责人:无 分享
已邀请:
DCloud_UNI_HT

DCloud_UNI_HT

问题描述可以在清晰一些,上传一下 demo 。是说顶部会被覆盖吗 ?

该问题目前已经被锁定, 无法添加新回复