当前位置:网站首页>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>
边栏推荐
- Time is fast, please do more meaningful things
- Filter the numbers and pick out even numbers from several numbers
- H5 module suspension drag effect
- MQClientException: No route info of this topic: type_ topic
- 数据库Mysql全部
- 区间问题 AcWing 906. 区间分组
- 求组合数 AcWing 888. 求组合数 IV
- Series of how MySQL works (VIII) 14 figures explain the atomicity of MySQL transactions and the principle of undo logging
- Leetcode divide and conquer / dichotomy
- There are three kinds of SQL connections: internal connection, external connection and cross connection
猜你喜欢

Redis-01. First meet redis

Series of how MySQL works (VIII) 14 figures explain the atomicity of MySQL transactions and the principle of undo logging

Financial risk control practice -- feature derivation based on time series

求组合数 AcWing 887. 求组合数 III

博弈论 AcWing 894. 拆分-Nim游戏
![[QT] QT multithreading development qthread](/img/7f/661cfb00317cd2c91fb9cc23c55a58.jpg)
[QT] QT multithreading development qthread

MySQL advanced part 2: optimizing SQL steps
![[2021]IBRNet: Learning Multi-View Image-Based Rendering Qianqian](/img/f1/e7a8a1a31bc5712d9f32d91305a2b0.jpg)
[2021]IBRNet: Learning Multi-View Image-Based Rendering Qianqian

Redis-01.初识Redis

vsCode创建自己的代码模板
随机推荐
背包问题 AcWing 9. 分组背包问题
C - XOR to all (binary topic)
微信小程序路由再次跳轉不觸發onload
MySQL advanced part 2: storage engine
博弈论 AcWing 893. 集合-Nim游戏
2. Addition and management of Oracle data files
Filter the numbers and pick out even numbers from several numbers
C Primer Plus Chapter 15 (bit operation)
AE tutorial - path growth animation
MySQL advanced part 1: stored procedures and functions
Series of how MySQL works (VIII) 14 figures explain the atomicity of MySQL transactions and the principle of undo logging
Single chip computer engineering experience - layered idea
20220213-CTF MISC-a_ good_ Idea (use of stegsolve tool) -2017_ Dating_ in_ Singapore
博弈论 AcWing 892. 台阶-Nim游戏
求组合数 AcWing 889. 满足条件的01序列
博弈论 AcWing 891. Nim游戏
Bit of MySQL_ OR、BIT_ Count function
SQL三种连接:内连接、外连接、交叉连接
Nested method, calculation attribute is not applicable, use methods
Paper reading report