From acf8e83cbf106b4350536d54eb46379dd86a623c Mon Sep 17 00:00:00 2001
From: Runt <qingingrunt2010@qq.com>
Date: Fri, 04 Jul 2025 17:05:00 +0000
Subject: [PATCH] 输入弹框 图标修改 相机调整

---
 LiveProject/views/TitleBarView.swift |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/LiveProject/views/TitleBarView.swift b/LiveProject/views/TitleBarView.swift
index a58fd40..d063a17 100644
--- a/LiveProject/views/TitleBarView.swift
+++ b/LiveProject/views/TitleBarView.swift
@@ -12,9 +12,9 @@
     @Environment(\.presentationMode) var presentationMode
     
     var title = ""
-    var imgLeft = "IconBack";
+    var iconBack  = Icons.BACK;
     var imgRight = "";
-    var titleColor = "ColorText"
+    var titleColor = Color.colorText
     
     var body: some View {
         
@@ -24,11 +24,14 @@
                     print("Click back button")
                     self.presentationMode.wrappedValue.dismiss()
                 }) {
-                    Image(imgLeft)
-                        .frame(width: 28,height: 28)
+                    Image(systemName: iconBack.name)
+                        .resizable()
+                        .frame(width: iconBack.size.width, height: iconBack.size.height)
+                        .aspectRatio(contentMode: .fit)
+                        .foregroundColor(Color.white)
                 }
                 Spacer()
-                Text(title).foregroundColor(Color.init(titleColor))
+                Text(title).foregroundColor(titleColor)
                     .bold().font(Font.system(size: 16))
                 Spacer()
                 Image(imgRight).frame(width: 28,height: 28)

--
Gitblit v1.9.1