fix view
This commit is contained in:
parent
f4939c0099
commit
260bf6017f
@ -34,13 +34,13 @@ struct IndexMainView: View {
|
||||
|
||||
HStack(alignment: .center) {
|
||||
Text("亚次元")
|
||||
.font(.system(size: 18, weight: .bold))
|
||||
.font(.system(size: 20, weight: .bold))
|
||||
.padding([.top, .bottom], 5)
|
||||
Spacer()
|
||||
|
||||
HStack {
|
||||
Text("♡ \(indexModel.follow_num)")
|
||||
.font(.system(size: 17))
|
||||
.font(.system(size: 18))
|
||||
.foregroundColor(.black)
|
||||
.padding([.top, .bottom], 5)
|
||||
.padding(.leading, 10)
|
||||
|
||||
@ -45,6 +45,7 @@ struct SearchView: View {
|
||||
.frame(height: 50)
|
||||
.padding([.top, .bottom], 8)
|
||||
|
||||
if searchModel.dramaGroups.count > 0 {
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
// 基于日期的更新列表
|
||||
LazyVStack(alignment: .center, spacing: 10) {
|
||||
@ -53,6 +54,14 @@ struct SearchView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Spacer()
|
||||
|
||||
Text("什么都没有找到")
|
||||
.font(.system(size: 18))
|
||||
.foregroundColor(Color(hex: "#333333"))
|
||||
.frame(alignment: .center)
|
||||
}
|
||||
|
||||
Spacer()
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user