場(chǎng)景:點(diǎn)擊datepicker總是會(huì)點(diǎn)中后面的button
原因:datepicker的z-index=1
拙毫,而jQuery mobile為button設(shè)置的z-index=2
解決方案:覆蓋datepicker的z-index
樣式
.ui-datepicker
{
z-index: 3 !important;
}
場(chǎng)景:點(diǎn)擊datepicker總是會(huì)點(diǎn)中后面的button
原因:datepicker的z-index=1
拙毫,而jQuery mobile為button設(shè)置的z-index=2
解決方案:覆蓋datepicker的z-index
樣式
.ui-datepicker
{
z-index: 3 !important;
}