Skip to content

Commit b1b6024

Browse files
author
zcc
committed
no message
1 parent 4d3e389 commit b1b6024

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WeatherSwiftUIDemo/WeatherSwiftUIDemo/Sections/Main/View/WeatherMainView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ struct WeatherMainView: View {
2727
ScrollView {
2828
VStack(alignment: .leading) {
2929
AqiView(vm: self._vm)
30-
Spacer(minLength: 10.0).frame(width: kScreenW)
30+
Spacer(minLength: 10.0).frame(width: kScreenW - 32.0)
3131
WeatherView(vm: self._vm)
3232

3333
HStack(spacing: 10.0) {
@@ -43,7 +43,7 @@ struct WeatherMainView: View {
4343
}
4444
}
4545

46-
}.foregroundColor(Color.white).background(WebImage(self._vm.model?.now?.skin, configuration: { $0.resizable() }).scaledToFill().edgesIgnoringSafeArea(.all)).offset(x: 16.0, y: 0.0).edgesIgnoringSafeArea(.all).onAppear(perform: self._vm.loadData)
46+
}.foregroundColor(Color.white).background(WebImage(self._vm.model?.now?.skin, configuration: { $0.resizable() }).scaledToFill().edgesIgnoringSafeArea(.all)).edgesIgnoringSafeArea(.all).onAppear(perform: self._vm.loadData)
4747
}
4848
}
4949

0 commit comments

Comments
 (0)