<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
li{
list-style: none;
}
#supervisor .select ul {
overflow-x: auto;
white-space: nowrap;
width: 100%;
scrollbar-width: none;
display: flex;
position: relative;
-webkit-overflow-scrolling: touch;
box-sizing: content-box;
height: 100%;
padding: 0;
}
#supervisor .select ul li {
cursor: pointer;
position: relative;
flex: none;
margin-right: 0.15rem;
border-radius: 2rem;
border: 1px solid rgba(0, 0, 0, 0);
padding: 0.08rem 0.16rem;
}
#supervisor .select ul li.isshow {
border: 1px solid #e26656;
color: #e26656;
}
#supervisor .select u
实现手机端类似vantUi tab栏横向滚动效果
于 2024-05-09 17:50:26 首次发布