<style lang="less">
.header{
height: var(--status-bar-height);background: #FFFFFF;
}
.navigation{
height: 88rpx;
.scrollview{
width: 672rpx;height: 88rpx;white-space: nowrap; //加上这个white-space: nowrap;
view{
margin-right: 22rpx;display: inline-block;margin-left: 31rpx;line-height: 88rpx;height: 88rpx;font-size: 32rpx;font-weight: 300;color: #101010; //加上display:inline-block 附view加起来宽度要超过scrollview的宽度
}
}
}
</style>