iphone7手机,cover-view内嵌套 input时,背景色导致input不显示?

发布于 6 年前作者 mengyong4050 次浏览最后编辑 6 年前来自 issues

 <cover-view class="activekeyBorBox">

          <cover-view class="inputMsgBox">

            <input type="text" focus="{{focusMessage}}" value='{{sendMsgValue}}' cursor-spacing="8" placeholder="有爱互动,分享快乐~" class="inputSendMessage" confirm-type="send" bindinput="inputMessage" hold-keyboard="true" bindkeyboardheightchange="keyboardheightchange" bindconfirm="submitSendMsg" />

          </cover-view>        

        </cover-view>

activekeyBorBox 或者 inputMsgBox设置背景色 background:#fff后,input输入文字,显示不出来。 去掉cover-view背景色,才能显示。

有白色背景时,机型iphone7不显示。

但iphoneXR,iphone6Plus能显示出来。

1 回复
juan54
juan541 楼4 年前