Bladeren bron

feat: 优化UI

小莫唐尼 9 maanden geleden
bovenliggende
commit
22f57b7860

+ 1 - 1
components/article-card/article-card.vue

@@ -66,7 +66,7 @@
 		display: flex;
 		box-sizing: border-box;
 		margin: 0 24rpx;
-		padding: 24rpx;
+		padding:22rpx 24rpx;
 		border-radius: 12rpx;
 		background-color: #ffff;
 		box-shadow: 0rpx 2rpx 24rpx rgba(0, 0, 0, 0.03);

+ 1 - 1
components/category-mini-card/category-mini-card.vue

@@ -43,7 +43,7 @@
 			top: 0;
 			width: 100%;
 			height: 100%;
-			background-color: rgba(0, 0, 0, 0.5);
+			background-color: rgba(0, 0, 0, 0.25);
 			backdrop-filter: blur(3rpx);
 		}
 

+ 1 - 3
pages/tabbar/category/category.vue

@@ -25,9 +25,6 @@
                                       style="font-size: 24rpx;color: #ffffff;margin-top: 6rpx;">
                                     共 {{ item.postCount }} 篇文章
                                 </view>
-                                <view v-else style="font-size: 24rpx;color: #ffffff;margin-top: 6rpx;">
-                                    共 {{ item.postCount }} 篇内容
-                                </view>
                             </view>
                         </view>
                     </tm-translate>
@@ -442,6 +439,7 @@ export default {
         right: 0;
         bottom: 0;
         background-color: rgba(0, 0, 0, 0.15);
+		backdrop-filter: blur(3rpx);
         z-index: 1;
     }
 }

+ 1 - 1
pages/tabbar/gallery/gallery.vue

@@ -2,7 +2,7 @@
     <view class="app-page">
         <!-- 顶部切换 -->
         <view class="e-fixed" v-if="category.list.length > 0">
-            <tm-tabs color="light-blue" v-model="category.activeIndex" range-key="displayName" :list="category.list"
+            <tm-tabs color="light-blue" :shadow="0" v-model="category.activeIndex" range-key="displayName" :list="category.list"
                      align="left" @change="fnOnCategoryChange"></tm-tabs>
         </view>
         <!-- 占位区域 -->