feat(store): add store sortOrder and swipeable package gallery

Enable HQ-controlled store list ordering and horizontal multi-image browsing on package detail.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-07 19:58:38 +08:00
parent fe1c6c8158
commit 34a1897c09
9 changed files with 69 additions and 32 deletions
@@ -145,6 +145,12 @@ export class CreateStoreDto {
@IsOptional()
@IsBoolean()
isTest?: boolean;
/** 列表排序,越小越靠前 */
@IsOptional()
@IsNumber()
@Min(0)
sortOrder?: number;
}
export class UpdateStoreDto {
@@ -259,6 +265,12 @@ export class UpdateStoreDto {
@IsOptional()
@IsBoolean()
isTest?: boolean;
/** 列表排序,越小越靠前 */
@IsOptional()
@IsNumber()
@Min(0)
sortOrder?: number;
}
export class CreateStoreAccountDto {