button样式如下
button {
border: none;
width: 200rpx;
padding: 0;
margin: 0;
}
.paybutton {
display: flex;
flex-direction: row;
color: white;
font-size: 32rpx;
margin-right: 40rpx;
width: 200rpx;
max-width: 200rpx;
height: 60rpx;
border-radius: 30rpx;
line-height: 60rpx;
align-items: center;
justify-content: center;
}
发现还是有边框
解决方法:
添加样式
button::after {
border: none;
}
加上背景颜色看一下