is normal with rpx, but after adding border or padding, rpx will not be able to adapt to various screens. It is not good to use rpx highly. Is it that I use it in the wrong way, or is it that rpx really doesn"t work?
such as the following cases
<view class="page"></view>
.page {
/* border: 30rpx solid red; */
padding: 30rpx;
width:690rpx;
}
whether adding border or padding, to page, only when the screen width is 375px, the width of page is full, and 1px-2px will be lost on any other screen