feat/blind_box_v2 #4

Merged
txcjh merged 18 commits from feat/blind_box_v2 into main 2025-09-07 22:23:23 +08:00
2 changed files with 11 additions and 2 deletions
Showing only changes of commit 685e694134 - Show all commits

View File

@ -108,6 +108,11 @@ struct BlindBoxView: View {
init(mediaType: BlindBoxMediaType) { init(mediaType: BlindBoxMediaType) {
self.mediaType = mediaType self.mediaType = mediaType
// First/Second
if mediaType == BlindBoxMediaType.all {
print("获取盲盒列表")
}
} }
// //
@ -850,7 +855,7 @@ struct BlindBoxView: View {
// MARK: - // MARK: -
#Preview { #Preview {
BlindBoxView(mediaType: .video) BlindBoxView(mediaType: .all)
} }
struct TransparentVideoPlayer: UIViewRepresentable { struct TransparentVideoPlayer: UIViewRepresentable {

View File

@ -180,6 +180,10 @@ struct UserInfo: View {
if let userData = response.data { if let userData = response.data {
self.userName = userData.username self.userName = userData.username
} }
//
//
Router.shared.navigate(to: .blindBox(mediaType: .image)) Router.shared.navigate(to: .blindBox(mediaType: .image))
case .failure(let error): case .failure(let error):