|
|
|
@ -86,12 +86,12 @@ struct UserView:View { |
|
|
|
|
var body:some View{ |
|
|
|
|
VStack { |
|
|
|
|
HStack { |
|
|
|
|
ImageView(imageUrl: self.user.avatar_hd!) |
|
|
|
|
ImageView(imageUrl: self.user.avatar_hd ?? "") |
|
|
|
|
.frame(width: 60.0, height: 60.0) |
|
|
|
|
.clipShape(/*@START_MENU_TOKEN@*/Circle()/*@END_MENU_TOKEN@*/) |
|
|
|
|
VStack { |
|
|
|
|
Text(self.user.name!) |
|
|
|
|
Text("简介:\(self.user.desc!)") |
|
|
|
|
Text("简介:\(self.user.desc ?? "")") |
|
|
|
|
} |
|
|
|
|
Spacer() |
|
|
|
|
Button(action: { |
|
|
|
|