当前位置:网站首页>Vant weapp swippecell set multiple buttons
Vant weapp swippecell set multiple buttons
2022-07-05 06:29:00 【Heerey525】
La situation
InweappIl n'y a pas de code dans la documentation pour définir les deux boutons
Malheureusement, un tour de recherche n'a pas trouvé de solution
Solutions
Je l'ai vu sur la console.<view slot="right">Largeur insuffisante,Ce n'est pas le deuxième bouton qui ne sort pas.
J'ai trouvé.right-widthCette propriété,Prends ça.right-widthPlus grand pour tenir plus de boutons
Code
<van-swipe-cell right-width="{
{ 130 }}" left-width="{
{ 65 }}">
<view slot="left">Sélectionner</view>
<van-cell-group>
<van-cell title="Cellule" value="Contenu" />
</van-cell-group>
<view slot="right">
<van-button type="primary" >Édition</van-button>
<van-button type="danger" >Supprimer</van-button>
</view>
</van-swipe-cell>
边栏推荐
- June 29, 2022 daily
- Ffmpeg build download (including old version)
- 5. Oracle tablespace
- H5 embedded app adapts to dark mode
- MPLS experiment
- How to make water ripple effect? This wave of water ripple effect pulls full of retro feeling
- Client use of Argo CD installation
- ‘mongoexport‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
- 容斥原理 AcWing 890. 能被整除的数
- C - XOR to all (binary topic)
猜你喜欢

1.手动创建Oracle数据库

什么是套接字?Socket基本介绍

MySQL advanced part 2: the use of indexes

MySQL advanced part 2: MySQL architecture

达梦数据库全部

TCP's understanding of three handshakes and four waves

将webApp或者H5页面打包成App

MPLS experiment

confidential! Netease employee data analysis internal training course, white whoring! (attach a data package worth 399 yuan)

Day 2 document
随机推荐
Nested method, calculation attribute is not applicable, use methods
How to generate an image from text on fly at runtime
2. Addition and management of Oracle data files
背包问题 AcWing 9. 分组背包问题
Redis-01.初识Redis
达梦数据库全部
Package webapp or H5 pages into apps
P3265 [jloi2015] equipment purchase
Client use of Argo CD installation
求组合数 AcWing 888. 求组合数 IV
数据库Mysql全部
Sorting out the latest Android interview points in 2022 to help you easily win the offer - attached is the summary of Android intermediate and advanced interview questions in 2022
Leetcode backtracking method
将webApp或者H5页面打包成App
Bash exercise 17 writing scripts to install the server side of FRP reverse proxy software
H5 embedded app adapts to dark mode
__ builtin_ Popcount() counts the number of 1s, which are commonly used in bit operations
Day 2 document
Paper reading report
2021apmcm post game Summary - edge detection