摘要: 一、创建实体模型-About.cs using System; namespace Test.Models { /// <summary> /// 关于页 /// </summary> public class About { /// <summary> /// App标题 /// </summar 阅读全文
posted @ 2022-09-20 05:47 ꧁执笔小白꧂ 阅读(304) 评论(0) 推荐(0)
摘要: 底部导航栏-TabBar,示例: <?xml version="1.0" encoding="UTF-8" ?> <Shell x:Class="Test.AppShell" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x= 阅读全文
posted @ 2022-09-20 01:56 ꧁执笔小白꧂ 阅读(501) 评论(0) 推荐(0)
摘要: 示例: Shell.Current.GoToAsync(".."); // 导航到前一页 Shell.Current.GoToAsync(nameof(NotePage)); // 导航到Note页 Shell.Current.GoToAsync($"{nameof(NotePage)}?{name 阅读全文
posted @ 2022-09-20 01:50 ꧁执笔小白꧂ 阅读(1082) 评论(0) 推荐(0)
摘要: 示例: await Launcher.Default.OpenAsync("https://www.baidu.com/"); // 跳转到百度网页 阅读全文
posted @ 2022-09-20 01:44 ꧁执笔小白꧂ 阅读(243) 评论(0) 推荐(0)