Browse Source

游戏页面样式优化

tanxue 6 months ago
parent
commit
b2b66ab81d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      common/styles/global/pages.scss

+ 2 - 2
common/styles/global/pages.scss

@@ -1285,11 +1285,11 @@
 	
 	//btn
 	.food-btn-box{
-		width: 106rpx;height: 121rpx;position: absolute;bottom: 50rpx;left: 50rpx;
+		width: 106rpx;height: 121rpx;position: absolute;top: calc(260rpx + var(--status-bar-height));right: 50rpx;
 		@include ezy-no-repeat-cover;background-image: url("@/static/images/game/food-common-img.png");
 	}
 	.yxsm-btn{
-		width: 125rpx;height: 125rpx;position: absolute;bottom: 50rpx;right: 50rpx;
+		width: 125rpx;height: 125rpx;position: absolute;top: calc(100rpx + var(--status-bar-height));right: 38rpx;
 		@include ezy-no-repeat-cover;background-image: url("@/static/images/game/yxsm-btn-img.png");
 	}