feat(收藏功能): 为应用和版本添加收藏功能

- 在应用列表、详情页和版本列表中添加收藏按钮
- 使用localStorage存储用户收藏的应用数据
- 添加收藏/取消收藏的交互提示
- 统一调整搜索按钮的样式尺寸
This commit is contained in:
2025-07-08 09:31:27 +08:00
parent 51d6fdc6ee
commit 06c8f549d3
4 changed files with 22 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ $tagResult = $conn->query("SELECT id, name FROM tags ORDER BY name");
</div>
</div>
<div class="col-md-2">
<button class="btn btn-primary w-100" type="submit">搜索</button>
<button class="btn btn-primary w-100" style="width: calc(3.5rem + calc(var(--bs-border-width) * 2)); height: calc(3.5rem + calc(var(--bs-border-width) * 2))" type="submit">搜索</button>
</div>
</div>
</form>