不知道
选项卡,多个swiper-item scroll-view 真机调试无显示?<view class="tab"> <scroll-view class="nav" scroll-x="true" scroll-left="{{scrollLeft}}" > <block wx:for="{{allTitle}}" wx:for-index="idx" wx:key="idex"> <view class="nav-item {{currentIndex==idx ? 'active' : ''}}" data-current="{{idx}}" bindtap="changeTitle">{{item.titles}}</view> </block> </scroll-view> <swiper class="content-container" current="{{currentIndex}}" circular="{{false}}" bindchange="changeContent"> <swiper-item class="content"> <scroll-view scroll-y style="height:{{scrollYHeight}}px" scroll-top="{{scrollTop}}"bindscroll="bindscroll"> <!--消息列表--> <view class="info" wx:for="{{contentlist}}" wx:key="key" wx:for-index="idx"> <view class="xiaoxi"> <image class="widget__arrow" src="{{item.avatarUrl}}" style="border-radius:50%" mode="aspectFill"></image> <view class="xiaoxitext"> <text class="xiaoxitext1">{{item.nickName}}</text> <text class="xiaoxitext2" bindtap="xiaoxi" data-x="{{item.userid}}" >{{item.text}}</text> <text class="xiaoxitext3"> 时间:{{item.shijian}}</text> </view> </view> </view> </scroll-view> </swiper-item> <swiper-item class="content"> <scroll-view scroll-y style="height:{{scrollYHeight}}px" scroll-top="{{scrollTop}}"bindscroll="bindscroll"> <!--作品列表--> <view class="info" wx:for="{{contentlist2}}" wx:key="key" wx:for-index="idx"> <image class="widget__arrow" src="{{item.avatarUrl}}" mode="aspectFill"></image> <input hidden="{{hidden}}" value="序号:{{item.id}}"/> <text class="time">公司名称:{{item.gongsiname}}</text> <view> <text>姓名:{{item.nickName}}</text> </view> </view> </scroll-view> </swiper-item> <swiper-item class="content"> <scroll-view refresher-enabled="true" scroll-y style="height:{{scrollYHeight}}px" scroll-top="{{scrollTop}}"bindscroll="bindscroll"> <!--收藏列表--> <view class="info" wx:for="{{contentlist}}" wx:key="key" wx:for-index="idx"> <input hidden="{{hidden}}" value="序号:{{item.id}}"/> <text class="time">手机号:{{item.shoujihao}}</text> <view> <text>姓名:{{item.names}}</text> </view> </view> </scroll-view> </swiper-item> 在微信开发者工具中显示正常,真机调试时远程数据库有返回输出但无显示,请问是什么情况?
2021-12-17