网站里面的链接怎么做的,ajax+jsp网站开发从入门到精通,win10做iis访问网站,专业做电商培训的平台在微信小程序开发过程中 遇到个坑 此处引用 swipeCell 组件 刚开始是组件不显示 然后又遇到样式不生效 首先排除问题
是否在.json文件中引入了组件
{usingComponents: {van-swipe-cell: vant/weapp/swipe-cell/index,van-cell-gro…在微信小程序开发过程中 遇到个坑 此处引用 swipeCell 组件 刚开始是组件不显示 然后又遇到样式不生效 首先排除问题
是否在.json文件中引入了组件
{usingComponents: {van-swipe-cell: vant/weapp/swipe-cell/index,van-cell-group: vant/weapp/cell-group/index,van-cell: vant/weapp/cell/index,},navigationBarTitleText: 收货地址
}
是否在 wxml中引入了该组件
van-swipe-cell right-width{{ 65 }} left-width{{ 65 }}view slotleft classvan-swipe-cell__left选择/viewvan-cell-groupvan-cell title单元格 value内容 //van-cell-groupview slotright classvan-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;
}各位大佬 有没有其它解决办法 麻烦 留言指教下 拜托拜托