uniapp 小程序 在js中进行rpx与px混合计算

比如要计算 10px + 20rpx 是多少px

js中代码

10 + (windowWidth/750)*20 + 'px'

你可能感兴趣的:(rpx,小程序,uniapp)