< textarea class = "weui-textarea" placeholder = "" value = '{{content}}' style = "height: 3.3em" /> < block wx:if = "{{content}}" > < textarea class = "weui-textarea" placeholder = "" value = '{{content}}' style = "height: 3.3em" /> </ block > < cover-view class = 'weui-btn-area' > < button class = "weui-btn" type = "primary" >确定发货</ button > </ cover-view > |
加判断再确实是否显示textarea组件,coverview层级无效?是因为渲染的问题导致的吗?有没有更好的解决方法,目前这里想到的也只是,不加判断或者不适用textarea,使用class
=
"weui-textarea" 样式
cover-view想覆盖textarea?不可以!cover-view可覆盖的原生组件包括
map
、video
、canvas
、camera
、live-player
、live-pusher
,只支持嵌套cover-view
、cover-image
好的