//
|
// LiveActivity.swift
|
// LiveProject
|
//
|
// Created by 倪路朋 on 6/25/25.
|
//
|
|
import Foundation
|
import SwiftUI
|
|
struct LiveActivity: View {
|
var body: some View {
|
NavigationView{
|
ZStack{
|
|
}
|
}
|
}
|
}
|
|
struct Bottombtns:View {
|
var body: some View {
|
VStack{
|
|
HStack(){
|
MButton(icon: IconPortrait()){
|
|
}
|
MButton(text: "30帧"){
|
|
}
|
MButton(valid: .INVALID,text: "+"){
|
|
}
|
}
|
HStack{
|
LButton(text: "设备"){
|
|
}
|
LButton(text: "RTMP"){
|
|
}
|
LButton(text: "文件"){
|
|
}
|
LButton(text: "文本"){
|
|
}
|
}
|
HStack{
|
Text("编码正常").font(Font.system(size: 14)).foregroundColor(Color.init("ColorGreen"))
|
Text("推流正常").font(Font.system(size: 14)).foregroundColor(Color.init("ColorGreen"))
|
Text("内存正常").font(Font.system(size: 14)).foregroundColor(Color.init("ColorGreen"))
|
}
|
}
|
}
|
}
|
|
struct LiveActivity_Previews: PreviewProvider{
|
static var previews: some View {
|
Bottombtns();
|
}
|
|
}
|