ZaiZai 2 vuotta sitten
vanhempi
commit
b77b6d35e7
1 muutettua tiedostoa jossa 6 lisäystä ja 2 poistoa
  1. 6 2
      pages/index/index.vue

+ 6 - 2
pages/index/index.vue

@@ -1,5 +1,5 @@
 <template>
-    <hc-sys :tabbar="false" isNavBar>
+    <hc-sys :tabbar="false" isNavBar navBarUi="home-nav-bar">
         <template #navBar>
             <view class="hc-home-nav-bar px-5 py-4">
                 <view class="title">应用主页</view>
@@ -288,7 +288,11 @@ const toTaskPage = () => {
     })
 }
 </script>
-
+<style lang="scss">
+:deep(.home-nav-bar) {
+    background-color: #EFEFF4;
+}
+</style>
 <style lang="scss" scoped>
 @import "@/style/index/index.scoped.scss";
 </style>