使用modal 加入iput输入框时 会先偏左然乎才居中显示 这是为什么?

发布于 6 年前作者 guiying6914914 次浏览最后编辑 6 年前来自 issues
<view class="cu-modal {{modalName=='DialogModal2'?'show':''}}">
  <view class="cu-dialog">
    <view class="cu-bar bg-white justify-end">
      <view class="content">修改昵称</view>
    </view>
    <view class="padding-xl bg-white ">
     <input class="text-cnter" placeholder="请输入新昵称" value="ppppp"/>
    </view>
    <view class="cu-bar bg-white">
      <view class="action margin-0 flex-sub text-green " bindtap="hideModal">取消</view>
      <view class="action margin-0 flex-sub " bindtap="hideModal">确定</view>
    </view>
  </view>
</view>
3 回复
xiangfang
xiangfang1 楼6 年前

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

tao17
tao172 楼6 年前

样式问题

yanyan
yanyan3 楼4 年前

趁大家不注意,偷偷到右边玩一下