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) {
self.mediaType = mediaType
// First/Second
if mediaType == BlindBoxMediaType.all {
print("获取盲盒列表")
}
}
//
@ -850,7 +855,7 @@ struct BlindBoxView: View {
// MARK: -
#Preview {
BlindBoxView(mediaType: .video)
BlindBoxView(mediaType: .all)
}
struct TransparentVideoPlayer: UIViewRepresentable {

View File

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