2025-07-27 12:33:06 +08:00

36 lines
803 B
Swift

//
// 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)
}