Browse Source

暂存一些样式

sophieChenyx 6 năm trước cách đây
mục cha
commit
57839b481a

+ 6 - 6
src/stage/index/style/CLScene.less

@@ -91,7 +91,7 @@
                 margin: 0.35rem 0.35rem 0 0.22rem;
                 img {
                     width: 100%;
-                    border-radius: 0 0 .2rem .2rem;
+                    border-radius: .2rem;
                 }
                 .training-desc {
                     position: absolute;
@@ -102,16 +102,16 @@
                     border-radius: 0 0 0.2rem 0.2rem;
                     p {
                         width: 100%;
-                        margin-top: 0.12rem;
-                        margin-left: 0.32rem;
+                        &:first-child {
+                            margin-top: 0.2rem;
+                        }
+                        // margin-left: 0.32rem;
                         font-size: 0.28rem;
                         line-height: 0.28rem;
                         white-space: nowrap;
+                        text-align: center;
                         overflow: hidden;
                     }
-                    .subject-sub {
-                        margin-top: 0.16rem;
-                    }
                 }
             }
             &.fe-focus .training-item-frame {

+ 4 - 4
src/stage/index/style/component/GoodsItem.less

@@ -14,12 +14,12 @@
 
 	.goods-des {
 		width: 100%;
-		height: 1.32rem;
+		height: 1.12rem;
 		background: #fff;
 		border-radius: 0 0 unit(@borderRadius, rem) unit(@borderRadius, rem);
 
 		p {
-			height: .42rem;
+			height: .56rem;
 		}
 
 		.title {
@@ -27,7 +27,7 @@
 			white-space: nowrap;
 			overflow: hidden;
 			padding-left: 0.06rem;
-			font-size: 0.32rem;
+			font-size: 0.36rem;
 			text-align: center;
 		}
 
@@ -36,7 +36,7 @@
 			white-space: nowrap;
 			overflow: hidden;
 			padding-left: 0.06rem;
-			font-size: 0.28rem;
+			font-size: 0.3rem;
 			text-align: center;
 		}