[代码]<[代码][代码]custom[代码] [代码]style[代码][代码]=[代码][代码]"height:{{CustomBar}}px;z-index:2000px;"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]bar[代码] [代码]class[代码][代码]=[代码][代码]"fixed"[代码] [代码]style[代码][代码]=[代码][代码]"height:{{CustomBar}}px;padding-top:{{StatusBar}}px;"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]navigator[代码] [代码]class[代码][代码]=[代码][代码]'action'[代码] [代码]open-type[代码][代码]=[代码][代码]"navigateBack"[代码] [代码]delta[代码][代码]=[代码][代码]"1"[代码] [代码]hover-class[代码][代码]=[代码][代码]"none"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]icon[代码] [代码]class[代码][代码]=[代码][代码]'icon-back'[代码] [代码]/><[代码][代码]text[代码] [代码]class[代码][代码]=[代码][代码]'text-cut width-360rpx'[代码] [代码]space[代码][代码]=[代码][代码]'ensp'[代码][代码]> {{title}}</[代码][代码]text[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]navigator[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]bar[代码][代码]>[代码][代码]</[代码][代码]custom[代码][代码]>[代码][代码]<!--输入栏 start-->[代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"containers"[代码][代码]>[代码][代码] [代码][代码]<!--form start-->[代码][代码] [代码][代码]<[代码][代码]form[代码] [代码]bindsubmit[代码][代码]=[代码][代码]"formSubmit"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"weui-cells weui-cells_after-title form-margin-top"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"weui-cell"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"weui-cell__bd"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]textarea[代码] [代码]name[代码][代码]=[代码][代码]"reason"[代码] [代码]value[代码][代码]=[代码][代码]'{{reason}}'[代码] [代码]maxlength[代码][代码]=[代码][代码]"200"[代码] [代码]class[代码][代码]=[代码][代码]"weui-textarea"[代码] [代码]placeholder[代码][代码]=[代码][代码]"请输入用车原因"[代码] [代码]style[代码][代码]=[代码][代码]"height: 3.3em;"[代码] [代码]bindinput[代码][代码]=[代码][代码]"bindReasonInput"[代码][代码]/>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"weui-textarea-counter"[代码][代码]>{{reasonIptCount}}/200</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]class[代码][代码]=[代码][代码]"weui-cells__title"[代码][代码]>起点</[代码][代码]view[代码][代码]>[代码] 默认页面 [图片] 页面上滑内容与标题重叠 [图片]
自定义顶部导航栏的标题内容与textarea文本内容重叠- 需求的场景描述(希望解决的问题) - 希望提供的能力 问题如标题所示,我的需求是能不能将组件textarea设置成与input组件类似,仅在获得焦点时才为原生组件
2019-01-14