generated from halo-dev/plugin-starter
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
应用市场筛选项支持通过标签筛选。 <img width="1665" alt="图片" src="https://github.com/halo-dev/plugin-app-store/assets/21301288/3bfd3966-2923-4baa-a4cf-073d56f12e5b"> <img width="1664" alt="图片" src="https://github.com/halo-dev/plugin-app-store/assets/21301288/576a615b-c18f-4a8c-b8d1-9fb080e09ffa"> [plugin-app-store-1.0.0-SNAPSHOT.jar.zip](https://github.com/halo-dev/plugin-app-store/files/13971569/plugin-app-store-1.0.0-SNAPSHOT.jar.zip) /kind feature ```release-note 支持通过标签筛选应用 ```
- Loading branch information
Showing
5 changed files
with
152 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,6 @@ build { | |
} | ||
|
||
halo { | ||
version = '2.10.2' | ||
version = '2.11' | ||
debug = true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<script lang="ts" setup> | ||
withDefaults( | ||
defineProps<{ | ||
selected: boolean; | ||
}>(), | ||
{ | ||
selected: false, | ||
} | ||
); | ||
</script> | ||
|
||
<template> | ||
<span class="plugin-app-store-tag" :class="{ active: selected }"> <slot /> </span> | ||
</template> | ||
|
||
<style scoped> | ||
.plugin-app-store-tag { | ||
@apply as-inline-flex as-cursor-pointer as-select-none as-items-center as-rounded-md as-bg-gray-50 as-px-2 as-py-1 as-text-xs as-font-medium as-text-gray-600 as-ring-1 as-ring-inset as-ring-gray-500/10; | ||
} | ||
.plugin-app-store-tag.active { | ||
@apply !as-bg-blue-600 !as-text-white !as-ring-blue-600; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters