瀏覽代碼

no message

zpj 2 年之前
父節點
當前提交
eb4783f850
共有 1 個文件被更改,包括 7 次插入 和 3 次删除
  1. 7 3
      pages/index/index.vue

+ 7 - 3
pages/index/index.vue

@@ -241,7 +241,7 @@
 		
 		
 		<view class="" v-if="isEnroll">
-			<view class="cy-buttom" @click.stop="canyu()">参与预约</view>
+			<view class="cy-buttom iphone-buttom" @click.stop="canyu()">参与预约</view>
 		</view>
 		
 		
@@ -531,6 +531,11 @@
 	}
 </script>
 <style lang="scss" scoped>
+	.iphone-buttom{
+		padding-bottom: 20rpx;
+		// padding-bottom: constant(safe-area-inset-bottom);
+		// padding-bottom: env(safe-area-inset-bottom);
+	}
 	.f-wh{
 		height: calc(100vh - 168rpx) !important;
 	}
@@ -589,8 +594,7 @@
 		background-image: url('@/static/img/c-bg.png');
 		background-size: 100% 100%;
 		
-		padding-bottom: constant(safe-area-inset-bottom);
-		padding-bottom: env(safe-area-inset-bottom);
+		
 	}
 
 	.up-icon {