How does WeChat Mini Programs realize horizontal sliding scroll-view hidden scroll bar
Today, I would like to share with you WeChat Mini Programs how to achieve horizontal sliding scroll-view hidden scroll bar related knowledge points, the content is detailed, logic is clear, I believe most people still know too much about this knowledge, so share this article for your reference, I hope you can get something after reading this article, let's take a look at it.
Wxml
Wxss
End _ scroll_x_box {height: 245rpx; white-space: nowrap; display: flex;}::-webkit-scrollbar {width: 0; height: 0; color: transparent;}. Recommend_hot_box {width: 230rpx; height: 245rpx; margin-right: 24rpx; display: inline-block;}. Recommend_hot_image {width: 230rpx; height: 143rpx;}
Js
Page ({data: {hotList: [{pic:'/ images/example2.png', title: 'Glass Road', desc: '22W people have been there'}, {pic: / images/example2.png', title: 'Glass Road', desc: '22W people have been there'}, {pic: / images/example2.png', title: 'Glass Road' Desc: '22W people have been there'}, {pic:'/ images/example2.png', title: 'Glass Road', desc: '22W people have been there'}, {pic:'/ images/example2.png', title: 'Glass Road' Desc: '22W people have been to'}]} these are all the contents of the article entitled "how does WeChat Mini Programs realize horizontal sliding scroll-view Hidden Scroll Bar" Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.