当前位置:网站首页>【小程序】通过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; /* 行内元素 */
}
边栏推荐
- Using emqx cloud to realize one machine one secret verification of IOT devices
- Appium automation test foundation - appium installation (I)
- MySQL -- deduction of index storage model
- Detailed explanation of twenty common software testing methods (the most complete in History)
- Istio, ebpf and rsocket Broker: in depth study of service grid
- I graduated from college in 14 years and changed to software testing in 3 months. My monthly salary was 13.5k. At the age of 32, I finally found the right direction
- Electron学习(三)之简单交互操作
- Jerry's question about long press boot detection [chapter]
- 使用 EMQX Cloud 实现物联网设备一机一密验证
- 毕业季,既是告别,也是新的开始
猜你喜欢

Detailed explanation of twenty common software testing methods (the most complete in History)
![[image segmentation] 2021 segformer neurips](/img/2f/a8631cbe9a46419b8dbd5205e1f5b5.png)
[image segmentation] 2021 segformer neurips

数字峰会人气火爆,城链科技引发新一轮商业变革

转--拿来即用:分享一个检查内存泄漏的小工具

Hide the creation and use of users

El input text field word limit, beyond which the display turns red and input is prohibited

Turn -- use setjmp and longjmp in C language to realize exception capture and collaboration

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received

Deadlock handling strategies - prevent deadlock, avoid deadlock, detect and remove deadlock

YOGA27多维一体电脑,兼具出色外观与高端配置
随机推荐
什么是马赛克?
数字化转型道阻且长,如何迈好关键的第一步
思科--WAN 的概念考试外部工具
【微服务|Sentinel】SentinelResourceAspect详解
ESP自动下载电路设计
Vsphere+ and vsan+ are coming! VMware hybrid cloud focus: native, fast migration, mixed load
思科考试--冗余网络
转载csdn文章操作
Jerry's burning of upper version materials requires [chapter]
会声会影2022智能、快速、简单的视频剪辑软件
马赛克后挡板是什么?
Summary of "performance testing" of software testing, novice will know the knowledge points on the road
转--深入LUA脚本语言,让你彻底明白调试原理
思科考试--路由的概念和配置考试
微信个人小商店一键开通助手小程序开发
Hide the creation and use of users
El input text field word limit, beyond which the display turns red and input is prohibited
转--原来gdb的底层调试原理这么简单
Compare the version number [double pointer to intercept the string you want]
攻防演习防御体系构建之第三篇之建立实战化的安全体系