yangsunyue_wd

Merge branch 'main' of http://192.168.1.42/developOne/harmonyPool

# Conflicts:
#	sight_harmony/features/wdComponent/src/main/resources/base/profile/main_pages.json
Showing 45 changed files with 2770 additions and 592 deletions
@@ -58,6 +58,10 @@ export class HttpUrlUtils { @@ -58,6 +58,10 @@ export class HttpUrlUtils {
58 */ 58 */
59 static readonly APPOINTMENT_LIST_DATA_PATH: string = "/api/live-center-message/zh/c/live/subscribe"; 59 static readonly APPOINTMENT_LIST_DATA_PATH: string = "/api/live-center-message/zh/c/live/subscribe";
60 /** 60 /**
  61 + * 资料编辑 获取用户信息
  62 + */
  63 + static readonly APPOINTMENT_AccountOwner_PATH: string = "/api/rmrb-contact/contact/zh/c/my/detail";
  64 + /**
61 * 个人中心 关注列表详情 65 * 个人中心 关注列表详情
62 */ 66 */
63 static readonly FOLLOW_LIST_DETAIL_DATA_PATH: string = "/api/rmrb-creator-user/c/creatorDirectory/getContactMasterDetaiPage"; 67 static readonly FOLLOW_LIST_DETAIL_DATA_PATH: string = "/api/rmrb-creator-user/c/creatorDirectory/getContactMasterDetaiPage";
@@ -66,6 +70,18 @@ export class HttpUrlUtils { @@ -66,6 +70,18 @@ export class HttpUrlUtils {
66 */ 70 */
67 static readonly FOLLOW_LIST_DATA_PATH: string = "/api/rmrb-creator-user/c/creatorDirectory/getCreatorDirectoryTree"; 71 static readonly FOLLOW_LIST_DATA_PATH: string = "/api/rmrb-creator-user/c/creatorDirectory/getCreatorDirectoryTree";
68 /** 72 /**
  73 + * 个人中心 我的关注列表
  74 + */
  75 + static readonly MINE_FOLLOW_LIST_DATA_PATH: string = "/api/rmrb-interact/interact/zh/c/attention/list";
  76 + /**
  77 + * 个人中心 关注列表状态
  78 + */
  79 + static readonly FOLLOW_LIST_STATUS_DATA_PATH: string = "/api/rmrb-interact/interact/zh/c/batchAttention/status";
  80 + /**
  81 + * 我的收藏
  82 + */
  83 + static readonly APPOINTMENT_MyCollectionList_PATH: string = "/api/rmrb-interact/content/zh/c/interact";
  84 + /**
69 * 早晚报列表 85 * 早晚报列表
70 * 根据页面id获取页面楼层列表 86 * 根据页面id获取页面楼层列表
71 * https://pdapis.pdnews.cn/api/rmrb-bff-display-zh/display/zh/c/pageInfo?pageId=28927 87 * https://pdapis.pdnews.cn/api/rmrb-bff-display-zh/display/zh/c/pageInfo?pageId=28927
@@ -264,6 +280,11 @@ export class HttpUrlUtils { @@ -264,6 +280,11 @@ export class HttpUrlUtils {
264 return url 280 return url
265 } 281 }
266 282
  283 + static getMyCollectionListDataUrl() {
  284 + let url = HttpUrlUtils.HOST_SIT + HttpUrlUtils.APPOINTMENT_MyCollectionList_PATH
  285 + return url
  286 + }
  287 +
267 static getFollowListDetailDataUrl() { 288 static getFollowListDetailDataUrl() {
268 let url = HttpUrlUtils.HOST_SIT + HttpUrlUtils.FOLLOW_LIST_DETAIL_DATA_PATH 289 let url = HttpUrlUtils.HOST_SIT + HttpUrlUtils.FOLLOW_LIST_DETAIL_DATA_PATH
269 return url 290 return url
@@ -274,6 +295,16 @@ export class HttpUrlUtils { @@ -274,6 +295,16 @@ export class HttpUrlUtils {
274 return url 295 return url
275 } 296 }
276 297
  298 + static getMineFollowListDataUrl() {
  299 + let url = HttpUrlUtils.HOST_SIT + HttpUrlUtils.MINE_FOLLOW_LIST_DATA_PATH
  300 + return url
  301 + }
  302 +
  303 + static getFollowListStatusDataUrl() {
  304 + let url = HttpUrlUtils.HOST_SIT + HttpUrlUtils.FOLLOW_LIST_STATUS_DATA_PATH
  305 + return url
  306 + }
  307 +
277 static getYcgCommonHeaders(): HashMap<string, string> { 308 static getYcgCommonHeaders(): HashMap<string, string> {
278 let headers: HashMap<string, string> = new HashMap<string, string>() 309 let headers: HashMap<string, string> = new HashMap<string, string>()
279 310
@@ -40,6 +40,12 @@ export class WDRouterPage { @@ -40,6 +40,12 @@ export class WDRouterPage {
40 static appointmentListPage = new WDRouterPage("wdComponent", "ets/components/page/AppointmentListPage"); 40 static appointmentListPage = new WDRouterPage("wdComponent", "ets/components/page/AppointmentListPage");
41 //我的 关注 41 //我的 关注
42 static followListPage = new WDRouterPage("wdComponent", "ets/components/page/FollowListPage"); 42 static followListPage = new WDRouterPage("wdComponent", "ets/components/page/FollowListPage");
  43 + //资料编辑
  44 + static editUserInfoPage = new WDRouterPage("wdComponent", "ets/components/page/EditUserInfoPage");
  45 + //修改昵称
  46 + static editUserNikeNamePage = new WDRouterPage("wdComponent", "ets/components/page/EditUserNikeNamePage");
  47 + //修改简介
  48 + static editUserIntroductionPage = new WDRouterPage("wdComponent", "ets/components/page/EditUserIntroductionPage");
43 49
44 static loginProtocolPage = new WDRouterPage("wdLogin", "ets/pages/login/LoginProtocolWebview"); 50 static loginProtocolPage = new WDRouterPage("wdLogin", "ets/pages/login/LoginProtocolWebview");
45 51
  1 +import bundleManager from '@ohos.bundle.bundleManager'
  2 +
  3 +export class WDRouterPage {
  4 + private moduleName: string
  5 + private pagePath: string
  6 +
  7 + constructor(moduleName: string, pagePath: string) {
  8 + this.moduleName = moduleName
  9 + this.pagePath = pagePath
  10 + }
  11 +
  12 + url() {
  13 + let bundleInfo = bundleManager.getBundleInfoForSelfSync(bundleManager.BundleFlag.GET_BUNDLE_INFO_DEFAULT)
  14 + return `@bundle:${bundleInfo.name}/${this.moduleName}/${this.pagePath}`
  15 + }
  16 +
  17 + // 主页
  18 + static index = new WDRouterPage("phone", "ets/pages/Index");
  19 + // 关于页面
  20 + // static aboutPage = new WDRouterPage("entry", "ets/pages/about/AboutPage");
  21 + // web默认页面
  22 + static defaultWebPage = new WDRouterPage("phone", "ets/pages/web/DefaultWebPage");
  23 + // 电子报页面
  24 + static eNewspaper = new WDRouterPage("phone", "ets/pages/ENewspaper")
  25 + // 早晚报页面
  26 + static morningEveningPaperPage = new WDRouterPage("phone", "ets/pages/MorningEveningPaperPage")
  27 + // 图文详情页
  28 + static imageTextDetailPage = new WDRouterPage("phone", "ets/pages/ImageAndTextDetailPage");
  29 + // 短视频详情页
  30 + static detailPlayShortVideoPage = new WDRouterPage("wdDetailPlayShortVideo", "ets/pages/DetailPlayShortVideoPage");
  31 + // 点播详情页
  32 + static detailPlayVodPage = new WDRouterPage("wdDetailPlayVod", "ets/pages/DetailPlayVodPage");
  33 + // 直播详情页
  34 + static detailPlayLivePage = new WDRouterPage("wdDetailPlayLive", "ets/pages/DetailPlayLivePage");
  35 +
  36 + static loginPage = new WDRouterPage("wdLogin", "ets/pages/login/LoginPage");
  37 +
  38 + static forgetPasswordPage = new WDRouterPage("wdLogin", "ets/pages/login/ForgetPasswordPage");
  39 + //我的 预约
  40 + static appointmentListPage = new WDRouterPage("wdComponent", "ets/components/page/AppointmentListPage");
  41 + //我的 关注
  42 + static followListPage = new WDRouterPage("wdComponent", "ets/components/page/FollowListPage");
  43 + //资料编辑
  44 + static editUserInfoPage = new WDRouterPage("wdComponent", "ets/components/page/EditUserInfoPage");
  45 + //修改昵称
  46 + static editUserNikeNamePage = new WDRouterPage("wdComponent", "ets/components/page/EditUserNikeNamePage");
  47 + //修改简介
  48 + static editUserIntroductionPage = new WDRouterPage("wdComponent", "ets/components/page/EditUserIntroductionPage");
  49 +
  50 + static loginProtocolPage = new WDRouterPage("wdLogin", "ets/pages/login/LoginProtocolWebview");
  51 +}
  1 +import bundleManager from '@ohos.bundle.bundleManager'
  2 +
  3 +export class WDRouterPage {
  4 + private moduleName: string
  5 + private pagePath: string
  6 +
  7 + constructor(moduleName: string, pagePath: string) {
  8 + this.moduleName = moduleName
  9 + this.pagePath = pagePath
  10 + }
  11 +
  12 + url() {
  13 + let bundleInfo = bundleManager.getBundleInfoForSelfSync(bundleManager.BundleFlag.GET_BUNDLE_INFO_DEFAULT)
  14 + return `@bundle:${bundleInfo.name}/${this.moduleName}/${this.pagePath}`
  15 + }
  16 +
  17 + // 主页
  18 + static index = new WDRouterPage("phone", "ets/pages/Index");
  19 + // 关于页面
  20 + // static aboutPage = new WDRouterPage("entry", "ets/pages/about/AboutPage");
  21 + // web默认页面
  22 + static defaultWebPage = new WDRouterPage("phone", "ets/pages/web/DefaultWebPage");
  23 + // 电子报页面
  24 + static eNewspaper = new WDRouterPage("phone", "ets/pages/ENewspaper")
  25 + // 早晚报页面
  26 + static morningEveningPaperPage = new WDRouterPage("phone", "ets/pages/MorningEveningPaperPage")
  27 + // 图文详情页
  28 + static imageTextDetailPage = new WDRouterPage("phone", "ets/pages/ImageAndTextDetailPage");
  29 + // 短视频详情页
  30 + static detailPlayShortVideoPage = new WDRouterPage("wdDetailPlayShortVideo", "ets/pages/DetailPlayShortVideoPage");
  31 + // 点播详情页
  32 + static detailPlayVodPage = new WDRouterPage("wdDetailPlayVod", "ets/pages/DetailPlayVodPage");
  33 + // 直播详情页
  34 + static detailPlayLivePage = new WDRouterPage("wdDetailPlayLive", "ets/pages/DetailPlayLivePage");
  35 +
  36 + static loginPage = new WDRouterPage("wdLogin", "ets/pages/login/LoginPage");
  37 +
  38 + static forgetPasswordPage = new WDRouterPage("wdLogin", "ets/pages/login/ForgetPasswordPage");
  39 + //我的 预约
  40 + static appointmentListPage = new WDRouterPage("wdComponent", "ets/components/page/AppointmentListPage");
  41 + //我的 关注
  42 + static followListPage = new WDRouterPage("wdComponent", "ets/components/page/FollowListPage");
  43 +}
  1 +import bundleManager from '@ohos.bundle.bundleManager'
  2 +
  3 +export class WDRouterPage {
  4 + private moduleName: string
  5 + private pagePath: string
  6 +
  7 + constructor(moduleName: string, pagePath: string) {
  8 + this.moduleName = moduleName
  9 + this.pagePath = pagePath
  10 + }
  11 +
  12 + url() {
  13 + let bundleInfo = bundleManager.getBundleInfoForSelfSync(bundleManager.BundleFlag.GET_BUNDLE_INFO_DEFAULT)
  14 + return `@bundle:${bundleInfo.name}/${this.moduleName}/${this.pagePath}`
  15 + }
  16 +
  17 + // 主页
  18 + static index = new WDRouterPage("phone", "ets/pages/Index");
  19 + // 关于页面
  20 + // static aboutPage = new WDRouterPage("entry", "ets/pages/about/AboutPage");
  21 + // web默认页面
  22 + static defaultWebPage = new WDRouterPage("phone", "ets/pages/web/DefaultWebPage");
  23 + // 电子报页面
  24 + static eNewspaper = new WDRouterPage("phone", "ets/pages/ENewspaper")
  25 + // 早晚报页面
  26 + static morningEveningPaperPage = new WDRouterPage("phone", "ets/pages/MorningEveningPaperPage")
  27 + // 图文详情页
  28 + static imageTextDetailPage = new WDRouterPage("phone", "ets/pages/ImageAndTextDetailPage");
  29 + // 短视频详情页
  30 + static detailPlayShortVideoPage = new WDRouterPage("wdDetailPlayShortVideo", "ets/pages/DetailPlayShortVideoPage");
  31 + // 点播详情页
  32 + static detailPlayVodPage = new WDRouterPage("wdDetailPlayVod", "ets/pages/DetailPlayVodPage");
  33 + // 直播详情页
  34 + static detailPlayLivePage = new WDRouterPage("wdDetailPlayLive", "ets/pages/DetailPlayLivePage");
  35 +
  36 + static loginPage = new WDRouterPage("wdLogin", "ets/pages/login/LoginPage");
  37 +
  38 + static forgetPasswordPage = new WDRouterPage("wdLogin", "ets/pages/login/ForgetPasswordPage");
  39 + //我的 预约
  40 + static appointmentListPage = new WDRouterPage("wdComponent", "ets/components/page/AppointmentListPage");
  41 + //我的 关注
  42 + static followListPage = new WDRouterPage("wdComponent", "ets/components/page/FollowListPage");
  43 + //资料编辑
  44 + static editUserInfoPage = new WDRouterPage("wdComponent", "ets/components/page/EditUserInfoPage");
  45 + //修改昵称
  46 + static editUserNikeNamePage = new WDRouterPage("wdComponent", "ets/components/page/EditUserNikeNamePage");
  47 + //修改简介
  48 + static editUserIntroductionPage = new WDRouterPage("wdComponent", "ets/components/page/EditUserIntroductionPage");
  49 +}
  1 +import bundleManager from '@ohos.bundle.bundleManager'
  2 +
  3 +export class WDRouterPage {
  4 + private moduleName: string
  5 + private pagePath: string
  6 +
  7 + constructor(moduleName: string, pagePath: string) {
  8 + this.moduleName = moduleName
  9 + this.pagePath = pagePath
  10 + }
  11 +
  12 + url() {
  13 + let bundleInfo = bundleManager.getBundleInfoForSelfSync(bundleManager.BundleFlag.GET_BUNDLE_INFO_DEFAULT)
  14 + return `@bundle:${bundleInfo.name}/${this.moduleName}/${this.pagePath}`
  15 + }
  16 +
  17 + // 主页
  18 + static index = new WDRouterPage("phone", "ets/pages/Index");
  19 + // 关于页面
  20 + // static aboutPage = new WDRouterPage("entry", "ets/pages/about/AboutPage");
  21 + // web默认页面
  22 + static defaultWebPage = new WDRouterPage("phone", "ets/pages/web/DefaultWebPage");
  23 + // 电子报页面
  24 + static eNewspaper = new WDRouterPage("phone", "ets/pages/ENewspaper")
  25 + // 早晚报页面
  26 + static morningEveningPaperPage = new WDRouterPage("phone", "ets/pages/MorningEveningPaperPage")
  27 + // 图文详情页
  28 + static imageTextDetailPage = new WDRouterPage("phone", "ets/pages/ImageAndTextDetailPage");
  29 + // 短视频详情页
  30 + static detailPlayShortVideoPage = new WDRouterPage("wdDetailPlayShortVideo", "ets/pages/DetailPlayShortVideoPage");
  31 + // 点播详情页
  32 + static detailPlayVodPage = new WDRouterPage("wdDetailPlayVod", "ets/pages/DetailPlayVodPage");
  33 + // 直播详情页
  34 + static detailPlayLivePage = new WDRouterPage("wdDetailPlayLive", "ets/pages/DetailPlayLivePage");
  35 +
  36 + static loginPage = new WDRouterPage("wdLogin", "ets/pages/login/LoginPage");
  37 +
  38 + static forgetPasswordPage = new WDRouterPage("wdLogin", "ets/pages/login/ForgetPasswordPage");
  39 + //我的 预约
  40 + static appointmentListPage = new WDRouterPage("wdComponent", "ets/components/page/AppointmentListPage");
  41 + //我的 关注
  42 + static followListPage = new WDRouterPage("wdComponent", "ets/components/page/FollowListPage");
  43 +
  44 + static loginProtocolPage = new WDRouterPage("wdLogin", "ets/pages/login/LoginProtocolWebview");
  45 +}
@@ -2,6 +2,7 @@ export interface Group { @@ -2,6 +2,7 @@ export interface Group {
2 blockDesc: string; 2 blockDesc: string;
3 groupStrategy: number; 3 groupStrategy: number;
4 id: number; 4 id: number;
  5 + // itemNum?: any;
5 showType: number; 6 showType: number;
6 sortValue: number; 7 sortValue: number;
7 } 8 }
@@ -8,6 +8,9 @@ export interface PageInfoBean { @@ -8,6 +8,9 @@ export interface PageInfoBean {
8 baselineColor: string; 8 baselineColor: string;
9 baselineCopywriting: string; 9 baselineCopywriting: string;
10 baselineShow: number; 10 baselineShow: number;
  11 + // channelInfo?: any;
  12 + // cornersAdv?: any;
  13 + // cornersAdv2: any[];
11 description: string; 14 description: string;
12 groups: Group[]; 15 groups: Group[];
13 hasAdInfo: number; 16 hasAdInfo: number;
@@ -15,8 +18,10 @@ export interface PageInfoBean { @@ -15,8 +18,10 @@ export interface PageInfoBean {
15 id: number; 18 id: number;
16 mainLogoImgUrl: string; 19 mainLogoImgUrl: string;
17 name: string; 20 name: string;
  21 + // pageTopParams?: any;
18 pageTopType: number; 22 pageTopType: number;
19 pageType: number; 23 pageType: number;
  24 + // popUps: any[];
20 pushupLogoImgUrl: string; 25 pushupLogoImgUrl: string;
21 shareCoverUrl: string; 26 shareCoverUrl: string;
22 shareIconUrl: string; 27 shareIconUrl: string;
@@ -27,7 +32,4 @@ export interface PageInfoBean { @@ -27,7 +32,4 @@ export interface PageInfoBean {
27 templateType: number; 32 templateType: number;
28 titleColor: string; 33 titleColor: string;
29 topicInfo: TopicInfo; 34 topicInfo: TopicInfo;
30 -}  
31 -  
32 -  
33 - 35 +}
  1 +import { FrontLinkObject } from '../component/FrontLinkObject';
  2 +
1 export interface TopicInfo { 3 export interface TopicInfo {
2 axisColor: string; 4 axisColor: string;
  5 + // channelId?: any;
3 commentFlag: number; 6 commentFlag: number;
4 commentPreviewFlag: number; 7 commentPreviewFlag: number;
5 commentShowFlag: number; 8 commentShowFlag: number;
  9 + // frontFlag?: any;
  10 + frontLinkObject?: FrontLinkObject;
6 posterFlag: number; 11 posterFlag: number;
7 posterUrl: string; 12 posterUrl: string;
  13 + // relId?: any;
  14 + // relObjectId?: any;
  15 + // relType?: any;
8 shareCoverUrl: string; 16 shareCoverUrl: string;
9 shareOpen: number; 17 shareOpen: number;
10 sharePosterCoverUrl: string; 18 sharePosterCoverUrl: string;
  19 + // sharePosterOpen?: any;
11 shareSummary: string; 20 shareSummary: string;
12 shareTitle: string; 21 shareTitle: string;
13 shareUrl: string; 22 shareUrl: string;
@@ -18,7 +27,9 @@ export interface TopicInfo { @@ -18,7 +27,9 @@ export interface TopicInfo {
18 topicDate: string; 27 topicDate: string;
19 topicId: string; 28 topicId: string;
20 topicPattern: number; 29 topicPattern: number;
  30 + // topicTemplate?: any;
21 topicType: number; 31 topicType: number;
22 transluceImgUrl: string; 32 transluceImgUrl: string;
23 visitorComment: number; 33 visitorComment: number;
  34 + // voteInfo?: any;
24 } 35 }
1 import { NewspaperListBean, NewspaperListItemBean } from 'wdBean'; 1 import { NewspaperListBean, NewspaperListItemBean } from 'wdBean';
2 import { NewspaperViewModel } from '../viewmodel/NewspaperViewModel'; 2 import { NewspaperViewModel } from '../viewmodel/NewspaperViewModel';
3 import router from '@ohos.router'; 3 import router from '@ohos.router';
4 -import { Logger } from 'wdKit';  
5 import { ENewspaperItemComponent } from './ENewspaperItemComponent'; 4 import { ENewspaperItemComponent } from './ENewspaperItemComponent';
6 import { ENewspaperListDialog } from '../dialog/ENewspaperListDialog'; 5 import { ENewspaperListDialog } from '../dialog/ENewspaperListDialog';
7 import display from '@ohos.display'; 6 import display from '@ohos.display';
8 import { ENewspaperCalendarDialog } from '../dialog/ENewspaperCalendarDialog'; 7 import { ENewspaperCalendarDialog } from '../dialog/ENewspaperCalendarDialog';
9 import font from '@ohos.font'; 8 import font from '@ohos.font';
  9 +import { ENewspaperPageDialog } from '../dialog/ENewspaperPageDialog';
  10 +import { RMCalendarBean } from './calendar/RMCalendarBean';
10 11
11 @Component 12 @Component
12 export struct ENewspaperPageComponent { 13 export struct ENewspaperPageComponent {
  14 + private displayTool = display.getDefaultDisplaySync()
  15 + private screenWidth: number = 0
  16 + private picWidth: number = 0
  17 + @State picHeight: number = 0
13 @State newspaperListBean: NewspaperListBean = {} as NewspaperListBean 18 @State newspaperListBean: NewspaperListBean = {} as NewspaperListBean
14 @State currentPageNum: string = '01' 19 @State currentPageNum: string = '01'
15 - @State pageNumPopup: boolean = false  
16 - @State calendarPopup: boolean = false  
17 - @State calendarDateTitle: string = ''  
18 - @State picHeight: number = 0 20 + @State pageDialogShow: boolean = false
  21 + @State calendarDialogShow: boolean = false
  22 + @State calendarDate: string = ''
19 private swiperController: SwiperController = new SwiperController() 23 private swiperController: SwiperController = new SwiperController()
  24 + @State swiperIndex: number = 0;
  25 + //watch监听报纸页码回调
  26 + // onCurrentPageNumUpdated(): void {
  27 + // console.log("ENewspaperPageComponent-onCurrentPageNumUpdated", "date:", this.currentPageNum)
  28 + // let _swiperIndex = Number.parseInt(this.currentPageNum)
  29 + // console.log("ENewspaperPageComponent-onCurrentPageNumUpdated", "_swiperIndex:", _swiperIndex)
  30 + // this.swiperIndex = _swiperIndex > 0 ? _swiperIndex - 1 : _swiperIndex
  31 + // }
  32 +
  33 + //日历选择弹框
20 calendarDialogController: CustomDialogController = new CustomDialogController({ 34 calendarDialogController: CustomDialogController = new CustomDialogController({
21 - builder: ENewspaperCalendarDialog(), 35 + builder: ENewspaperCalendarDialog({ onDateChange: (date: RMCalendarBean) => {
  36 + console.log("onDateChange-日历选择弹框", "date:", JSON.stringify(date))
  37 + if (date.fullYear && date.month && date.date) {
  38 + this.calendarDate = `${date.fullYear}-${date.month > 9 ? date.month + 1 : '0' + (date.month + 1)}-${date.date > 9 ? date.date : '0' + date.date}`
  39 + this.currentPageNum = '01'
  40 + this.getNewspaperTime()
  41 + this.getNewspaperList()
  42 + }
  43 + } }),
22 alignment: DialogAlignment.Top, 44 alignment: DialogAlignment.Top,
23 offset: { dx: 0, dy: 80 }, 45 offset: { dx: 0, dy: 80 },
24 customStyle: true, 46 customStyle: true,
25 - // cornerRadius: 4  
26 }) 47 })
27 - listDialogController: CustomDialogController = new CustomDialogController({  
28 - builder: ENewspaperListDialog({ newspaperListBean: this.newspaperListBean, 48 + //图片版选择弹框
  49 + pageDialogController: CustomDialogController = new CustomDialogController({
  50 + builder: ENewspaperPageDialog({
29 currentPageNum: this.currentPageNum, 51 currentPageNum: this.currentPageNum,
  52 + dialogType: 0,
  53 + newspaperListBean: this.newspaperListBean,
  54 + onDateChange: (date: string, dialogType: number) => {
  55 + if (dialogType == 0) {
  56 + let _swiperIndex = Number.parseInt(this.currentPageNum)
  57 + console.log("ENewspaperPageComponent-onCurrentPageNumUpdated", "_swiperIndex:", _swiperIndex)
  58 + this.swiperIndex = _swiperIndex > 0 ? _swiperIndex - 1 : _swiperIndex
  59 + }
  60 + }
30 }), 61 }),
31 - alignment: DialogAlignment.Bottom 62 + alignment: DialogAlignment.BottomStart,
  63 + offset: { dx: 0, dy: -90 },
  64 + customStyle: true,
  65 + })
  66 + //文字报纸弹框
  67 + listDialogController: CustomDialogController = new CustomDialogController({
  68 + builder: ENewspaperListDialog({
  69 + currentPageNum: this.currentPageNum,
  70 + newspaperListBean: this.newspaperListBean }),
  71 + alignment: DialogAlignment.Bottom,
  72 + offset: { dx: 0, dy: 0 }
32 }) 73 })
33 -  
34 - @Builder  
35 - popupBuilder() {  
36 - Row() {  
37 - GridRow({ columns: 5 }) {  
38 - ForEach(this.newspaperListBean.list, (item: NewspaperListItemBean, index) => {  
39 - GridCol() {  
40 - Row() {  
41 - Text(item.pageNum)  
42 - .fontSize($r('app.float.normal_text_size'))  
43 - .fontColor(this.currentPageNum == item.pageNum ? Color.White : $r('app.color.color_222222'))  
44 - }  
45 - .alignItems(VerticalAlign.Center)  
46 - .justifyContent(FlexAlign.Center)  
47 - .width(30)  
48 - .height(30)  
49 - .backgroundColor(this.currentPageNum != item.pageNum ? Color.White : $r('app.color.color_ED2800'))  
50 - .onClick((event: ClickEvent) => {  
51 - this.pageNumPopup = !this.pageNumPopup  
52 - })  
53 - }  
54 - })  
55 - }  
56 - }  
57 - .padding({ top: 20, bottom: 20 })  
58 - .margin({ left: 10 })  
59 - .width(260)  
60 - }  
61 74
62 build() { 75 build() {
63 RelativeContainer() { 76 RelativeContainer() {
@@ -69,15 +82,15 @@ export struct ENewspaperPageComponent { @@ -69,15 +82,15 @@ export struct ENewspaperPageComponent {
69 center: { anchor: "__container__", align: VerticalAlign.Center } }) 82 center: { anchor: "__container__", align: VerticalAlign.Center } })
70 .id('e_newspaper_back') 83 .id('e_newspaper_back')
71 .onClick((event: ClickEvent) => { 84 .onClick((event: ClickEvent) => {
72 - Logger.info("sfsfsd", "" + vp2px(10))  
73 router.back() 85 router.back()
74 }) 86 })
75 87
76 Row() { 88 Row() {
77 - Text(this.calendarDateTitle) 89 + Text(this.calendarDate)
78 .fontSize($r('app.float.font_size_20')) 90 .fontSize($r('app.float.font_size_20'))
79 .fontColor($r('app.color.white')) 91 .fontColor($r('app.color.white'))
80 .fontFamily('BebasNeue_Regular') 92 .fontFamily('BebasNeue_Regular')
  93 + .fontWeight(FontWeight.Bold)
81 94
82 Image($r('app.media.icon_triangle')) 95 Image($r('app.media.icon_triangle'))
83 .width($r('app.float.border_radius_6')) 96 .width($r('app.float.border_radius_6'))
@@ -89,8 +102,8 @@ export struct ENewspaperPageComponent { @@ -89,8 +102,8 @@ export struct ENewspaperPageComponent {
89 center: { anchor: "__container__", align: VerticalAlign.Center } }) 102 center: { anchor: "__container__", align: VerticalAlign.Center } })
90 .id('e_newspaper_date') 103 .id('e_newspaper_date')
91 .onClick(() => { 104 .onClick(() => {
92 - this.calendarPopup = !this.calendarPopup  
93 - if (this.calendarPopup) { 105 + this.calendarDialogShow = !this.calendarDialogShow
  106 + if (this.calendarDialogShow) {
94 this.calendarDialogController.open() 107 this.calendarDialogController.open()
95 } else { 108 } else {
96 this.calendarDialogController.close() 109 this.calendarDialogController.close()
@@ -117,6 +130,7 @@ export struct ENewspaperPageComponent { @@ -117,6 +130,7 @@ export struct ENewspaperPageComponent {
117 ENewspaperItemComponent({ newspaperListItemBean: item }) 130 ENewspaperItemComponent({ newspaperListItemBean: item })
118 }) 131 })
119 } 132 }
  133 + .index(this.swiperIndex)
120 .width('100%') 134 .width('100%')
121 .height(px2vp(this.picHeight) + 32) 135 .height(px2vp(this.picHeight) + 32)
122 .vertical(true) 136 .vertical(true)
@@ -163,6 +177,7 @@ export struct ENewspaperPageComponent { @@ -163,6 +177,7 @@ export struct ENewspaperPageComponent {
163 Text(this.currentPageNum) 177 Text(this.currentPageNum)
164 .fontSize($r('app.float.font_size_36')) 178 .fontSize($r('app.float.font_size_36'))
165 .fontColor($r('app.color.white')) 179 .fontColor($r('app.color.white'))
  180 + .fontFamily('BebasNeue_Regular')
166 Text('版') 181 Text('版')
167 .fontSize($r('app.float.font_size_16')) 182 .fontSize($r('app.float.font_size_16'))
168 .fontColor($r('app.color.white')) 183 .fontColor($r('app.color.white'))
@@ -179,14 +194,20 @@ export struct ENewspaperPageComponent { @@ -179,14 +194,20 @@ export struct ENewspaperPageComponent {
179 left: { anchor: '__container__', align: HorizontalAlign.Start } }) 194 left: { anchor: '__container__', align: HorizontalAlign.Start } })
180 .id('e_newspaper_page_num') 195 .id('e_newspaper_page_num')
181 .onClick((event: ClickEvent) => { 196 .onClick((event: ClickEvent) => {
182 - this.pageNumPopup = !this.pageNumPopup  
183 - })  
184 - .bindPopup(this.pageNumPopup, {  
185 - builder: this.popupBuilder,  
186 - placement: Placement.Top,  
187 - popupColor: Color.White 197 + this.pageDialogShow = !this.pageDialogShow
  198 + if (this.pageDialogShow) {
  199 + this.pageDialogController.open()
  200 + } else {
  201 + this.pageDialogController.close()
  202 + }
188 }) 203 })
189 204
  205 + // .bindPopup(this.pageNumPopup, {
  206 + // builder: this.popupBuilder,
  207 + // placement: Placement.Top,
  208 + // popupColor: Color.White
  209 + // })
  210 +
190 Row() { 211 Row() {
191 Image($r('app.media.icon_read_paper')) 212 Image($r('app.media.icon_read_paper'))
192 .width($r('app.float.vp_20')) 213 .width($r('app.float.vp_20'))
@@ -212,22 +233,29 @@ export struct ENewspaperPageComponent { @@ -212,22 +233,29 @@ export struct ENewspaperPageComponent {
212 } 233 }
213 234
214 async aboutToAppear() { 235 async aboutToAppear() {
  236 + //获取宽高尺寸
  237 + this.screenWidth = this.displayTool.width
  238 + this.picWidth = this.screenWidth - vp2px(52)
  239 + this.picHeight = this.picWidth * 566 / 378
215 //注册字体 240 //注册字体
216 font.registerFont({ 241 font.registerFont({
217 familyName: 'BebasNeue_Regular', 242 familyName: 'BebasNeue_Regular',
218 - // familySrc: '/font/roboto_medium_numbers.ttf' // font文件夹与pages目录同级  
219 familySrc: $rawfile('font/BebasNeue_Regular.otf') 243 familySrc: $rawfile('font/BebasNeue_Regular.otf')
220 }) 244 })
221 - let newspaperTimes = await NewspaperViewModel.getNewspaperTime() 245 + this.getNewspaperTime()
  246 + this.getNewspaperList()
  247 + }
  248 +
  249 + private async getNewspaperTime() {
  250 + let newspaperTimes = await NewspaperViewModel.getNewspaperTime(this.calendarDate)
222 if (newspaperTimes && newspaperTimes.length > 0) { 251 if (newspaperTimes && newspaperTimes.length > 0) {
223 - this.calendarDateTitle = newspaperTimes[0].date 252 + this.calendarDate = newspaperTimes[0].date
224 } 253 }
  254 + }
  255 +
  256 + private async getNewspaperList() {
225 try { 257 try {
226 - let displayTool = display.getDefaultDisplaySync()  
227 - let screenWidth = displayTool.width  
228 - let picWidth = screenWidth - vp2px(52)  
229 - this.picHeight = picWidth * 566 / 378  
230 - let listBean = await NewspaperViewModel.getNewspaperList(this.calendarDateTitle, picWidth + 'x' + this.picHeight) 258 + let listBean = await NewspaperViewModel.getNewspaperList(this.calendarDate, this.picWidth + 'x' + this.picHeight)
231 this.newspaperListBean = listBean; 259 this.newspaperListBean = listBean;
232 } catch (exception) { 260 } catch (exception) {
233 261
1 -import { MorningEveningPaperDTO, PageInfoBean } from 'wdBean'  
2 -import { Logger } from 'wdKit/Index';  
3 -import { DateTimeUtils } from 'wdKit/src/main/ets/utils/DateTimeUtils'; 1 +// import { FrontLinkObject, MorningEveningPaperDTO, PageInfoBean } from 'wdBean';
  2 +import { PageInfoBean } from 'wdBean';
  3 +import { DateTimeUtils, Logger } from 'wdKit/Index';
4 import { MorningEveningViewModel } from '../../viewmodel/MorningEveningViewModel'; 4 import { MorningEveningViewModel } from '../../viewmodel/MorningEveningViewModel';
5 import { AudioBarView } from './AudioBarView'; 5 import { AudioBarView } from './AudioBarView';
6 import { PaperTitleComponent } from './PaperTitleComponent'; 6 import { PaperTitleComponent } from './PaperTitleComponent';
@@ -15,37 +15,43 @@ const PATTERN_DATE_CN_RN: string = 'yyyy年\nMM月dd日'; // 日期中包含包 @@ -15,37 +15,43 @@ const PATTERN_DATE_CN_RN: string = 'yyyy年\nMM月dd日'; // 日期中包含包
15 @Component 15 @Component
16 export struct MorningEveningPaperComponent { 16 export struct MorningEveningPaperComponent {
17 @State pageInfoBean: PageInfoBean = {} as PageInfoBean 17 @State pageInfoBean: PageInfoBean = {} as PageInfoBean
18 -  
19 - @State morningEveningPaperDTO: MorningEveningPaperDTO = {  
20 - name: "新闻夜读",  
21 - topicInfo: {  
22 - frontLinkObject: {  
23 - coverSize: "599*798",  
24 - coverUrl: "https://cdnjdphoto.aikan.pdnews.cn/zhbj-20240116/image/content/9a91a96077174087852cf93c5e26acce.jpeg",  
25 - newsId: "30002086032",  
26 - newsRelId: 500000256225,  
27 - summary: "欧尔班多次明确反对欧盟此举。2023年底,匈牙利否决了欧盟对乌克兰的500亿欧元援助计划,认为欧盟不应向乌克兰提供更多资金,而应尽快结束俄乌冲突。因此,欧盟领导人在去年12月欧盟峰会上未能就该计划达成一致。欧尔班多次明确反对欧盟此举。2023年底,匈牙利否决了欧盟对乌克兰的500亿欧元援助计划,认为欧盟不应向乌克兰提供更多资金,而应尽快结束俄乌冲突。因此,欧盟领导人在去年12月欧盟峰会上未能就该计",  
28 - title: "匈牙利总理欧尔班妥协,阻碍欧盟向乌克兰援助的最后一个障碍被解"  
29 - },  
30 - title: "新闻夜读",  
31 - topicDate: "2024-01-16",  
32 - topicId: "10000002068",  
33 - }  
34 - } as MorningEveningPaperDTO 18 + // @State morningEveningPaperDTO: MorningEveningPaperDTO = {
  19 + // name: "新闻夜读",
  20 + // topicInfo: {
  21 + // frontLinkObject: {
  22 + // coverSize: "599*798",
  23 + // coverUrl: "https://cdnjdphoto.aikan.pdnews.cn/zhbj-20240116/image/content/9a91a96077174087852cf93c5e26acce.jpeg",
  24 + // newsId: "30002086032",
  25 + // newsRelId: 500000256225,
  26 + // summary: "欧尔班多次明确反对欧盟此举。2023年底,匈牙利否决了欧盟对乌克兰的500亿欧元援助计划,认为欧盟不应向乌克兰提供更多资金,而应尽快结束俄乌冲突。因此,欧盟领导人在去年12月欧盟峰会上未能就该计划达成一致。欧尔班多次明确反对欧盟此举。2023年底,匈牙利否决了欧盟对乌克兰的500亿欧元援助计划,认为欧盟不应向乌克兰提供更多资金,而应尽快结束俄乌冲突。因此,欧盟领导人在去年12月欧盟峰会上未能就该计",
  27 + // title: "匈牙利总理欧尔班妥协,阻碍欧盟向乌克兰援助的最后一个障碍被解"
  28 + // },
  29 + // title: "新闻夜读",
  30 + // topicDate: "2024-01-16",
  31 + // topicId: "10000002068",
  32 + // }
  33 + // } as MorningEveningPaperDTO
35 @State subTitle: string = '' 34 @State subTitle: string = ''
36 35
37 async aboutToAppear() { 36 async aboutToAppear() {
38 - console.info(TAG, `aboutToAppear`);  
39 - let dateTime = DateTimeUtils.parseDate(this.morningEveningPaperDTO?.topicInfo?.topicDate ?? '', DateTimeUtils.PATTERN_DATE_HYPHEN);  
40 - this.subTitle = DateTimeUtils.formatDate(dateTime, PATTERN_DATE_CN_RN) 37 + console.info(TAG, `aboutToAppear`)
41 38
  39 + const currentTime = new Date().getTime()
  40 + Logger.info(TAG, "currentTime = " + currentTime)
  41 + Logger.info(TAG, `currentTime = ${currentTime}`)
42 try { 42 try {
43 - let listBean = await MorningEveningViewModel.getMorningEveningPageInfo("28927")  
44 - Logger.info(TAG,"listBean title = "+listBean.topicInfo.title)  
45 - Logger.info(TAG,"listBean topicDate = "+listBean.topicInfo.topicDate)  
46 - this.pageInfoBean = listBean;  
47 - let compInfoBean = await MorningEveningViewModel.getMorningEveningCompInfo("28927")  
48 - Logger.info(TAG,"compInfoBean compStyle = "+compInfoBean.compList[0].compStyle) 43 + let pageInfoBean = await MorningEveningViewModel.getMorningEveningPageInfo("28927")
  44 + this.pageInfoBean = pageInfoBean;
  45 + let dateTime = DateTimeUtils.parseDate(this.pageInfoBean?.topicInfo?.topicDate ?? '', DateTimeUtils.PATTERN_DATE_HYPHEN);
  46 + this.subTitle = DateTimeUtils.formatDate(dateTime, PATTERN_DATE_CN_RN)
  47 + Logger.info(TAG, "pageInfoBean topicDate = " + this.pageInfoBean?.topicInfo?.topicDate)
  48 + Logger.info(TAG, "pageInfoBean title = " + this.pageInfoBean?.topicInfo?.title)
  49 +
  50 + Logger.info(TAG, "pageInfoBean dateTime = " + dateTime)
  51 + Logger.info(TAG, "pageInfoBean subTitle = " + this.subTitle)
  52 +
  53 + let compInfoBean = await MorningEveningViewModel.getMorningEveningCompInfo(pageInfoBean?.id, pageInfoBean?.groups[0]?.id, currentTime + "")
  54 + Logger.info(TAG, "compInfoBean compStyle = " + compInfoBean.compList[0].compStyle)
49 } catch (exception) { 55 } catch (exception) {
50 56
51 } 57 }
@@ -54,8 +60,11 @@ export struct MorningEveningPaperComponent { @@ -54,8 +60,11 @@ export struct MorningEveningPaperComponent {
54 build() { 60 build() {
55 Stack({ alignContent: Alignment.Top }) { 61 Stack({ alignContent: Alignment.Top }) {
56 List() { 62 List() {
57 - ListItem() {  
58 - topicInfoView({ frontLinkObject: this.morningEveningPaperDTO?.topicInfo?.frontLinkObject }) 63 + if (this.pageInfoBean?.topicInfo?.frontLinkObject) {
  64 +
  65 + ListItem() {
  66 + topicInfoView({ frontLinkObject: this.pageInfoBean?.topicInfo?.frontLinkObject })
  67 + }
59 } 68 }
60 69
61 ListItem() { 70 ListItem() {
@@ -72,11 +81,12 @@ export struct MorningEveningPaperComponent { @@ -72,11 +81,12 @@ export struct MorningEveningPaperComponent {
72 .margin({ left: 14, right: 14 }) 81 .margin({ left: 14, right: 14 })
73 82
74 PaperTitleComponent({ 83 PaperTitleComponent({
75 - title: this.morningEveningPaperDTO?.topicInfo?.title ?? "", 84 + // title: this.morningEveningPaperDTO?.topicInfo?.title ?? "",
  85 + title: this.pageInfoBean?.topicInfo?.title ?? "",
76 // subtitle: this.morningEveningPaperDTO?.topicInfo?.topicDate ?? '' 86 // subtitle: this.morningEveningPaperDTO?.topicInfo?.topicDate ?? ''
77 subtitle: this.subTitle 87 subtitle: this.subTitle
78 }) 88 })
79 - .margin({ left: 14, right: 14 }) 89 + .margin({ left: 14, right: 14 })
80 } 90 }
81 .width('100%') 91 .width('100%')
82 // .backgroundColor('#000080') 92 // .backgroundColor('#000080')
@@ -6,14 +6,16 @@ import { FrontLinkObject } from 'wdBean'; @@ -6,14 +6,16 @@ import { FrontLinkObject } from 'wdBean';
6 @Entry 6 @Entry
7 @Component 7 @Component
8 export struct topicInfoView { 8 export struct topicInfoView {
9 - @State frontLinkObject: FrontLinkObject = {  
10 - coverSize: "599*798",  
11 - coverUrl: "https://cdnjdphoto.aikan.pdnews.cn/zhbj-20240116/image/content/9a91a96077174087852cf93c5e26acce.jpeg",  
12 - newsId: "30002086032",  
13 - newsRelId: 500000256225,  
14 - summary: "欧尔班多次明确反对欧盟此举。2023年底,匈牙利否决了欧盟对乌克兰的500亿欧元援助计划,认为欧盟不应向乌克兰提供更多资金,而应尽快结束俄乌冲突。因此,欧盟领导人在去年12月欧盟峰会上未能就该计划达成一致。欧尔班多次明确反对欧盟此举。2023年底,匈牙利否决了欧盟对乌克兰的500亿欧元援助计划,认为欧盟不应向乌克兰提供更多资金,而应尽快结束俄乌冲突。因此,欧盟领导人在去年12月欧盟峰会上未能就该计",  
15 - title: "匈牙利总理欧尔班妥协,阻碍欧盟向乌克兰援助的最后一个障碍被解"  
16 - } as FrontLinkObject 9 + // @State frontLinkObject: FrontLinkObject = {
  10 + // coverSize: "599*798",
  11 + // coverUrl: "https://cdnjdphoto.aikan.pdnews.cn/zhbj-20240116/image/content/9a91a96077174087852cf93c5e26acce.jpeg",
  12 + // newsId: "30002086032",
  13 + // newsRelId: 500000256225,
  14 + // summary: "欧尔班多次明确反对欧盟此举。2023年底,匈牙利否决了欧盟对乌克兰的500亿欧元援助计划,认为欧盟不应向乌克兰提供更多资金,而应尽快结束俄乌冲突。因此,欧盟领导人在去年12月欧盟峰会上未能就该计划达成一致。欧尔班多次明确反对欧盟此举。2023年底,匈牙利否决了欧盟对乌克兰的500亿欧元援助计划,认为欧盟不应向乌克兰提供更多资金,而应尽快结束俄乌冲突。因此,欧盟领导人在去年12月欧盟峰会上未能就该计",
  15 + // title: "匈牙利总理欧尔班妥协,阻碍欧盟向乌克兰援助的最后一个障碍被解"
  16 + // } as FrontLinkObject
  17 +
  18 + frontLinkObject: FrontLinkObject = {} as FrontLinkObject
17 19
18 aboutToAppear() { 20 aboutToAppear() {
19 } 21 }
@@ -44,6 +44,10 @@ export default struct MinePagePersonFunctionUI { @@ -44,6 +44,10 @@ export default struct MinePagePersonFunctionUI {
44 WDRouterRule.jumpWithPage(WDRouterPage.followListPage) 44 WDRouterRule.jumpWithPage(WDRouterPage.followListPage)
45 break; 45 break;
46 } 46 }
  47 + case "收藏":{
  48 + WDRouterRule.jumpWithPage(WDRouterPage.editUserInfoPage)
  49 + break;
  50 + }
47 } 51 }
48 }).width('169lpx') 52 }).width('169lpx')
49 .height('117lpx') 53 .height('117lpx')
1 -import { ResourcesUtils } from 'wdKit'  
2 -import { ResponseDTO } from 'wdNetwork'  
3 import MinePageDatasModel from '../../../model/MinePageDatasModel' 1 import MinePageDatasModel from '../../../model/MinePageDatasModel'
4 import { FollowListItem } from '../../../viewmodel/FollowListItem' 2 import { FollowListItem } from '../../../viewmodel/FollowListItem'
5 import { CustomTitleUI } from '../../reusable/CustomTitleUI' 3 import { CustomTitleUI } from '../../reusable/CustomTitleUI'
6 import { FollowSecondTabsComponent } from './FollowSecondTabsComponent' 4 import { FollowSecondTabsComponent } from './FollowSecondTabsComponent'
7 - 5 +const TAG = "FollowFirstTabsComponent"
8 @Component 6 @Component
9 export struct FollowFirstTabsComponent{ 7 export struct FollowFirstTabsComponent{
10 @State currentIndex: number = 0 8 @State currentIndex: number = 0
@@ -14,17 +12,18 @@ export struct FollowFirstTabsComponent{ @@ -14,17 +12,18 @@ export struct FollowFirstTabsComponent{
14 selectedFontColor: string = '#000000' 12 selectedFontColor: string = '#000000'
15 13
16 aboutToAppear(){ 14 aboutToAppear(){
17 - this.data.push(new FollowListItem("我的"))  
18 // let res = JSON.parse(`{"code":"0","data":[{"children":[],"directoryName":"阅读","directoryWeight":99,"id":165,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[{"directoryName":"三二","directoryWeight":2,"id":120,"isShow":1,"level":3,"parentId":118,"rootId":117},{"directoryName":"三级","directoryWeight":1,"id":119,"isShow":1,"level":3,"parentId":118,"rootId":117}],"directoryName":"二级","directoryWeight":1,"id":118,"isShow":1,"level":2,"parentId":117,"rootId":117}],"directoryName":"幽游白书","directoryWeight":33,"id":117,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"推荐","directoryWeight":9,"id":386,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"政务","directoryWeight":9,"id":379,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[],"directoryName":"推荐","directoryWeight":0,"id":335,"isShow":1,"level":2,"parentId":320,"rootId":320}],"directoryName":"推荐","directoryWeight":9,"id":320,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"媒体","directoryWeight":8,"id":390,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"媒体","directoryWeight":8,"id":323,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"自媒体","directoryWeight":7,"id":329,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"名人","directoryWeight":6,"id":389,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[],"directoryName":"测试","directoryWeight":0,"id":338,"isShow":1,"level":2,"parentId":324,"rootId":324}],"directoryName":"名人","directoryWeight":6,"id":324,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[],"directoryName":"2级目录","directoryWeight":0,"id":340,"isShow":1,"level":2,"parentId":312,"rootId":312},{"children":[{"directoryName":"3级测试","directoryWeight":0,"id":368,"isShow":1,"level":3,"parentId":339,"rootId":312}],"directoryName":"二级目录","directoryWeight":0,"id":339,"isShow":1,"level":2,"parentId":312,"rootId":312},{"children":[{"directoryName":"企业","directoryWeight":1,"id":348,"isShow":1,"level":3,"parentId":336,"rootId":312},{"directoryName":"部委","directoryWeight":0,"id":344,"isShow":1,"level":3,"parentId":336,"rootId":312},{"directoryName":"地方","directoryWeight":0,"id":341,"isShow":1,"level":3,"parentId":336,"rootId":312}],"directoryName":"类型","directoryWeight":0,"id":336,"isShow":1,"level":2,"parentId":312,"rootId":312},{"children":[{"directoryName":"贵州省","directoryWeight":0,"id":378,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"西藏自治区","directoryWeight":0,"id":377,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"四川省","directoryWeight":0,"id":376,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"重庆市","directoryWeight":0,"id":375,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"湖南省","directoryWeight":0,"id":374,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"云南省","directoryWeight":0,"id":373,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"广西壮族自治区","directoryWeight":0,"id":372,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"宁夏回族自治区","directoryWeight":0,"id":371,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"湖北省","directoryWeight":0,"id":370,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"青海省","directoryWeight":0,"id":369,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"陕西省","directoryWeight":0,"id":367,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"甘肃省","directoryWeight":0,"id":366,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"吉林省","directoryWeight":0,"id":365,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"广东省","directoryWeight":0,"id":364,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"海南省","directoryWeight":0,"id":363,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"辽宁省","directoryWeight":0,"id":362,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"江苏省","directoryWeight":0,"id":361,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"新疆维吾尔族自治区","directoryWeight":0,"id":360,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"福建省","directoryWeight":0,"id":359,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"山东省","directoryWeight":0,"id":358,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"河南省","directoryWeight":0,"id":357,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"浙江省","directoryWeight":0,"id":356,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"安徽省","directoryWeight":0,"id":355,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"上海市","directoryWeight":0,"id":354,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"河北省","directoryWeight":0,"id":353,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"黑龙江省","directoryWeight":0,"id":352,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"江西省","directoryWeight":0,"id":351,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"内蒙古自治区","directoryWeight":0,"id":350,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"北京市","directoryWeight":0,"id":349,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"山西省","directoryWeight":0,"id":346,"isShow":1,"level":3,"parentId":332,"rootId":312}],"directoryName":"地域","directoryWeight":0,"id":332,"isShow":1,"level":2,"parentId":312,"rootId":312}],"directoryName":"政务","directoryWeight":5,"id":312,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"学校","directoryWeight":4,"id":331,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"机构","directoryWeight":3,"id":330,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[{"directoryName":"新闻联播","directoryWeight":3,"id":79,"isShow":1,"level":3,"parentId":75,"rootId":74},{"directoryName":"第三季","directoryWeight":2,"id":78,"isShow":1,"level":3,"parentId":75,"rootId":74},{"directoryName":"三级","directoryWeight":1,"id":76,"isShow":1,"level":3,"parentId":75,"rootId":74}],"directoryName":"短视频","directoryWeight":1,"id":75,"isShow":1,"level":2,"parentId":74,"rootId":74}],"directoryName":"创作","directoryWeight":3,"id":74,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[],"directoryName":"教学","directoryWeight":2,"id":72,"isShow":1,"level":2,"parentId":64,"rootId":64},{"children":[],"directoryName":"热门","directoryWeight":1,"id":73,"isShow":1,"level":2,"parentId":64,"rootId":64},{"children":[],"directoryName":"赛事","directoryWeight":1,"id":71,"isShow":1,"level":2,"parentId":64,"rootId":64}],"directoryName":"游戏","directoryWeight":2,"id":64,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"新闻","directoryWeight":1,"id":315,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[],"directoryName":"趣闻","directoryWeight":6,"id":70,"isShow":1,"level":2,"parentId":63,"rootId":63},{"children":[],"directoryName":"时政","directoryWeight":5,"id":69,"isShow":1,"level":2,"parentId":63,"rootId":63},{"children":[],"directoryName":"农业","directoryWeight":3,"id":68,"isShow":1,"level":2,"parentId":63,"rootId":63},{"children":[],"directoryName":"娱乐","directoryWeight":3,"id":67,"isShow":1,"level":2,"parentId":63,"rootId":63},{"children":[],"directoryName":"科技","directoryWeight":2,"id":66,"isShow":1,"level":2,"parentId":63,"rootId":63},{"children":[],"directoryName":"国际","directoryWeight":1,"id":65,"isShow":1,"level":2,"parentId":63,"rootId":63}],"directoryName":"新闻","directoryWeight":1,"id":63,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"公安","directoryWeight":0,"id":388,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"dddd","directoryWeight":0,"id":387,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"健康","directoryWeight":0,"id":384,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"综合","directoryWeight":0,"id":328,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"房产","directoryWeight":0,"id":327,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"健康","directoryWeight":0,"id":318,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"历史","directoryWeight":0,"id":310,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"dddd","directoryWeight":0,"id":309,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[],"directoryName":"aaaa","directoryWeight":1,"id":333,"isShow":1,"level":2,"parentId":308,"rootId":308},{"children":[],"directoryName":"qqq","directoryWeight":0,"id":334,"isShow":1,"level":2,"parentId":308,"rootId":308}],"directoryName":"dddd","directoryWeight":0,"id":308,"isShow":1,"level":1,"parentId":0,"rootId":0}],"message":"Success","success":true,"timestamp":1710741803593}`) as ResponseDTO<FollowListItem[]> 15 // let res = JSON.parse(`{"code":"0","data":[{"children":[],"directoryName":"阅读","directoryWeight":99,"id":165,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[{"directoryName":"三二","directoryWeight":2,"id":120,"isShow":1,"level":3,"parentId":118,"rootId":117},{"directoryName":"三级","directoryWeight":1,"id":119,"isShow":1,"level":3,"parentId":118,"rootId":117}],"directoryName":"二级","directoryWeight":1,"id":118,"isShow":1,"level":2,"parentId":117,"rootId":117}],"directoryName":"幽游白书","directoryWeight":33,"id":117,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"推荐","directoryWeight":9,"id":386,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"政务","directoryWeight":9,"id":379,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[],"directoryName":"推荐","directoryWeight":0,"id":335,"isShow":1,"level":2,"parentId":320,"rootId":320}],"directoryName":"推荐","directoryWeight":9,"id":320,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"媒体","directoryWeight":8,"id":390,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"媒体","directoryWeight":8,"id":323,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"自媒体","directoryWeight":7,"id":329,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"名人","directoryWeight":6,"id":389,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[],"directoryName":"测试","directoryWeight":0,"id":338,"isShow":1,"level":2,"parentId":324,"rootId":324}],"directoryName":"名人","directoryWeight":6,"id":324,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[],"directoryName":"2级目录","directoryWeight":0,"id":340,"isShow":1,"level":2,"parentId":312,"rootId":312},{"children":[{"directoryName":"3级测试","directoryWeight":0,"id":368,"isShow":1,"level":3,"parentId":339,"rootId":312}],"directoryName":"二级目录","directoryWeight":0,"id":339,"isShow":1,"level":2,"parentId":312,"rootId":312},{"children":[{"directoryName":"企业","directoryWeight":1,"id":348,"isShow":1,"level":3,"parentId":336,"rootId":312},{"directoryName":"部委","directoryWeight":0,"id":344,"isShow":1,"level":3,"parentId":336,"rootId":312},{"directoryName":"地方","directoryWeight":0,"id":341,"isShow":1,"level":3,"parentId":336,"rootId":312}],"directoryName":"类型","directoryWeight":0,"id":336,"isShow":1,"level":2,"parentId":312,"rootId":312},{"children":[{"directoryName":"贵州省","directoryWeight":0,"id":378,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"西藏自治区","directoryWeight":0,"id":377,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"四川省","directoryWeight":0,"id":376,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"重庆市","directoryWeight":0,"id":375,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"湖南省","directoryWeight":0,"id":374,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"云南省","directoryWeight":0,"id":373,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"广西壮族自治区","directoryWeight":0,"id":372,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"宁夏回族自治区","directoryWeight":0,"id":371,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"湖北省","directoryWeight":0,"id":370,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"青海省","directoryWeight":0,"id":369,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"陕西省","directoryWeight":0,"id":367,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"甘肃省","directoryWeight":0,"id":366,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"吉林省","directoryWeight":0,"id":365,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"广东省","directoryWeight":0,"id":364,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"海南省","directoryWeight":0,"id":363,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"辽宁省","directoryWeight":0,"id":362,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"江苏省","directoryWeight":0,"id":361,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"新疆维吾尔族自治区","directoryWeight":0,"id":360,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"福建省","directoryWeight":0,"id":359,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"山东省","directoryWeight":0,"id":358,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"河南省","directoryWeight":0,"id":357,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"浙江省","directoryWeight":0,"id":356,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"安徽省","directoryWeight":0,"id":355,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"上海市","directoryWeight":0,"id":354,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"河北省","directoryWeight":0,"id":353,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"黑龙江省","directoryWeight":0,"id":352,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"江西省","directoryWeight":0,"id":351,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"内蒙古自治区","directoryWeight":0,"id":350,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"北京市","directoryWeight":0,"id":349,"isShow":1,"level":3,"parentId":332,"rootId":312},{"directoryName":"山西省","directoryWeight":0,"id":346,"isShow":1,"level":3,"parentId":332,"rootId":312}],"directoryName":"地域","directoryWeight":0,"id":332,"isShow":1,"level":2,"parentId":312,"rootId":312}],"directoryName":"政务","directoryWeight":5,"id":312,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"学校","directoryWeight":4,"id":331,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"机构","directoryWeight":3,"id":330,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[{"directoryName":"新闻联播","directoryWeight":3,"id":79,"isShow":1,"level":3,"parentId":75,"rootId":74},{"directoryName":"第三季","directoryWeight":2,"id":78,"isShow":1,"level":3,"parentId":75,"rootId":74},{"directoryName":"三级","directoryWeight":1,"id":76,"isShow":1,"level":3,"parentId":75,"rootId":74}],"directoryName":"短视频","directoryWeight":1,"id":75,"isShow":1,"level":2,"parentId":74,"rootId":74}],"directoryName":"创作","directoryWeight":3,"id":74,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[],"directoryName":"教学","directoryWeight":2,"id":72,"isShow":1,"level":2,"parentId":64,"rootId":64},{"children":[],"directoryName":"热门","directoryWeight":1,"id":73,"isShow":1,"level":2,"parentId":64,"rootId":64},{"children":[],"directoryName":"赛事","directoryWeight":1,"id":71,"isShow":1,"level":2,"parentId":64,"rootId":64}],"directoryName":"游戏","directoryWeight":2,"id":64,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"新闻","directoryWeight":1,"id":315,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[],"directoryName":"趣闻","directoryWeight":6,"id":70,"isShow":1,"level":2,"parentId":63,"rootId":63},{"children":[],"directoryName":"时政","directoryWeight":5,"id":69,"isShow":1,"level":2,"parentId":63,"rootId":63},{"children":[],"directoryName":"农业","directoryWeight":3,"id":68,"isShow":1,"level":2,"parentId":63,"rootId":63},{"children":[],"directoryName":"娱乐","directoryWeight":3,"id":67,"isShow":1,"level":2,"parentId":63,"rootId":63},{"children":[],"directoryName":"科技","directoryWeight":2,"id":66,"isShow":1,"level":2,"parentId":63,"rootId":63},{"children":[],"directoryName":"国际","directoryWeight":1,"id":65,"isShow":1,"level":2,"parentId":63,"rootId":63}],"directoryName":"新闻","directoryWeight":1,"id":63,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"公安","directoryWeight":0,"id":388,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"dddd","directoryWeight":0,"id":387,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"健康","directoryWeight":0,"id":384,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"综合","directoryWeight":0,"id":328,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"房产","directoryWeight":0,"id":327,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"健康","directoryWeight":0,"id":318,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"历史","directoryWeight":0,"id":310,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[],"directoryName":"dddd","directoryWeight":0,"id":309,"isShow":1,"level":1,"parentId":0,"rootId":0},{"children":[{"children":[],"directoryName":"aaaa","directoryWeight":1,"id":333,"isShow":1,"level":2,"parentId":308,"rootId":308},{"children":[],"directoryName":"qqq","directoryWeight":0,"id":334,"isShow":1,"level":2,"parentId":308,"rootId":308}],"directoryName":"dddd","directoryWeight":0,"id":308,"isShow":1,"level":1,"parentId":0,"rootId":0}],"message":"Success","success":true,"timestamp":1710741803593}`) as ResponseDTO<FollowListItem[]>
19 // res.data.forEach(element => { 16 // res.data.forEach(element => {
20 // this.data.push(element) 17 // this.data.push(element)
21 // }); 18 // });
22 -  
23 MinePageDatasModel.getFollowListData(getContext(this)).then((value)=>{ 19 MinePageDatasModel.getFollowListData(getContext(this)).then((value)=>{
  20 + this.data.push(new FollowListItem("我的"))
24 value.forEach((element)=>{ 21 value.forEach((element)=>{
25 this.data.push(element) 22 this.data.push(element)
26 }) 23 })
27 console.log("ycg",this.data.length.toString()); 24 console.log("ycg",this.data.length.toString());
  25 + }).catch((err:Error)=>{
  26 + console.log(TAG,JSON.stringify(err))
28 }) 27 })
29 } 28 }
30 29
1 -import { LazyDataSource } from 'wdKit'; 1 +import { LazyDataSource, StringUtils } from 'wdKit';
2 import MinePageDatasModel from '../../../model/MinePageDatasModel'; 2 import MinePageDatasModel from '../../../model/MinePageDatasModel';
3 import { FollowListDetailItem } from '../../../viewmodel/FollowListDetailItem' 3 import { FollowListDetailItem } from '../../../viewmodel/FollowListDetailItem'
4 import { FollowListDetailRequestItem } from '../../../viewmodel/FollowListDetailRequestItem'; 4 import { FollowListDetailRequestItem } from '../../../viewmodel/FollowListDetailRequestItem';
  5 +import { FollowListStatusRequestItem } from '../../../viewmodel/FollowListStatusRequestItem';
  6 +import { MineFollowListDetailItem } from '../../../viewmodel/MineFollowListDetailItem';
  7 +import { QueryListIsFollowedItem } from '../../../viewmodel/QueryListIsFollowedItem';
5 import { ListHasNoMoreDataUI } from '../../reusable/ListHasNoMoreDataUI'; 8 import { ListHasNoMoreDataUI } from '../../reusable/ListHasNoMoreDataUI';
6 9
7 const TAG = "FollowListDetailUI" 10 const TAG = "FollowListDetailUI"
@@ -23,6 +26,7 @@ export struct FollowListDetailUI{ @@ -23,6 +26,7 @@ export struct FollowListDetailUI{
23 Column(){ 26 Column(){
24 if(this.count === 0){ 27 if(this.count === 0){
25 ListHasNoMoreDataUI({style:2}) 28 ListHasNoMoreDataUI({style:2})
  29 + .height('100%')
26 }else{ 30 }else{
27 List({ space: 3 }) { 31 List({ space: 3 }) {
28 LazyForEach(this.data, (item: FollowListDetailItem, index: number = 0) => { 32 LazyForEach(this.data, (item: FollowListDetailItem, index: number = 0) => {
@@ -52,34 +56,97 @@ export struct FollowListDetailUI{ @@ -52,34 +56,97 @@ export struct FollowListDetailUI{
52 } 56 }
53 }) 57 })
54 } 58 }
55 - }.height('100%') 59 + }
56 .width('100%') 60 .width('100%')
57 } 61 }
58 62
59 getNewPageData(){ 63 getNewPageData(){
60 this.isLoading = true 64 this.isLoading = true
61 - if(this.hasMore){  
62 - let object = new FollowListDetailRequestItem(this.creatorDirectoryId,20,this.curPageNum) 65 + //我的关注列表
  66 + if (this.creatorDirectoryId === -1){
  67 + if(this.hasMore){
  68 + let object = new FollowListDetailRequestItem(20,this.curPageNum)
63 69
64 - MinePageDatasModel.getFollowListDetailData(object,getContext(this)).then((value)=>{  
65 - if (!this.data || value.list.length == 0){  
66 - this.hasMore = false  
67 - }else{  
68 - value.list.forEach((value)=>{  
69 - this.data.push(new FollowListDetailItem(value.headPhotoUrl,value.cnUserName,value.cnFansNum,value.introduction))  
70 - })  
71 - this.data.notifyDataReload()  
72 - this.count = this.data.totalCount()  
73 - if (this.data.totalCount() < value.totalCount) {  
74 - this.curPageNum++  
75 - }else { 70 + MinePageDatasModel.getMineFollowListData(object,getContext(this)).then((value)=>{
  71 + if (!this.data || value.list.length == 0){
76 this.hasMore = false 72 this.hasMore = false
  73 + }else{
  74 + value.list.forEach((value)=>{
  75 + this.data.push(new FollowListDetailItem(value.attentionHeadPhotoUrl,value.attentionUserName,value.fansNum,value.introduction,value.attentionCreatorId,"1"))
  76 + })
  77 + this.data.notifyDataReload()
  78 + this.count = this.data.totalCount()
  79 + if (this.data.totalCount() < value.totalCount) {
  80 + this.curPageNum++
  81 + }else {
  82 + this.hasMore = false
  83 + }
77 } 84 }
  85 + this.isLoading = false
  86 + }).catch((err:Error)=>{
  87 + console.log(TAG,"请求失败")
  88 + this.isLoading = false
  89 + })
  90 + }
  91 + }else{
  92 + if(this.hasMore){
  93 + if(this.creatorDirectoryId === 120){
  94 + console.log("console");
78 } 95 }
79 - }) 96 + let object = new FollowListDetailRequestItem(this.creatorDirectoryId,20,this.curPageNum)
  97 +
  98 + MinePageDatasModel.getFollowListDetailData(object,getContext(this)).then((value)=>{
  99 + if (!this.data || value.list.length == 0){
  100 + this.hasMore = false
  101 + this.isLoading = false
  102 + }else{
  103 + this.getFollowListStatus(value)
  104 + }
  105 + }).catch((err:Error)=>{
  106 + console.log(TAG,"请求失败")
  107 + this.isLoading = false
  108 + })
  109 + }
80 } 110 }
81 - this.isLoading = false  
82 } 111 }
  112 +
  113 + getFollowListStatus(value:MineFollowListDetailItem){
  114 + let status = new FollowListStatusRequestItem()
  115 + let data : FollowListDetailItem[] = []
  116 + value.list.forEach((item)=>{
  117 + status.creatorIds.push(new QueryListIsFollowedItem(item.creatorId))
  118 + data.push(new FollowListDetailItem(item.headPhotoUrl,item.cnUserName,item.cnFansNum,item.introduction,item.creatorId,"0"))
  119 + })
  120 +
  121 + MinePageDatasModel.getFollowListStatusData(status,getContext(this)).then((newValue)=>{
  122 + newValue.forEach((item)=>{
  123 + data.forEach((list)=>{
  124 + if (item.creatorId == list.creatorId) {
  125 + list.status = item.status
  126 + }
  127 + })
  128 + })
  129 +
  130 + data.forEach((item)=>{
  131 + this.data.push(new FollowListDetailItem(item.headPhotoUrl,item.cnUserName,item.cnFansNum,item.introduction,item.creatorId,item.status))
  132 + })
  133 +
  134 + this.data.notifyDataReload()
  135 +
  136 + this.count = this.data.totalCount()
  137 + if (this.data.totalCount() < value.totalCount) {
  138 + this.curPageNum++
  139 + }else {
  140 + this.hasMore = false
  141 + }
  142 +
  143 + this.isLoading = false
  144 + }).catch((err:Error)=>{
  145 + console.log(TAG,"请求失败")
  146 + this.isLoading = false
  147 + })
  148 + }
  149 +
83 } 150 }
84 151
85 @Component 152 @Component
@@ -91,7 +158,7 @@ struct ChildComponent { @@ -91,7 +158,7 @@ struct ChildComponent {
91 Blank().height('27lpx') 158 Blank().height('27lpx')
92 159
93 Row() { 160 Row() {
94 - Image(this.data.headPhotoUrl) 161 + Image(StringUtils.isEmpty(this.data.headPhotoUrl)?$r('app.media.default_head'):this.data.headPhotoUrl)
95 .objectFit(ImageFit.Auto) 162 .objectFit(ImageFit.Auto)
96 .width('92lpx') 163 .width('92lpx')
97 .height('92lpx') 164 .height('92lpx')
@@ -115,7 +182,7 @@ struct ChildComponent { @@ -115,7 +182,7 @@ struct ChildComponent {
115 }.layoutWeight(1) 182 }.layoutWeight(1)
116 .alignItems(HorizontalAlign.Start) 183 .alignItems(HorizontalAlign.Start)
117 184
118 - if(this.data.isFollow){ 185 + if(this.data.status == "1"){
119 Row(){ 186 Row(){
120 Text(`已关注`) 187 Text(`已关注`)
121 .fontColor($r('app.color.color_CCCCCC')) 188 .fontColor($r('app.color.color_CCCCCC'))
@@ -124,13 +191,14 @@ struct ChildComponent { @@ -124,13 +191,14 @@ struct ChildComponent {
124 .lineHeight('35lpx') 191 .lineHeight('35lpx')
125 }.backgroundColor($r('app.color.color_F5F5F5')) 192 }.backgroundColor($r('app.color.color_F5F5F5'))
126 .borderRadius('6lpx') 193 .borderRadius('6lpx')
  194 + .borderColor($r('app.color.color_F5F5F5'))
127 .borderWidth('2lpx') 195 .borderWidth('2lpx')
128 .justifyContent(FlexAlign.Center) 196 .justifyContent(FlexAlign.Center)
129 .width('100lpx') 197 .width('100lpx')
130 .height('46lpx') 198 .height('46lpx')
131 .margin({left:'4lpx',top:'23lpx'}) 199 .margin({left:'4lpx',top:'23lpx'})
132 .onClick(()=>{ 200 .onClick(()=>{
133 - this.data.isFollow = false 201 + this.data.status = "0"
134 }) 202 })
135 }else{ 203 }else{
136 Row(){ 204 Row(){
@@ -143,7 +211,7 @@ struct ChildComponent { @@ -143,7 +211,7 @@ struct ChildComponent {
143 .fontSize('23lpx') 211 .fontSize('23lpx')
144 .fontWeight('500lpx') 212 .fontWeight('500lpx')
145 .lineHeight('35lpx') 213 .lineHeight('35lpx')
146 - }.borderColor($r('app.color.color_ED2800')) 214 + }.borderColor($r('app.color.color_1AED2800'))
147 .borderRadius('6lpx') 215 .borderRadius('6lpx')
148 .borderWidth('2lpx') 216 .borderWidth('2lpx')
149 .justifyContent(FlexAlign.Center) 217 .justifyContent(FlexAlign.Center)
@@ -151,7 +219,7 @@ struct ChildComponent { @@ -151,7 +219,7 @@ struct ChildComponent {
151 .height('46lpx') 219 .height('46lpx')
152 .margin({left:'4lpx',top:'23lpx'}) 220 .margin({left:'4lpx',top:'23lpx'})
153 .onClick(()=>{ 221 .onClick(()=>{
154 - this.data.isFollow = true 222 + this.data.status = "1"
155 }) 223 })
156 } 224 }
157 }.alignItems(VerticalAlign.Top) 225 }.alignItems(VerticalAlign.Top)
  1 +import { ResourcesUtils } from 'wdKit'
  2 +import { ResponseDTO } from 'wdNetwork'
  3 +import { MyCollectionModel } from '../../model/MyCollectionModel'
  4 +import { CustomTitleUI } from '../reusable/CustomTitleUI'
  5 +
  6 +@Entry
  7 +@Component
  8 +struct BrowsingHistoryPage {
  9 + private browsingHistoryList:MyCollectionModel[] = []
  10 +
  11 + aboutToAppear(){
  12 + ResourcesUtils.getResourcesJson<ResponseDTO<MyCollectionModel[]>>(getContext(this),'browsingHistory_list_data.json').then((success)=>{
  13 + success.data?.forEach(element => {
  14 + this.browsingHistoryList.push(element)
  15 + });
  16 + console.log("ycg",this.browsingHistoryList.length.toString());
  17 + })
  18 + }
  19 +
  20 + build() {
  21 + Column(){
  22 + CustomTitleUI({titleName:'浏览历史'})
  23 + List({}){
  24 + ForEach(
  25 + this.browsingHistoryList,
  26 + (item: MyCollectionModel) =>{
  27 + ListItem(){
  28 + this.HistoryItem(item)
  29 + }
  30 + }
  31 + )
  32 + }
  33 + }
  34 + .height('100%')
  35 + }
  36 +
  37 + @Builder
  38 + HistoryItem(item: MyCollectionModel){
  39 + Column(){
  40 + Row(){
  41 + Column(){
  42 + Text('就像是一场不断升级的权亡。')
  43 + .maxLines(3)
  44 + Text('2024-03-14')
  45 + .margin({top:10,bottom:0})
  46 + }
  47 + .width('60%')
  48 + .alignItems(HorizontalAlign.Start)
  49 +
  50 + Blank()
  51 +
  52 + Image('')
  53 + .backgroundColor(Color.Orange)
  54 + .width('30%')
  55 + .height(80)
  56 + .margin({top:10})
  57 + }
  58 + Blank()
  59 + Divider()
  60 + .width('90%')
  61 + }
  62 + .width('100%')
  63 + .height(100)
  64 + }
  65 +}
  1 +import router from '@ohos.router';
  2 +import { CustomTitleUI } from '../reusable/CustomTitleUI';
  3 +import { EditInfoModel, EditListInfo } from '../../model/EditInfoModel';
  4 +import EditInfoViewModel from '../../viewmodel/EditInfoViewModel';
  5 +import { WDRouterPage, WDRouterRule } from 'wdRouter';
  6 +
  7 +
  8 +@Entry
  9 +@Component
  10 +struct EditUserInfoPage {
  11 + private listData: EditListInfo[] = []
  12 + editInfo: EditInfoModel = new EditInfoModel('','待完善','待完善','待完善','待完善','待完善','待完善')
  13 +
  14 + aboutToAppear() {
  15 + this.listData = EditInfoViewModel.getEditListInfo(this.editInfo)
  16 + this.getAccountOwnerInfo()
  17 + }
  18 +
  19 + build() {
  20 + Row() {
  21 + Column() {
  22 + CustomTitleUI({titleName:'资料编辑'})
  23 + Image(this.editInfo.headPhotoUrl?this.editInfo.headPhotoUrl:'')
  24 + .backgroundColor(Color.Gray)
  25 + .width(100)
  26 + .height(100)
  27 + .borderRadius(50)
  28 + .margin({top:20,bottom:-10})
  29 +
  30 + Button('点击更换头像')
  31 + .fontColor(Color.Gray)
  32 + .fontSize(18)
  33 + .backgroundColor(Color.White)
  34 + .margin(20)
  35 +
  36 + List({}){
  37 + ForEach(this.listData,(item:EditListInfo,index:number) =>{
  38 + ListItem(){
  39 + this.RouterItem(item,index+1)
  40 + }
  41 + }
  42 + )
  43 + }
  44 + .layoutWeight(1)
  45 + .alignListItem(ListItemAlign.Center)
  46 + .width('100%')
  47 + }
  48 + }
  49 + .width('100%')
  50 + .height('100%')
  51 + }
  52 +
  53 + @Builder
  54 + RouterItem(r:EditListInfo,i:Number){
  55 + Column(){
  56 + Row(){
  57 + Text(r.title)
  58 + .fontSize(18)
  59 + .fontColor(Color.Gray)
  60 + Blank()
  61 +
  62 + Text(r.subTitle)
  63 + .fontSize(16)
  64 + .fontColor(Color.Gray)
  65 + .padding({right:10})
  66 +
  67 + Image($r('app.media.mine_user_edit'))
  68 + .width('12')
  69 + .height('12')
  70 + }
  71 + .alignItems(VerticalAlign.Center)
  72 + .width('100%')
  73 + .padding(16)
  74 +
  75 + Divider()
  76 + .width('90%')
  77 + }
  78 + .height(60)
  79 + .width('100%')
  80 + .onClick(()=>{
  81 + if (i === 1){
  82 + // WDRouterRule.jumpWithPage(WDRouterPage.editUserInfoPage)
  83 + WDRouterRule.jumpWithPage(WDRouterPage.editUserNikeNamePage)
  84 + }else if (i === 2){
  85 + WDRouterRule.jumpWithPage(WDRouterPage.editUserIntroductionPage)
  86 + // router.pushUrl({
  87 + // url:'pages/EditUserInstoductionPage',
  88 + // params:{pageNum:i}
  89 + // })
  90 + } else if (i === 4) {
  91 + DatePickerDialog.show({
  92 + start:new Date('1900-1-1'),
  93 + end:new Date(),
  94 + selected:new Date,
  95 + lunar:false,
  96 + // onAccept:(value:DatePickerResult) => {
  97 + //
  98 + // }
  99 + })
  100 + }else if(i === 5){
  101 + TextPickerDialog.show({
  102 + range:['男','女'],
  103 + selected:0,
  104 + // onAccept:(value:TextPickerResult) => {
  105 + //
  106 + // }
  107 + })
  108 + }
  109 + })
  110 + }
  111 +
  112 + getAccountOwnerInfo(){
  113 + EditInfoViewModel.queryAccountOwnerInfo(1).then((result) => {
  114 + this.editInfo = result
  115 + });
  116 + }
  117 +
  118 +}
  1 +import { CustomTitleUI } from '../reusable/CustomTitleUI'
  2 +
  3 +@Entry
  4 +@Component
  5 +struct EditUserIntroductionPage {
  6 + @State numCount: number = 0
  7 + @State textColor : string = '#222222'
  8 +
  9 + build() {
  10 + Column(){
  11 + CustomTitleUI({titleName:'修改简介'})
  12 +
  13 + Row(){
  14 + TextInput({placeholder:'请输入简介'})
  15 + .maxLength(60)
  16 + .width('100%')
  17 + .height(80)
  18 + .backgroundColor(Color.White)
  19 + .onChange(value => {
  20 + this.numCount = value.length
  21 + if (this.numCount === 60) {
  22 + this.textColor = '#ED2800'
  23 + }else {
  24 + this.textColor = '#222222'
  25 + }
  26 + })
  27 +
  28 + Text(this.numCount.toString() + '/60')
  29 + .fontColor(this.textColor)
  30 + .margin({left: -50})
  31 + }
  32 + .alignItems(VerticalAlign.Bottom)
  33 +
  34 +
  35 + Divider()
  36 + .margin(12)
  37 +
  38 + Text('1、账号中(头像、昵称等)不允许含有违禁违规内容;\n2、出于商业或作为素材恶搞目的,而将国旗、国徽以及国家领导人用于头像、昵称;\n3、最多60个字,只能输入中文、数字、英文字母。')
  39 + .fontSize(13)
  40 + .padding(12)
  41 + .fontColor(Color.Gray)
  42 +
  43 + Button('保存')
  44 + .type(ButtonType.Normal)
  45 + .width('90%')
  46 + .backgroundColor('#ED2800')
  47 + .borderRadius(5)
  48 + .margin(30)
  49 + }
  50 + }
  51 +}
  1 +import { CustomTitleUI } from '../reusable/CustomTitleUI'
  2 +
  3 +@Entry
  4 +@Component
  5 +struct EditUserNikeNamePage {
  6 + ///接收传参
  7 + @State numCount: number = 0
  8 + @State textColor : string = '#222222'
  9 +
  10 + build() {
  11 + Column(){
  12 + CustomTitleUI({titleName:'修改昵称'})
  13 +
  14 + Row(){
  15 + TextInput({placeholder:'请输入昵称'})
  16 + .width('100%')
  17 + .maxLength(16)
  18 + .height(50)
  19 + .backgroundColor(Color.White)
  20 + .onChange(value => {
  21 + this.numCount = value.length
  22 + if (this.numCount === 16) {
  23 + this.textColor = '#ED2800'
  24 + }else {
  25 + this.textColor = '#222222'
  26 + }
  27 + })
  28 +
  29 + Text(this.numCount.toString() + '/16')
  30 + .fontColor(this.textColor)
  31 + .margin({left: -50})
  32 + }
  33 + .alignItems(VerticalAlign.Center)
  34 +
  35 + Divider()
  36 + .margin(12)
  37 +
  38 + Text('1、账号中(头像、昵称等)不允许含有违禁违规内容;\n2、出于商业或作为素材恶搞目的,而将国旗、国徽以及国家领导人用于头像、昵称;\n3、最多16个字,只能输入中文、数字、英文字母。')
  39 + .fontSize(13)
  40 + .padding(12)
  41 + .fontColor(Color.Gray)
  42 +
  43 + Button('保存')
  44 + .type(ButtonType.Normal)
  45 + .width('90%')
  46 + .backgroundColor('#ED2800')
  47 + .borderRadius(5)
  48 + .margin(30)
  49 + }
  50 + }
  51 +}
@@ -4,16 +4,20 @@ import { RMCalendarBean } from '../components/calendar/RMCalendarBean' @@ -4,16 +4,20 @@ import { RMCalendarBean } from '../components/calendar/RMCalendarBean'
4 @CustomDialog 4 @CustomDialog
5 export struct ENewspaperCalendarDialog { 5 export struct ENewspaperCalendarDialog {
6 calendarDialogController?: CustomDialogController 6 calendarDialogController?: CustomDialogController
  7 + // 选择变化监听,
  8 + onDateChange?: (date: RMCalendarBean) => void
7 9
8 build() { 10 build() {
9 RMCalendar({ 11 RMCalendar({
10 // 开始日期 12 // 开始日期
11 startDate: new Date(2023, 8, 1), 13 startDate: new Date(2023, 8, 1),
12 // 截止日期 14 // 截止日期
13 - endDate: new Date(2024, 2, 20), 15 + endDate: new Date(),
14 // 日期选择变化监听 16 // 日期选择变化监听
15 - onDateChange: (date1: RMCalendarBean) => {  
16 - console.log("onDateChange", "date1:", JSON.stringify(date1)) 17 + onDateChange: (date: RMCalendarBean) => {
  18 + if (this.onDateChange) {
  19 + this.onDateChange(date)
  20 + }
17 if (this.calendarDialogController) { 21 if (this.calendarDialogController) {
18 this.calendarDialogController.close() 22 this.calendarDialogController.close()
19 } 23 }
1 import { NewspaperListBean, NewspaperListItemBean, NewspaperPositionItemBean } from 'wdBean' 1 import { NewspaperListBean, NewspaperListItemBean, NewspaperPositionItemBean } from 'wdBean'
  2 +import { ENewspaperPageDialog } from '../dialog/ENewspaperPageDialog'
2 3
  4 +/**
  5 + * 读报纸半屏弹窗
  6 + * 弹窗嵌套参考资料(https://developer.harmonyos.com/cn/docs/documentation/doc-references-V2/ts-methods-custom-dialog-box-0000001580345722-V2)
  7 + */
3 @CustomDialog 8 @CustomDialog
4 export struct ENewspaperListDialog { 9 export struct ENewspaperListDialog {
5 - @State currentPageNum: string = '01'  
6 - controller: CustomDialogController 10 + @Link currentPageNum: string
  11 + @State pageDialogShow: boolean = false
  12 + @State scrollIndex: number = 0
7 newspaperListBean: NewspaperListBean = {} as NewspaperListBean 13 newspaperListBean: NewspaperListBean = {} as NewspaperListBean
  14 + private listScroller: Scroller = new Scroller();
  15 + //文字版选择弹框
  16 + pageListDialogController: CustomDialogController = new CustomDialogController({
  17 + builder: ENewspaperPageDialog({
  18 + currentPageNum: this.currentPageNum,
  19 + dialogType: 1,
  20 + newspaperListBean: this.newspaperListBean,
  21 + onDateChange: (date: string, dialogType: number) => {
  22 + if (dialogType == 1) {
  23 + console.log("ENewspaperListDialog-pageListDialogController", "date:", this.currentPageNum)
  24 + let _scrollIndex = Number.parseInt(this.currentPageNum)
  25 + console.log("ENewspaperListDialog-pageListDialogController", "_swiperIndex:", _scrollIndex)
  26 + this.scrollIndex = _scrollIndex > 0 ? _scrollIndex - 1 : _scrollIndex
  27 + this.listScroller.scrollToIndex(this.scrollIndex)
  28 + }
  29 + }
  30 + }),
  31 + alignment: DialogAlignment.TopStart,
  32 + offset: { dx: 0, dy: 214 },
  33 + customStyle: true,
  34 + })
  35 + //页面半屏弹窗(实现在上个组件)若尝试在CustomDialog中传入多个其他的Controller,
  36 + // 以实现在CustomDialog中打开另一个或另一些CustomDialog,
  37 + // 那么此处需要将指向自己的controller放在所有controller的后面
  38 + listDialogController: CustomDialogController
8 39
9 build() { 40 build() {
10 Column() { 41 Column() {
  42 + Row()
  43 + .width(43)
  44 + .height(4)
  45 + .backgroundColor('#EDEDED')
  46 + .margin({ top: 10,
  47 + bottom: 10 })
11 Row() { 48 Row() {
12 Text(this.currentPageNum) 49 Text(this.currentPageNum)
13 .fontSize($r('app.float.font_size_36')) 50 .fontSize($r('app.float.font_size_36'))
14 .fontColor($r('app.color.color_222222')) 51 .fontColor($r('app.color.color_222222'))
  52 + .fontFamily('BebasNeue_Regular')
15 Text('版') 53 Text('版')
16 .fontSize($r('app.float.font_size_16')) 54 .fontSize($r('app.float.font_size_16'))
17 .fontColor($r('app.color.color_222222')) 55 .fontColor($r('app.color.color_222222'))
@@ -23,8 +61,16 @@ export struct ENewspaperListDialog { @@ -23,8 +61,16 @@ export struct ENewspaperListDialog {
23 .margin({ left: 2, bottom: 6 }) 61 .margin({ left: 2, bottom: 6 })
24 } 62 }
25 .alignItems(VerticalAlign.Bottom) 63 .alignItems(VerticalAlign.Bottom)
26 - .margin({ top: 25, left: 15 }) 64 + .margin({ left: 15 })
27 .alignSelf(ItemAlign.Start) 65 .alignSelf(ItemAlign.Start)
  66 + .onClick(() => {
  67 + this.pageDialogShow = !this.pageDialogShow
  68 + if (this.pageDialogShow) {
  69 + this.pageListDialogController.open()
  70 + } else {
  71 + this.pageListDialogController.close()
  72 + }
  73 + })
28 74
29 Image($r('app.media.line')) 75 Image($r('app.media.line'))
30 .width('100%') 76 .width('100%')
@@ -32,16 +78,17 @@ export struct ENewspaperListDialog { @@ -32,16 +78,17 @@ export struct ENewspaperListDialog {
32 .margin({ top: 20, left: 16, right: 16 }) 78 .margin({ top: 20, left: 16, right: 16 })
33 .objectFit(ImageFit.Contain) 79 .objectFit(ImageFit.Contain)
34 80
35 - List() { 81 + List({ scroller: this.listScroller }) {
36 ForEach(this.newspaperListBean?.list, (item: NewspaperListItemBean, index: number) => { 82 ForEach(this.newspaperListBean?.list, (item: NewspaperListItemBean, index: number) => {
37 ForEach(item.items, (positionItem: NewspaperPositionItemBean, itemIndex: number) => { 83 ForEach(item.items, (positionItem: NewspaperPositionItemBean, itemIndex: number) => {
38 ListItem() { 84 ListItem() {
39 - Column(){ 85 + Column() {
40 if (itemIndex == 0) { 86 if (itemIndex == 0) {
41 Text(item.pageNum + item.pageName) 87 Text(item.pageNum + item.pageName)
42 .fontSize($r('app.float.font_size_14')) 88 .fontSize($r('app.float.font_size_14'))
43 .fontColor($r('app.color.color_ED2800')) 89 .fontColor($r('app.color.color_ED2800'))
44 - .margin({ top: 16 }) 90 + .fontWeight(600)
  91 + .margin({ top: 16, bottom: 16 })
45 .maxLines(1) 92 .maxLines(1)
46 } 93 }
47 94
@@ -49,7 +96,7 @@ export struct ENewspaperListDialog { @@ -49,7 +96,7 @@ export struct ENewspaperListDialog {
49 Text(positionItem.shortTitle) 96 Text(positionItem.shortTitle)
50 .fontSize($r('app.float.font_size_14')) 97 .fontSize($r('app.float.font_size_14'))
51 .fontColor($r('app.color.color_222222')) 98 .fontColor($r('app.color.color_222222'))
52 - .margin({ top: 16 }) 99 + .fontWeight(600)
53 .maxLines(2) 100 .maxLines(2)
54 } 101 }
55 102
@@ -57,7 +104,7 @@ export struct ENewspaperListDialog { @@ -57,7 +104,7 @@ export struct ENewspaperListDialog {
57 Text(positionItem.title) 104 Text(positionItem.title)
58 .fontSize($r('app.float.font_size_17')) 105 .fontSize($r('app.float.font_size_17'))
59 .fontColor($r('app.color.color_222222')) 106 .fontColor($r('app.color.color_222222'))
60 - .margin({ top: 16 }) 107 + .margin({ top: 8 })
61 .maxLines(2) 108 .maxLines(2)
62 } 109 }
63 110
@@ -65,7 +112,8 @@ export struct ENewspaperListDialog { @@ -65,7 +112,8 @@ export struct ENewspaperListDialog {
65 Text(positionItem.downTitle) 112 Text(positionItem.downTitle)
66 .fontSize($r('app.float.font_size_14')) 113 .fontSize($r('app.float.font_size_14'))
67 .fontColor($r('app.color.color_222222')) 114 .fontColor($r('app.color.color_222222'))
68 - .margin({ top: 16 }) 115 + .fontWeight(600)
  116 + .margin({ top: 8 })
69 .maxLines(2) 117 .maxLines(2)
70 } 118 }
71 119
@@ -73,7 +121,7 @@ export struct ENewspaperListDialog { @@ -73,7 +121,7 @@ export struct ENewspaperListDialog {
73 Text(positionItem.newsTxt) 121 Text(positionItem.newsTxt)
74 .fontSize($r('app.float.font_size_14')) 122 .fontSize($r('app.float.font_size_14'))
75 .fontColor($r('app.color.color_999999')) 123 .fontColor($r('app.color.color_999999'))
76 - .margin({ top: 16, bottom: 16 }) 124 + .margin({ top: 15, bottom: 15 })
77 .maxLines(5) 125 .maxLines(5)
78 } 126 }
79 } 127 }
@@ -81,24 +129,20 @@ export struct ENewspaperListDialog { @@ -81,24 +129,20 @@ export struct ENewspaperListDialog {
81 } 129 }
82 130
83 }) 131 })
84 -  
85 }) 132 })
86 -  
87 } 133 }
88 .width('100%') 134 .width('100%')
89 - .margin({ top: 16, left: 16, right: 16 }) 135 + .padding({ left: 15, right: 15 })
90 .scrollBar(BarState.Off) 136 .scrollBar(BarState.Off)
91 .divider({ 137 .divider({
92 - strokeWidth: 1, 138 + strokeWidth: 0.5,
93 color: '#EDEDED' 139 color: '#EDEDED'
94 }) 140 })
95 .onScrollIndex((firstIndex: number) => { 141 .onScrollIndex((firstIndex: number) => {
96 this.updateCurrentPageNum(firstIndex) 142 this.updateCurrentPageNum(firstIndex)
97 }) 143 })
98 -  
99 } 144 }
100 .width('100%') 145 .width('100%')
101 - .height(674)  
102 .backgroundColor(Color.White) 146 .backgroundColor(Color.White)
103 147
104 } 148 }
@@ -107,20 +151,19 @@ export struct ENewspaperListDialog { @@ -107,20 +151,19 @@ export struct ENewspaperListDialog {
107 if (this.newspaperListBean.list && this.newspaperListBean.list.length > 0) { 151 if (this.newspaperListBean.list && this.newspaperListBean.list.length > 0) {
108 let index = 0; 152 let index = 0;
109 for (let itemBean of this.newspaperListBean.list) { 153 for (let itemBean of this.newspaperListBean.list) {
110 - if (itemBean.items && itemBean.items.length > 0){  
111 - for (let item of itemBean.items){ 154 + if (itemBean.items && itemBean.items.length > 0) {
  155 + for (let item of itemBean.items) {
112 index++ 156 index++
113 - if (index == firstIndex){ 157 + if (index == firstIndex) {
114 this.currentPageNum = itemBean.pageNum 158 this.currentPageNum = itemBean.pageNum
115 return 159 return
116 } 160 }
117 -  
118 } 161 }
119 } 162 }
120 } 163 }
121 } 164 }
122 165
123 - } 166 + }
124 } 167 }
125 168
126 169
  1 +import { NewspaperListBean, NewspaperListItemBean } from 'wdBean/Index'
  2 +
  3 +/**
  4 + * 期刊日期选择弹窗
  5 + */
  6 +@CustomDialog
  7 +export struct ENewspaperPageDialog {
  8 + dialogType: number = 0 //0:图片版,1:文字版
  9 + pageDialogController?: CustomDialogController
  10 + @Link currentPageNum: string
  11 + @Prop newspaperListBean: NewspaperListBean = {} as NewspaperListBean
  12 + // 选择变化监听,
  13 + onDateChange?: (date: string, dialogType: number) => void
  14 +
  15 + build() {
  16 + Column() {
  17 + if (this.dialogType == 1) {
  18 + Image($r("app.media.iv_e_news_pager_calendar_arrow_up"))
  19 + .width(18).height(8.5)
  20 + .margin({ left: 31 })
  21 + }
  22 + Stack() {
  23 + GridRow({ columns: 5, gutter: { x: 15, y: 15 } }) {
  24 + ForEach(this.newspaperListBean.list, (item: NewspaperListItemBean, index) => {
  25 + GridCol() {
  26 + Row() {
  27 + Text(item.pageNum)
  28 + .fontSize($r('app.float.normal_text_size'))
  29 + .fontColor(this.currentPageNum == item.pageNum ? Color.White : $r('app.color.color_222222'))
  30 + .fontFamily('BebasNeue_Regular')
  31 + }
  32 + .alignItems(VerticalAlign.Center)
  33 + .justifyContent(FlexAlign.Center)
  34 + .width(30)
  35 + .height(30)
  36 + .backgroundColor(this.currentPageNum != item.pageNum ? Color.White : $r('app.color.color_ED2800'))
  37 + .onClick((event: ClickEvent) => {
  38 + this.currentPageNum = item.pageNum
  39 + if (this.onDateChange) {
  40 + this.onDateChange(item.pageNum, this.dialogType)
  41 + }
  42 + if (this.pageDialogController) {
  43 + this.pageDialogController.close()
  44 + }
  45 + })
  46 + }
  47 + })
  48 + }
  49 + }
  50 + .padding(20)
  51 + .width(260)
  52 + .borderRadius(4)
  53 + .backgroundColor(Color.White)
  54 +
  55 + if (this.dialogType == 0) {
  56 + Image($r("app.media.iv_e_news_pager_calendar_arrow_down"))
  57 + .width(18).height(8.5)
  58 + .margin({ left: 31 })
  59 + }
  60 + }
  61 + .margin({ left: 10 })
  62 + .alignItems(HorizontalAlign.Start)
  63 + }
  64 +}
  1 +
  2 +export class EditListInfo{
  3 + //标题
  4 + title:string
  5 + //副标题
  6 + subTitle:string
  7 +
  8 + constructor(title:string , subTitle:string) {
  9 + this.title = title;
  10 + this.subTitle = subTitle
  11 + }
  12 +}
  13 +
  14 +export class EditInfoModel{
  15 + //头像
  16 + headPhotoUrl:string = ''
  17 + //昵称
  18 + userName:string = ''
  19 + //简介
  20 + introduction:string = ''
  21 + //城市
  22 + city:string = ''
  23 + //地区
  24 + county:string = ''
  25 + //生日
  26 + birthday:string = ''
  27 + //性别
  28 + sex:string = ''
  29 +
  30 + constructor(headPhotoUrl:string , userName:string , introduction:string , city:string , county:string, birthday:string , sex:string) {
  31 + this.headPhotoUrl = headPhotoUrl;
  32 + this.userName = userName;
  33 + this.introduction = introduction;
  34 + this.city = city;
  35 + this.county = county;
  36 + this.birthday = birthday;
  37 + this.sex = sex;
  38 + }
  39 +
  40 +}
@@ -9,6 +9,9 @@ import { Logger, ResourcesUtils } from 'wdKit'; @@ -9,6 +9,9 @@ import { Logger, ResourcesUtils } from 'wdKit';
9 import { MineFollowListDetailItem } from '../viewmodel/MineFollowListDetailItem'; 9 import { MineFollowListDetailItem } from '../viewmodel/MineFollowListDetailItem';
10 import { FollowListDetailRequestItem } from '../viewmodel/FollowListDetailRequestItem'; 10 import { FollowListDetailRequestItem } from '../viewmodel/FollowListDetailRequestItem';
11 import { FollowListItem } from '../viewmodel/FollowListItem'; 11 import { FollowListItem } from '../viewmodel/FollowListItem';
  12 +import { MineFollowListItem } from '../viewmodel/MineFollowListItem';
  13 +import { QueryListIsFollowedItem } from '../viewmodel/QueryListIsFollowedItem';
  14 +import { FollowListStatusRequestItem } from '../viewmodel/FollowListStatusRequestItem';
12 15
13 const TAG = "MinePageDatasModel" 16 const TAG = "MinePageDatasModel"
14 17
@@ -103,8 +106,7 @@ class MinePageDatasModel{ @@ -103,8 +106,7 @@ class MinePageDatasModel{
103 return new Promise<MineAppointmentListItem>((success, error) => { 106 return new Promise<MineAppointmentListItem>((success, error) => {
104 Logger.info(TAG, `getAppointmentList start`); 107 Logger.info(TAG, `getAppointmentList start`);
105 this.fetchAppointmentListData(pageSize,pageNum).then((navResDTO: ResponseDTO<MineAppointmentListItem>) => { 108 this.fetchAppointmentListData(pageSize,pageNum).then((navResDTO: ResponseDTO<MineAppointmentListItem>) => {
106 - if (!navResDTO) {  
107 - error("page data invalid"); 109 + if (!navResDTO || navResDTO.code != 0) {
108 success(this.getAppointmentListDataLocal(context)) 110 success(this.getAppointmentListDataLocal(context))
109 return 111 return
110 } 112 }
@@ -113,7 +115,6 @@ class MinePageDatasModel{ @@ -113,7 +115,6 @@ class MinePageDatasModel{
113 success(navigationBean); 115 success(navigationBean);
114 }).catch((err: Error) => { 116 }).catch((err: Error) => {
115 Logger.error(TAG, `fetchAppointmentListDataApi catch, error.name : ${err.name}, error.message:${err.message}`); 117 Logger.error(TAG, `fetchAppointmentListDataApi catch, error.name : ${err.name}, error.message:${err.message}`);
116 - // error(err);  
117 success(this.getAppointmentListDataLocal(context)) 118 success(this.getAppointmentListDataLocal(context))
118 }) 119 })
119 }) 120 })
@@ -141,8 +142,7 @@ class MinePageDatasModel{ @@ -141,8 +142,7 @@ class MinePageDatasModel{
141 return new Promise<MineFollowListDetailItem>((success, error) => { 142 return new Promise<MineFollowListDetailItem>((success, error) => {
142 Logger.info(TAG, `getAppointmentList start`); 143 Logger.info(TAG, `getAppointmentList start`);
143 this.fetchFollowListDetailData(params).then((navResDTO: ResponseDTO<MineFollowListDetailItem>) => { 144 this.fetchFollowListDetailData(params).then((navResDTO: ResponseDTO<MineFollowListDetailItem>) => {
144 - if (!navResDTO) {  
145 - error("page data invalid"); 145 + if (!navResDTO || navResDTO.code != 0) {
146 success(this.getFollowListDetailDataLocal(context)) 146 success(this.getFollowListDetailDataLocal(context))
147 return 147 return
148 } 148 }
@@ -151,7 +151,6 @@ class MinePageDatasModel{ @@ -151,7 +151,6 @@ class MinePageDatasModel{
151 success(navigationBean); 151 success(navigationBean);
152 }).catch((err: Error) => { 152 }).catch((err: Error) => {
153 Logger.error(TAG, `fetchAppointmentListDataApi catch, error.name : ${err.name}, error.message:${err.message}`); 153 Logger.error(TAG, `fetchAppointmentListDataApi catch, error.name : ${err.name}, error.message:${err.message}`);
154 - // error(err);  
155 success(this.getFollowListDetailDataLocal(context)) 154 success(this.getFollowListDetailDataLocal(context))
156 }) 155 })
157 }) 156 })
@@ -188,8 +187,7 @@ class MinePageDatasModel{ @@ -188,8 +187,7 @@ class MinePageDatasModel{
188 return new Promise<FollowListItem[]>((success, error) => { 187 return new Promise<FollowListItem[]>((success, error) => {
189 Logger.info(TAG, `getAppointmentList start`); 188 Logger.info(TAG, `getAppointmentList start`);
190 this.fetchFollowListData().then((navResDTO: ResponseDTO<FollowListItem[]>) => { 189 this.fetchFollowListData().then((navResDTO: ResponseDTO<FollowListItem[]>) => {
191 - if (!navResDTO) {  
192 - error("page data invalid"); 190 + if (!navResDTO || navResDTO.code != 0) {
193 success(this.getFollowListDataLocal(context)) 191 success(this.getFollowListDataLocal(context))
194 return 192 return
195 } 193 }
@@ -198,7 +196,6 @@ class MinePageDatasModel{ @@ -198,7 +196,6 @@ class MinePageDatasModel{
198 success(navigationBean); 196 success(navigationBean);
199 }).catch((err: Error) => { 197 }).catch((err: Error) => {
200 Logger.error(TAG, `fetchAppointmentListDataApi catch, error.name : ${err.name}, error.message:${err.message}`); 198 Logger.error(TAG, `fetchAppointmentListDataApi catch, error.name : ${err.name}, error.message:${err.message}`);
201 - // error(err);  
202 success(this.getFollowListDataLocal(context)) 199 success(this.getFollowListDataLocal(context))
203 }) 200 })
204 }) 201 })
@@ -206,7 +203,7 @@ class MinePageDatasModel{ @@ -206,7 +203,7 @@ class MinePageDatasModel{
206 203
207 async getFollowListDataLocal(context: Context): Promise<FollowListItem[]> { 204 async getFollowListDataLocal(context: Context): Promise<FollowListItem[]> {
208 Logger.info(TAG, `getFollowListDataLocal start`); 205 Logger.info(TAG, `getFollowListDataLocal start`);
209 - let compRes: ResponseDTO<FollowListItem[]> | null = await ResourcesUtils.getResourcesJson<ResponseDTO<FollowListItem[]>>(context,'follow_list_data2.json' ); 206 + let compRes: ResponseDTO<FollowListItem[]> | null = await ResourcesUtils.getResourcesJson<ResponseDTO<FollowListItem[]>>(context,'follow_list_data.json' );
210 if (!compRes || !compRes.data) { 207 if (!compRes || !compRes.data) {
211 Logger.info(TAG, `getFollowListDataLocal compRes is empty`); 208 Logger.info(TAG, `getFollowListDataLocal compRes is empty`);
212 return [] 209 return []
@@ -214,6 +211,90 @@ class MinePageDatasModel{ @@ -214,6 +211,90 @@ class MinePageDatasModel{
214 Logger.info(TAG, `getFollowListDataLocal getResourcesJsonSync compRes : ${JSON.stringify(compRes)}`); 211 Logger.info(TAG, `getFollowListDataLocal getResourcesJsonSync compRes : ${JSON.stringify(compRes)}`);
215 return compRes.data 212 return compRes.data
216 } 213 }
  214 +
  215 + /**
  216 + * 我的关注列表
  217 + * @param params
  218 + * @param context
  219 + * @returns
  220 + */
  221 + getMineFollowListData(params:FollowListDetailRequestItem,context: Context): Promise<MineFollowListItem> {
  222 + return new Promise<MineFollowListItem>((success, error) => {
  223 + Logger.info(TAG, `getAppointmentList start`);
  224 + this.fetchMineDetailFollowListData(params).then((navResDTO: ResponseDTO<MineFollowListItem>) => {
  225 + if (!navResDTO || navResDTO.code != 0) {
  226 + success(this.getMineFollowListDataLocal(context))
  227 + return
  228 + }
  229 + Logger.info(TAG, "getAppointmentList then,AppointmentResDTO.timeStamp:" + navResDTO.timestamp);
  230 + let navigationBean = navResDTO.data as MineFollowListItem
  231 + success(navigationBean);
  232 + }).catch((err: Error) => {
  233 + Logger.error(TAG, `fetchAppointmentListDataApi catch, error.name : ${err.name}, error.message:${err.message}`);
  234 + success(this.getMineFollowListDataLocal(context))
  235 + })
  236 + })
  237 + }
  238 +
  239 + fetchMineDetailFollowListData(object:FollowListDetailRequestItem) {
  240 + let url = HttpUrlUtils.getMineFollowListDataUrl()+`?pageSize=${object.pageSize}&pageNum=${object.pageNum}`
  241 + let headers: HashMap<string, string> = HttpUrlUtils.getYcgCommonHeaders();
  242 + return WDHttp.get<ResponseDTO<MineFollowListItem>>(url, headers)
  243 + };
  244 +
  245 + async getMineFollowListDataLocal(context: Context): Promise<MineFollowListItem> {
  246 + Logger.info(TAG, `getMineFollowListDataLocal start`);
  247 + let compRes: ResponseDTO<MineFollowListItem> | null = await ResourcesUtils.getResourcesJson<ResponseDTO<MineFollowListItem>>(context,'mine_follow_list_data.json' );
  248 + if (!compRes || !compRes.data) {
  249 + Logger.info(TAG, `getMineFollowListDataLocal compRes is empty`);
  250 + return new MineFollowListItem()
  251 + }
  252 + Logger.info(TAG, `getMineFollowListDataLocal getResourcesJsonSync compRes : ${JSON.stringify(compRes)}`);
  253 + return compRes.data
  254 + }
  255 +
  256 + /**
  257 + * 查询是否被关注 列表
  258 + * @param params
  259 + * @param context
  260 + * @returns
  261 + */
  262 + getFollowListStatusData(params:FollowListStatusRequestItem,context: Context): Promise<QueryListIsFollowedItem[]> {
  263 + return new Promise<QueryListIsFollowedItem[]>((success, error) => {
  264 + Logger.info(TAG, `getAppointmentList start`);
  265 + this.fetchFollowListStatusData(params).then((navResDTO: ResponseDTO<QueryListIsFollowedItem[]>) => {
  266 + if (!navResDTO || navResDTO.code != 0) {
  267 + success(this.getFollowListStatusDataLocal(context))
  268 + return
  269 + }
  270 + Logger.info(TAG, "getAppointmentList then,AppointmentResDTO.timeStamp:" + navResDTO.timestamp);
  271 + let navigationBean = navResDTO.data as QueryListIsFollowedItem[]
  272 + success(navigationBean);
  273 + }).catch((err: Error) => {
  274 + Logger.error(TAG, `fetchAppointmentListDataApi catch, error.name : ${err.name}, error.message:${err.message}`);
  275 + success(this.getFollowListStatusDataLocal(context))
  276 + })
  277 + })
  278 + }
  279 +
  280 + fetchFollowListStatusData(object:FollowListStatusRequestItem) {
  281 + let url = HttpUrlUtils.getFollowListStatusDataUrl()
  282 + let headers: HashMap<string, string> = HttpUrlUtils.getYcgCommonHeaders();
  283 + return WDHttp.post<ResponseDTO<QueryListIsFollowedItem[]>>(url,object, headers)
  284 + };
  285 +
  286 + async getFollowListStatusDataLocal(context: Context): Promise<QueryListIsFollowedItem[]> {
  287 + Logger.info(TAG, `getMineFollowListDataLocal start`);
  288 + let compRes: ResponseDTO<QueryListIsFollowedItem[]> | null = await ResourcesUtils.getResourcesJson<ResponseDTO<QueryListIsFollowedItem[]>>(context,'follow_list_id120_isfocus_data.json' );
  289 + if (!compRes || !compRes.data) {
  290 + Logger.info(TAG, `getMineFollowListDataLocal compRes is empty`);
  291 + return []
  292 + }
  293 + Logger.info(TAG, `getMineFollowListDataLocal getResourcesJsonSync compRes : ${JSON.stringify(compRes)}`);
  294 + return compRes.data
  295 + }
  296 +
  297 +
217 } 298 }
218 299
219 const minePageDatasModel = MinePageDatasModel.getInstance() 300 const minePageDatasModel = MinePageDatasModel.getInstance()
  1 +
  2 +// {
  3 +// "hasNext": 0,
  4 +// "list": [
  5 +// Object{...},
  6 +// Object{...}
  7 +// ],
  8 +// "pageNum": 1,
  9 +// "pageSize": 20,
  10 +// "totalCount": 2
  11 +// },
  12 +
  13 +export class MyCollectionModel{
  14 + //标题
  15 + newsTitle:string
  16 + //封面
  17 + coverUrl:string
  18 +
  19 + constructor(newsTitle:string , coverUrl:string) {
  20 + this.newsTitle = newsTitle;
  21 + this.coverUrl = coverUrl
  22 + }
  23 +}
  24 +
  25 +@Observed
  26 +export class MyCollectionItem{
  27 + pageNum:number = 0
  28 + pageSize:number = 0
  29 + totalCount:number = 0
  30 + hasNext:number = 0
  31 + list:MyCollectionModel[] = []
  32 +}
  33 +
  34 +
  35 +export class MyCollectionListModel{
  36 + list:MyCollectionModel[] = []
  37 +
  38 + pageNum: number = 0
  39 + pageSize: number = 20
  40 + totalCount: number = 0
  41 +
  42 + constructor(list?:MyCollectionModel[],pageNum?: number,pageSize?: number,totalCount?: number) {
  43 + }
  44 +}
  45 +
1 import HashMap from '@ohos.util.HashMap'; 1 import HashMap from '@ohos.util.HashMap';
2 import { HttpUrlUtils, ResponseDTO, WDHttp } from 'wdNetwork'; 2 import { HttpUrlUtils, ResponseDTO, WDHttp } from 'wdNetwork';
3 import { DateTimeUtils, Logger } from 'wdKit'; 3 import { DateTimeUtils, Logger } from 'wdKit';
4 -import { ContentDetailDTO, NavigationBodyDTO, PageDTO,InteractDataDTO, MorningEveningPaperDTO,  
5 - NewspaperTimeInfoBean, 4 +import {
  5 + CompInfoBean,
  6 + ContentDetailDTO,
  7 + InteractDataDTO,
  8 + MorningEveningPaperDTO,
  9 + NavigationBodyDTO,
6 NewspaperListBean, 10 NewspaperListBean,
7 - PageInfoBean,  
8 - CompInfoBean 11 + NewspaperTimeInfoBean,
  12 + PageDTO,
  13 + PageInfoBean
9 } from 'wdBean'; 14 } from 'wdBean';
  15 +
10 const TAG = 'HttpRequest'; 16 const TAG = 'HttpRequest';
11 export class PageRepository { 17 export class PageRepository {
12 static getBottomNavGroupUrl() { 18 static getBottomNavGroupUrl() {
@@ -62,8 +68,8 @@ export class PageRepository { @@ -62,8 +68,8 @@ export class PageRepository {
62 return url; 68 return url;
63 } 69 }
64 70
65 - static getNewspaperInfoUrl() {  
66 - let url = HttpUrlUtils.getHost() + HttpUrlUtils.E_NEWSPAPER_INFO_PATH; 71 + static getNewspaperInfoUrl(date: string) {
  72 + let url = HttpUrlUtils.getHost() + HttpUrlUtils.E_NEWSPAPER_INFO_PATH + "?date=" + date;
67 Logger.info(TAG,"getNewspaperInfoUrl url = "+url) 73 Logger.info(TAG,"getNewspaperInfoUrl url = "+url)
68 return url; 74 return url;
69 } 75 }
@@ -88,11 +94,21 @@ export class PageRepository { @@ -88,11 +94,21 @@ export class PageRepository {
88 94
89 /** 95 /**
90 * 早晚报compInfo请求 96 * 早晚报compInfo请求
  97 + * pageId:页面id
  98 + * groupId:楼层id
  99 + * pageNum:页码,默认1
  100 + * pageSize:页数,默认20
  101 + * refreshTime:第一页刷新时间,用于频道分页排序时过滤,查询时携带【首刷、下拉取当前最新时间;其他的都使用首刷的时间】
  102 + *
  103 + * 可选
  104 + * channelId:频道id
  105 + * channelStrategy:频道策略
  106 + * topicId:专题id
91 * */ 107 * */
92 - static getMorningEveningCompInfoUrl(pageId: string) { 108 + static getMorningEveningCompInfoUrl(pageId: number,groupId:number,refreshTime:string,pageNum:number,pageSize:number) {
93 let url = HttpUrlUtils.getHost() + HttpUrlUtils.MORNING_EVENING_COMP_INFO_PATH; 109 let url = HttpUrlUtils.getHost() + HttpUrlUtils.MORNING_EVENING_COMP_INFO_PATH;
94 - url = url + "?loadStrategy=first_load&pageNum=1&refreshTime=1710853254592&pageId="  
95 - +pageId+"&channelStrategy=2&groupId=40621&topicId=10000009445&pageSize=20"; 110 + url = url + "?loadStrategy=first_load&pageNum="+pageNum+"&refreshTime="+refreshTime+"&pageId="
  111 + +pageId+"&channelStrategy=2&groupId="+groupId+"&topicId=10000009445&pageSize="+pageSize;
96 Logger.info(TAG,"getMorningEveningCompInfoUrl url = "+url) 112 Logger.info(TAG,"getMorningEveningCompInfoUrl url = "+url)
97 return url; 113 return url;
98 } 114 }
@@ -136,8 +152,8 @@ export class PageRepository { @@ -136,8 +152,8 @@ export class PageRepository {
136 return WDHttp.post<ResponseDTO<InteractDataDTO[]>>(url, param, headers) 152 return WDHttp.post<ResponseDTO<InteractDataDTO[]>>(url, param, headers)
137 }; 153 };
138 154
139 - static fetchNewspaperInfo() {  
140 - let url = PageRepository.getNewspaperInfoUrl() 155 + static fetchNewspaperInfo(date: string) {
  156 + let url = PageRepository.getNewspaperInfoUrl(date)
141 let headers: HashMap<string, string> = HttpUrlUtils.getCommonHeaders(); 157 let headers: HashMap<string, string> = HttpUrlUtils.getCommonHeaders();
142 return WDHttp.get<ResponseDTO<NewspaperTimeInfoBean[]>>(url, headers) 158 return WDHttp.get<ResponseDTO<NewspaperTimeInfoBean[]>>(url, headers)
143 }; 159 };
@@ -160,8 +176,8 @@ export class PageRepository { @@ -160,8 +176,8 @@ export class PageRepository {
160 /** 176 /**
161 * 获取早晚报compInfo 177 * 获取早晚报compInfo
162 * */ 178 * */
163 - static fetchMorningEveningCompInfo(pageId: string) {  
164 - let url = PageRepository.getMorningEveningCompInfoUrl(pageId) 179 + static fetchMorningEveningCompInfo(pageId: number,groupId:number,refreshTime:string,pageNum:number,pageSize:number) {
  180 + let url = PageRepository.getMorningEveningCompInfoUrl(pageId,groupId,refreshTime,pageNum,pageSize)
165 let headers: HashMap<string, string> = HttpUrlUtils.getCommonHeaders(); 181 let headers: HashMap<string, string> = HttpUrlUtils.getCommonHeaders();
166 return WDHttp.get<ResponseDTO<CompInfoBean>>(url, headers) 182 return WDHttp.get<ResponseDTO<CompInfoBean>>(url, headers)
167 }; 183 };
  1 +
  2 +import { EditInfoModel, EditListInfo } from '../model/EditInfoModel';
  3 +import HashMap from '@ohos.util.HashMap';
  4 +import { HttpUrlUtils, ResponseDTO, WDHttp } from 'wdNetwork';
  5 +
  6 +
  7 +class EditInfoViewModel {
  8 + private static instance: EditInfoViewModel;
  9 + editListData:EditListInfo[] = []
  10 + /**
  11 + * 单例模式
  12 + * @returns
  13 + */
  14 + public static getInstance(): EditInfoViewModel {
  15 + if (!EditInfoViewModel.instance) {
  16 + EditInfoViewModel.instance = new EditInfoViewModel();
  17 + }
  18 + return EditInfoViewModel.instance;
  19 + }
  20 +
  21 + BaseGetRequest(requestUrl:string){
  22 + let headers: HashMap<string, string> = HttpUrlUtils.getCommonHeaders()
  23 + return WDHttp.get<ResponseDTO>(requestUrl,headers)
  24 + }
  25 +
  26 +
  27 + getEditListInfo(item:EditInfoModel):EditListInfo[]{
  28 + this.editListData = [
  29 + new EditListInfo('昵称',item&&item.userName?item.userName:'待完善'),
  30 + new EditListInfo('简介',item&&item.introduction?item.introduction:'待完善'),
  31 + new EditListInfo('地区',item&&item.city?item.city:'待完善'),
  32 + new EditListInfo('生日',item&&item.birthday?item.birthday:'待完善'),
  33 + new EditListInfo('性别',item&&item.sex?item.sex:'待完善'),]
  34 + return this.editListData
  35 + }
  36 +
  37 + queryAccountOwnerInfo(userType:number):PromiseLike<EditInfoModel>{
  38 + return new Promise(((success, error) => {
  39 + this.BaseGetRequest(HttpUrlUtils.APPOINTMENT_AccountOwner_PATH).then(navResDTO =>{
  40 + if (navResDTO.code == 200) {
  41 + // success(JSON.parse(navResDTO.data))
  42 + }
  43 + }).catch()
  44 + }))
  45 + }
  46 +
  47 + updateUserInfo(){
  48 +
  49 + }
  50 +
  51 +}
  52 +
  53 +const editInfoViewModel = EditInfoViewModel.getInstance();
  54 +
  55 +export default editInfoViewModel as EditInfoViewModel
@@ -65,12 +65,20 @@ export class FollowListDetailItem{ @@ -65,12 +65,20 @@ export class FollowListDetailItem{
65 cnUserName:string //昵称 65 cnUserName:string //昵称
66 cnFansNum:number //粉丝数 66 cnFansNum:number //粉丝数
67 introduction:string //介绍 67 introduction:string //介绍
68 - isFollow:boolean = false //是否已经关注 68 + status:string = "0" //是否已经关注
  69 + creatorId:string = ""
69 70
70 - constructor(headPhotoUrl:string,cnUserName:string,cnFansNum:number,introduction:string) { 71 + attentionCreatorId:string = ""
  72 + attentionHeadPhotoUrl:string = ""
  73 + attentionUserName:string = ""
  74 + fansNum :number = 0
  75 +
  76 + constructor(headPhotoUrl:string,cnUserName:string,cnFansNum:number,introduction:string,creatorId:string,status:string ) {
71 this.headPhotoUrl = headPhotoUrl 77 this.headPhotoUrl = headPhotoUrl
72 this.cnUserName = cnUserName 78 this.cnUserName = cnUserName
73 this.cnFansNum = cnFansNum 79 this.cnFansNum = cnFansNum
74 this.introduction = introduction 80 this.introduction = introduction
  81 + this.creatorId = creatorId
  82 + this.status = status
75 } 83 }
76 } 84 }
1 export class FollowListDetailRequestItem{ 1 export class FollowListDetailRequestItem{
2 - creatorDirectoryId:number = 120 2 + creatorDirectoryId:number = -1
3 pageSize:number = 20 3 pageSize:number = 20
4 pageNum:number = 1 4 pageNum:number = 1
5 5
6 - constructor(creatorDirectoryId: number = 120, 6 + constructor(creatorDirectoryId: number = -1,
7 pageSize: number = 20, 7 pageSize: number = 20,
8 pageNum: number = 1) { 8 pageNum: number = 1) {
9 this.creatorDirectoryId = creatorDirectoryId 9 this.creatorDirectoryId = creatorDirectoryId
@@ -40,7 +40,7 @@ export class FollowListItem{ @@ -40,7 +40,7 @@ export class FollowListItem{
40 } 40 }
41 directoryName:string = "" 41 directoryName:string = ""
42 directoryWeight:number = 0 42 directoryWeight:number = 0
43 - id:number = 0 43 + id:number = -1
44 isShow:number = 1 44 isShow:number = 1
45 level:number = 1 45 level:number = 1
46 parentId:number = 0 46 parentId:number = 0
  1 +import { QueryListIsFollowedItem } from './QueryListIsFollowedItem'
  2 +
  3 +// {"creatorIds":[{"creatorId":"3004862"},{"creatorId":"3004855"}]}
  4 +
  5 +export class FollowListStatusRequestItem{
  6 + creatorIds:QueryListIsFollowedItem[] = []
  7 +}
  1 +import { MineFollowListDetailItem } from './MineFollowListDetailItem'
  2 +
  3 +export class MineFollowListItem extends MineFollowListDetailItem{
  4 + hasNext: number = 0
  5 +}
@@ -31,10 +31,10 @@ export class MorningEveningViewModel { @@ -31,10 +31,10 @@ export class MorningEveningViewModel {
31 }) 31 })
32 } 32 }
33 33
34 - static async getMorningEveningCompInfo(pageId: string): Promise<CompInfoBean> { 34 + static async getMorningEveningCompInfo(pageId: number,groupId:number,refreshTime:string,pageNum:number = 1,pageSize:number = 20): Promise<CompInfoBean> {
35 return new Promise<CompInfoBean>((success, error) => { 35 return new Promise<CompInfoBean>((success, error) => {
36 Logger.info(TAG, `getMorningEveningCompInfo pageInfo start`); 36 Logger.info(TAG, `getMorningEveningCompInfo pageInfo start`);
37 - PageRepository.fetchMorningEveningCompInfo(pageId).then((resDTO: ResponseDTO<CompInfoBean>) => { 37 + PageRepository.fetchMorningEveningCompInfo(pageId,groupId,refreshTime,pageNum,pageSize).then((resDTO: ResponseDTO<CompInfoBean>) => {
38 if (!resDTO || !resDTO.data) { 38 if (!resDTO || !resDTO.data) {
39 Logger.error(TAG, 'getMorningEveningCompInfo then navResDTO is empty'); 39 Logger.error(TAG, 'getMorningEveningCompInfo then navResDTO is empty');
40 error('resDTO is empty'); 40 error('resDTO is empty');
  1 +import { MyCollectionListModel } from '../model/MyCollectionModel';
  2 +import HashMap from '@ohos.util.HashMap';
  3 +import { HttpUrlUtils, ResponseDTO, WDHttp } from 'wdNetwork';
  4 +import { Logger } from 'wdKit';
  5 +
  6 +const TAG = "MyCollectionViewModel"
  7 +
  8 +class MyCollectionViewModel {
  9 + private static instance:MyCollectionViewModel
  10 +
  11 + /**
  12 + * 单例模式
  13 + * @returns
  14 + */
  15 + public static getInstance(): MyCollectionViewModel {
  16 + if (!MyCollectionViewModel.instance) {
  17 + MyCollectionViewModel.instance = new MyCollectionViewModel();
  18 + }
  19 + return MyCollectionViewModel.instance;
  20 + }
  21 +
  22 + BaseGetRequest(type:number,tagId:string,pageNum:string){
  23 + let url = HttpUrlUtils.getMyCollectionListDataUrl()+ `?type=${type}&operateTag=${1}&pageSize=${20}&pageNum=${pageNum}`
  24 + if (tagId.length > 0) {
  25 + url = url + `&tagId=${tagId}`
  26 + }
  27 + let headers: HashMap<string, string> = HttpUrlUtils.getCommonHeaders()
  28 + return WDHttp.get<ResponseDTO<MyCollectionListModel>>(url, headers)
  29 + }
  30 +
  31 + //Type 1 收藏 2 浏览历史
  32 + //tagId 收藏界面 标签筛选
  33 + fetchMyCollectList(type:number,tagId:string,pageNum:string):Promise<MyCollectionListModel>{
  34 + return new Promise<MyCollectionListModel>((success,error) => {
  35 + this.BaseGetRequest(type,tagId,pageNum).then((navResDTO: ResponseDTO<MyCollectionListModel>) => {
  36 + if (navResDTO) {
  37 + let listData = navResDTO.data as MyCollectionListModel
  38 + success(listData)
  39 + }else{
  40 + Logger.info(TAG, "getAppointmentList then,AppointmentResDTO.timeStamp:" + navResDTO.timestamp);
  41 + error("page data invalid");
  42 + }
  43 + }).catch((err: Error) => {
  44 + Logger.error(TAG, `fetchAppointmentListDataApi catch, error.name : ${err.name}, error.message:${err.message}`);
  45 + error("page data invalid");
  46 + })
  47 + })
  48 + }
  49 +}
@@ -16,10 +16,10 @@ export class NewspaperViewModel { @@ -16,10 +16,10 @@ export class NewspaperViewModel {
16 return newspaperTimeInfo.data 16 return newspaperTimeInfo.data
17 } 17 }
18 18
19 - static async getNewspaperTime(): Promise<NewspaperTimeInfoBean[]> { 19 + static async getNewspaperTime(date: string): Promise<NewspaperTimeInfoBean[]> {
20 return new Promise<NewspaperTimeInfoBean[]>((success, error) => { 20 return new Promise<NewspaperTimeInfoBean[]>((success, error) => {
21 Logger.info(TAG, `getNavData start`); 21 Logger.info(TAG, `getNavData start`);
22 - PageRepository.fetchNewspaperInfo().then((resDTO: ResponseDTO<NewspaperTimeInfoBean[]>) => { 22 + PageRepository.fetchNewspaperInfo(date).then((resDTO: ResponseDTO<NewspaperTimeInfoBean[]>) => {
23 if (!resDTO || !resDTO.data) { 23 if (!resDTO || !resDTO.data) {
24 Logger.error(TAG, 'getNewspaperTime then navResDTO is empty'); 24 Logger.error(TAG, 'getNewspaperTime then navResDTO is empty');
25 error('resDTO is empty'); 25 error('resDTO is empty');
@@ -71,6 +71,4 @@ export class NewspaperViewModel { @@ -71,6 +71,4 @@ export class NewspaperViewModel {
71 } 71 }
72 return newspaperListBean.data 72 return newspaperListBean.data
73 } 73 }
74 -  
75 -  
76 } 74 }
  1 +
  2 +// "creatorId": "3004862",
  3 +// "status": "0",
  4 +// "userId": "567387477063621"
  5 +
  6 +export class QueryListIsFollowedItem{
  7 + creatorId:string = "-1"
  8 + status:string = "0"
  9 + userId:string = ""
  10 +
  11 + constructor(creatorId: string) {
  12 + this.creatorId = creatorId
  13 + }
  14 +}
@@ -98,6 +98,10 @@ @@ -98,6 +98,10 @@
98 { 98 {
99 "name":"color_EDEDED", 99 "name":"color_EDEDED",
100 "value": "#EDEDED" 100 "value": "#EDEDED"
  101 + },
  102 + {
  103 + "name": "color_1AED2800",
  104 + "value": "#1AED2800"
101 } 105 }
102 ] 106 ]
103 } 107 }
@@ -6,6 +6,8 @@ @@ -6,6 +6,8 @@
6 "components/page/SettingPage", 6 "components/page/SettingPage",
7 "components/page/SettingAboutPage", 7 "components/page/SettingAboutPage",
8 "components/page/PrivacySettingPage" 8 "components/page/PrivacySettingPage"
  9 + "components/page/EditUserInfoPage",
  10 + "components/page/EditUserNikeNamePage",
  11 + "components/page/EditUserIntroductionPage"
9 ] 12 ]
10 -}  
11 - 13 +}
1 import { ENewspaperPageComponent } from 'wdComponent'; 1 import { ENewspaperPageComponent } from 'wdComponent';
2 -import { Logger } from 'wdKit' 2 +import { Logger } from 'wdKit';
  3 +import common from '@ohos.app.ability.common';
  4 +import window from '@ohos.window';
3 5
4 const TAG = 'ENewspaper'; 6 const TAG = 'ENewspaper';
5 7
6 @Entry 8 @Entry
7 @Component 9 @Component
8 struct ENewspaper { 10 struct ENewspaper {
  11 + // 获取UIAbility上下文
  12 + context: common.UIAbilityContext = getContext(this) as common.UIAbilityContext
  13 +
  14 + async setSystemBar(color: string) {
  15 + // 获取当前应用窗口
  16 + let windowClass: window.Window = await window.getLastWindow(this.context)
  17 + // 将状态栏和导航栏的背景色设置为跟应用窗口相同的颜色
  18 + await windowClass.setWindowSystemBarProperties({
  19 + navigationBarColor: color,
  20 + statusBarColor: color,
  21 + // navigationBarContentColor: "#00FF00",
  22 + // statusBarContentColor: "#00FF00"
  23 + })
  24 + }
9 25
10 build() { 26 build() {
11 Column() { 27 Column() {
@@ -13,7 +29,7 @@ struct ENewspaper { @@ -13,7 +29,7 @@ struct ENewspaper {
13 } 29 }
14 } 30 }
15 31
16 - pageTransition(){ 32 + pageTransition() {
17 // 定义页面进入时的效果,从底侧滑入 33 // 定义页面进入时的效果,从底侧滑入
18 PageTransitionEnter({ type: RouteType.None, duration: 300 }) 34 PageTransitionEnter({ type: RouteType.None, duration: 300 })
19 .slide(SlideEffect.Bottom) 35 .slide(SlideEffect.Bottom)
@@ -31,10 +47,12 @@ struct ENewspaper { @@ -31,10 +47,12 @@ struct ENewspaper {
31 } 47 }
32 48
33 onPageShow() { 49 onPageShow() {
  50 + this.setSystemBar('#80000000')
34 Logger.info(TAG, 'onPageShow'); 51 Logger.info(TAG, 'onPageShow');
35 } 52 }
36 53
37 onPageHide() { 54 onPageHide() {
  55 + this.setSystemBar('#FFFFFFFF')
38 Logger.info(TAG, 'onPageHide'); 56 Logger.info(TAG, 'onPageHide');
39 } 57 }
40 58
  1 +{
  2 + "code": "0",
  3 + "data": {
  4 + "hasNext": 0,
  5 + "list": [
  6 + {
  7 + "activityExt": null,
  8 + "appStyle": "23",
  9 + "askInfo": {
  10 + "answerContent": "已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复已回复",
  11 + "askId": 60000000430,
  12 + "content": "首先,修路期间道路的封闭和交通拥堵成为了最大的问题。原本通畅的道路在施工期间常常被堵得水泄不通,不仅给市民的出行带来了极大的不便,也影响了周边商户的生意。此外,由于施工期间各种设备和材料的运输需求增加,交通压力也随之增大。\n\n其次,修路期间产生的噪音和环境污染也是一个难以忍受的烦恼。大型机械和运输车辆的轰鸣声、建筑材料加工的噪音以及工人施工的喧闹声,都给居民的生活带来了很大的干扰。同时,由于施工期间各种设备、材料的使用和运输,产生的灰尘、废气等也会对环境造成一定的污染。\n\n再者,修路期间的施工安全问题也令人担忧。由于施工期间道路的不规范和设备的摆放不当,容易导致交通事故的发生。此外,由于施工人员的疏忽大意,也可能引发一些安全隐患。\n\n针对以上问题,我们可以采取以下措施来缓解修路期间的烦恼:\n\n合理规划施工时间和路线,尽量减少对居民生活和商户经营的影响。\n\n加强施工现场的安全管理,确保施工期间的安全。\n\n采取必要的环保措施,减少施工期间对环境的影响。\n\n总之,修路虽然带来了许多烦恼,但也是城市发展所必须面对的问题。只有通过合理的规划和管理,才能最大程度地减少修路期间的各种烦恼,让我们的生活更加便利和舒适。",
  13 + "domainName": "治安",
  14 + "forumName": "安徽省合肥市委书记虞爱华",
  15 + "realAskId": "17050288",
  16 + "stateInfo": 4,
  17 + "typeName": "咨询"
  18 + },
  19 + "axisColor": "",
  20 + "bestNoticer": null,
  21 + "bottomNavId": null,
  22 + "cardItemId": "",
  23 + "channelId": 2062,
  24 + "commentInfo": null,
  25 + "corner": "",
  26 + "coverSize": "",
  27 + "coverType": 1,
  28 + "coverUrl": "http://testlybcustomer.people.cn/files/attachment/month_2310/202310_b1XKIRsW35n7A3Srz5EeUaLtWnqryjNz_m.jpg",
  29 + "expIds": "",
  30 + "extra": "",
  31 + "fullColumnImgUrls": [
  32 + {
  33 + "format": null,
  34 + "height": null,
  35 + "landscape": null,
  36 + "size": null,
  37 + "url": "http://testlybcustomer.people.cn/files/attachment/month_2310/202310_b1XKIRsW35n7A3Srz5EeUaLtWnqryjNz_m.jpg",
  38 + "weight": null
  39 + }
  40 + ],
  41 + "hasMore": null,
  42 + "itemId": "",
  43 + "itemType": "",
  44 + "itemTypeCode": "",
  45 + "keyArticle": null,
  46 + "landscape": null,
  47 + "likeStyle": null,
  48 + "linkUrl": "",
  49 + "liveInfo": null,
  50 + "menuShow": 1,
  51 + "newTags": "",
  52 + "newsAuthor": "",
  53 + "newsSubTitle": "",
  54 + "newsSummary": "",
  55 + "newsTitle": "8月5号正在修路,给出行带来了诸多不变",
  56 + "newsTitleColor": "",
  57 + "objectId": "60000000430",
  58 + "objectLevel": "",
  59 + "objectType": "16",
  60 + "openComment": null,
  61 + "openLikes": null,
  62 + "pageId": "",
  63 + "photoNum": null,
  64 + "position": null,
  65 + "productNum": null,
  66 + "publishTime": "1697091605000",
  67 + "pushTime": null,
  68 + "pushUnqueId": null,
  69 + "readFlag": 0,
  70 + "recommend": null,
  71 + "relId": 500000002539,
  72 + "relObjectId": "2062",
  73 + "relType": 1,
  74 + "rmhInfo": null,
  75 + "rmhPlatform": null,
  76 + "sceneId": "",
  77 + "shareInfo": null,
  78 + "slideShows": [
  79 +
  80 + ],
  81 + "sortValue": null,
  82 + "source": "",
  83 + "subObjectType": "",
  84 + "subSceneId": "",
  85 + "tagIds": [
  86 +
  87 + ],
  88 + "tagWord": null,
  89 + "titleShow": null,
  90 + "titleShowPolicy": null,
  91 + "topicTemplate": null,
  92 + "traceId": "",
  93 + "traceInfo": "",
  94 + "userInfo": null,
  95 + "videoInfo": null,
  96 + "visitorComment": 0,
  97 + "voiceInfo": null
  98 + },
  99 + {
  100 + "activityExt": null,
  101 + "appStyle": "13",
  102 + "askInfo": null,
  103 + "axisColor": "",
  104 + "bestNoticer": null,
  105 + "bottomNavId": null,
  106 + "cardItemId": "",
  107 + "channelId": 2002,
  108 + "commentInfo": null,
  109 + "corner": "",
  110 + "coverSize": "616*463",
  111 + "coverType": 1,
  112 + "coverUrl": "https://rmrbcmsonline.peopleapp.com/upload/image/202403/202403151512545044.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90",
  113 + "expIds": "",
  114 + "extra": "",
  115 + "fullColumnImgUrls": [
  116 + {
  117 + "format": null,
  118 + "height": 463,
  119 + "landscape": 1,
  120 + "size": 1,
  121 + "url": "https://rmrbcmsonline.peopleapp.com/upload/image/202403/202403151512545044.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90",
  122 + "weight": 616
  123 + }
  124 + ],
  125 + "hasMore": null,
  126 + "itemId": "",
  127 + "itemType": "",
  128 + "itemTypeCode": "",
  129 + "keyArticle": 0,
  130 + "landscape": null,
  131 + "likeStyle": null,
  132 + "linkUrl": "",
  133 + "liveInfo": null,
  134 + "menuShow": 2,
  135 + "newTags": "",
  136 + "newsAuthor": "",
  137 + "newsSubTitle": "",
  138 + "newsSummary": "涉事人员被拘。",
  139 + "newsTitle": "北京昌平一社区火警延报近1小时:2人被拘,原因离谱",
  140 + "newsTitleColor": "",
  141 + "objectId": "30034963995",
  142 + "objectLevel": "",
  143 + "objectType": "8",
  144 + "openComment": null,
  145 + "openLikes": null,
  146 + "pageId": "",
  147 + "photoNum": null,
  148 + "position": null,
  149 + "productNum": null,
  150 + "publishTime": "1710487201000",
  151 + "pushTime": null,
  152 + "pushUnqueId": null,
  153 + "readFlag": 0,
  154 + "recommend": null,
  155 + "relId": 500002806288,
  156 + "relObjectId": "2002",
  157 + "relType": 1,
  158 + "rmhInfo": null,
  159 + "rmhPlatform": 0,
  160 + "sceneId": "",
  161 + "shareInfo": null,
  162 + "slideShows": [
  163 +
  164 + ],
  165 + "sortValue": null,
  166 + "source": "央视新闻",
  167 + "subObjectType": "",
  168 + "subSceneId": "",
  169 + "tagIds": [
  170 +
  171 + ],
  172 + "tagWord": null,
  173 + "titleShow": null,
  174 + "titleShowPolicy": null,
  175 + "topicTemplate": null,
  176 + "traceId": "",
  177 + "traceInfo": "",
  178 + "userInfo": null,
  179 + "videoInfo": null,
  180 + "visitorComment": 0,
  181 + "voiceInfo": null
  182 + }
  183 + ],
  184 + "pageNum": 1,
  185 + "pageSize": 20,
  186 + "totalCount": 2
  187 + },
  188 + "message": "Success",
  189 + "meta": null,
  190 + "requestId": "",
  191 + "success": true,
  192 + "timestamp": 1711010813300
  193 +}
1 { 1 {
2 "code": "0", 2 "code": "0",
3 "data": { 3 "data": {
4 - "list": [{  
5 - "attentionNum": 0,  
6 - "authIcon": "",  
7 - "authId": 0,  
8 - "authPersonal": "",  
9 - "authTitle": "",  
10 - "categoryAuth": "",  
11 - "city": "110100",  
12 - "cnAttentionNum": 0,  
13 - "cnCollectNum": 0,  
14 - "cnCommentNum": 0,  
15 - "cnFansNum": 4,  
16 - "cnIsAttention": 1,  
17 - "cnIsComment": 1,  
18 - "cnIsLike": 1,  
19 - "cnLikeNum": 0,  
20 - "cnLiveCommentControl": 1,  
21 - "cnLiveGiftControl": 1,  
22 - "cnLiveLikeControl": 1,  
23 - "cnLiveShareControl": 1,  
24 - "cnMainControl": 1,  
25 - "cnRegistTime": 1695280071000,  
26 - "cnShareControl": 1,  
27 - "cnShareNum": 0,  
28 - "cnUserId": "444937588589253",  
29 - "cnUserName": "QACrawler2115",  
30 - "cnUserType": "2",  
31 - "collectNum": 0,  
32 - "creatorId": "3004862",  
33 - "district": "110101",  
34 - "fansNum": 0,  
35 - "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309Th211436299/GLN.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",  
36 - "honoraryIcon": "",  
37 - "honoraryTitle": "",  
38 - "introduction": "知识博主",  
39 - "isAttention": 1,  
40 - "isComment": 1,  
41 - "isLike": 1,  
42 - "isVisiable": 1,  
43 - "likeNum": 0,  
44 - "liveCommentControl": 1,  
45 - "liveGiftControl": 1,  
46 - "liveLikeControl": 1,  
47 - "liveShareControl": 1,  
48 - "posterShareControl": 1,  
49 - "province": "110000",  
50 - "publishNum": 0,  
51 - "region": "",  
52 - "shareControl": 1,  
53 - "shareNum": 0,  
54 - "shopOpen": 0,  
55 - "storeUrl": "",  
56 - "subjectType": 0,  
57 - "userId": "",  
58 - "userName": "QACrawler2115",  
59 - "userType": "2",  
60 - "waresSwitch": 1  
61 - }, {  
62 - "attentionNum": 0,  
63 - "authIcon": "",  
64 - "authId": 0,  
65 - "authPersonal": "",  
66 - "authTitle": "",  
67 - "categoryAuth": "",  
68 - "city": "230100",  
69 - "cnAttentionNum": 0,  
70 - "cnCollectNum": 0,  
71 - "cnCommentNum": 0,  
72 - "cnFansNum": 4,  
73 - "cnIsAttention": 1,  
74 - "cnIsComment": 1,  
75 - "cnIsLike": 1,  
76 - "cnLikeNum": 0,  
77 - "cnLiveCommentControl": 1,  
78 - "cnLiveGiftControl": 1,  
79 - "cnLiveLikeControl": 1,  
80 - "cnLiveShareControl": 1,  
81 - "cnMainControl": 1,  
82 - "cnRegistTime": 1695276994000,  
83 - "cnShareControl": 1,  
84 - "cnShareNum": 0,  
85 - "cnUserId": "444911718724933",  
86 - "cnUserName": "一休哥",  
87 - "cnUserType": "2",  
88 - "collectNum": 0,  
89 - "creatorId": "3004861",  
90 - "district": "230102",  
91 - "fansNum": 0,  
92 - "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309Th141630857/Ptx.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",  
93 - "honoraryIcon": "",  
94 - "honoraryTitle": "",  
95 - "introduction": "中文端号主",  
96 - "isAttention": 1,  
97 - "isComment": 1,  
98 - "isLike": 1,  
99 - "isVisiable": 1,  
100 - "likeNum": 0,  
101 - "liveCommentControl": 1,  
102 - "liveGiftControl": 1,  
103 - "liveLikeControl": 1,  
104 - "liveShareControl": 1,  
105 - "posterShareControl": 1,  
106 - "province": "230000",  
107 - "publishNum": 0,  
108 - "region": "安徽",  
109 - "shareControl": 1,  
110 - "shareNum": 0,  
111 - "shopOpen": 0,  
112 - "storeUrl": "",  
113 - "subjectType": 2,  
114 - "userId": "",  
115 - "userName": "一休哥",  
116 - "userType": "2",  
117 - "waresSwitch": 1  
118 - }, {  
119 - "attentionNum": 0,  
120 - "authIcon": "",  
121 - "authId": 0,  
122 - "authPersonal": "",  
123 - "authTitle": "",  
124 - "categoryAuth": "",  
125 - "city": "110100",  
126 - "cnAttentionNum": 0,  
127 - "cnCollectNum": 0,  
128 - "cnCommentNum": 12,  
129 - "cnFansNum": 8,  
130 - "cnIsAttention": 1,  
131 - "cnIsComment": 1,  
132 - "cnIsLike": 1,  
133 - "cnLikeNum": 2,  
134 - "cnLiveCommentControl": 1,  
135 - "cnLiveGiftControl": 1,  
136 - "cnLiveLikeControl": 1,  
137 - "cnLiveShareControl": 1,  
138 - "cnMainControl": 1,  
139 - "cnRegistTime": 1695275999000,  
140 - "cnShareControl": 1,  
141 - "cnShareNum": 1,  
142 - "cnUserId": "444903323309381",  
143 - "cnUserName": "0921媒体",  
144 - "cnUserType": "3",  
145 - "collectNum": 0,  
146 - "creatorId": "3004860",  
147 - "district": "110101",  
148 - "fansNum": 0,  
149 - "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309Th135954709/qdL.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",  
150 - "honoraryIcon": "",  
151 - "honoraryTitle": "",  
152 - "introduction": "0921媒体",  
153 - "isAttention": 1,  
154 - "isComment": 1,  
155 - "isLike": 1,  
156 - "isVisiable": 1,  
157 - "likeNum": 0,  
158 - "liveCommentControl": 1,  
159 - "liveGiftControl": 1,  
160 - "liveLikeControl": 1,  
161 - "liveShareControl": 1,  
162 - "posterShareControl": 0,  
163 - "province": "110000",  
164 - "publishNum": 0,  
165 - "region": "上海",  
166 - "shareControl": 1,  
167 - "shareNum": 0,  
168 - "shopOpen": 0,  
169 - "storeUrl": "",  
170 - "subjectType": 1,  
171 - "userId": "",  
172 - "userName": "0921媒体",  
173 - "userType": "3",  
174 - "waresSwitch": 1  
175 - }, {  
176 - "attentionNum": 0,  
177 - "authIcon": "https://sitcontentjdcdn.aikan.pdnews.cn/creator-category/icon/auth/blue.png",  
178 - "authId": 1,  
179 - "authPersonal": "",  
180 - "authTitle": "黄袍加身V",  
181 - "categoryAuth": "黄袍加身V",  
182 - "city": "340100",  
183 - "cnAttentionNum": 9,  
184 - "cnCollectNum": 0,  
185 - "cnCommentNum": 3,  
186 - "cnFansNum": 9,  
187 - "cnIsAttention": 1,  
188 - "cnIsComment": 1,  
189 - "cnIsLike": 1,  
190 - "cnLikeNum": 7,  
191 - "cnLiveCommentControl": 1,  
192 - "cnLiveGiftControl": 1,  
193 - "cnLiveLikeControl": 1,  
194 - "cnLiveShareControl": 1,  
195 - "cnMainControl": 1,  
196 - "cnRegistTime": 1695260417000,  
197 - "cnShareControl": 1,  
198 - "cnShareNum": 0,  
199 - "cnUserId": "444776025830725",  
200 - "cnUserName": "李智恩3",  
201 - "cnUserType": "2",  
202 - "collectNum": 0,  
203 - "creatorId": "3004855",  
204 - "district": "340102",  
205 - "fansNum": 0,  
206 - "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309Th094010643/N5o.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",  
207 - "honoraryIcon": "",  
208 - "honoraryTitle": "",  
209 - "introduction": "IU",  
210 - "isAttention": 1,  
211 - "isComment": 1,  
212 - "isLike": 1,  
213 - "isVisiable": 1,  
214 - "likeNum": 0,  
215 - "liveCommentControl": 1,  
216 - "liveGiftControl": 1,  
217 - "liveLikeControl": 1,  
218 - "liveShareControl": 1,  
219 - "posterShareControl": 0,  
220 - "province": "340000",  
221 - "publishNum": 0,  
222 - "region": "安徽",  
223 - "shareControl": 1,  
224 - "shareNum": 0,  
225 - "shopOpen": 1,  
226 - "storeUrl": "",  
227 - "subjectType": 1,  
228 - "userId": "",  
229 - "userName": "李智恩3",  
230 - "userType": "2",  
231 - "waresSwitch": 0  
232 - }, {  
233 - "attentionNum": 0,  
234 - "authIcon": "https://sitcontentjdcdn.aikan.pdnews.cn/creator-category/icon/auth/yellow.png",  
235 - "authId": 2,  
236 - "authPersonal": "",  
237 - "authTitle": "黄VV",  
238 - "categoryAuth": "黄VV",  
239 - "city": "120100",  
240 - "cnAttentionNum": 1,  
241 - "cnCollectNum": 1,  
242 - "cnCommentNum": 7,  
243 - "cnFansNum": 13,  
244 - "cnIsAttention": 1,  
245 - "cnIsComment": 1,  
246 - "cnIsLike": 1,  
247 - "cnLikeNum": 0,  
248 - "cnLiveCommentControl": 1,  
249 - "cnLiveGiftControl": 1,  
250 - "cnLiveLikeControl": 1,  
251 - "cnLiveShareControl": 1,  
252 - "cnMainControl": 1,  
253 - "cnRegistTime": 1695202406000,  
254 - "cnShareControl": 1,  
255 - "cnShareNum": 0,  
256 - "cnUserId": "444300764043333",  
257 - "cnUserName": "创作者账号7777",  
258 - "cnUserType": "2",  
259 - "collectNum": 0,  
260 - "creatorId": "3004853",  
261 - "district": "120101",  
262 - "fansNum": 0,  
263 - "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/image/creator/2023092715/4727ab5db7604dbbac9ffb94ed03614e.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",  
264 - "honoraryIcon": "",  
265 - "honoraryTitle": "",  
266 - "introduction": "协作平台是进行团队开发、协作的系统,一般是基于互联网,也有用专业网的情况。协作平台的主要功能是:分工合作、进度控制、版本控制等功能。协作平台是进行团队开发、协作的系统,一般是基于互联网,也有用专业网的情况。协作平台的主要功能是:分工合作、进度控制、版本控制等功能。协作平台是进行团队开发、协作的系统,一般是基于互联网,也有用专业网的情况。协作平台的主要功能是:分工合作、进度控制、版本控制等功能。协作",  
267 - "isAttention": 1,  
268 - "isComment": 1,  
269 - "isLike": 1,  
270 - "isVisiable": 1,  
271 - "likeNum": 0,  
272 - "liveCommentControl": 1,  
273 - "liveGiftControl": 1,  
274 - "liveLikeControl": 1,  
275 - "liveShareControl": 1,  
276 - "posterShareControl": 0,  
277 - "province": "120000",  
278 - "publishNum": 0,  
279 - "region": "安徽",  
280 - "shareControl": 1,  
281 - "shareNum": 0,  
282 - "shopOpen": 1,  
283 - "storeUrl": "",  
284 - "subjectType": 0,  
285 - "userId": "",  
286 - "userName": "创作者账号7777",  
287 - "userType": "2",  
288 - "waresSwitch": 0  
289 - }, {  
290 - "attentionNum": 0,  
291 - "authIcon": "",  
292 - "authId": 0,  
293 - "authPersonal": "",  
294 - "authTitle": "",  
295 - "categoryAuth": "",  
296 - "city": "110100",  
297 - "cnAttentionNum": 0,  
298 - "cnCollectNum": 0,  
299 - "cnCommentNum": 0,  
300 - "cnFansNum": 9,  
301 - "cnIsAttention": 1,  
302 - "cnIsComment": 1,  
303 - "cnIsLike": 1,  
304 - "cnLikeNum": 6,  
305 - "cnLiveCommentControl": 1,  
306 - "cnLiveGiftControl": 1,  
307 - "cnLiveLikeControl": 1,  
308 - "cnLiveShareControl": 1,  
309 - "cnMainControl": 1,  
310 - "cnRegistTime": 1695201858000,  
311 - "cnShareControl": 1,  
312 - "cnShareNum": 0,  
313 - "cnUserId": "444296355502149",  
314 - "cnUserName": "0920个人",  
315 - "cnUserType": "2",  
316 - "collectNum": 0,  
317 - "creatorId": "3004851",  
318 - "district": "110101",  
319 - "fansNum": 0,  
320 - "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309We172415100/h2j.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",  
321 - "honoraryIcon": "https://cdn.aikan.pdnews.cn/image/picture/202312/20231223173451966FdV.png",  
322 - "honoraryTitle": "快乐星球",  
323 - "introduction": "账号简介",  
324 - "isAttention": 1,  
325 - "isComment": 1,  
326 - "isLike": 1,  
327 - "isVisiable": 1,  
328 - "likeNum": 0,  
329 - "liveCommentControl": 1,  
330 - "liveGiftControl": 1,  
331 - "liveLikeControl": 1,  
332 - "liveShareControl": 1,  
333 - "posterShareControl": 1,  
334 - "province": "110000",  
335 - "publishNum": 0,  
336 - "region": "上海",  
337 - "shareControl": 1,  
338 - "shareNum": 0,  
339 - "shopOpen": 0,  
340 - "storeUrl": "",  
341 - "subjectType": 0,  
342 - "userId": "",  
343 - "userName": "0920个人",  
344 - "userType": "2",  
345 - "waresSwitch": 1  
346 - }, {  
347 - "attentionNum": 0,  
348 - "authIcon": "",  
349 - "authId": 0,  
350 - "authPersonal": "",  
351 - "authTitle": "",  
352 - "categoryAuth": "",  
353 - "city": "120100",  
354 - "cnAttentionNum": 0,  
355 - "cnCollectNum": 0,  
356 - "cnCommentNum": 0,  
357 - "cnFansNum": 10,  
358 - "cnIsAttention": 1,  
359 - "cnIsComment": 1,  
360 - "cnIsLike": 1,  
361 - "cnLikeNum": 0,  
362 - "cnLiveCommentControl": 1,  
363 - "cnLiveGiftControl": 1,  
364 - "cnLiveLikeControl": 1,  
365 - "cnLiveShareControl": 1,  
366 - "cnMainControl": 1,  
367 - "cnRegistTime": 1695190066000,  
368 - "cnShareControl": 1,  
369 - "cnShareNum": 0,  
370 - "cnUserId": "444200272593477",  
371 - "cnUserName": "zhuaqu005",  
372 - "cnUserType": "2",  
373 - "collectNum": 0,  
374 - "creatorId": "3004849",  
375 - "district": "120101",  
376 - "fansNum": 0,  
377 - "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309We140931534/CIX.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",  
378 - "honoraryIcon": "",  
379 - "honoraryTitle": "",  
380 - "introduction": "aaa",  
381 - "isAttention": 1,  
382 - "isComment": 1,  
383 - "isLike": 1,  
384 - "isVisiable": 1,  
385 - "likeNum": 0,  
386 - "liveCommentControl": 1,  
387 - "liveGiftControl": 1,  
388 - "liveLikeControl": 1,  
389 - "liveShareControl": 1,  
390 - "posterShareControl": 1,  
391 - "province": "120000",  
392 - "publishNum": 0,  
393 - "region": "上海",  
394 - "shareControl": 1,  
395 - "shareNum": 0,  
396 - "shopOpen": 0,  
397 - "storeUrl": "",  
398 - "subjectType": 0,  
399 - "userId": "",  
400 - "userName": "zhuaqu005",  
401 - "userType": "2",  
402 - "waresSwitch": 1  
403 - }], 4 + "list": [
  5 + {
  6 + "attentionNum": 0,
  7 + "authIcon": "",
  8 + "authId": 0,
  9 + "authPersonal": "",
  10 + "authTitle": "",
  11 + "categoryAuth": "",
  12 + "city": "110100",
  13 + "cnAttentionNum": 0,
  14 + "cnCollectNum": 0,
  15 + "cnCommentNum": 0,
  16 + "cnFansNum": 4,
  17 + "cnIsAttention": 1,
  18 + "cnIsComment": 1,
  19 + "cnIsLike": 1,
  20 + "cnLikeNum": 0,
  21 + "cnLiveCommentControl": 1,
  22 + "cnLiveGiftControl": 1,
  23 + "cnLiveLikeControl": 1,
  24 + "cnLiveShareControl": 1,
  25 + "cnMainControl": 1,
  26 + "cnRegistTime": 1695280071000,
  27 + "cnShareControl": 1,
  28 + "cnShareNum": 0,
  29 + "cnUserId": "444937588589253",
  30 + "cnUserName": "QACrawler2115",
  31 + "cnUserType": "2",
  32 + "collectNum": 0,
  33 + "creatorId": "3004862",
  34 + "district": "110101",
  35 + "fansNum": 0,
  36 + "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309Th211436299/GLN.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  37 + "honoraryIcon": "",
  38 + "honoraryTitle": "",
  39 + "introduction": "知识博主",
  40 + "isAttention": 1,
  41 + "isComment": 1,
  42 + "isLike": 1,
  43 + "isVisiable": 1,
  44 + "likeNum": 0,
  45 + "liveCommentControl": 1,
  46 + "liveGiftControl": 1,
  47 + "liveLikeControl": 1,
  48 + "liveShareControl": 1,
  49 + "posterShareControl": 1,
  50 + "province": "110000",
  51 + "publishNum": 0,
  52 + "region": "",
  53 + "shareControl": 1,
  54 + "shareNum": 0,
  55 + "shopOpen": 0,
  56 + "storeUrl": "",
  57 + "subjectType": 0,
  58 + "userId": "",
  59 + "userName": "QACrawler2115",
  60 + "userType": "2",
  61 + "waresSwitch": 1
  62 + },
  63 + {
  64 + "attentionNum": 0,
  65 + "authIcon": "",
  66 + "authId": 0,
  67 + "authPersonal": "",
  68 + "authTitle": "",
  69 + "categoryAuth": "",
  70 + "city": "230100",
  71 + "cnAttentionNum": 0,
  72 + "cnCollectNum": 0,
  73 + "cnCommentNum": 0,
  74 + "cnFansNum": 4,
  75 + "cnIsAttention": 1,
  76 + "cnIsComment": 1,
  77 + "cnIsLike": 1,
  78 + "cnLikeNum": 0,
  79 + "cnLiveCommentControl": 1,
  80 + "cnLiveGiftControl": 1,
  81 + "cnLiveLikeControl": 1,
  82 + "cnLiveShareControl": 1,
  83 + "cnMainControl": 1,
  84 + "cnRegistTime": 1695276994000,
  85 + "cnShareControl": 1,
  86 + "cnShareNum": 0,
  87 + "cnUserId": "444911718724933",
  88 + "cnUserName": "一休哥",
  89 + "cnUserType": "2",
  90 + "collectNum": 0,
  91 + "creatorId": "3004861",
  92 + "district": "230102",
  93 + "fansNum": 0,
  94 + "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309Th141630857/Ptx.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  95 + "honoraryIcon": "",
  96 + "honoraryTitle": "",
  97 + "introduction": "中文端号主",
  98 + "isAttention": 1,
  99 + "isComment": 1,
  100 + "isLike": 1,
  101 + "isVisiable": 1,
  102 + "likeNum": 0,
  103 + "liveCommentControl": 1,
  104 + "liveGiftControl": 1,
  105 + "liveLikeControl": 1,
  106 + "liveShareControl": 1,
  107 + "posterShareControl": 1,
  108 + "province": "230000",
  109 + "publishNum": 0,
  110 + "region": "安徽",
  111 + "shareControl": 1,
  112 + "shareNum": 0,
  113 + "shopOpen": 0,
  114 + "storeUrl": "",
  115 + "subjectType": 2,
  116 + "userId": "",
  117 + "userName": "一休哥",
  118 + "userType": "2",
  119 + "waresSwitch": 1
  120 + },
  121 + {
  122 + "attentionNum": 0,
  123 + "authIcon": "",
  124 + "authId": 0,
  125 + "authPersonal": "",
  126 + "authTitle": "",
  127 + "categoryAuth": "",
  128 + "city": "110100",
  129 + "cnAttentionNum": 0,
  130 + "cnCollectNum": 0,
  131 + "cnCommentNum": 12,
  132 + "cnFansNum": 8,
  133 + "cnIsAttention": 1,
  134 + "cnIsComment": 1,
  135 + "cnIsLike": 1,
  136 + "cnLikeNum": 2,
  137 + "cnLiveCommentControl": 1,
  138 + "cnLiveGiftControl": 1,
  139 + "cnLiveLikeControl": 1,
  140 + "cnLiveShareControl": 1,
  141 + "cnMainControl": 1,
  142 + "cnRegistTime": 1695275999000,
  143 + "cnShareControl": 1,
  144 + "cnShareNum": 1,
  145 + "cnUserId": "444903323309381",
  146 + "cnUserName": "0921媒体",
  147 + "cnUserType": "3",
  148 + "collectNum": 0,
  149 + "creatorId": "3004860",
  150 + "district": "110101",
  151 + "fansNum": 0,
  152 + "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309Th135954709/qdL.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  153 + "honoraryIcon": "",
  154 + "honoraryTitle": "",
  155 + "introduction": "0921媒体",
  156 + "isAttention": 1,
  157 + "isComment": 1,
  158 + "isLike": 1,
  159 + "isVisiable": 1,
  160 + "likeNum": 0,
  161 + "liveCommentControl": 1,
  162 + "liveGiftControl": 1,
  163 + "liveLikeControl": 1,
  164 + "liveShareControl": 1,
  165 + "posterShareControl": 0,
  166 + "province": "110000",
  167 + "publishNum": 0,
  168 + "region": "上海",
  169 + "shareControl": 1,
  170 + "shareNum": 0,
  171 + "shopOpen": 0,
  172 + "storeUrl": "",
  173 + "subjectType": 1,
  174 + "userId": "",
  175 + "userName": "0921媒体",
  176 + "userType": "3",
  177 + "waresSwitch": 1
  178 + },
  179 + {
  180 + "attentionNum": 0,
  181 + "authIcon": "",
  182 + "authId": 0,
  183 + "authPersonal": "",
  184 + "authTitle": "",
  185 + "categoryAuth": "",
  186 + "city": "110100",
  187 + "cnAttentionNum": 0,
  188 + "cnCollectNum": 0,
  189 + "cnCommentNum": 0,
  190 + "cnFansNum": 9,
  191 + "cnIsAttention": 1,
  192 + "cnIsComment": 1,
  193 + "cnIsLike": 1,
  194 + "cnLikeNum": 6,
  195 + "cnLiveCommentControl": 1,
  196 + "cnLiveGiftControl": 1,
  197 + "cnLiveLikeControl": 1,
  198 + "cnLiveShareControl": 1,
  199 + "cnMainControl": 1,
  200 + "cnRegistTime": 1695201858000,
  201 + "cnShareControl": 1,
  202 + "cnShareNum": 0,
  203 + "cnUserId": "444296355502149",
  204 + "cnUserName": "0920个人",
  205 + "cnUserType": "2",
  206 + "collectNum": 0,
  207 + "creatorId": "3004851",
  208 + "district": "110101",
  209 + "fansNum": 0,
  210 + "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309We172415100/h2j.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  211 + "honoraryIcon": "https://cdn.aikan.pdnews.cn/image/picture/202312/20231223173451966FdV.png",
  212 + "honoraryTitle": "快乐星球",
  213 + "introduction": "账号简介",
  214 + "isAttention": 1,
  215 + "isComment": 1,
  216 + "isLike": 1,
  217 + "isVisiable": 1,
  218 + "likeNum": 0,
  219 + "liveCommentControl": 1,
  220 + "liveGiftControl": 1,
  221 + "liveLikeControl": 1,
  222 + "liveShareControl": 1,
  223 + "posterShareControl": 1,
  224 + "province": "110000",
  225 + "publishNum": 0,
  226 + "region": "上海",
  227 + "shareControl": 1,
  228 + "shareNum": 0,
  229 + "shopOpen": 0,
  230 + "storeUrl": "",
  231 + "subjectType": 0,
  232 + "userId": "",
  233 + "userName": "0920个人",
  234 + "userType": "2",
  235 + "waresSwitch": 1
  236 + },
  237 + {
  238 + "attentionNum": 0,
  239 + "authIcon": "",
  240 + "authId": 0,
  241 + "authPersonal": "",
  242 + "authTitle": "",
  243 + "categoryAuth": "",
  244 + "city": "120100",
  245 + "cnAttentionNum": 0,
  246 + "cnCollectNum": 0,
  247 + "cnCommentNum": 0,
  248 + "cnFansNum": 10,
  249 + "cnIsAttention": 1,
  250 + "cnIsComment": 1,
  251 + "cnIsLike": 1,
  252 + "cnLikeNum": 0,
  253 + "cnLiveCommentControl": 1,
  254 + "cnLiveGiftControl": 1,
  255 + "cnLiveLikeControl": 1,
  256 + "cnLiveShareControl": 1,
  257 + "cnMainControl": 1,
  258 + "cnRegistTime": 1695190066000,
  259 + "cnShareControl": 1,
  260 + "cnShareNum": 0,
  261 + "cnUserId": "444200272593477",
  262 + "cnUserName": "zhuaqu005",
  263 + "cnUserType": "2",
  264 + "collectNum": 0,
  265 + "creatorId": "3004849",
  266 + "district": "120101",
  267 + "fansNum": 0,
  268 + "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309We140931534/CIX.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  269 + "honoraryIcon": "",
  270 + "honoraryTitle": "",
  271 + "introduction": "aaa",
  272 + "isAttention": 1,
  273 + "isComment": 1,
  274 + "isLike": 1,
  275 + "isVisiable": 1,
  276 + "likeNum": 0,
  277 + "liveCommentControl": 1,
  278 + "liveGiftControl": 1,
  279 + "liveLikeControl": 1,
  280 + "liveShareControl": 1,
  281 + "posterShareControl": 1,
  282 + "province": "120000",
  283 + "publishNum": 0,
  284 + "region": "上海",
  285 + "shareControl": 1,
  286 + "shareNum": 0,
  287 + "shopOpen": 0,
  288 + "storeUrl": "",
  289 + "subjectType": 0,
  290 + "userId": "",
  291 + "userName": "zhuaqu005",
  292 + "userType": "2",
  293 + "waresSwitch": 1
  294 + },
  295 + {
  296 + "attentionNum": 0,
  297 + "authIcon": "https://sitcontentjdcdn.aikan.pdnews.cn/creator-category/icon/auth/yellow.png",
  298 + "authId": 2,
  299 + "authPersonal": "",
  300 + "authTitle": "黄VV",
  301 + "categoryAuth": "黄VV",
  302 + "city": "120100",
  303 + "cnAttentionNum": 1,
  304 + "cnCollectNum": 1,
  305 + "cnCommentNum": 7,
  306 + "cnFansNum": 13,
  307 + "cnIsAttention": 1,
  308 + "cnIsComment": 1,
  309 + "cnIsLike": 1,
  310 + "cnLikeNum": 0,
  311 + "cnLiveCommentControl": 1,
  312 + "cnLiveGiftControl": 1,
  313 + "cnLiveLikeControl": 1,
  314 + "cnLiveShareControl": 1,
  315 + "cnMainControl": 1,
  316 + "cnRegistTime": 1695202406000,
  317 + "cnShareControl": 1,
  318 + "cnShareNum": 0,
  319 + "cnUserId": "444300764043333",
  320 + "cnUserName": "创作者账号7777",
  321 + "cnUserType": "2",
  322 + "collectNum": 0,
  323 + "creatorId": "3004853",
  324 + "district": "120101",
  325 + "fansNum": 0,
  326 + "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/image/creator/2023092715/4727ab5db7604dbbac9ffb94ed03614e.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  327 + "honoraryIcon": "",
  328 + "honoraryTitle": "",
  329 + "introduction": "协作平台是进行团队开发、协作的系统,一般是基于互联网,也有用专业网的情况。协作平台的主要功能是:分工合作、进度控制、版本控制等功能。协作平台是进行团队开发、协作的系统,一般是基于互联网,也有用专业网的情况。协作平台的主要功能是:分工合作、进度控制、版本控制等功能。协作平台是进行团队开发、协作的系统,一般是基于互联网,也有用专业网的情况。协作平台的主要功能是:分工合作、进度控制、版本控制等功能。协作",
  330 + "isAttention": 1,
  331 + "isComment": 1,
  332 + "isLike": 1,
  333 + "isVisiable": 1,
  334 + "likeNum": 0,
  335 + "liveCommentControl": 1,
  336 + "liveGiftControl": 1,
  337 + "liveLikeControl": 1,
  338 + "liveShareControl": 1,
  339 + "posterShareControl": 0,
  340 + "province": "120000",
  341 + "publishNum": 0,
  342 + "region": "安徽",
  343 + "shareControl": 1,
  344 + "shareNum": 0,
  345 + "shopOpen": 1,
  346 + "storeUrl": "",
  347 + "subjectType": 0,
  348 + "userId": "",
  349 + "userName": "创作者账号7777",
  350 + "userType": "2",
  351 + "waresSwitch": 0
  352 + },
  353 + {
  354 + "attentionNum": 0,
  355 + "authIcon": "https://sitcontentjdcdn.aikan.pdnews.cn/creator-category/icon/auth/blue.png",
  356 + "authId": 1,
  357 + "authPersonal": "",
  358 + "authTitle": "黄袍加身V",
  359 + "categoryAuth": "黄袍加身V",
  360 + "city": "340100",
  361 + "cnAttentionNum": 9,
  362 + "cnCollectNum": 0,
  363 + "cnCommentNum": 3,
  364 + "cnFansNum": 9,
  365 + "cnIsAttention": 1,
  366 + "cnIsComment": 1,
  367 + "cnIsLike": 1,
  368 + "cnLikeNum": 7,
  369 + "cnLiveCommentControl": 1,
  370 + "cnLiveGiftControl": 1,
  371 + "cnLiveLikeControl": 1,
  372 + "cnLiveShareControl": 1,
  373 + "cnMainControl": 1,
  374 + "cnRegistTime": 1695260417000,
  375 + "cnShareControl": 1,
  376 + "cnShareNum": 0,
  377 + "cnUserId": "444776025830725",
  378 + "cnUserName": "李智恩3",
  379 + "cnUserType": "2",
  380 + "collectNum": 0,
  381 + "creatorId": "3004855",
  382 + "district": "340102",
  383 + "fansNum": 0,
  384 + "headPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309Th094010643/N5o.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  385 + "honoraryIcon": "",
  386 + "honoraryTitle": "",
  387 + "introduction": "IU",
  388 + "isAttention": 1,
  389 + "isComment": 1,
  390 + "isLike": 1,
  391 + "isVisiable": 1,
  392 + "likeNum": 0,
  393 + "liveCommentControl": 1,
  394 + "liveGiftControl": 1,
  395 + "liveLikeControl": 1,
  396 + "liveShareControl": 1,
  397 + "posterShareControl": 0,
  398 + "province": "340000",
  399 + "publishNum": 0,
  400 + "region": "安徽",
  401 + "shareControl": 1,
  402 + "shareNum": 0,
  403 + "shopOpen": 1,
  404 + "storeUrl": "",
  405 + "subjectType": 1,
  406 + "userId": "",
  407 + "userName": "李智恩3",
  408 + "userType": "2",
  409 + "waresSwitch": 0
  410 + }
  411 + ],
404 "pageNum": 1, 412 "pageNum": 1,
405 "pageSize": 20, 413 "pageSize": 20,
406 "totalCount": 7 414 "totalCount": 7
407 }, 415 },
408 "message": "Success", 416 "message": "Success",
409 "success": true, 417 "success": true,
410 - "timestamp": 1710742034894 418 + "timestamp": 1710989443354
411 } 419 }
  1 +{
  2 + "code": "0",
  3 + "data": [
  4 + {
  5 + "creatorId": "3004862",
  6 + "status": "0",
  7 + "userId": "567387477063621"
  8 + },
  9 + {
  10 + "creatorId": "3004861",
  11 + "status": "0",
  12 + "userId": "567387477063621"
  13 + },
  14 + {
  15 + "creatorId": "3004860",
  16 + "status": "0",
  17 + "userId": "567387477063621"
  18 + },
  19 + {
  20 + "creatorId": "3004851",
  21 + "status": "1",
  22 + "userId": "567387477063621"
  23 + },
  24 + {
  25 + "creatorId": "3004849",
  26 + "status": "1",
  27 + "userId": "567387477063621"
  28 + },
  29 + {
  30 + "creatorId": "3004853",
  31 + "status": "1",
  32 + "userId": "567387477063621"
  33 + },
  34 + {
  35 + "creatorId": "3004855",
  36 + "status": "0",
  37 + "userId": "567387477063621"
  38 + }
  39 + ],
  40 + "message": "Success",
  41 + "meta": null,
  42 + "requestId": "",
  43 + "success": true,
  44 + "timestamp": 1710989443648
  45 +}
  1 +{
  2 + "code": "0",
  3 + "data": {
  4 + "hasNext": 0,
  5 + "list": [
  6 + {
  7 + "attentionCreatorId": "3214877",
  8 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn//upload/ueditor/image/20231227/a_924511395855200256.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  9 + "attentionNum": 0,
  10 + "attentionUserId": "508051203257158",
  11 + "attentionUserName": "北京交通运输职业学院",
  12 + "attentionUserType": 2,
  13 + "authIcon": "",
  14 + "authId": 0,
  15 + "authPersional": "",
  16 + "authTitle": "",
  17 + "banControl": 0,
  18 + "categoryAuth": "",
  19 + "cnLiveCommentControl": 1,
  20 + "cnLiveGiftControl": 1,
  21 + "cnLiveLikeControl": 1,
  22 + "cnLiveShareControl": 1,
  23 + "cnShareControl": 1,
  24 + "collectNum": 0,
  25 + "commentNum": 0,
  26 + "createTime": 1710742365000,
  27 + "fansNum": 1,
  28 + "honoraryIcon": "",
  29 + "honoraryTitle": "",
  30 + "id": 100704,
  31 + "introduction": "北京交通运输职业学院",
  32 + "isAttention": null,
  33 + "isComment": 1,
  34 + "isLike": 1,
  35 + "isVisiable": 1,
  36 + "likeNum": 0,
  37 + "liveCommentControl": 1,
  38 + "liveGiftControl": 1,
  39 + "liveLikeControl": 1,
  40 + "liveShareControl": 1,
  41 + "mainControl": 1,
  42 + "posterShareControl": 1,
  43 + "registTime": 1599214346000,
  44 + "shareControl": 1,
  45 + "shareNum": 0,
  46 + "status": 1,
  47 + "subjectType": null,
  48 + "updateTime": 1710742365000,
  49 + "userId": "567387477063621",
  50 + "userType": 1
  51 + },
  52 + {
  53 + "attentionCreatorId": "3092827",
  54 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn//upload/user_app/201907/rmrb_Mw5PyAQe1563349003.jpg?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  55 + "attentionNum": 0,
  56 + "attentionUserId": "507982569927494",
  57 + "attentionUserName": "3G楼市周刊合肥站",
  58 + "attentionUserType": 5,
  59 + "authIcon": "",
  60 + "authId": 0,
  61 + "authPersional": "",
  62 + "authTitle": "",
  63 + "banControl": 0,
  64 + "categoryAuth": "",
  65 + "cnLiveCommentControl": 1,
  66 + "cnLiveGiftControl": 1,
  67 + "cnLiveLikeControl": 1,
  68 + "cnLiveShareControl": 1,
  69 + "cnShareControl": 1,
  70 + "collectNum": 0,
  71 + "commentNum": 0,
  72 + "createTime": 1710410008000,
  73 + "fansNum": 1,
  74 + "honoraryIcon": "",
  75 + "honoraryTitle": "",
  76 + "id": 200711,
  77 + "introduction": "3G楼市周刊合肥站官方",
  78 + "isAttention": null,
  79 + "isComment": 1,
  80 + "isLike": 1,
  81 + "isVisiable": 1,
  82 + "likeNum": 0,
  83 + "liveCommentControl": 1,
  84 + "liveGiftControl": 1,
  85 + "liveLikeControl": 1,
  86 + "liveShareControl": 1,
  87 + "mainControl": 0,
  88 + "posterShareControl": 1,
  89 + "registTime": 1559098504000,
  90 + "shareControl": 1,
  91 + "shareNum": 0,
  92 + "status": 1,
  93 + "subjectType": null,
  94 + "updateTime": 1710410008000,
  95 + "userId": "567387477063621",
  96 + "userType": 1
  97 + },
  98 + {
  99 + "attentionCreatorId": "3022148",
  100 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn//upload/zw/bjh_image/1550310502_bb68cf1fc0ba566b3bdd77bb8648d7a8.jpeg?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  101 + "attentionNum": 0,
  102 + "attentionUserId": "504980189045893",
  103 + "attentionUserName": "庐州房产网",
  104 + "attentionUserType": 2,
  105 + "authIcon": "",
  106 + "authId": 0,
  107 + "authPersional": "",
  108 + "authTitle": "",
  109 + "banControl": 0,
  110 + "categoryAuth": "",
  111 + "cnLiveCommentControl": 1,
  112 + "cnLiveGiftControl": 1,
  113 + "cnLiveLikeControl": 1,
  114 + "cnLiveShareControl": 1,
  115 + "cnShareControl": 1,
  116 + "collectNum": 0,
  117 + "commentNum": 0,
  118 + "createTime": 1710410008000,
  119 + "fansNum": 1,
  120 + "honoraryIcon": "",
  121 + "honoraryTitle": "",
  122 + "id": 200709,
  123 + "introduction": "专注古城庐州楼市资讯",
  124 + "isAttention": null,
  125 + "isComment": 1,
  126 + "isLike": 1,
  127 + "isVisiable": 1,
  128 + "likeNum": 0,
  129 + "liveCommentControl": 1,
  130 + "liveGiftControl": 1,
  131 + "liveLikeControl": 1,
  132 + "liveShareControl": 1,
  133 + "mainControl": 1,
  134 + "posterShareControl": 1,
  135 + "registTime": 1550310442000,
  136 + "shareControl": 1,
  137 + "shareNum": 0,
  138 + "status": 1,
  139 + "subjectType": null,
  140 + "updateTime": 1710410008000,
  141 + "userId": "567387477063621",
  142 + "userType": 1
  143 + },
  144 + {
  145 + "attentionCreatorId": "3214944",
  146 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn//upload/article_resource/image/1562575034_a1790012453b8d5e937e.jpeg?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  147 + "attentionNum": 0,
  148 + "attentionUserId": "508051247641414",
  149 + "attentionUserName": "民警李建国",
  150 + "attentionUserType": 5,
  151 + "authIcon": "",
  152 + "authId": 0,
  153 + "authPersional": "",
  154 + "authTitle": "",
  155 + "banControl": 0,
  156 + "categoryAuth": "",
  157 + "cnLiveCommentControl": 1,
  158 + "cnLiveGiftControl": 1,
  159 + "cnLiveLikeControl": 1,
  160 + "cnLiveShareControl": 1,
  161 + "cnShareControl": 1,
  162 + "collectNum": 0,
  163 + "commentNum": 0,
  164 + "createTime": 1710410006000,
  165 + "fansNum": 1,
  166 + "honoraryIcon": "",
  167 + "honoraryTitle": "",
  168 + "id": 200708,
  169 + "introduction": "常州市公安局新北分局民警",
  170 + "isAttention": null,
  171 + "isComment": 1,
  172 + "isLike": 1,
  173 + "isVisiable": 1,
  174 + "likeNum": 0,
  175 + "liveCommentControl": 1,
  176 + "liveGiftControl": 1,
  177 + "liveLikeControl": 1,
  178 + "liveShareControl": 1,
  179 + "mainControl": 0,
  180 + "posterShareControl": 1,
  181 + "registTime": 1560152360000,
  182 + "shareControl": 1,
  183 + "shareNum": 0,
  184 + "status": 1,
  185 + "subjectType": null,
  186 + "updateTime": 1710410006000,
  187 + "userId": "567387477063621",
  188 + "userType": 1
  189 + },
  190 + {
  191 + "attentionCreatorId": "3215205",
  192 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn//upload/zw/bjh_image/1561779596_b5cdde910817d66e7561cf35cdb3b896.jpeg?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  193 + "attentionNum": 0,
  194 + "attentionUserId": "504980472120453",
  195 + "attentionUserName": "日语酱",
  196 + "attentionUserType": 2,
  197 + "authIcon": "",
  198 + "authId": 0,
  199 + "authPersional": "",
  200 + "authTitle": "",
  201 + "banControl": 0,
  202 + "categoryAuth": "",
  203 + "cnLiveCommentControl": 1,
  204 + "cnLiveGiftControl": 1,
  205 + "cnLiveLikeControl": 1,
  206 + "cnLiveShareControl": 1,
  207 + "cnShareControl": 1,
  208 + "collectNum": 0,
  209 + "commentNum": 0,
  210 + "createTime": 1710410006000,
  211 + "fansNum": 1,
  212 + "honoraryIcon": "",
  213 + "honoraryTitle": "",
  214 + "id": 200707,
  215 + "introduction": "付出不亚于任何人的努力",
  216 + "isAttention": null,
  217 + "isComment": 1,
  218 + "isLike": 1,
  219 + "isVisiable": 1,
  220 + "likeNum": 0,
  221 + "liveCommentControl": 1,
  222 + "liveGiftControl": 1,
  223 + "liveLikeControl": 1,
  224 + "liveShareControl": 1,
  225 + "mainControl": 1,
  226 + "posterShareControl": 1,
  227 + "registTime": 1560474105000,
  228 + "shareControl": 1,
  229 + "shareNum": 0,
  230 + "status": 1,
  231 + "subjectType": null,
  232 + "updateTime": 1710410006000,
  233 + "userId": "567387477063621",
  234 + "userType": 1
  235 + },
  236 + {
  237 + "attentionCreatorId": "3258463",
  238 + "attentionHeadPhotoUrl": "",
  239 + "attentionNum": 0,
  240 + "attentionUserId": "508670671396102",
  241 + "attentionUserName": "西北大学4e82",
  242 + "attentionUserType": 5,
  243 + "authIcon": "",
  244 + "authId": 0,
  245 + "authPersional": "",
  246 + "authTitle": "",
  247 + "banControl": 0,
  248 + "categoryAuth": "",
  249 + "cnLiveCommentControl": 1,
  250 + "cnLiveGiftControl": 1,
  251 + "cnLiveLikeControl": 1,
  252 + "cnLiveShareControl": 1,
  253 + "cnShareControl": 1,
  254 + "collectNum": 0,
  255 + "commentNum": 0,
  256 + "createTime": 1710409996000,
  257 + "fansNum": 1,
  258 + "honoraryIcon": "",
  259 + "honoraryTitle": "",
  260 + "id": 200706,
  261 + "introduction": "西北大学",
  262 + "isAttention": null,
  263 + "isComment": 1,
  264 + "isLike": 1,
  265 + "isVisiable": 1,
  266 + "likeNum": 0,
  267 + "liveCommentControl": 1,
  268 + "liveGiftControl": 1,
  269 + "liveLikeControl": 1,
  270 + "liveShareControl": 1,
  271 + "mainControl": 0,
  272 + "posterShareControl": 1,
  273 + "registTime": 1555554106000,
  274 + "shareControl": 1,
  275 + "shareNum": 0,
  276 + "status": 1,
  277 + "subjectType": null,
  278 + "updateTime": 1710409996000,
  279 + "userId": "567387477063621",
  280 + "userType": 1
  281 + },
  282 + {
  283 + "attentionCreatorId": "3258486",
  284 + "attentionHeadPhotoUrl": "",
  285 + "attentionNum": 0,
  286 + "attentionUserId": "508670696660230",
  287 + "attentionUserName": "扬州大学93ba",
  288 + "attentionUserType": 5,
  289 + "authIcon": "",
  290 + "authId": 0,
  291 + "authPersional": "",
  292 + "authTitle": "",
  293 + "banControl": 0,
  294 + "categoryAuth": "",
  295 + "cnLiveCommentControl": 1,
  296 + "cnLiveGiftControl": 1,
  297 + "cnLiveLikeControl": 1,
  298 + "cnLiveShareControl": 1,
  299 + "cnShareControl": 1,
  300 + "collectNum": 0,
  301 + "commentNum": 0,
  302 + "createTime": 1710409996000,
  303 + "fansNum": 1,
  304 + "honoraryIcon": "",
  305 + "honoraryTitle": "",
  306 + "id": 200705,
  307 + "introduction": "扬州大学",
  308 + "isAttention": null,
  309 + "isComment": 1,
  310 + "isLike": 1,
  311 + "isVisiable": 1,
  312 + "likeNum": 0,
  313 + "liveCommentControl": 1,
  314 + "liveGiftControl": 1,
  315 + "liveLikeControl": 1,
  316 + "liveShareControl": 1,
  317 + "mainControl": 0,
  318 + "posterShareControl": 1,
  319 + "registTime": 1555659355000,
  320 + "shareControl": 1,
  321 + "shareNum": 0,
  322 + "status": 1,
  323 + "subjectType": null,
  324 + "updateTime": 1710409996000,
  325 + "userId": "567387477063621",
  326 + "userType": 1
  327 + },
  328 + {
  329 + "attentionCreatorId": "3258575",
  330 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn//upload/zw/bjh_image/1539067744_5149cb078d4ed272af470630be272023.jpeg?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  331 + "attentionNum": 0,
  332 + "attentionUserId": "509369589284102",
  333 + "attentionUserName": "旅途",
  334 + "attentionUserType": 2,
  335 + "authIcon": "",
  336 + "authId": 0,
  337 + "authPersional": "",
  338 + "authTitle": "",
  339 + "banControl": 0,
  340 + "categoryAuth": "",
  341 + "cnLiveCommentControl": 1,
  342 + "cnLiveGiftControl": 1,
  343 + "cnLiveLikeControl": 1,
  344 + "cnLiveShareControl": 1,
  345 + "cnShareControl": 1,
  346 + "collectNum": 0,
  347 + "commentNum": 0,
  348 + "createTime": 1710409989000,
  349 + "fansNum": 1,
  350 + "honoraryIcon": "",
  351 + "honoraryTitle": "",
  352 + "id": 200704,
  353 + "introduction": "背包、骑车、旅行、一个人目睹沿途的风景~",
  354 + "isAttention": null,
  355 + "isComment": 1,
  356 + "isLike": 1,
  357 + "isVisiable": 1,
  358 + "likeNum": 0,
  359 + "liveCommentControl": 1,
  360 + "liveGiftControl": 1,
  361 + "liveLikeControl": 1,
  362 + "liveShareControl": 1,
  363 + "mainControl": 1,
  364 + "posterShareControl": 1,
  365 + "registTime": 1528884167000,
  366 + "shareControl": 1,
  367 + "shareNum": 0,
  368 + "status": 1,
  369 + "subjectType": null,
  370 + "updateTime": 1710409989000,
  371 + "userId": "567387477063621",
  372 + "userType": 1
  373 + },
  374 + {
  375 + "attentionCreatorId": "3258577",
  376 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn//upload/rmh/image/201905/201905160519269845.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  377 + "attentionNum": 0,
  378 + "attentionUserId": "509369595993350",
  379 + "attentionUserName": "陇海在线",
  380 + "attentionUserType": 2,
  381 + "authIcon": "",
  382 + "authId": 0,
  383 + "authPersional": "",
  384 + "authTitle": "",
  385 + "banControl": 0,
  386 + "categoryAuth": "",
  387 + "cnLiveCommentControl": 1,
  388 + "cnLiveGiftControl": 1,
  389 + "cnLiveLikeControl": 1,
  390 + "cnLiveShareControl": 1,
  391 + "cnShareControl": 1,
  392 + "collectNum": 0,
  393 + "commentNum": 0,
  394 + "createTime": 1710409989000,
  395 + "fansNum": 1,
  396 + "honoraryIcon": "",
  397 + "honoraryTitle": "",
  398 + "id": 200703,
  399 + "introduction": "在这里阅读陇海沿线城市暨淮海地区最新生活资讯!",
  400 + "isAttention": null,
  401 + "isComment": 1,
  402 + "isLike": 1,
  403 + "isVisiable": 1,
  404 + "likeNum": 0,
  405 + "liveCommentControl": 1,
  406 + "liveGiftControl": 1,
  407 + "liveLikeControl": 1,
  408 + "liveShareControl": 1,
  409 + "mainControl": 1,
  410 + "posterShareControl": 1,
  411 + "registTime": 1529015167000,
  412 + "shareControl": 1,
  413 + "shareNum": 0,
  414 + "status": 1,
  415 + "subjectType": null,
  416 + "updateTime": 1710409989000,
  417 + "userId": "567387477063621",
  418 + "userType": 1
  419 + },
  420 + {
  421 + "attentionCreatorId": "3258596",
  422 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn//upload/rmh/image/201911/201911271018567208.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  423 + "attentionNum": 0,
  424 + "attentionUserId": "509403474238726",
  425 + "attentionUserName": "建筑界",
  426 + "attentionUserType": 2,
  427 + "authIcon": "",
  428 + "authId": 0,
  429 + "authPersional": "",
  430 + "authTitle": "",
  431 + "banControl": 0,
  432 + "categoryAuth": "",
  433 + "cnLiveCommentControl": 1,
  434 + "cnLiveGiftControl": 1,
  435 + "cnLiveLikeControl": 1,
  436 + "cnLiveShareControl": 1,
  437 + "cnShareControl": 1,
  438 + "collectNum": 0,
  439 + "commentNum": 0,
  440 + "createTime": 1710409988000,
  441 + "fansNum": 1,
  442 + "honoraryIcon": "",
  443 + "honoraryTitle": "",
  444 + "id": 200702,
  445 + "introduction": "匠者仁心",
  446 + "isAttention": null,
  447 + "isComment": 1,
  448 + "isLike": 1,
  449 + "isVisiable": 1,
  450 + "likeNum": 0,
  451 + "liveCommentControl": 1,
  452 + "liveGiftControl": 1,
  453 + "liveLikeControl": 1,
  454 + "liveShareControl": 1,
  455 + "mainControl": 1,
  456 + "posterShareControl": 1,
  457 + "registTime": 1550712472000,
  458 + "shareControl": 1,
  459 + "shareNum": 0,
  460 + "status": 1,
  461 + "subjectType": null,
  462 + "updateTime": 1710409988000,
  463 + "userId": "567387477063621",
  464 + "userType": 1
  465 + },
  466 + {
  467 + "attentionCreatorId": "3258601",
  468 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn//upload/zw/bjh_image/1552718233_f0290f15dcbbb41d3af7ad9ed3099621.jpeg?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  469 + "attentionNum": 0,
  470 + "attentionUserId": "509403475746054",
  471 + "attentionUserName": "芳芳喜欢的科技课堂",
  472 + "attentionUserType": 2,
  473 + "authIcon": "",
  474 + "authId": 0,
  475 + "authPersional": "",
  476 + "authTitle": "",
  477 + "banControl": 0,
  478 + "categoryAuth": "",
  479 + "cnLiveCommentControl": 1,
  480 + "cnLiveGiftControl": 1,
  481 + "cnLiveLikeControl": 1,
  482 + "cnLiveShareControl": 1,
  483 + "cnShareControl": 1,
  484 + "collectNum": 0,
  485 + "commentNum": 0,
  486 + "createTime": 1710409987000,
  487 + "fansNum": 1,
  488 + "honoraryIcon": "",
  489 + "honoraryTitle": "",
  490 + "id": 200701,
  491 + "introduction": "每天分享与科技有关的新鲜事儿",
  492 + "isAttention": null,
  493 + "isComment": 1,
  494 + "isLike": 1,
  495 + "isVisiable": 1,
  496 + "likeNum": 0,
  497 + "liveCommentControl": 1,
  498 + "liveGiftControl": 1,
  499 + "liveLikeControl": 1,
  500 + "liveShareControl": 1,
  501 + "mainControl": 1,
  502 + "posterShareControl": 1,
  503 + "registTime": 1552718173000,
  504 + "shareControl": 1,
  505 + "shareNum": 0,
  506 + "status": 1,
  507 + "subjectType": null,
  508 + "updateTime": 1710409987000,
  509 + "userId": "567387477063621",
  510 + "userType": 1
  511 + },
  512 + {
  513 + "attentionCreatorId": "3258611",
  514 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn//upload/zw/bjh_image/1551495924_33f73482b19cd64f0f3906b19043113a.jpeg?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  515 + "attentionNum": 0,
  516 + "attentionUserId": "509403509734662",
  517 + "attentionUserName": "西平微传媒",
  518 + "attentionUserType": 2,
  519 + "authIcon": "",
  520 + "authId": 0,
  521 + "authPersional": "",
  522 + "authTitle": "",
  523 + "banControl": 0,
  524 + "categoryAuth": "",
  525 + "cnLiveCommentControl": 1,
  526 + "cnLiveGiftControl": 1,
  527 + "cnLiveLikeControl": 1,
  528 + "cnLiveShareControl": 1,
  529 + "cnShareControl": 1,
  530 + "collectNum": 0,
  531 + "commentNum": 0,
  532 + "createTime": 1710409986000,
  533 + "fansNum": 1,
  534 + "honoraryIcon": "",
  535 + "honoraryTitle": "",
  536 + "id": 200700,
  537 + "introduction": "西平县本地信息服务、热点追踪、关注民生。",
  538 + "isAttention": null,
  539 + "isComment": 1,
  540 + "isLike": 1,
  541 + "isVisiable": 1,
  542 + "likeNum": 0,
  543 + "liveCommentControl": 1,
  544 + "liveGiftControl": 1,
  545 + "liveLikeControl": 1,
  546 + "liveShareControl": 1,
  547 + "mainControl": 1,
  548 + "posterShareControl": 1,
  549 + "registTime": 1551495864000,
  550 + "shareControl": 1,
  551 + "shareNum": 0,
  552 + "status": 1,
  553 + "subjectType": null,
  554 + "updateTime": 1710409986000,
  555 + "userId": "567387477063621",
  556 + "userType": 1
  557 + },
  558 + {
  559 + "attentionCreatorId": "3258613",
  560 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn//upload/ueditor/image/20191011/a_367272241198526464.jpg?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  561 + "attentionNum": 0,
  562 + "attentionUserId": "504980253394053",
  563 + "attentionUserName": "安庆生活",
  564 + "attentionUserType": 2,
  565 + "authIcon": "",
  566 + "authId": 0,
  567 + "authPersional": "",
  568 + "authTitle": "",
  569 + "banControl": 0,
  570 + "categoryAuth": "",
  571 + "cnLiveCommentControl": 1,
  572 + "cnLiveGiftControl": 1,
  573 + "cnLiveLikeControl": 1,
  574 + "cnLiveShareControl": 1,
  575 + "cnShareControl": 1,
  576 + "collectNum": 0,
  577 + "commentNum": 0,
  578 + "createTime": 1710409985000,
  579 + "fansNum": 1,
  580 + "honoraryIcon": "",
  581 + "honoraryTitle": "",
  582 + "id": 200699,
  583 + "introduction": "传播有价值的声音,记录生活,共享精彩!\n",
  584 + "isAttention": null,
  585 + "isComment": 1,
  586 + "isLike": 1,
  587 + "isVisiable": 1,
  588 + "likeNum": 0,
  589 + "liveCommentControl": 1,
  590 + "liveGiftControl": 1,
  591 + "liveLikeControl": 1,
  592 + "liveShareControl": 1,
  593 + "mainControl": 1,
  594 + "posterShareControl": 1,
  595 + "registTime": 1551433741000,
  596 + "shareControl": 1,
  597 + "shareNum": 0,
  598 + "status": 1,
  599 + "subjectType": null,
  600 + "updateTime": 1710409985000,
  601 + "userId": "567387477063621",
  602 + "userType": 1
  603 + },
  604 + {
  605 + "attentionCreatorId": "3004851",
  606 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309We172415100/h2j.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  607 + "attentionNum": 0,
  608 + "attentionUserId": "444296355502149",
  609 + "attentionUserName": "0920个人",
  610 + "attentionUserType": 2,
  611 + "authIcon": "",
  612 + "authId": 0,
  613 + "authPersional": "",
  614 + "authTitle": "",
  615 + "banControl": 0,
  616 + "categoryAuth": "",
  617 + "cnLiveCommentControl": 1,
  618 + "cnLiveGiftControl": 1,
  619 + "cnLiveLikeControl": 1,
  620 + "cnLiveShareControl": 1,
  621 + "cnShareControl": 1,
  622 + "collectNum": 0,
  623 + "commentNum": 0,
  624 + "createTime": 1710409979000,
  625 + "fansNum": 9,
  626 + "honoraryIcon": "https://cdn.aikan.pdnews.cn/image/picture/202312/20231223173451966FdV.png",
  627 + "honoraryTitle": "快乐星球",
  628 + "id": 200698,
  629 + "introduction": "账号简介",
  630 + "isAttention": null,
  631 + "isComment": 1,
  632 + "isLike": 1,
  633 + "isVisiable": 1,
  634 + "likeNum": 6,
  635 + "liveCommentControl": 1,
  636 + "liveGiftControl": 1,
  637 + "liveLikeControl": 1,
  638 + "liveShareControl": 1,
  639 + "mainControl": 1,
  640 + "posterShareControl": 1,
  641 + "registTime": 1695201858000,
  642 + "shareControl": 1,
  643 + "shareNum": 0,
  644 + "status": 1,
  645 + "subjectType": null,
  646 + "updateTime": 1710409979000,
  647 + "userId": "567387477063621",
  648 + "userType": 1
  649 + },
  650 + {
  651 + "attentionCreatorId": "3004853",
  652 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/image/creator/2023092715/4727ab5db7604dbbac9ffb94ed03614e.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  653 + "attentionNum": 1,
  654 + "attentionUserId": "444300764043333",
  655 + "attentionUserName": "创作者账号7777",
  656 + "attentionUserType": 2,
  657 + "authIcon": "https://sitcontentjdcdn.aikan.pdnews.cn/creator-category/icon/auth/yellow.png",
  658 + "authId": 2,
  659 + "authPersional": "",
  660 + "authTitle": "黄VV",
  661 + "banControl": 0,
  662 + "categoryAuth": "黄VV",
  663 + "cnLiveCommentControl": 1,
  664 + "cnLiveGiftControl": 1,
  665 + "cnLiveLikeControl": 1,
  666 + "cnLiveShareControl": 1,
  667 + "cnShareControl": 1,
  668 + "collectNum": 1,
  669 + "commentNum": 7,
  670 + "createTime": 1710409979000,
  671 + "fansNum": 13,
  672 + "honoraryIcon": "",
  673 + "honoraryTitle": "",
  674 + "id": 200697,
  675 + "introduction": "协作平台是进行团队开发、协作的系统,一般是基于互联网,也有用专业网的情况。协作平台的主要功能是:分工合作、进度控制、版本控制等功能。协作平台是进行团队开发、协作的系统,一般是基于互联网,也有用专业网的情况。协作平台的主要功能是:分工合作、进度控制、版本控制等功能。协作平台是进行团队开发、协作的系统,一般是基于互联网,也有用专业网的情况。协作平台的主要功能是:分工合作、进度控制、版本控制等功能。协作",
  676 + "isAttention": null,
  677 + "isComment": 1,
  678 + "isLike": 1,
  679 + "isVisiable": 1,
  680 + "likeNum": 0,
  681 + "liveCommentControl": 1,
  682 + "liveGiftControl": 1,
  683 + "liveLikeControl": 1,
  684 + "liveShareControl": 1,
  685 + "mainControl": 1,
  686 + "posterShareControl": 0,
  687 + "registTime": 1695202406000,
  688 + "shareControl": 1,
  689 + "shareNum": 0,
  690 + "status": 1,
  691 + "subjectType": null,
  692 + "updateTime": 1710409979000,
  693 + "userId": "567387477063621",
  694 + "userType": 1
  695 + },
  696 + {
  697 + "attentionCreatorId": "3004849",
  698 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309We140931534/CIX.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  699 + "attentionNum": 0,
  700 + "attentionUserId": "444200272593477",
  701 + "attentionUserName": "zhuaqu005",
  702 + "attentionUserType": 2,
  703 + "authIcon": "",
  704 + "authId": 0,
  705 + "authPersional": "",
  706 + "authTitle": "",
  707 + "banControl": 0,
  708 + "categoryAuth": "",
  709 + "cnLiveCommentControl": 1,
  710 + "cnLiveGiftControl": 1,
  711 + "cnLiveLikeControl": 1,
  712 + "cnLiveShareControl": 1,
  713 + "cnShareControl": 1,
  714 + "collectNum": 0,
  715 + "commentNum": 0,
  716 + "createTime": 1710409978000,
  717 + "fansNum": 10,
  718 + "honoraryIcon": "",
  719 + "honoraryTitle": "",
  720 + "id": 200696,
  721 + "introduction": "aaa",
  722 + "isAttention": null,
  723 + "isComment": 1,
  724 + "isLike": 1,
  725 + "isVisiable": 1,
  726 + "likeNum": 0,
  727 + "liveCommentControl": 1,
  728 + "liveGiftControl": 1,
  729 + "liveLikeControl": 1,
  730 + "liveShareControl": 1,
  731 + "mainControl": 1,
  732 + "posterShareControl": 1,
  733 + "registTime": 1695190066000,
  734 + "shareControl": 1,
  735 + "shareNum": 0,
  736 + "status": 1,
  737 + "subjectType": null,
  738 + "updateTime": 1710409978000,
  739 + "userId": "567387477063621",
  740 + "userType": 1
  741 + },
  742 + {
  743 + "attentionCreatorId": "3004841",
  744 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/202309Tu155358686/Clu.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  745 + "attentionNum": 0,
  746 + "attentionUserId": "443539162419717",
  747 + "attentionUserName": "好主播007",
  748 + "attentionUserType": 2,
  749 + "authIcon": "",
  750 + "authId": 0,
  751 + "authPersional": "",
  752 + "authTitle": "",
  753 + "banControl": 0,
  754 + "categoryAuth": "",
  755 + "cnLiveCommentControl": 1,
  756 + "cnLiveGiftControl": 1,
  757 + "cnLiveLikeControl": 1,
  758 + "cnLiveShareControl": 1,
  759 + "cnShareControl": 1,
  760 + "collectNum": 0,
  761 + "commentNum": 0,
  762 + "createTime": 1710409975000,
  763 + "fansNum": 12,
  764 + "honoraryIcon": "",
  765 + "honoraryTitle": "",
  766 + "id": 200695,
  767 + "introduction": "qqq",
  768 + "isAttention": null,
  769 + "isComment": 1,
  770 + "isLike": 1,
  771 + "isVisiable": 1,
  772 + "likeNum": 0,
  773 + "liveCommentControl": 1,
  774 + "liveGiftControl": 1,
  775 + "liveLikeControl": 1,
  776 + "liveShareControl": 1,
  777 + "mainControl": 0,
  778 + "posterShareControl": 1,
  779 + "registTime": 1695110042000,
  780 + "shareControl": 1,
  781 + "shareNum": 0,
  782 + "status": 1,
  783 + "subjectType": null,
  784 + "updateTime": 1710409975000,
  785 + "userId": "567387477063621",
  786 + "userType": 1
  787 + },
  788 + {
  789 + "attentionCreatorId": "3004835",
  790 + "attentionHeadPhotoUrl": "https://sitcontentjdcdn.aikan.pdnews.cn/vod/content/202309/20230919113007795/7uI.png?x-oss-process=image/resize,l_400/auto-orient,1/quality,q_90/format,jpg",
  791 + "attentionNum": 0,
  792 + "attentionUserId": "443416920261445",
  793 + "attentionUserName": "随风而起",
  794 + "attentionUserType": 2,
  795 + "authIcon": "",
  796 + "authId": 0,
  797 + "authPersional": "",
  798 + "authTitle": "",
  799 + "banControl": 0,
  800 + "categoryAuth": "",
  801 + "cnLiveCommentControl": 1,
  802 + "cnLiveGiftControl": 1,
  803 + "cnLiveLikeControl": 1,
  804 + "cnLiveShareControl": 1,
  805 + "cnShareControl": 1,
  806 + "collectNum": 0,
  807 + "commentNum": 0,
  808 + "createTime": 1710409975000,
  809 + "fansNum": 2291,
  810 + "honoraryIcon": "",
  811 + "honoraryTitle": "",
  812 + "id": 200694,
  813 + "introduction": "灰度号主",
  814 + "isAttention": null,
  815 + "isComment": 1,
  816 + "isLike": 1,
  817 + "isVisiable": 1,
  818 + "likeNum": 0,
  819 + "liveCommentControl": 1,
  820 + "liveGiftControl": 1,
  821 + "liveLikeControl": 1,
  822 + "liveShareControl": 1,
  823 + "mainControl": 0,
  824 + "posterShareControl": 1,
  825 + "registTime": 1695094442000,
  826 + "shareControl": 1,
  827 + "shareNum": 0,
  828 + "status": 1,
  829 + "subjectType": null,
  830 + "updateTime": 1710409975000,
  831 + "userId": "567387477063621",
  832 + "userType": 1
  833 + }
  834 + ],
  835 + "pageNum": 1,
  836 + "pageSize": 20,
  837 + "totalCount": 18
  838 + },
  839 + "message": "Success",
  840 + "meta": null,
  841 + "requestId": "",
  842 + "success": true,
  843 + "timestamp": 1710989304704
  844 +}