在使用弹出列表菜单的时候,在安卓下除了位置会有问题,可以正常显示,在iOS下,点击显示后,立马回自动变成灰色,跟遮罩层同一个颜色!而且位置也有问题!代码如下
<li class="mui-table-view-cell">
<span>附加属性</span>
<a href="#middlePopover" v-show="item.transactionAttachList!=''" id="openPopover" >打开弹出菜单</a>
</li>
<div id="middlePopover" class="mui-popover">
<div class="mui-popover-arrow"></div>
<div class="mui-scroll-wrapper">
<div class="mui-scroll">
<ul class="mui-table-view">
<li class="mui-table-view-cell"><a href="#">Item1</a>
</li>
<li class="mui-table-view-cell"><a href="#">Item2</a>
</li>
<li class="mui-table-view-cell"><a href="#">Item3</a>
</li>
<li class="mui-table-view-cell"><a href="#">Item4</a>
</li>
<li class="mui-table-view-cell"><a href="#">Item5</a>
</li>
<li class="mui-table-view-cell"><a href="#">Item6</a>
</li>
<li class="mui-table-view-cell"><a href="#">Item7</a>
</li>
<li class="mui-table-view-cell"><a href="#">Item8</a>
</li>
<li class="mui-table-view-cell"><a href="#">Item9</a>
</li>
<li class="mui-table-view-cell"><a href="#">Item10</a>
</li>
</ul>
</div>
</div>
</div>
小瑞瑞
- 发布:2018-10-10 10:16
- 更新:2018-10-10 10:16
- 阅读:1152
iOS 弹出菜单自动变灰
分类:MUI
0 个回复