再当前页面添加,兼容ios手机
height: constant(safe-area-inset-top);
height: env(safe-area-inset-top);
一定要明白,滚动的是列表区域,而不是整个页面, 列表区域的高度设置成,
height: calc(100vh - 表单区域);
overflow-y: auto;
再当前页面添加,兼容ios手机
height: constant(safe-area-inset-top);
height: env(safe-area-inset-top);
一定要明白,滚动的是列表区域,而不是整个页面, 列表区域的高度设置成,
height: calc(100vh - 表单区域);
overflow-y: auto;