Exemple #1
0
 async void OnSearch(object sender, string e)
 {
     if (e == "#全部")
     {
         LoadAll();
     }
     else if (!string.IsNullOrEmpty(e))
     {
         _lv.Data = await AtPublish.Query <Keyword>("发布-模糊查询关键字", new { id = $"%{e}%" });
     }
     SelectTab("列表");
 }
Exemple #2
0
 async void LoadAlbum(long p_id)
 {
     _lvAlbum.Data = await AtPublish.Query("文章-已选专辑", new { postid = p_id });
 }
Exemple #3
0
 async void LoadKeyword(long p_id)
 {
     _lvKeyword.Data = await AtPublish.Query("文章-已选关键字", new { postid = p_id });
 }
Exemple #4
0
 async void OnSearch(object sender, string e)
 {
     _lvPost.Data = await AtPublish.Query <Post>("文章-模糊查询", new { input = $"%{e}%" });
 }
Exemple #5
0
 async void LoadAll()
 {
     _lvPost.Data = await AtPublish.Query <Post>("文章-管理列表");
 }
Exemple #6
0
 async void LoadData()
 {
     _lv.Data = await AtPublish.Query("文章-未选关键字", new { postid = _postID });
 }
Exemple #7
0
        async void OnNextPage(PageData e)
        {
            var ls = await AtPublish.Query("select id,Title,Cover,Summary,Url,TempType,AllowCoverClick,AllowComment from pub_post where IsPublish=1 order by Dispidx desc");

            e.LoadPageData(ls);
        }
Exemple #8
0
 async void OnLoadTest(object sender, RoutedEventArgs e)
 {
     _lv.Data = await AtPublish.Query("select id,Title,Cover,Summary,Url,TempType,AllowCoverClick,AllowComment from pub_post where id=@id", new { id = _testID });
 }
Exemple #9
0
 async void LoadAll()
 {
     _lv.Data = await AtPublish.Query <Keyword>("发布-所有关键字");
 }
Exemple #10
0
 async void LoadAll()
 {
     _lv.Data = await AtPublish.Query <Album>("发布-所有专辑");
 }