莱莱 发表于 2025-1-14 10:35:53

uniapp css 实现向上弹出内容

默认情况 元素再底部 并且超出了内容部分
transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
transform: translate3d(0, 100%, 0);
position: fixed;
    z-index: 11;
    bottom: 0;
    left: 0;
动态改变之后添加
transform: translate3d(0, 0, 0);
这样内容就弹出来了
https://i-blog.csdnimg.cn/direct/d2a035a06a0c46dcb0559131054303f5.png
uniapp 中禁用页面滑动滚动

   @touchmove.stop.prevent=“() => {}”

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页: [1]
查看完整版本: uniapp css 实现向上弹出内容