赞
踩
{
"usingComponents": {
"van-swipe-cell": "@vant/weapp/swipe-cell/index",
"van-cell-group": "@vant/weapp/cell-group/index",
"van-cell": "@vant/weapp/cell/index",
},
"navigationBarTitleText": "收货地址"
}
<van-swipe-cell right-width="{{ 65 }}" left-width="{{ 65 }}">
<view slot="left" class="van-swipe-cell__left">选择</view>
<van-cell-group>
<van-cell title="单元格" value="内容" />
</van-cell-group>
<view slot="right" class="van-swipe-cell__right">删除</view>
</van-swipe-cell>
排除了以上问题 swipeCell 显示了 但是 左右滑动 样式不对
在 .scss 文件中 自己写样式吧
.van-swipe-cell__right {
display: flex;
justify-content: center;
align-items: center;
width: 130rpx;
font-size: 30rpx;
color: #fff;
background-color: #f44;
}
.van-swipe-cell__left {
background-color: #07c160;
}
各位大佬 有没有其它解决办法 麻烦 留言指教下 拜托拜托!!
赞
踩
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。