Prechádzať zdrojové kódy

style(components): 修改导航栏和标签栏背景色

- 将 CustomNav.vue 组件中的背景色从注释状态激活为 #ffffffe7
- 将 TabBar.vue 组件中的背景色从注释状态激活为 #ffffffe7
- 确保两个组件的背景色设置一致,提升视觉统一性
mcbaiyun 2 mesiacov pred
rodič
commit
9ca1540332
2 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 1 1
      src/components/CustomNav.vue
  2. 1 1
      src/components/TabBar.vue

+ 1 - 1
src/components/CustomNav.vue

@@ -66,7 +66,7 @@ const handleLeft = () => {
   right: 0;
   z-index: 1000;
   height: calc(var(--status-bar-height) + 44px);
-  /* background-color: #fff; */
+  background-color: #ffffffe7;
   border-bottom: 1px solid #eee;
 }
 

+ 1 - 1
src/components/TabBar.vue

@@ -46,7 +46,7 @@ const onTabClick = (index: number) => {
   left: 0;
   right: 0;
   height: 100rpx;
-  /**background-color: #fff;**/
+  background-color: #ffffffe7;
   display: flex;
   justify-content: space-around;
   align-items: center;