收藏
回答

<swiper-item>嵌套<scroll-view>真机不显示

框架类型 问题类型 终端类型 操作系统 微信版本 基础库版本
小程序 Bug 客户端 iOS 6.6.7 1.7.4

- <swiper-item>嵌套<scroll-view>真机不显示


- 本地调试成功显示

<swiper-item>

<scroll-view scroll-y style="height:{{winHeight}}rpx;" lower-threshold="50">

<view wx:if="{{goods.length>0}}">

<view class="orders-item"  wx:for="{{goods}}" wx:for-item="info" wx:key="{{id}}">

<view class="item-top-block">

<image class="mall-icon" src="../../statics/images/logo.png" />

<span class="mall-icon-name">友情水悦</span>

<view class="mall-name">

<span class="order_status"> {{info.order_status>=0?status_name[info.order_status]:'交易关闭'}}</span>

</view>

</view>

<view class="goods" wx:for="{{info.dataset}}" data-id="{{info.id}}" bindtap="toDetail">

<view>

<image src="{{item.img}}" class="good-img" />

</view>

<view class="good-cont">

<view class="goods-navigator">

<text class="good-name">{{item.title}}</text>

</view>

<view class="goods-navigator">

<text class="good-sku">规格:{{item.title}}</text>

</view>

<view class="good-price">

<text class="mui-red">¥{{item.price}}<text style="margin-left:400rpx;color:#333;">x{{item.num}}</text></text>

</view>

</view>

</view>

<view class="tui-gallery-all">

<span>合计:¥{{info.payable}} ( 含运费¥{{info.post_price}} )</span>

</view>

<view class="mui-goods-footer" wx:if="{{info.order_status>=0}}">

<view class="mui-goods-footer-left">{{info.updatetime}}</view>

<view class="mui-goods-footer-right">

<view class="mui-goods-btn mui-btn-cancel" wx:if="{{info.order_status==0}}" bindtap="cancelOrder" data-oid="{{info.id}}" data-id="{{index}}">取消订单</view>

<view class="mui-goods-btn mui-goods-paybtn" wx:if="{{info.order_status==0}}">付款</view>

<view class="mui-goods-btn mui-btn-cancel" wx:if="{{info.order_status==2 || info.order_status==3}}" bindtap="toLogistics">查看物流</view>

<view class="mui-goods-btn mui-goods-paybtn" wx:if="{{info.order_status==2}}" bindtap="confirm" data-oid="{{info.id}}" data-id="{{index}}">确认收货</view>

<view class="mui-goods-btn mui-btn-cancel" wx:if="{{info.order_status==1}}">提醒发货</view>

</view>

</view>

</view>

</view>

<view wx:else>

<view class="mui-nodata">

<image src="../../statics/images/no_data.png"></image>

</view>

</view>

</scroll-view>

</swiper-item>


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

2 个回答

登录 后发表内容