private void BindData()
        {
            SearchPagesResultJson searchPagesResultJson = WXStoreHelper.SearchPagesByPageId(new long[1]
            {
                this.page_id
            });

            if (searchPagesResultJson.errcode.Equals(ReturnCode.请求成功) && searchPagesResultJson.data.pages.Count > 0)
            {
                SearchPages_Data_Page searchPages_Data_Page = searchPagesResultJson.data.pages[0];
                this.laTitle.Text          = searchPages_Data_Page.title;
                this.laSubtitle.Text       = searchPages_Data_Page.description;
                this.imgThumbnail.ImageUrl = searchPages_Data_Page.icon_url;
            }
        }
Beispiel #2
0
        private void BindPage()
        {
            SearchPagesResultJson searchPagesResultJson = WXStoreHelper.SearchPagesByPageId(new long[1]
            {
                this.page_id
            });

            if (searchPagesResultJson.errcode.Equals(ReturnCode.请求成功) && searchPagesResultJson.data.pages.Count > 0)
            {
                SearchPages_Data_Page searchPages_Data_Page = searchPagesResultJson.data.pages[0];
                this.txtRemark.Text   = searchPages_Data_Page.comment;
                this.txtSubtitle.Text = searchPages_Data_Page.description;
                this.txtTitle.Text    = searchPages_Data_Page.title;
                this.txtURL.Text      = searchPages_Data_Page.page_url;
                this.hficon_url.Value = searchPages_Data_Page.icon_url;
            }
        }