给button直接样式编写border:none;在模拟器上没有用
需在样式定义 &::after{
border:none;
}
<button class="btnStyle">
保存</button>
样式:
.btnStyle{
margin: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 26rpx;
font-family: PingFang SC;
font-weight: 500;
color: #666666;
border: none;
background-color: transparent;
&::after{
border:none;
}
}