diff --git a/WinUINotes/MainWindow.xaml b/WinUINotes/MainWindow.xaml index cdf7acd..c2e6afc 100644 --- a/WinUINotes/MainWindow.xaml +++ b/WinUINotes/MainWindow.xaml @@ -22,6 +22,7 @@ + diff --git a/WinUINotes/MainWindow.xaml.cs b/WinUINotes/MainWindow.xaml.cs index f52d973..6449aa3 100644 --- a/WinUINotes/MainWindow.xaml.cs +++ b/WinUINotes/MainWindow.xaml.cs @@ -52,6 +52,9 @@ namespace WinUINotes case "FileUploadPage": ContentFrame.Navigate(typeof(FileUploadPage)); break; + case "PhoneAppBinderPage": + ContentFrame.Navigate(typeof(PhoneAppBinderPage)); + break; // Ӹ case } } diff --git a/WinUINotes/Model/PhoneAppItem.cs b/WinUINotes/Model/PhoneAppItem.cs new file mode 100644 index 0000000..480477c --- /dev/null +++ b/WinUINotes/Model/PhoneAppItem.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace WinUINotes.Model +{ + public class PhoneAppItem + { + public string AppName { get; set; } + + public List AppUrls { get; set; } + + // 这个属性用于在ListView中显示多个网站 + public string AppUrlsDisplayString + { + get => AppUrls != null && AppUrls.Count > 0 ? string.Join(", ", AppUrls) : "无网站"; + } + } +} diff --git a/WinUINotes/PhoneAppBinderPage.xaml b/WinUINotes/PhoneAppBinderPage.xaml new file mode 100644 index 0000000..a512f28 --- /dev/null +++ b/WinUINotes/PhoneAppBinderPage.xaml @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + +