<scroll-view scroll-y="true" class='y' >{{item.name1}}</scroll-view>
隐藏滚动栏
.y{
background: #FFFFF0;
width: 90rpx;
height: 160rpx;
display: inline-block;
margin-top: 10rpx;
text-align: center;
position: relative;
font-size: 30rpx;
overflow: hidden;
border:0.1rpx dashed #77ddff;
margin: 0 auto;
line-height: 48rpx;
}
/*隐藏滚动条*/
::-webkit-scrollbar {
width: 0;
height: 0;
color: transparent;
}
界面显示
差异