当前位置:网站首页>【小程序】通过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; /* 行内元素 */
}
边栏推荐
- Design of ESP automatic download circuit
- Use 3DMAX to make a chess piece
- window10安装wsl(一)(WslRegisterDistribution ERROR)
- [JUC learning road day 8] condition
- Cisco -- an external tool for WAN's concept examination
- Data enhancement of semi supervised learning
- "Trust machine" empowers development
- 使用 EMQX Cloud 实现物联网设备一机一密验证
- El input text field word limit, beyond which the display turns red and input is prohibited
- MySQL -- deduction of index storage model
猜你喜欢

数字货币:影响深远的创新
![Jielizhi Bluetooth headset quality control and production skills [chapter]](/img/3e/571d246d211a979e948dae1de56e93.png)
Jielizhi Bluetooth headset quality control and production skills [chapter]

赵福全:短期解决保供,长期要打造安全、高效有韧性的供应链

Unable to climb hill sort, directly insert sort

Turn -- the underlying debugging principle of GDB is so simple
![Jielizhi, production line assembly link [chapter]](/img/5f/9ea7fd3b93df1fd3ecbfc1b669c831.png)
Jielizhi, production line assembly link [chapter]
![Compare the version number [double pointer to intercept the string you want]](/img/19/4f858ffdc1281d6b8b18a996467f10.png)
Compare the version number [double pointer to intercept the string you want]

Groups and ranges of regular series

Multi picture alert ~ comparison of Huawei ECs and Alibaba cloud ECS

“35岁,公司老总,月薪2万送外卖“:时代抛弃你,连声再见都没有
随机推荐
轉載csdn文章操作
Turn -- the underlying debugging principle of GDB is so simple
Appium automation test foundation - appium installation (I)
mysql ---- Oracle中的rownum转换成MySQL
Design of ESP automatic download circuit
思科考试--路由的概念和配置考试
Use and function of spark analyze command map join broadcast join
Flynk SQL client uses comparison and is familiar with official documents
js——arguments的使用
vSphere+、vSAN+来了!VMware 混合云聚焦:原生、快速迁移、混合负载
Cisco test -- the concept and configuration test of routing
什么是马赛克?
vim给目录加颜色
[MySQL] basic use of explain and the function of each column
CKS CKA CKAD 将终端更改为远程桌面
El input text field word limit, beyond which the display turns red and input is prohibited
Jielizhi Bluetooth headset quality control and production skills [chapter]
Where can the courses purchased by CSDN be accessed
What are the benefits of third party acceptance testing? Recommended by professional third-party software testing institutions
Force buckle 710 Random numbers in the blacklist