当前位置:网站首页>Vant Weapp SwipeCell設置多個按鈕
Vant Weapp SwipeCell設置多個按鈕
2022-07-05 06:29:00 【Heerey525】
情况
在weapp文檔中沒有看到設置兩個按鈕的代碼
遺憾的是找了一圈其實沒有發現有人給出解决方案
解决方案
在控制臺看到其實在<view slot="right">寬度不够,並不是第二個按鈕出不來。
發現有right-width這個屬性,把right-width變大就可以容納更多按鈕了
代碼
<van-swipe-cell right-width="{
{ 130 }}" left-width="{
{ 65 }}">
<view slot="left">選擇</view>
<van-cell-group>
<van-cell title="單元格" value="內容" />
</van-cell-group>
<view slot="right">
<van-button type="primary" >編輯</van-button>
<van-button type="danger" >删除</van-button>
</view>
</van-swipe-cell>
边栏推荐
- 2048项目实现
- Applicable to Net free barcode API [off] - free barcode API for NET [closed]
- Find the combination number acwing 889 01 sequence meeting conditions
- Game theory acwing 892 Steps Nim game
- ollvm编译出现的问题纪录
- June 29, 2022 daily
- Nested method, calculation attribute is not applicable, use methods
- How to correctly ask questions in CSDN Q & A
- H5内嵌App适配暗黑模式
- LSA Type Explanation - lsa-5 (type 5 LSA - autonomous system external LSA) and lsa-4 (type 4 LSA - ASBR summary LSA) explanation
猜你喜欢

Alibaba's new member "Lingyang" officially appeared, led by Peng Xinyu, Alibaba's vice president, and assembled a number of core department technical teams

1. Create Oracle database manually

vsCode创建自己的代码模板

代码中的英语全部

达梦数据库全部

7.Oracle-表结构

MySQL怎么运行的系列(八)14张图说明白MySQL事务原子性和undo日志原理

SQL三种连接:内连接、外连接、交叉连接

International Open Source firmware Foundation (osff) organization

MySQL advanced part 1: stored procedures and functions
随机推荐
Record of problems in ollvm compilation
5. Oracle tablespace
Chapter 6 relational database theory
Interval problem acwing 906 Interval grouping
Relevant information of National Natural Science Foundation of China
高斯消元 AcWing 884. 高斯消元解异或线性方程组
微信小程序路由再次跳轉不觸發onload
Design specification for mobile folding screen
confidential! Netease employee data analysis internal training course, white whoring! (attach a data package worth 399 yuan)
Niu Mei's math problems
[BMZCTF-pwn] ectf-2014 seddit
Filter the numbers and pick out even numbers from several numbers
our solution
求组合数 AcWing 887. 求组合数 III
【LeetCode】Day94-重塑矩阵
4. Object mapping Mapster
Traversal of leetcode tree
Find the combination number acwing 887 Find combination number III
LSA Type Explanation - lsa-5 (type 5 LSA - autonomous system external LSA) and lsa-4 (type 4 LSA - ASBR summary LSA) explanation
Single chip computer engineering experience - layered idea