大佬们,为啥ios更新到16后会出现高度没铺满的情况,感觉是html标签样式的问题,因为eruda的定位也出现定位没定到底部。但是不知道是哪个属性出了问题,高度是763,实际上应该是844在head标
顺晟科技
2021-07-09 11:25:05
218
我设置一下 top 但是一旦这个数值稍微变高,这个div就消失了
<div class="dn-xia">
<div class="swiper-container dist-sw1 com-sw1-auto">
<div class="swiper-wrapper">
{volist name="four" id="four"}
<div class="swiper-slide"style="position: relative;">
<div style="color:black ;position:absolute;left:90px;top:200px;z-index: 911;width: 150px;
height:50px !important;">
{$four.val_one}
</div>
<a class="a-big" href="__ROOT__{$four.imgb_path}" data-fancybox="panel-images">
<div class="img-box"
style="background: url(__ROOT__{$four.imgb_path}) no-repeat top center/cover;position: relative;">
</div>
就这段left:90px;top:200px,一旦超过了一定的数值,文字就会消失,
目前看上去是盒子不够大吧。
你给盒子加个背景色,然后在观察观察。如果是因为盒子的问题,那么你就给他一个符合要求的值。
19
2022-10
01
2022-10
15
2022-09
15
2022-09
15
2022-09
15
2022-09