diff --git a/components/rowBeer.vue b/components/rowBeer.vue
index 695d6e8..dffec84 100644
--- a/components/rowBeer.vue
+++ b/components/rowBeer.vue
@@ -1,3 +1,12 @@
+/**
+ * @description 横向滚动的啤酒列表组件
+ * @author [作者名]
+ * @usage 用于展示横向滚动的啤酒列表,支持点击跳转到酒评详情
+ * @props beers: Array - 啤酒列表数据,包含啤酒的详细信息
+ * @events 无
+ * @example
+ *
+ */
@@ -43,18 +52,23 @@
\ No newline at end of file
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 4e75351..4d72bb5 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -355,7 +355,7 @@
}
.page {
- // background: #FDFDFD;
+ background: #F9F9F9;
height: 100vh;
overflow-y: auto;
font-family: Roboto;
@@ -367,12 +367,13 @@
border-radius: 24rpx;
width: 700rpx;
height: 80rpx;
- background-color: rgba(243, 243, 243, 0.8);
+ background-color: #F9F9F9;
display: flex;
align-items: center;
padding: 32rpx 0;
margin: 26rpx auto;
box-sizing: border-box;
+ box-shadow: 0rpx 1rpx 3rpx 0rpx rgba(0, 0, 0, 0.1);
.search-input {
flex: 1;
@@ -389,6 +390,7 @@
display: flex;
justify-content: center;
align-items: center;
+ box-shadow: 0rpx 1rpx 3rpx 0rpx rgba(0, 0, 0, 0.1);
}
}
.list-container {
@@ -534,9 +536,10 @@
.img-box {
width: 146rpx;
height: 146rpx;
- background: #F2F2F2;
+ background: #F9F9F9;
border-radius: 50%;
margin-bottom: 18rpx;
+ box-shadow: 0rpx 1rpx 3rpx 0rpx rgba(0, 0, 0, 0.1);
}
}
@@ -635,8 +638,8 @@
}
.more-btn {
- font-size: 32rpx;
- font-weight: 400;
+ font-size: 28rpx;
+ font-weight: 600;
letter-spacing: 2rpx;
color: #FFFFFF;
}
@@ -645,4 +648,26 @@
padding: 0 34rpx 0 20rpx;
background: rgba(0, 0, 0, 0.6);
}
+
+ .bg-white {
+ background: #FFFFFF;
+ // box-shadow: 0rpx 1rpx 3rpx 0rpx rgba(0, 0, 0, 0.1);
+ }
+
+ .activity-item {
+ background: #FFFFFF;
+ border-radius: 12rpx;
+ padding: 24rpx;
+ margin-bottom: 24rpx;
+ box-shadow: 0rpx 1rpx 3rpx 0rpx rgba(0, 0, 0, 0.1);
+
+ .left {
+ width: 140rpx;
+ margin-right: 24rpx;
+ }
+
+ .right {
+ flex: 1;
+ }
+ }
\ No newline at end of file