// // GView.swift // IOS_study // // Created by CC-star on 2025/6/26. // import SwiftUI func exDivider() -> some View{ Rectangle().fill(Color.labeBG).frame(height: 1)//分割线[系统自带的Divider有时候不显示] } //筛选 func arrowIcon(_ showView: Bool) -> some View{ showView ? Image(systemName: "arrowtriangle.up.fill").size9() : Image(systemName: "arrowtriangle.down.fill").size9() } func listBottomEView() -> some View{ Color.clear.frame(height: 120).listRowStyle() } func postBottomEView() -> some View{ Color.clear.frame(height: 120) } func BprogressView(text: String = "加载中") -> some View { VStack { ProgressView() Text(text).font(.subheadline).secondary() }.padding(25) .background(.thinMaterial)//毛玻璃效果 .radius(6) }