wxml代码:
<template name="default">
<view class='page-body'>
<view class='default-background'>
<view class='default-room-no'>房间号 {{room_no}}</view>
<view class='default-room-no-en'>Room Number</view>
<radio-group bindchange="selectMiantainType">
<view wx:for="{{maintain_job_types}}" wx:key="{{index}}">
<radio class='default-radio' value="{{item.id}}" color='#619af9' >{{item.name}}</radio>
</view>
</radio-group>
<view class='default-label'>维修时间要求:</view>
<view class='default-time-group'>
<view wx:for="{{timeArr}}" wx:key="{{index}}" class='default-time-option' data-index='{{index}}' bindtap='selectDeadline'>
<view class="{{(deadline_index==index)?'default-time-selected':'default-time-no-select'}}">{{item}}</view>
</view>
</view>
<view class='default-label'>备注:</view>
<textarea class='default-note' bindinput='dataInput' placeholder="请输入备注" />
<view class='default-maintain-btn' catchtap='createMaintainJob'>提交</view>
</view>
</view>
</template>
内容出现滚动。但是没有使用scroll-view这些,textarea随着滚动条滑动而滚动,效果如图
页面必须要滚动的怎么办,textarea 内容也随着页面滚动,这个问题什么时候解决,社区好多人都在问呢
你好,试试这个?
你好,今天又排查了下,是父级设置了overflow:auto的原因