swiper标签里放置多行输入框auto-focus属性,页面卡在中间
<swiper class='swiper' bindchange='swiperChange' current='{{currentTab}}'> <swiper-item> <scroll-view scroll-y='true' style='height:100%'> <view class="firstPage">Taurus</view> </scroll-view> </swiper-item> <swiper-item> <scroll-view scroll-y='true' style='height:100%'> <textarea auto-focus placeholder="填写您的答案..."></textarea> </scroll-view> </swiper-item> </swiper> [代码]page{[代码][代码] [代码][代码]width[代码][代码]: [代码][代码]100%[代码][代码];[代码][代码] [代码][代码]height[代码][代码]: [代码][代码]100%[代码][代码];[代码][代码]}[代码][代码].swiper{[代码][代码] [代码][代码]margin[代码][代码]: [代码][代码]2%[代码][代码];[代码][代码] [代码][代码]width[代码][代码]: [代码][代码]96%[代码][代码];[代码][代码] [代码][代码]height[代码][代码]: [代码][代码]90%[代码][代码];[代码][代码]}[代码][代码]scroll-view{[代码][代码] [代码][代码]margin-bottom[代码][代码]: [代码][代码]80[代码][代码]rpx;[代码][代码]}[代码][代码].firstPage{[代码][代码] [代码][代码]text-align[代码][代码]: [代码][代码]right[代码][代码]}[代码][图片]