Compare commits
No commits in common. "5cf208a4c2ac1cb1cb7e5299d3310fb817ad69b7" and "a1e95529bf5b472c1584a576f85a12850a0d924b" have entirely different histories.
5cf208a4c2
...
a1e95529bf
@ -14,7 +14,6 @@
|
|||||||
24A07CE92A02730700F4ECA8 /* AddAccountView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24A07CE82A02730700F4ECA8 /* AddAccountView.swift */; };
|
24A07CE92A02730700F4ECA8 /* AddAccountView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24A07CE82A02730700F4ECA8 /* AddAccountView.swift */; };
|
||||||
24A07CEB2A029C6A00F4ECA8 /* InstanceInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24A07CEA2A029C6A00F4ECA8 /* InstanceInfo.swift */; };
|
24A07CEB2A029C6A00F4ECA8 /* InstanceInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24A07CEA2A029C6A00F4ECA8 /* InstanceInfo.swift */; };
|
||||||
24A07CED2A029DF200F4ECA8 /* AccountListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24A07CEC2A029DF200F4ECA8 /* AccountListView.swift */; };
|
24A07CED2A029DF200F4ECA8 /* AccountListView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24A07CEC2A029DF200F4ECA8 /* AccountListView.swift */; };
|
||||||
24A07CF32A03E80200F4ECA8 /* TimeLineView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24A07CF22A03E80200F4ECA8 /* TimeLineView.swift */; };
|
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
@ -27,7 +26,6 @@
|
|||||||
24A07CE82A02730700F4ECA8 /* AddAccountView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddAccountView.swift; sourceTree = "<group>"; };
|
24A07CE82A02730700F4ECA8 /* AddAccountView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AddAccountView.swift; sourceTree = "<group>"; };
|
||||||
24A07CEA2A029C6A00F4ECA8 /* InstanceInfo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InstanceInfo.swift; sourceTree = "<group>"; };
|
24A07CEA2A029C6A00F4ECA8 /* InstanceInfo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InstanceInfo.swift; sourceTree = "<group>"; };
|
||||||
24A07CEC2A029DF200F4ECA8 /* AccountListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountListView.swift; sourceTree = "<group>"; };
|
24A07CEC2A029DF200F4ECA8 /* AccountListView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountListView.swift; sourceTree = "<group>"; };
|
||||||
24A07CF22A03E80200F4ECA8 /* TimeLineView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TimeLineView.swift; sourceTree = "<group>"; };
|
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
@ -98,7 +96,6 @@
|
|||||||
24A07CE02A02702800F4ECA8 /* Core */ = {
|
24A07CE02A02702800F4ECA8 /* Core */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
24A07CEE2A03E7BA00F4ECA8 /* Feeds */,
|
|
||||||
24A07CE42A02714000F4ECA8 /* Authentication */,
|
24A07CE42A02714000F4ECA8 /* Authentication */,
|
||||||
24A07CE32A02709900F4ECA8 /* Components */,
|
24A07CE32A02709900F4ECA8 /* Components */,
|
||||||
);
|
);
|
||||||
@ -145,30 +142,6 @@
|
|||||||
path = ViewModels;
|
path = ViewModels;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
24A07CEE2A03E7BA00F4ECA8 /* Feeds */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
24A07CF02A03E7D000F4ECA8 /* ViewModels */,
|
|
||||||
24A07CEF2A03E7C800F4ECA8 /* Views */,
|
|
||||||
);
|
|
||||||
path = Feeds;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
24A07CEF2A03E7C800F4ECA8 /* Views */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
24A07CF22A03E80200F4ECA8 /* TimeLineView.swift */,
|
|
||||||
);
|
|
||||||
path = Views;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
24A07CF02A03E7D000F4ECA8 /* ViewModels */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
);
|
|
||||||
path = ViewModels;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
/* End PBXGroup section */
|
/* End PBXGroup section */
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
/* Begin PBXNativeTarget section */
|
||||||
@ -240,7 +213,6 @@
|
|||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
24A07CD22A026DDA00F4ECA8 /* ContentView.swift in Sources */,
|
24A07CD22A026DDA00F4ECA8 /* ContentView.swift in Sources */,
|
||||||
24A07CF32A03E80200F4ECA8 /* TimeLineView.swift in Sources */,
|
|
||||||
24A07CD02A026DDA00F4ECA8 /* dudujiApp.swift in Sources */,
|
24A07CD02A026DDA00F4ECA8 /* dudujiApp.swift in Sources */,
|
||||||
24A07CEB2A029C6A00F4ECA8 /* InstanceInfo.swift in Sources */,
|
24A07CEB2A029C6A00F4ECA8 /* InstanceInfo.swift in Sources */,
|
||||||
24A07CE92A02730700F4ECA8 /* AddAccountView.swift in Sources */,
|
24A07CE92A02730700F4ECA8 /* AddAccountView.swift in Sources */,
|
||||||
|
|||||||
@ -11,8 +11,25 @@ struct AccountListView: View {
|
|||||||
var body: some View {
|
var body: some View {
|
||||||
NavigationView {
|
NavigationView {
|
||||||
Form {
|
Form {
|
||||||
ForEach(0 ... 3, id: \.self) { _ in
|
Section {
|
||||||
accountRowView
|
HStack {
|
||||||
|
ZStack {
|
||||||
|
RoundedRectangle(cornerRadius: 3)
|
||||||
|
.frame(width: 50, height: 50)
|
||||||
|
Image(systemName: "checkmark.circle.fill")
|
||||||
|
.foregroundColor(.green)
|
||||||
|
.offset(x: 15, y: -15)
|
||||||
|
.font(.title)
|
||||||
|
}
|
||||||
|
VStack(alignment: .leading) {
|
||||||
|
Text("科代")
|
||||||
|
.font(.title3)
|
||||||
|
Text(verbatim: "kedai@nofan.xyz")
|
||||||
|
.textContentType(.none)
|
||||||
|
.font(.subheadline)
|
||||||
|
.foregroundColor(.gray)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Section {
|
Section {
|
||||||
Button {
|
Button {
|
||||||
@ -29,7 +46,7 @@ struct AccountListView: View {
|
|||||||
}
|
}
|
||||||
.toolbar {
|
.toolbar {
|
||||||
ToolbarItem(placement: .navigationBarTrailing) {
|
ToolbarItem(placement: .navigationBarTrailing) {
|
||||||
Button("完成") {}
|
Button("123") {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -41,30 +58,3 @@ struct AccountListView_Previews: PreviewProvider {
|
|||||||
AccountListView()
|
AccountListView()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
extension AccountListView {
|
|
||||||
var accountRowView: some View {
|
|
||||||
HStack {
|
|
||||||
ZStack {
|
|
||||||
RoundedRectangle(cornerRadius: 3)
|
|
||||||
.stroke(Color.gray, lineWidth: 1.5)
|
|
||||||
.frame(width: 50, height: 50)
|
|
||||||
.background(.black)
|
|
||||||
Image(systemName: "checkmark.circle.fill")
|
|
||||||
.foregroundColor(.green)
|
|
||||||
.background(.white)
|
|
||||||
.clipShape(Circle())
|
|
||||||
.offset(x: 15, y: -15)
|
|
||||||
.font(.title)
|
|
||||||
}
|
|
||||||
VStack(alignment: .leading) {
|
|
||||||
Text("科代")
|
|
||||||
.font(.title3)
|
|
||||||
Text(verbatim: "kedai@nofan.xyz")
|
|
||||||
.textContentType(.none)
|
|
||||||
.font(.subheadline)
|
|
||||||
.foregroundColor(.gray)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|||||||
@ -1,20 +0,0 @@
|
|||||||
//
|
|
||||||
// TimeLineView.swift
|
|
||||||
// duduji
|
|
||||||
//
|
|
||||||
// Created by ching on 2023/5/4.
|
|
||||||
//
|
|
||||||
|
|
||||||
import SwiftUI
|
|
||||||
|
|
||||||
struct TimeLineView: View {
|
|
||||||
var body: some View {
|
|
||||||
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
struct TimeLineView_Previews: PreviewProvider {
|
|
||||||
static var previews: some View {
|
|
||||||
TimeLineView()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user