浏览代码

调整场地样式

sakura 1 年之前
父节点
当前提交
cd7bd8e82f
共有 1 个文件被更改,包括 8 次插入6 次删除
  1. 8 6
      pages/home/index.scss

+ 8 - 6
pages/home/index.scss

@@ -133,7 +133,6 @@
 					    flex: 0 0 7px; /* 每列平均分配空间 */
 					    display: flex;
 					    flex-direction: column; /* 列内部元素垂直排列 */
-					   
 					    padding: 15px 20px 0px 0px;
 					    text-align: left; /* 文本居中 */
 										 
@@ -208,12 +207,12 @@
 				 display: flex;
 				 .item_img{
 					 margin: 15px 0px 10px 10px;
-					 width: 222px;
+					 //width: 222px;
 					 height: 147px;
 					 border-radius: 7px;
 					 overflow: hidden;
 					 
-					 flex: 0 0 200px;
+					 flex: 0 0 40%;
 					 
 					 img{
 						 width: 100%;
@@ -221,7 +220,7 @@
 					 }
 				 }
 				 .item_info{
-					 flex: 0 0 45%;
+					 flex: 0 0 55%;
 					 line-height: 22px;
 					 height: 80px;
 					 .title{
@@ -272,8 +271,11 @@
 		 			 
 		 		 }
 		 .yuyue_btn{
-			 margin-left: 100px;
-			 margin-top: 12px;
+				display: flex;
+				width: 100%;
+				justify-content: flex-end;
+			 // margin-left: 100px;
+			 // margin-top: 12px;
 			 image{
 				 
 				  justify-content: flex-end;