当前位置:网站首页>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-width
Cette propriété,Prends ça.right-width
Plus 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>
边栏推荐
- P2575 master fight
- Financial risk control practice -- feature derivation based on time series
- [leetcode] day95 effective Sudoku & matrix zeroing
- [QT] QT multithreading development qthread
- 如何正确在CSDN问答进行提问
- 11-gorm-v2-02-create data
- LeetCode-54
- What's wrong with this paragraph that doesn't work? (unresolved)
- 容斥原理 AcWing 890. 能被整除的数
- How to make water ripple effect? This wave of water ripple effect pulls full of retro feeling
猜你喜欢
1.手动创建Oracle数据库
Series of how MySQL works (VIII) 14 figures explain the atomicity of MySQL transactions and the principle of undo logging
【LeetCode】Easy | 20. Valid parentheses
Adg5412fbruz-rl7 applies dual power analog switch and multiplexer IC
高斯消元 AcWing 884. 高斯消元解异或线性方程组
Chinese remainder theorem acwing 204 Strange way of expressing integers
There are three kinds of SQL connections: internal connection, external connection and cross connection
4. Oracle redo log file management
求组合数 AcWing 887. 求组合数 III
Stack acwing 3302 Expression evaluation
随机推荐
How to set the drop-down arrow in the spinner- How to set dropdown arrow in spinner?
Record the process of configuring nccl and horovod in these two days (original)
Idea debug failed
P3265 [jloi2015] equipment purchase
11-gorm-v2-02-create data
区间问题 AcWing 906. 区间分组
Dataframe (1): introduction and creation of dataframe
‘mongoexport‘ 不是内部或外部命令,也不是可运行的程序 或批处理文件。
Vant Weapp SwipeCell设置多个按钮
2022-5-第四周日报
Chapter 6 relational database theory
SolidWorks template and design library are convenient for designers to call
Find the combination number acwing 889 01 sequence meeting conditions
[learning] database: MySQL query conditions have functions that lead to index failure. Establish functional indexes
2.Oracle-数据文件的添加及管理
Install opencv -- CONDA to establish a virtual environment and add the kernel of this environment in jupyter
RecyclerView的应用
How to understand the definition of sequence limit?
MySQL advanced part 2: the use of indexes
H5 module suspension drag effect