From cf558b7ca8e34f8615fcc995884303bfd70a87ce Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Tue, 18 Mar 2025 16:14:20 +0800 Subject: [PATCH] fix --- dimensionhub/Views/FollowListView.swift | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/dimensionhub/Views/FollowListView.swift b/dimensionhub/Views/FollowListView.swift index d9821d3..760c5cb 100644 --- a/dimensionhub/Views/FollowListView.swift +++ b/dimensionhub/Views/FollowListView.swift @@ -66,15 +66,17 @@ struct FollowListView: View { Color.clear .overlay(alignment: .leading) { HStack(alignment: .center, spacing: 3) { - Image(systemName: "chevron.left") - .border(Color.yellow) - - Text("番剧补完计划") - .font(.system(size: 16)) - .foregroundColor(Color(hex: "#333333")) - } - .onTapGesture { - dismiss() + Button(action: { + dismiss() + }) { + + Image(systemName: "chevron.left") + .font(.system(size: 20, weight: .medium)) + + Text("番剧补完计划") + .font(.system(size: 16)) + .foregroundColor(Color(hex: "#333333")) + } } } } @@ -89,7 +91,6 @@ struct FollowListView: View { } } } - .frame(width: 370) } else { VStack { Spacer() @@ -98,9 +99,9 @@ struct FollowListView: View { .foregroundColor(.black) Spacer() } - .frame(width: 370) } } + .frame(width: 370) .ignoresSafeArea(edges: .bottom) .navigationBarBackButtonHidden() .task {