1
0
miroir de https://github.com/ialley-workshop-open/uni-halo.git synchronisé 2026-06-12 21:29:31 +08:00

feat 首页是否显示快捷导航

Cette révision appartient à :
yhliu
2026-01-18 23:04:15 +08:00
révisé par 小莫唐尼
Parent 94ff37f77f
révision 17f5b4b917
+5 -1
Voir le fichier
@@ -30,7 +30,7 @@
</view>
<!-- 金刚区 :v-if="navList.filter(x=>x.show).length>=4" -->
<view :v-if="navList.filter(x=>x.show).length>=4" class="nav-box mt-16 mb-24 pl-24 pr-24 uh-py-12">
<view v-if="calcIsShowQuickNavigationEnabled && !!navList.filter(x=>x.show).length" class="nav-box mt-16 mb-24 pl-24 pr-24 uh-py-12">
<view class="page-item_title text-weight-b ">快捷导航</view>
<view class="nav-list flex uh-mt-12">
<template v-for="(item,index) in navList">
@@ -180,6 +180,10 @@
calcAuditModeEnabled() {
return this.haloConfigs.auditConfig.auditModeEnabled
},
calcIsShowQuickNavigationEnabled() {
console.log('this.haloConfigs?.pageConfig?.homeConfig', this.haloConfigs?.pageConfig?.homeConfig, !!this.haloConfigs?.pageConfig?.homeConfig?.useQuickNavigation)
return !!this.haloConfigs?.pageConfig?.homeConfig?.useQuickNavigation
},
calcIsShowCategory() {
if (this.calcAuditModeEnabled && this.categoryList.length !== 0) {
return false