收藏
回答

t-disigin组件 t-textarea怎么实现页面上推?

  <t-popup visible="{{visible}}" bind:visible-change="onVisibleChange" placement="bottom" t-class="popupstyle" custom-style="height: {{ actionType === 'remark' ? '500rpx' : actionType === 'complete' ? '750rpx' : actionType === 'transfer' ? '750rpx' : '600rpx' }}">


    <view class="block">
      <view class="header">
        <view class="title">{{title}}</view>
        <view class="btn btn--cancel" bindtap="closePopup">取消</view>
      </view>
      <block wx:if="{{actionType === 'remark'}}">
        <view>
          <t-textarea t-class="external-class" placeholder="请输入备注" disableDefaultPadding="{{true}}" bind:change="onTextAreaChange" />
        </view>
      </block>


        <view>
          <t-textarea t-class="external-class" placeholder="请输入事件描述"
          adjust-position="true"
          disableDefaultPadding="{{true}}" bind:change="onTextAreaChange1" />
        </view>


        <view>
          <t-textarea t-class="external-class" placeholder="请输入影响范围" 
          disableDefaultPadding="{{true}}"
          adjust-position="true"
           bind:change="onTextAreaChange2" />
        </view>

      <view class="button-example">
        <t-button theme="primary" size="medium" block bind:tap="postAction">提交</t-button>
      </view>

    </view>

  </t-popup>
t-textareat打开的时候键盘弹出把整个popup遮住了 自动上推设置不动。有朋友知道怎么解决吗?

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

1 个回答

登录 后发表内容