Browse Source

游戏页面样式优化

tanxue 6 tháng trước cách đây
mục cha
commit
b2b66ab81d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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");
 	}