zhengyiming
2 天以前 67c311e859c789ddc8a208139e3f7d7dd6fddb99
fix: bug
3个文件已修改
16 ■■■■■ 已修改文件
apps/bMiniApp/src/custom-tab-bar/index.tsx 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/bMiniApp/src/pages/home/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/cMiniApp/src/custom-tab-bar/index.tsx 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/bMiniApp/src/custom-tab-bar/index.tsx
@@ -112,6 +112,7 @@
    }
    return () => {
      const _router = Taro.useRouter();
      return (
        <View
          class="bottom-tab"
@@ -124,7 +125,7 @@
            icon="../assets/tabbar/icon-home.png"
            activeIcon="../assets/tabbar/icon-home-active.png"
            pagePath={TabBarPageRouter.Home}
            currentPath={router.path}
            currentPath={_router.path}
            index={0}
            active={system.activeTab === 0}
            className="home"
@@ -135,7 +136,7 @@
            icon="../assets/tabbar/icon-task.png"
            activeIcon="../assets/tabbar/icon-task-active.png"
            pagePath={TabBarPageRouter.Workbenches}
            currentPath={router.path}
            currentPath={_router.path}
            active={system.activeTab === 1}
            className="task"
            onClick={switchTab}
@@ -146,7 +147,7 @@
            icon="../assets/tabbar/icon-mine.png"
            activeIcon="../assets/tabbar/icon-mine-active.png"
            pagePath={TabBarPageRouter.Mine}
            currentPath={router.path}
            currentPath={_router.path}
            active={system.activeTab === 2}
            className="mine"
            onClick={switchTab}
apps/bMiniApp/src/pages/home/index.vue
@@ -121,7 +121,7 @@
});
const queryState = reactive({
  orderType: HomeOrderType.Recommend,
  orderType: HomeOrderType.LastShelfTime,
});
const { infiniteLoadingProps } = useInfiniteLoading(
apps/cMiniApp/src/custom-tab-bar/index.tsx
@@ -112,6 +112,7 @@
    }
    return () => {
      const _router = Taro.useRouter();
      return (
        <View
          class="bottom-tab"
@@ -124,7 +125,7 @@
            icon="../assets/tabbar/icon-home.png"
            activeIcon="../assets/tabbar/icon-home-active.png"
            pagePath={TabBarPageRouter.Home}
            currentPath={router.path}
            currentPath={_router.path}
            index={0}
            active={system.activeTab === 0}
            className="home"
@@ -136,7 +137,7 @@
            icon="../assets/tabbar/icon-task.png"
            activeIcon="../assets/tabbar/icon-task-active.png"
            pagePath={TabBarPageRouter.Task}
            currentPath={router.path}
            currentPath={_router.path}
            active={system.activeTab === 1}
            className="task"
            onClick={switchTab}
@@ -147,7 +148,7 @@
            icon="../assets/tabbar/icon-mine.png"
            activeIcon="../assets/tabbar/icon-mine-active.png"
            pagePath={TabBarPageRouter.Mine}
            currentPath={router.path}
            currentPath={_router.path}
            active={system.activeTab === 2}
            className="mine"
            onClick={switchTab}