当前位置:网站首页>【小程序】通过scroll-view组件实现左右【滑动】列表
【小程序】通过scroll-view组件实现左右【滑动】列表
2022-07-01 22:31:00 【敦厚的曹操】
微信官方相关参数介绍:

demo.wxml
<scroll-view class="row_1" scroll-x>
<view class="box">
商品详情
</view>
<view class="box">
规划参数
</view>
<view class="box">
商品评价
</view>
<view class="box">
物流信息
</view>
<view class="box">
分享信息
</view>
</scroll-view>demo.wxss
.row_1 {
height:80px;
background-color: rgb(231, 231, 231);
white-space: nowrap; /* 不换行 */
}
.box {
width: 80px;
height: 40px;
background-color: aquamarine;
color: black;
margin-left: 10px;
margin-top: 20px;
text-align: center;
line-height: 40px;
display: inline-block; /* 行内元素 */
}
边栏推荐
- Data enhancement of semi supervised learning
- 毕业季,既是告别,也是新的开始
- [MySQL] database optimization method
- Réimpression de l'article csdn
- Explain the volatile keyword
- Mysql 5.7 实现 rank 排名
- Design of ESP automatic download circuit
- leetcode - 287. Find duplicates
- You probably haven't noticed the very important testing strategy in your work
- Business visualization - make your flowchart'run'up
猜你喜欢

win 10 mstsc连接 RemoteApp

Turn -- bring it and use it: share a gadget for checking memory leaks

Cisco -- an external tool for WAN's concept examination

“35岁,公司老总,月薪2万送外卖“:时代抛弃你,连声再见都没有

Multiple smart pointers
![Happy number [fast and slow pointer of ring PROBLEMS]](/img/37/5c94b9b062a54067a50918f94e61ea.png)
Happy number [fast and slow pointer of ring PROBLEMS]

AirServer最新Win64位个人版投屏软件

Cisco exam -- redundant network

Summary of "performance testing" of software testing, novice will know the knowledge points on the road
![[MySQL] basic use of explain and the function of each column](/img/d6/64f65ba21f5cda2c409477705f6a79.png)
[MySQL] basic use of explain and the function of each column
随机推荐
日本购物网站的网络乞丐功能
Cisco -- highly available and reliable network examination
转--利用C语言中的setjmp和longjmp,来实现异常捕获和协程
思科--WAN 的概念考试外部工具
“信任机器”为发展赋能
CKS CKA CKAD 将终端更改为远程桌面
OpenVINO 模型性能评估工具—DL Workbench
赵福全:短期解决保供,长期要打造安全、高效有韧性的供应链
flutter Unable to load asset: assets/images/888.png
Istio, ebpf and rsocket Broker: in depth study of service grid
第三方验收测试有什么好处?专业第三方软件测试机构推荐
tcpdump命令使用详解
Use of locust
Data enhancement of semi supervised learning
会声会影2022智能、快速、简单的视频剪辑软件
Happy number [fast and slow pointer of ring PROBLEMS]
Rank ranking with MySQL 5.7
Congratulations on the release of friends' new book (send welfare)
[kotlin third party] coil koltin collaboration picture loading library coil glide like picture loading third party
数字货币:影响深远的创新