mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-07-21 12:06:18 +00:00
feat(menu): show post count for categories
This commit is contained in:
@@ -76,7 +76,10 @@
|
|||||||
<img v-if="isImageIcon(c.smallIcon || c.icon)" :src="c.smallIcon || c.icon" class="section-item-icon" :alt="c.name" />
|
<img v-if="isImageIcon(c.smallIcon || c.icon)" :src="c.smallIcon || c.icon" class="section-item-icon" :alt="c.name" />
|
||||||
<i v-else :class="['section-item-icon', c.smallIcon || c.icon]"></i>
|
<i v-else :class="['section-item-icon', c.smallIcon || c.icon]"></i>
|
||||||
</template>
|
</template>
|
||||||
<span class="section-item-text">{{ c.name }}</span>
|
<span class="section-item-text">
|
||||||
|
{{ c.name }}
|
||||||
|
<span class="section-item-text-count" v-if="c.count >= 0">x {{ c.count }}</span>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user