Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rrpgLink_FrontEnd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kesaubeeire
rrpgLink_FrontEnd
Commits
18296ed9
Commit
18296ed9
authored
Oct 22, 2023
by
KesaubeEire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 分类搜索 & Tag 搜索 in 侧边栏 & 导航栏.
parent
25eeb5db
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
186 additions
and
54 deletions
+186
-54
README.md
README.md
+3
-3
src/App.svelte
src/App.svelte
+181
-49
src/Content.svelte
src/Content.svelte
+2
-2
No files found.
README.md
View file @
18296ed9
...
...
@@ -70,15 +70,15 @@ npm run build:prod
-
[x] Tag
-
[x] Category
-
[x] Title
-
[
] TODO:
导航栏 Drawer -> 分类搜索 & Tag 搜索
-
[
] TODO:
侧边栏 Drawer -> 分类搜索 & Tag 搜索
-
[
x]
导航栏 Drawer -> 分类搜索 & Tag 搜索
-
[
x]
侧边栏 Drawer -> 分类搜索 & Tag 搜索
-
[ ] TODO: 回退上一级搜索
-
[x] 主题切换
-
[x] 基础切换
-
[x] localstorage 记忆
-
[ ] Toast 系统
-
[x] 基本 Toast
-
[
] TODO: 图片加载错误: 显示名字 & 序号...
-
[
x] 图片加载错误: 寻找 info.json 的图片并加载第一个, 顺表 log 显示详情
## Bugs
...
...
src/App.svelte
View file @
18296ed9
This diff is collapsed.
Click to expand it.
src/Content.svelte
View file @
18296ed9
...
...
@@ -122,7 +122,7 @@
/**根据 TAG 搜索游戏
* @param {string} tag TAG
*/
function searchTag(tag) {
export
function searchTag(tag) {
if (process.env.APP_ENV === 'dev') console.log(tag, encodeURIComponent(tag));
createFetch(searchTagRequest(tag), data => {
if (process.env.APP_ENV === 'dev') console.log(data);
...
...
@@ -133,7 +133,7 @@
/**根据 category 搜索游戏
* @param {string} category category
*/
function searchCategory(category) {
export
function searchCategory(category) {
if (process.env.APP_ENV === 'dev') console.log(category);
createFetch(searchCategoryRequest(category), data => {
if (process.env.APP_ENV === 'dev') console.log(data);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment