uniapp中list-item的内容鼠标悬停后出不来样式
这可能是由于您没有为list-item元素设置:hover样式。您可以尝试添加以下代码来为鼠标悬停时添加样式:
<style>
.list-item:hover {
background-color: #e6e6e6;
cursor: pointer;
}
</style>
请注意,这只是一个示例样式,您可以根据自己的需求进行调整。
原文地址: https://www.cveoy.top/t/topic/xdx 著作权归作者所有。请勿转载和采集!