Просмотр исходного кода

style(components): 注释掉导航组件背景色

- 注释掉 CustomNav.vue 中的背景色样式
- 注释掉 TabBar.vue 中的背景色样式
mcbaiyun 2 месяцев назад
Родитель
Сommit
b00085bdf1
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/components/CustomNav.vue
  2. 1 1
      src/components/TabBar.vue

+ 1 - 1
src/components/CustomNav.vue

@@ -64,7 +64,7 @@ const handleLeft = () => {
   right: 0;
   z-index: 1000;
   height: calc(var(--status-bar-height) + 44px);
-  background-color: #fff;
+  /* background-color: #fff; */
   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: #fff;**/
   display: flex;
   justify-content: space-around;
   align-items: center;