瀏覽代碼

更新 'pages/index/index.scss'

wenxin 1 年之前
父節點
當前提交
2b0c2fcfda
共有 1 個文件被更改,包括 12 次插入1 次删除
  1. 12 1
      pages/index/index.scss

+ 12 - 1
pages/index/index.scss

xqd xqd
@@ -74,6 +74,7 @@
 		overflow: hidden;
 		margin: 0 10rpx;
 		margin-bottom: 20rpx;
+		position: relative;
 		// box-shadow: 0rpx 0rpx 30rpx 0rpx rgba(0, 0, 0, 0.07);
 
 		.item {
@@ -86,8 +87,18 @@
 				border: 1rpx solid #F8F7F8;
 				// border-radius: 20rpx;
 				overflow: hidden;
+			
 			}
-
+	&__btn{
+		padding: 8px 12px;
+					position: absolute;
+					bottom: 16px;
+					right: 10px;
+					color: white;
+					background-color: rgba(0, 0, 0, .5);
+					border-radius: 20px;
+					
+				}
 			/* 图片 end */
 
 			/* 内容 start */