在创建UI的过程中,偶尔会出现控件显示冲突的问题。(比如哪一个控件的内容显示在上面)
这时我们需要关注 控件的CSS样式的z-index属性
<style>
#editPage .datepicker{
z-index: 1031!important;
}
</style>
z-index的属性值越大,优先级就越高
在创建UI的过程中,偶尔会出现控件显示冲突的问题。(比如哪一个控件的内容显示在上面)
这时我们需要关注 控件的CSS样式的z-index属性
<style>
#editPage .datepicker{
z-index: 1031!important;
}
</style>
z-index的属性值越大,优先级就越高