Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
张善主
2024-04-23 17:28:40 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
724134e65618c45fc51fdc0d0c20d982a7e30c7b
724134e6
2 parents
20cd5150
c9d08fd5
Merge remote-tracking branch 'origin/main'
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
1224 additions
and
58 deletions
sight_harmony/commons/wdConstant/src/main/ets/constants/SpConstants.ets
sight_harmony/commons/wdNetwork/src/main/ets/http/HttpUrlUtils.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/HomePageBottomComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/OtherHomePageBottomCommentComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchResultComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/setting/MineSettingComponent.ets
sight_harmony/features/wdComponent/src/main/ets/model/MineSettingDatasModel.ets
sight_harmony/features/wdComponent/src/main/ets/model/SearcherAboutDataModel.ets
sight_harmony/features/wdComponent/src/main/ets/pages/MineHomePage.ets
sight_harmony/features/wdComponent/src/main/ets/viewmodel/CommentListItem.ets
sight_harmony/features/wdComponent/src/main/ets/viewmodel/MineMainSettingFunctionItem.ets
sight_harmony/features/wdComponent/src/main/ets/viewmodel/SearchSuggestData.ets
sight_harmony/features/wdComponent/src/main/ets/viewmodel/SearchSuggestRequestItem.ets
sight_harmony/features/wdComponent/src/main/resources/base/media/search_suggest_icon.png
sight_harmony/products/phone/src/main/resources/rawfile/search_suggest_data.json
sight_harmony/commons/wdConstant/src/main/ets/constants/SpConstants.ets
View file @
724134e
...
...
@@ -20,7 +20,7 @@ export class SpConstants{
static MESSAGE_BOARD_PRIVATE_PROTOCOL = "message_board_private_protocol" //"留言板-隐私政策"
//设置页面
static SETTING_WIFI_IMAGE_SWITCH = "setting_wifi_switch" //wifi 图片开关
static SETTING_WIFI_VIDEO_SWITCH = "setting_
wifi
_switch" //wifi 视频开关
static SETTING_WIFI_VIDEO_SWITCH = "setting_
video
_switch" //wifi 视频开关
static SETTING_SUSPENSION_SWITCH = "setting_suspension_switch" //悬浮窗 开关
static SETTING_PUSH_SWITCH = "setting_push_switch" //推送 开关
...
...
sight_harmony/commons/wdNetwork/src/main/ets/http/HttpUrlUtils.ets
View file @
724134e
...
...
@@ -292,6 +292,11 @@ export class HttpUrlUtils {
*/
static readonly RECOMMEND_LIST: string = "/api/rmrb-bff-display-zh/recommend/zh/c/list";
/**
* 搜索推荐
*/
static readonly SEARCH_SUGGEST_DATA_PATH: string = "/api/rmrb-bff-display-zh/recommend/zh/c/list";
public static set hostUrl(value: string) {
HttpUrlUtils._hostUrl = value;
}
...
...
@@ -475,7 +480,7 @@ export class HttpUrlUtils {
return 'Android';
}
p
rivate
static getImei() {
p
ublic
static getImei() {
// TODO
return '8a81226a-cabd-3e1b-b630-b51db4a720ed';
}
...
...
@@ -807,6 +812,11 @@ export class HttpUrlUtils {
let url = HttpUrlUtils._hostUrl + "/api/rmrb-interact/interact/zh/c/like/executeLike";
return url;
}
//搜索推荐
static getSearchSuggestDataUrl() {
let url = HttpUrlUtils._hostUrl + HttpUrlUtils.SEARCH_SUGGEST_DATA_PATH
return url
}
// static getYcgCommonHeaders(): HashMap<string, string> {
// let headers: HashMap<string, string> = new HashMap<string, string>()
...
...
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/HomePageBottomComponent.ets
View file @
724134e
import { Params } from 'wdBean';
import {
ContentDTO,
Params } from 'wdBean';
import { DateTimeUtils, LazyDataSource, SPHelper,UserDataLocal } from 'wdKit';
import { WDRouterPage, WDRouterRule } from 'wdRouter';
import {
ProcessUtils,
WDRouterPage, WDRouterRule } from 'wdRouter';
import MinePageDatasModel from '../../../model/MinePageDatasModel';
import { CommentListItem } from '../../../viewmodel/CommentListItem';
import { FollowListDetailItem } from '../../../viewmodel/FollowListDetailItem';
...
...
@@ -265,7 +265,7 @@ export struct HomePageBottomComponent{
}else{
value.list.forEach((value)=>{
let publishTime = DateTimeUtils.getCommentTime(DateTimeUtils.parseDate(value.createTime,DateTimeUtils.PATTERN_DATE_TIME_HYPHEN))
this.data_comment.push(new CommentListItem(value.fromUserHeader,value.fromUserName,value.targetTitle,publishTime,value.commentContent,value.likeNum,0,value.id,value.targetId,value.targetType))
this.data_comment.push(new CommentListItem(value.fromUserHeader,value.fromUserName,value.targetTitle,publishTime,value.commentContent,value.likeNum,0,value.id,value.targetId,value.targetType
,value.targetRelId,value.targetRelObjectId,value.targetRelType,value.targetStatus
))
})
this.data_comment.notifyDataReload()
this.count = this.data_comment.totalCount()
...
...
@@ -365,6 +365,14 @@ struct ChildCommentComponent {
.width('662lpx')
.backgroundColor($r('app.color.color_F5F5F5'))
.margin({top:'19lpx',bottom:'31lpx'})
.onClick(()=>{
ProcessUtils.processPage(
{objectId: this.data.targetId,
relType:this.data.targetRelType+"",
relId:this.data.targetRelId,
objectType:this.data.targetType+"",
} as ContentDTO )
})
if(!this.isLastItem){
Divider().width('100%')
...
...
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/OtherHomePageBottomCommentComponent.ets
View file @
724134e
...
...
@@ -6,6 +6,8 @@ import { ListHasNoMoreDataUI } from '../../reusable/ListHasNoMoreDataUI';
import { MineCommentListDetailItem } from '../../../viewmodel/MineCommentListDetailItem';
import { OtherUserCommentLikeStatusRequestItem } from '../../../viewmodel/OtherUserCommentLikeStatusRequestItem';
import { CommentLikeOperationRequestItem } from '../../../viewmodel/CommentLikeOperationRequestItem';
import { ProcessUtils } from 'wdRouter/Index';
import { ContentDTO } from 'wdBean/Index';
const TAG = "HomePageBottomComponent"
@Component
...
...
@@ -107,7 +109,7 @@ export struct OtherHomePageBottomCommentComponent{
let data : CommentListItem[] = []
value.list.forEach((item)=>{
status.commentIdList.push(item.id)
data.push(new CommentListItem(item.fromUserHeader,item.fromUserName,item.targetTitle,item.createTime,item.commentContent,item.likeNum,0,item.id,item.targetId,item.targetType))
data.push(new CommentListItem(item.fromUserHeader,item.fromUserName,item.targetTitle,item.createTime,item.commentContent,item.likeNum,0,item.id,item.targetId,item.targetType
,item.targetRelId,item.targetRelObjectId,item.targetRelType,item.targetStatus
))
})
MinePageDatasModel.getOtherUserCommentLikeStatusData(status,getContext(this)).then((newValue)=>{
...
...
@@ -120,7 +122,7 @@ export struct OtherHomePageBottomCommentComponent{
})
data.forEach((item)=>{
this.data_comment.push(new CommentListItem(item.fromUserHeader,item.fromUserName,item.targetTitle,item.createTime,item.commentContent,item.likeNum,item.like_status,item.id,item.targetId,item.targetType))
this.data_comment.push(new CommentListItem(item.fromUserHeader,item.fromUserName,item.targetTitle,item.createTime,item.commentContent,item.likeNum,item.like_status,item.id,item.targetId,item.targetType
,item.targetRelId,item.targetRelObjectId,item.targetRelType,item.targetStatus
))
})
this.data_comment.notifyDataReload()
...
...
@@ -237,6 +239,14 @@ struct ChildCommentComponent {
.width('662lpx')
.backgroundColor($r('app.color.color_F5F5F5'))
.margin({top:'19lpx',bottom:'31lpx'})
.onClick(()=>{
ProcessUtils.processPage(
{objectId: this.data.targetId,
relType:this.data.targetRelType+"",
relId:this.data.targetRelId,
objectType:this.data.targetType+"",
} as ContentDTO )
})
if(!this.isLastItem){
Divider().width('100%')
...
...
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchComponent.ets
View file @
724134e
...
...
@@ -112,7 +112,7 @@ export struct SearchComponent {
} else {
if (this.hasChooseSearch) {
//搜索结果
SearchResultComponent({count:this.count,searchText:this.searchText})
SearchResultComponent({count:this.count,searchText:this.searchText
,isInit:true
})
} else {
//联想搜索
SearchRelatedComponent({relatedSearchContentData:$relatedSearchContentsData,onGetSearchRes: (item): void => this.getSearchRelatedResData(item),searchText:this.searchText})
...
...
sight_harmony/features/wdComponent/src/main/ets/components/search/SearchResultComponent.ets
View file @
724134e
import { ContentDTO } from 'wdBean/Index'
import { LazyDataSource, UserDataLocal } from 'wdKit/Index'
import { HttpUrlUtils } from 'wdNetwork/Index'
import SearcherAboutDataModel from '../../model/SearcherAboutDataModel'
import { SearchSuggestRequestItem } from '../../viewmodel/SearchSuggestRequestItem'
import { CardParser } from '../CardParser'
import { EmptyComponent } from '../view/EmptyComponent'
import { SearchResultContentComponent } from './SearchResultContentComponent'
const TAG = "SearchResultComponent"
/**
* 搜索结果
* 搜索结果为null(空布局 + 为你推荐)
*/
@Component
export struct SearchResultComponent{
@Prop count:string[] = []
export struct SearchResultComponent {
@Prop count: string[]
@Prop searchText: string
@State isInit:boolean = false;
@State currentIndex: number = 0
private controller: TabsController = new TabsController()
fontColor: string = '#999999'
selectedFontColor: string = '#000000'
@State data: LazyDataSource<ContentDTO> = new LazyDataSource();
@State suggest_count: number = 0;
@State isLoading: boolean = false
scroller: Scroller = new Scroller()
aboutToAppear(): void {
if (this.count.length === 0 && this.isInit == true) {
this.getSuggestData()
}
}
getSuggestData() {
this.isLoading = true
let request: SearchSuggestRequestItem = new SearchSuggestRequestItem(2, "", "", HttpUrlUtils.getImei(), UserDataLocal.userId, 8, "")
SearcherAboutDataModel.getSearchSuggestData(request, getContext(this)).then((value) => {
value.forEach((item) => {
this.data.push({
appStyle: item.appStyle,
channelId: item.channelId + "",
coverType: item.coverType,
coverUrl: item.coverUrl,
newsTitle: item.newsTitle,
objectId: item.objectId,
publishTime: item.publishTime,
relId: item.relId + "",
relType: item.relType + "",
source: item.source,
} as ContentDTO)
})
this.data.notifyDataReload()
this.suggest_count = this.data.totalCount()
this.isLoading = false
})
}
build() {
Column() {
if (this.count != null && this.count.length === 0 && this.isInit == true) {
List() {
ListItem() {
//缺省图
EmptyComponent({emptyType:4})
.height('612lpx')
.width('100%')
}
if(this.suggest_count > 0){
ListItem() {
Row() {
Image($r('app.media.search_suggest_icon'))
.width('6lpx')
.height('31lpx')
.objectFit(ImageFit.Cover)
.interpolation(ImageInterpolation.High)
.margin({ right: '10lpx' })
Text("为你推荐")
.textAlign(TextAlign.Start)
.fontWeight('600lpx')
.fontSize('33lpx')
.lineHeight('46lpx')
.fontColor($r('app.color.color_222222'))
}.height('84lpx')
.padding({ left: '31lpx', right: '31lpx' })
.width('100%')
.alignItems(VerticalAlign.Center)
}
}
LazyForEach(this.data, (item: ContentDTO, index: number) => {
ListItem() {
Column() {
CardParser({contentDTO:item})
if (index != this.data.totalCount() - 1) {
Divider()
.width('100%')
.height('1lpx')
.color($r('app.color.color_F5F5F5'))
.strokeWidth('1lpx')
}
}
}
})
}
.cachedCount(6)
.edgeEffect(EdgeEffect.None)
.scrollBar(BarState.Off)
.height('100%')
.onReachEnd(() => {
if (!this.isLoading) {
this.getSuggestData()
}
})
} else {
Tabs({ barPosition: BarPosition.Start, controller: this.controller }) {
ForEach(this.count, (item: string, index: number ) => {
TabContent(){
SearchResultContentComponent({keywords:this.searchText,searchType:item})
}.tabBar(this.TabBuilder(index,item))
ForEach(this.count, (item: string, index: number) => {
TabContent() {
SearchResultContentComponent({ keywords: this.searchText, searchType: item })
}.tabBar(this.TabBuilder(index, item))
}, (item: string, index: number) => index.toString())
}
.vertical(false)
...
...
@@ -34,12 +133,14 @@ export struct SearchResultComponent{
})
.width('100%')
.layoutWeight(1)
}
}.width('100%')
.margin({ top: '12lpx' })
}
@Builder TabBuilder(index: number, item: string) {
Stack(){
@Builder
TabBuilder(index: number, item: string) {
Stack() {
Text(item)
.height('38lpx')
.fontSize('33lpx')
...
...
@@ -47,22 +148,21 @@ export struct SearchResultComponent{
.fontColor(this.currentIndex === index ? this.selectedFontColor : this.fontColor)
.lineHeight('38lpx')
if
(this.currentIndex === index)
{
if
(this.currentIndex === index)
{
Divider()
.width('31lpx')
.height('4lpx')
.color('#ED2800')
.strokeWidth('4lpx')
.margin({
top:'50lpx'
})
.margin({
top: '50lpx'
})
.id("divTag")
}
}.onClick(()
=>
{
}.onClick(()
=>
{
this.currentIndex = index
this.controller.changeIndex(this.currentIndex)
})
.height('100%')
.margin({right:'9lpx'})
.padding({left:'31lpx',right:index === this.count.length-1?"31lpx":"0lpx"})
.margin({ right: '9lpx' })
.padding({ left: '31lpx', right: index === this.count.length - 1 ? "31lpx" : "0lpx" })
}
}
\ No newline at end of file
...
...
sight_harmony/features/wdComponent/src/main/ets/components/setting/MineSettingComponent.ets
View file @
724134e
...
...
@@ -200,20 +200,23 @@ export struct MineSettingComponent {
// 右侧文案和右箭头
Row() {
Toggle({ type: ToggleType.Switch, isOn:
fals
e })
Toggle({ type: ToggleType.Switch, isOn:
item.switchStat
e })
.height('50lpx')
.margin({ left: '81lpx', right: '29lpx' })
.selectedColor(Color.Pink)
.onChange((isOn: boolean) => {
if(item.
title=='接收推送
'){
if(item.
itemType=='push_switch
'){
//推送
SPHelper.default.save(SpConstants.SETTING_PUSH_SWITCH,isOn)
}else if(item.
title=='仅WiFi网络加载图片
'){
}else if(item.
itemType=='wifi_switch
'){
//wifi 图片
SPHelper.default.save(SpConstants.SETTING_WIFI_IMAGE_SWITCH,isOn)
}else if(item.
title=='WiFi网络情况下自动播放视频
'){
}else if(item.
itemType=='video_switch
'){
//wifi 视频
SPHelper.default.save(SpConstants.SETTING_WIFI_VIDEO_SWITCH,isOn)
}else if(item.itemType=='suspensionState_switch'){
//悬浮窗
SPHelper.default.save(SpConstants.SETTING_SUSPENSION_SWITCH,isOn)
}
})
}.width('40%')
...
...
sight_harmony/features/wdComponent/src/main/ets/model/MineSettingDatasModel.ets
View file @
724134e
import HashMap from '@ohos.util.HashMap';
import { ResponseDTO, WDHttp } from 'wdNetwork';
import { Logger } from 'wdKit';
import { Logger
, SPHelper
} from 'wdKit';
import { MineMainSettingFunctionItem } from '../viewmodel/MineMainSettingFunctionItem';
import { SpConstants } from 'wdConstant/Index';
const TAG = "MineSettingDatasModel"
...
...
@@ -40,15 +41,19 @@ class MineSettingDatasModel{
return this.mainSettingData
}
this.mainSettingData = []
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '账户与安全', '18888888888', 0, false))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '接收推送', null, 1, false))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '隐私设罝', null, 0, false))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '仅WiFi网络加载图片', null, 1, false))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, 'WiFi网络情况下自动播放视频', null, 1, false))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '开启播放器悬浮窗', null, 1, false))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, null, null, 2, null))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '清除缓存', '32MB', 0, false))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '评价我们', null, 0, false))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '账户与安全', '18888888888', 0, false,"account"))
let pushState=SPHelper.default.getSync(SpConstants.SETTING_PUSH_SWITCH,false) as boolean
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '接收推送', null, 1, pushState,"push_switch"))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '隐私设罝', null, 0, false,"private_setting"))
let wifiState=SPHelper.default.getSync(SpConstants.SETTING_WIFI_IMAGE_SWITCH,false) as boolean
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '仅WiFi网络加载图片', null, 1, wifiState,"wifi_switch"))
let videoState=SPHelper.default.getSync(SpConstants.SETTING_WIFI_VIDEO_SWITCH,false) as boolean
this.mainSettingData.push(new MineMainSettingFunctionItem(null, 'WiFi网络情况下自动播放视频', null, 1, videoState,"video_switch"))
let suspensionState=SPHelper.default.getSync(SpConstants.SETTING_SUSPENSION_SWITCH,false) as boolean
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '开启播放器悬浮窗', null, 1, suspensionState,"suspensionState_switch"))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, null, null, 2, null,""))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '清除缓存', '32MB', 0, false,""))
this.mainSettingData.push(new MineMainSettingFunctionItem(null, '评价我们', null, 0, false,""))
return this.mainSettingData
}
...
...
@@ -62,16 +67,16 @@ class MineSettingDatasModel{
return this.accountAndSecurityData
}
this.accountAndSecurityData = []
this.accountAndSecurityData.push(new MineMainSettingFunctionItem(null, '更换手机号', '18888888888', 0, false))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem(null, '设置密码', null, 0, false))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem(null, null, null, 2, null))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem($r('app.media.account_qqicon'), '绑定QQ', '立即绑定', 0, false))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem($r('app.media.account_wechaticon'), '绑定微信', '立即绑定', 0, false))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem($r('app.media.account_weiboicon'), '绑定新浪微博', '立即绑定', 0, false))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem($r('app.media.account_appleicon'), 'Apple ID', null, 0, false))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem(null, null, null, 2, null))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem(null, '注销账号', null, 0, false))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem(null, '更换手机号', '18888888888', 0, false,""))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem(null, '设置密码', null, 0, false,""))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem(null, null, null, 2, null,""))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem($r('app.media.account_qqicon'), '绑定QQ', '立即绑定', 0, false,""))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem($r('app.media.account_wechaticon'), '绑定微信', '立即绑定', 0, false,""))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem($r('app.media.account_weiboicon'), '绑定新浪微博', '立即绑定', 0, false,""))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem($r('app.media.account_appleicon'), 'Apple ID', null, 0, false,""))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem(null, null, null, 2, null,""))
this.accountAndSecurityData.push(new MineMainSettingFunctionItem(null, '注销账号', null, 0, false,""))
return this.accountAndSecurityData
}
...
...
sight_harmony/features/wdComponent/src/main/ets/model/SearcherAboutDataModel.ets
View file @
724134e
...
...
@@ -9,6 +9,8 @@ import { SearchResultContentData } from '../viewmodel/SearchResultContentData';
import { contentListParams, InteractDataDTO } from 'wdBean/Index';
import { CreatorDetailRequestItem } from '../viewmodel/CreatorDetailRequestItem';
import { CreatorDetailResponseItem } from '../viewmodel/CreatorDetailResponseItem';
import { SearchSuggestData } from '../viewmodel/SearchSuggestData';
import { SearchSuggestRequestItem } from '../viewmodel/SearchSuggestRequestItem';
const TAG = "SearcherAboutDataModel"
...
...
@@ -349,6 +351,45 @@ class SearcherAboutDataModel{
return WDHttp.post<ResponseDTO<CreatorDetailResponseItem[]>>(url,object, headers)
};
/**
* 搜索推荐 展示列表
*/
getSearchSuggestData(object:SearchSuggestRequestItem,context: Context): Promise<SearchSuggestData[]> {
return new Promise<SearchSuggestData[]>((success, error) => {
Logger.info(TAG, `getSearchSuggestData start`);
this.fetchSearchSuggestData(object).then((navResDTO: ResponseDTO<SearchSuggestData[]>) => {
if (!navResDTO || navResDTO.code != 0 /*|| navResDTO.data == null*/) {
// success(this.getSearchSuggestDataLocal(context))
success([])
return
}
Logger.info(TAG, "getSearchSuggestData then,SearchResultListResDTO.timeStamp:" + navResDTO.timestamp);
let navigationBean = navResDTO.data as SearchSuggestData[]
success(navigationBean);
}).catch((err: Error) => {
Logger.error(TAG, `getSearchSuggestData catch, error.name : ${err.name}, error.message:${err.message}`);
// success(this.getSearchSuggestDataLocal(context))
success([])
})
})
}
fetchSearchSuggestData(object:SearchSuggestRequestItem) {
let url = HttpUrlUtils.getSearchSuggestDataUrl()
let headers: HashMap<string, string> = HttpUrlUtils.getCommonHeaders();
return WDHttp.post<ResponseDTO<SearchSuggestData[]>>(url,object, headers)
};
async getSearchSuggestDataLocal(context: Context): Promise<SearchSuggestData[]> {
Logger.info(TAG, `getInteractListDataLocal start`);
let compRes: ResponseDTO<SearchSuggestData[]> | null = await ResourcesUtils.getResourcesJson<ResponseDTO<SearchSuggestData[]>>(context,'search_suggest_data.json' );
if (!compRes || !compRes.data) {
Logger.info(TAG, `getInteractListDataLocal compRes is empty`);
return []
}
Logger.info(TAG, `getInteractListDataLocal getResourcesJsonSync compRes : ${JSON.stringify(compRes)}`);
return compRes.data
}
...
...
sight_harmony/features/wdComponent/src/main/ets/pages/MineHomePage.ets
View file @
724134e
...
...
@@ -82,6 +82,7 @@ struct MineHomePage {
.lineHeight('50lpx')
.fontWeight('500lpx')
if(this.levelId>0){
Text(`等级${this.levelId}`)
.textAlign(TextAlign.Center)
.fontColor($r('app.color.color_ED2800'))
...
...
@@ -90,6 +91,8 @@ struct MineHomePage {
.width('96lpx')
.height('35lpx')
.margin({ left: '10lpx' })
}
Blank()
}.width('507lpx')
...
...
sight_harmony/features/wdComponent/src/main/ets/viewmodel/CommentListItem.ets
View file @
724134e
...
...
@@ -2,19 +2,46 @@
@Observed
export class CommentListItem{
fromUserHeader:string = ""
fromUserName:string = ""
commentContent:string = ""
targetTitle:string = ""
createTime:string = ""
likeNum:number = 0
like_status:number = 0
id:number = 0
targetId:string = ""
targetType:number = 0
avatarFrame: string = ""
checkStatus: number = -1
commentContent: string = ""
commentContentSensitive: string = ""
commentLevel: number = -1
commentPics: string = ""
commentSensitive: string = ""
commentType: string = ""
createTime: string = ""
fromCreatorId: string = ""
fromDeviceId: string = ""
fromUserHeader: string = ""
fromUserId: string = ""
fromUserName: string = ""
fromUserType: number = -1
h5Url: string = ""
id: number = 0
keyArticle: number = -1
likeNum: number = 0
// pageId: null
// parentCommentVo: null
parentId: number = -1
rootCommentId: number = -1
sensitiveExist: number = -1
sensitiveShow: number = -1
// shareInfo: ShareInfo$1Type
targetId: string = ""
targetType: number = 0
targetRelId: string = ""
targetRelObjectId: string = ""
targetRelType: number = -1
targetStatus: number = -1
targetTitle: string = ""
// topicType: null
uuid: string = ""
constructor(fromUserHeader:string,fromUserName:string,targetTitle:string,createTime:string,commentContent:string,likeNum:number,like_status:number,id:number,targetId:string,targetType:number) {
constructor(fromUserHeader:string,fromUserName:string,targetTitle:string,createTime:string,commentContent:string,likeNum:number,like_status:number,id:number,targetId:string,targetType:number,targetRelId: string,targetRelObjectId: string,targetRelType: number,targetStatus: number,) {
this.fromUserHeader = fromUserHeader
this.fromUserName = fromUserName
this.commentContent = commentContent
...
...
@@ -25,5 +52,9 @@ export class CommentListItem{
this.id = id
this.targetId = targetId
this.targetType = targetType
this.targetRelId = targetRelId
this.targetRelObjectId = targetRelObjectId
this.targetRelType = targetRelType
this.targetStatus = targetStatus
}
}
...
...
sight_harmony/features/wdComponent/src/main/ets/viewmodel/MineMainSettingFunctionItem.ets
View file @
724134e
...
...
@@ -6,9 +6,10 @@ export class MineMainSettingFunctionItem {
subTitle?:string // 副标题
type?:number // 数据类型 0默认箭头类型,1右侧switch按钮类型
switchState?:boolean // 右侧switch按钮状态
itemType?:string //条目类型
constructor(imgSrc:Resource|null,title:string|null,subTitle:string|null,type:number|null,switchState:boolean|null){
constructor(imgSrc:Resource|null,title:string|null,subTitle:string|null,type:number|null,switchState:boolean|null
,itemType:string
){
if (imgSrc) {
this.imgSrc = imgSrc
}
...
...
@@ -24,6 +25,9 @@ export class MineMainSettingFunctionItem {
if (switchState != null) {
this.switchState = switchState
}
if (itemType != null) {
this.itemType = itemType
}
}
}
\ No newline at end of file
...
...
sight_harmony/features/wdComponent/src/main/ets/viewmodel/SearchSuggestData.ets
0 → 100644
View file @
724134e
@Observed
export class SearchSuggestData{
// activityExt: null
appStyle: string = ""
// askInfo: null
axisColor: string = ""
// bestNoticer: null
// bottomNavId: null
cardItemId: string = ""
channelId: number = -1
// commentInfo: null
corner: string = ""
coverSize: string = ""
coverType: number = -1
coverUrl: string = ""
expIds: string = ""
extra: string = ""
fullColumnImgUrls: Array<FullColumnImgUrls> = []
// hasMore: null
itemId: string = ""
itemType: string = ""
itemTypeCode: string = ""
keyArticle: number = -1
// landscape: null
// likeStyle: null
linkUrl: string = ""
// liveInfo: null
menuShow: number = -1
newTags: string = ""
newsAuthor: string = ""
newsSubTitle: string = ""
newsSummary: string = ""
newsTitle: string = ""
newsTitleColor: string = ""
objectId: string = ""
objectLevel: string = ""
objectType: string = ""
// openComment: null
// openLikes: null
pageId: string = ""
// photoNum: null
// position: null
// productNum: null
publishTime: string = ""
// pushTime: null
// pushUnqueId: null
readFlag: number = -1
recommend: number = -1
relId: number = -1
relObjectId: string = ""
relType: number = -1
// rmhInfo: null
rmhPlatform: number = -1
sceneId: string = ""
// shareInfo: null
// slideShows: Array< unknown >
// sortValue: null
source: string = ""
subObjectType: string = ""
subSceneId: string = ""
// tagIds: Array< unknown >
// tagWord: null
// titleShow: null
// titleShowPolicy: null
// topicTemplate: null
traceId: string = ""
traceInfo: string = ""
// userInfo: null
videoInfo: VideoInfo = new VideoInfo()
visitorComment: number = -1
// voiceInfo: null
}
class FullColumnImgUrls{
// format: null
fullUrl: string = ""
height: number = -1
landscape: number = -1
size: number = -1
url: string = ""
weight: number = -1
}
class VideoInfo{
firstFrameImageUri: string = ""
videoDuration: number = -1
videoLandscape: number = -1
videoUrl: string = ""
}
...
...
sight_harmony/features/wdComponent/src/main/ets/viewmodel/SearchSuggestRequestItem.ets
0 → 100644
View file @
724134e
export class SearchSuggestRequestItem{
recType: number = 0
relId: string = ""
contentId: string = ""
imei: string = ""
userId: string = ""
contentType: number = 0
channelId: string = ""
constructor(recType: number, relId: string , contentId: string , imei: string ,userId: string ,
contentType: number,channelId: string ) {
this.recType = recType
this.relId = relId
this.contentId = contentId
this.imei = imei
this.userId = userId
this.contentType = contentType
this.channelId = channelId
}
}
\ No newline at end of file
...
...
sight_harmony/features/wdComponent/src/main/resources/base/media/search_suggest_icon.png
0 → 100644
View file @
724134e
288 Bytes
sight_harmony/products/phone/src/main/resources/rawfile/search_suggest_data.json
0 → 100644
View file @
724134e
{
"code"
:
"0"
,
"data"
:
[
{
"activityExt"
:
null
,
"appStyle"
:
"11"
,
"askInfo"
:
null
,
"axisColor"
:
""
,
"bestNoticer"
:
null
,
"bottomNavId"
:
null
,
"cardItemId"
:
""
,
"channelId"
:
2029
,
"commentInfo"
:
null
,
"corner"
:
""
,
"coverSize"
:
""
,
"coverType"
:
null
,
"coverUrl"
:
""
,
"expIds"
:
"105"
,
"extra"
:
""
,
"fullColumnImgUrls"
:
[
],
"hasMore"
:
null
,
"itemId"
:
"500005310685_article_r"
,
"itemType"
:
""
,
"itemTypeCode"
:
"article"
,
"keyArticle"
:
0
,
"landscape"
:
null
,
"likeStyle"
:
null
,
"linkUrl"
:
""
,
"liveInfo"
:
null
,
"menuShow"
:
1
,
"newTags"
:
""
,
"newsAuthor"
:
""
,
"newsSubTitle"
:
""
,
"newsSummary"
:
""
,
"newsTitle"
:
"2024天津·宝坻体育旅游嘉年华活动启动"
,
"newsTitleColor"
:
""
,
"objectId"
:
"30044378753"
,
"objectLevel"
:
""
,
"objectType"
:
"8"
,
"openComment"
:
null
,
"openLikes"
:
null
,
"pageId"
:
""
,
"photoNum"
:
null
,
"position"
:
null
,
"productNum"
:
null
,
"publishTime"
:
"1713145459000"
,
"pushTime"
:
null
,
"pushUnqueId"
:
null
,
"readFlag"
:
0
,
"recommend"
:
1
,
"relId"
:
500005310685
,
"relObjectId"
:
"2029"
,
"relType"
:
1
,
"rmhInfo"
:
null
,
"rmhPlatform"
:
0
,
"sceneId"
:
"54"
,
"shareInfo"
:
null
,
"slideShows"
:
[
],
"sortValue"
:
null
,
"source"
:
"人民日报客户端天津频道"
,
"subObjectType"
:
""
,
"subSceneId"
:
""
,
"tagIds"
:
[
],
"tagWord"
:
null
,
"titleShow"
:
null
,
"titleShowPolicy"
:
null
,
"topicTemplate"
:
null
,
"traceId"
:
"a20b09c58479b22f-500005310685_article_r"
,
"traceInfo"
:
""
,
"userInfo"
:
null
,
"videoInfo"
:
null
,
"visitorComment"
:
1
,
"voiceInfo"
:
null
},
{
"activityExt"
:
null
,
"appStyle"
:
"11"
,
"askInfo"
:
null
,
"axisColor"
:
""
,
"bestNoticer"
:
null
,
"bottomNavId"
:
null
,
"cardItemId"
:
""
,
"channelId"
:
2032
,
"commentInfo"
:
null
,
"corner"
:
""
,
"coverSize"
:
""
,
"coverType"
:
null
,
"coverUrl"
:
""
,
"expIds"
:
"105"
,
"extra"
:
""
,
"fullColumnImgUrls"
:
[
],
"hasMore"
:
null
,
"itemId"
:
"500005305865_article_r"
,
"itemType"
:
""
,
"itemTypeCode"
:
"article"
,
"keyArticle"
:
0
,
"landscape"
:
null
,
"likeStyle"
:
null
,
"linkUrl"
:
""
,
"liveInfo"
:
null
,
"menuShow"
:
2
,
"newTags"
:
""
,
"newsAuthor"
:
""
,
"newsSubTitle"
:
""
,
"newsSummary"
:
""
,
"newsTitle"
:
"内蒙古扎赉特旗: “书记项目”添动能 “头雁引领”聚合力"
,
"newsTitleColor"
:
""
,
"objectId"
:
"30044342646"
,
"objectLevel"
:
""
,
"objectType"
:
"8"
,
"openComment"
:
null
,
"openLikes"
:
null
,
"pageId"
:
""
,
"photoNum"
:
null
,
"position"
:
null
,
"productNum"
:
null
,
"publishTime"
:
"1712913646000"
,
"pushTime"
:
null
,
"pushUnqueId"
:
null
,
"readFlag"
:
0
,
"recommend"
:
1
,
"relId"
:
500005305865
,
"relObjectId"
:
"2032"
,
"relType"
:
1
,
"rmhInfo"
:
null
,
"rmhPlatform"
:
0
,
"sceneId"
:
"54"
,
"shareInfo"
:
null
,
"slideShows"
:
[
],
"sortValue"
:
null
,
"source"
:
"扎赉特旗融媒体中心"
,
"subObjectType"
:
""
,
"subSceneId"
:
""
,
"tagIds"
:
[
],
"tagWord"
:
null
,
"titleShow"
:
null
,
"titleShowPolicy"
:
null
,
"topicTemplate"
:
null
,
"traceId"
:
"a20b09c58479b22f-500005305865_article_r"
,
"traceInfo"
:
""
,
"userInfo"
:
null
,
"videoInfo"
:
null
,
"visitorComment"
:
1
,
"voiceInfo"
:
null
},
{
"activityExt"
:
null
,
"appStyle"
:
"2"
,
"askInfo"
:
null
,
"axisColor"
:
""
,
"bestNoticer"
:
null
,
"bottomNavId"
:
null
,
"cardItemId"
:
""
,
"channelId"
:
2002
,
"commentInfo"
:
null
,
"corner"
:
""
,
"coverSize"
:
"828*466"
,
"coverType"
:
1
,
"coverUrl"
:
"https://rmrbcmsonline.peopleapp.com/upload/image/202404/202404141745321527.png?x-oss-process=image/resize,m_fill,h_450,w_800/quality,q_90"
,
"expIds"
:
"105"
,
"extra"
:
""
,
"fullColumnImgUrls"
:
[
{
"format"
:
null
,
"fullUrl"
:
""
,
"height"
:
466
,
"landscape"
:
1
,
"size"
:
1
,
"url"
:
"https://rmrbcmsonline.peopleapp.com/upload/image/202404/202404141745321527.png?x-oss-process=image/resize,m_fill,h_450,w_800/quality,q_90"
,
"weight"
:
828
}
],
"hasMore"
:
null
,
"itemId"
:
"500005310405_video_r"
,
"itemType"
:
""
,
"itemTypeCode"
:
"video"
,
"keyArticle"
:
0
,
"landscape"
:
null
,
"likeStyle"
:
null
,
"linkUrl"
:
""
,
"liveInfo"
:
null
,
"menuShow"
:
1
,
"newTags"
:
""
,
"newsAuthor"
:
""
,
"newsSubTitle"
:
""
,
"newsSummary"
:
""
,
"newsTitle"
:
"华丽绚烂!看了洛阳牡丹才知国色天香"
,
"newsTitleColor"
:
""
,
"objectId"
:
"30044374037"
,
"objectLevel"
:
""
,
"objectType"
:
"1"
,
"openComment"
:
null
,
"openLikes"
:
null
,
"pageId"
:
""
,
"photoNum"
:
null
,
"position"
:
null
,
"productNum"
:
null
,
"publishTime"
:
"1713095130000"
,
"pushTime"
:
null
,
"pushUnqueId"
:
null
,
"readFlag"
:
0
,
"recommend"
:
1
,
"relId"
:
500005310405
,
"relObjectId"
:
"2002"
,
"relType"
:
1
,
"rmhInfo"
:
null
,
"rmhPlatform"
:
0
,
"sceneId"
:
"54"
,
"shareInfo"
:
null
,
"slideShows"
:
[
],
"sortValue"
:
null
,
"source"
:
"荔枝风景线微博"
,
"subObjectType"
:
""
,
"subSceneId"
:
""
,
"tagIds"
:
[
],
"tagWord"
:
null
,
"titleShow"
:
null
,
"titleShowPolicy"
:
null
,
"topicTemplate"
:
null
,
"traceId"
:
"a20b09c58479b22f-500005310405_video_r"
,
"traceInfo"
:
""
,
"userInfo"
:
null
,
"videoInfo"
:
{
"firstFrameImageUri"
:
""
,
"videoDuration"
:
19
,
"videoLandscape"
:
1
,
"videoUrl"
:
"https://rmrbcmsonline.peopleapp.com/upload/video/mp4/202404/17130877420e174c2c6c260ac9.mp4"
},
"visitorComment"
:
1
,
"voiceInfo"
:
null
},
{
"activityExt"
:
null
,
"appStyle"
:
"13"
,
"askInfo"
:
null
,
"axisColor"
:
""
,
"bestNoticer"
:
null
,
"bottomNavId"
:
null
,
"cardItemId"
:
""
,
"channelId"
:
2002
,
"commentInfo"
:
null
,
"corner"
:
""
,
"coverSize"
:
"619*466"
,
"coverType"
:
1
,
"coverUrl"
:
"https://rmrbcmsonline.peopleapp.com/upload/image/202404/202404181712303737.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90"
,
"expIds"
:
"105"
,
"extra"
:
""
,
"fullColumnImgUrls"
:
[
{
"format"
:
null
,
"fullUrl"
:
""
,
"height"
:
466
,
"landscape"
:
1
,
"size"
:
1
,
"url"
:
"https://rmrbcmsonline.peopleapp.com/upload/image/202404/202404181712303737.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90"
,
"weight"
:
619
}
],
"hasMore"
:
null
,
"itemId"
:
"500005324157_article_r"
,
"itemType"
:
""
,
"itemTypeCode"
:
"article"
,
"keyArticle"
:
0
,
"landscape"
:
null
,
"likeStyle"
:
null
,
"linkUrl"
:
""
,
"liveInfo"
:
null
,
"menuShow"
:
2
,
"newTags"
:
""
,
"newsAuthor"
:
""
,
"newsSubTitle"
:
""
,
"newsSummary"
:
"祝福“中国天眼”!怀念南老先生!"
,
"newsTitle"
:
"这超900颗新脉冲星,多希望他能看到啊"
,
"newsTitleColor"
:
""
,
"objectId"
:
"30044454971"
,
"objectLevel"
:
""
,
"objectType"
:
"8"
,
"openComment"
:
null
,
"openLikes"
:
null
,
"pageId"
:
""
,
"photoNum"
:
null
,
"position"
:
null
,
"productNum"
:
null
,
"publishTime"
:
"1713431569000"
,
"pushTime"
:
null
,
"pushUnqueId"
:
null
,
"readFlag"
:
0
,
"recommend"
:
1
,
"relId"
:
500005324157
,
"relObjectId"
:
"2002"
,
"relType"
:
1
,
"rmhInfo"
:
null
,
"rmhPlatform"
:
0
,
"sceneId"
:
"54"
,
"shareInfo"
:
null
,
"slideShows"
:
[
],
"sortValue"
:
null
,
"source"
:
"新华社微信公号"
,
"subObjectType"
:
""
,
"subSceneId"
:
""
,
"tagIds"
:
[
],
"tagWord"
:
null
,
"titleShow"
:
null
,
"titleShowPolicy"
:
null
,
"topicTemplate"
:
null
,
"traceId"
:
"a20b09c58479b22f-500005324157_article_r"
,
"traceInfo"
:
""
,
"userInfo"
:
null
,
"videoInfo"
:
null
,
"visitorComment"
:
1
,
"voiceInfo"
:
null
},
{
"activityExt"
:
null
,
"appStyle"
:
"13"
,
"askInfo"
:
null
,
"axisColor"
:
""
,
"bestNoticer"
:
null
,
"bottomNavId"
:
null
,
"cardItemId"
:
""
,
"channelId"
:
2037
,
"commentInfo"
:
null
,
"corner"
:
""
,
"coverSize"
:
"700*525"
,
"coverType"
:
1
,
"coverUrl"
:
"https://rmrbcmsonline.peopleapp.com/upload/image/202404/202404181118592822.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90"
,
"expIds"
:
"105"
,
"extra"
:
""
,
"fullColumnImgUrls"
:
[
{
"format"
:
null
,
"fullUrl"
:
""
,
"height"
:
525
,
"landscape"
:
1
,
"size"
:
1
,
"url"
:
"https://rmrbcmsonline.peopleapp.com/upload/image/202404/202404181118592822.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90"
,
"weight"
:
700
}
],
"hasMore"
:
null
,
"itemId"
:
"500005322754_article_r"
,
"itemType"
:
""
,
"itemTypeCode"
:
"article"
,
"keyArticle"
:
0
,
"landscape"
:
null
,
"likeStyle"
:
null
,
"linkUrl"
:
""
,
"liveInfo"
:
null
,
"menuShow"
:
1
,
"newTags"
:
""
,
"newsAuthor"
:
""
,
"newsSubTitle"
:
""
,
"newsSummary"
:
""
,
"newsTitle"
:
"神舟十八号船箭组合体转运至发射区 计划近日择机实施发射"
,
"newsTitleColor"
:
""
,
"objectId"
:
"30044447518"
,
"objectLevel"
:
""
,
"objectType"
:
"8"
,
"openComment"
:
null
,
"openLikes"
:
null
,
"pageId"
:
""
,
"photoNum"
:
null
,
"position"
:
null
,
"productNum"
:
null
,
"publishTime"
:
"1713433480000"
,
"pushTime"
:
null
,
"pushUnqueId"
:
null
,
"readFlag"
:
0
,
"recommend"
:
1
,
"relId"
:
500005322754
,
"relObjectId"
:
"2037"
,
"relType"
:
1
,
"rmhInfo"
:
null
,
"rmhPlatform"
:
0
,
"sceneId"
:
"54"
,
"shareInfo"
:
null
,
"slideShows"
:
[
],
"sortValue"
:
null
,
"source"
:
"人民日报客户端"
,
"subObjectType"
:
""
,
"subSceneId"
:
""
,
"tagIds"
:
[
],
"tagWord"
:
null
,
"titleShow"
:
null
,
"titleShowPolicy"
:
null
,
"topicTemplate"
:
null
,
"traceId"
:
"a20b09c58479b22f-500005322754_article_r"
,
"traceInfo"
:
""
,
"userInfo"
:
null
,
"videoInfo"
:
null
,
"visitorComment"
:
1
,
"voiceInfo"
:
null
},
{
"activityExt"
:
null
,
"appStyle"
:
"13"
,
"askInfo"
:
null
,
"axisColor"
:
""
,
"bestNoticer"
:
null
,
"bottomNavId"
:
null
,
"cardItemId"
:
""
,
"channelId"
:
2050
,
"commentInfo"
:
null
,
"corner"
:
""
,
"coverSize"
:
"619*466"
,
"coverType"
:
1
,
"coverUrl"
:
"https://rmrbcmsonline.peopleapp.com/upload/image/202404/202404121822152009.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90"
,
"expIds"
:
"105"
,
"extra"
:
""
,
"fullColumnImgUrls"
:
[
{
"format"
:
null
,
"fullUrl"
:
""
,
"height"
:
466
,
"landscape"
:
1
,
"size"
:
1
,
"url"
:
"https://rmrbcmsonline.peopleapp.com/upload/image/202404/202404121822152009.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90"
,
"weight"
:
619
}
],
"hasMore"
:
null
,
"itemId"
:
"500005306852_article_r"
,
"itemType"
:
""
,
"itemTypeCode"
:
"article"
,
"keyArticle"
:
0
,
"landscape"
:
null
,
"likeStyle"
:
null
,
"linkUrl"
:
""
,
"liveInfo"
:
null
,
"menuShow"
:
1
,
"newTags"
:
""
,
"newsAuthor"
:
""
,
"newsSubTitle"
:
""
,
"newsSummary"
:
""
,
"newsTitle"
:
"罕见!贵州梵净山再现“佛光”奇观"
,
"newsTitleColor"
:
""
,
"objectId"
:
"30044345083"
,
"objectLevel"
:
""
,
"objectType"
:
"8"
,
"openComment"
:
null
,
"openLikes"
:
null
,
"pageId"
:
""
,
"photoNum"
:
null
,
"position"
:
null
,
"productNum"
:
null
,
"publishTime"
:
"1712934235000"
,
"pushTime"
:
null
,
"pushUnqueId"
:
null
,
"readFlag"
:
0
,
"recommend"
:
1
,
"relId"
:
500005306852
,
"relObjectId"
:
"2050"
,
"relType"
:
1
,
"rmhInfo"
:
null
,
"rmhPlatform"
:
0
,
"sceneId"
:
"54"
,
"shareInfo"
:
null
,
"slideShows"
:
[
],
"sortValue"
:
null
,
"source"
:
"微铜仁"
,
"subObjectType"
:
""
,
"subSceneId"
:
""
,
"tagIds"
:
[
],
"tagWord"
:
null
,
"titleShow"
:
null
,
"titleShowPolicy"
:
null
,
"topicTemplate"
:
null
,
"traceId"
:
"a20b09c58479b22f-500005306852_article_r"
,
"traceInfo"
:
""
,
"userInfo"
:
null
,
"videoInfo"
:
null
,
"visitorComment"
:
1
,
"voiceInfo"
:
null
},
{
"activityExt"
:
null
,
"appStyle"
:
"13"
,
"askInfo"
:
null
,
"axisColor"
:
""
,
"bestNoticer"
:
null
,
"bottomNavId"
:
null
,
"cardItemId"
:
""
,
"channelId"
:
2028
,
"commentInfo"
:
null
,
"corner"
:
""
,
"coverSize"
:
"1103*621"
,
"coverType"
:
1
,
"coverUrl"
:
"https://rmrbcmsonline.peopleapp.com/upload/image/202404/rmrb_58921713104730.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90"
,
"expIds"
:
"105"
,
"extra"
:
""
,
"fullColumnImgUrls"
:
[
{
"format"
:
null
,
"fullUrl"
:
""
,
"height"
:
621
,
"landscape"
:
1
,
"size"
:
1
,
"url"
:
"https://rmrbcmsonline.peopleapp.com/upload/image/202404/rmrb_58921713104730.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90"
,
"weight"
:
1103
}
],
"hasMore"
:
null
,
"itemId"
:
"500005310563_article_r"
,
"itemType"
:
""
,
"itemTypeCode"
:
"article"
,
"keyArticle"
:
0
,
"landscape"
:
null
,
"likeStyle"
:
null
,
"linkUrl"
:
""
,
"liveInfo"
:
null
,
"menuShow"
:
2
,
"newTags"
:
""
,
"newsAuthor"
:
""
,
"newsSubTitle"
:
""
,
"newsSummary"
:
""
,
"newsTitle"
:
"行知读书会分享松江方塔园背后的故事"
,
"newsTitleColor"
:
""
,
"objectId"
:
"30044377688"
,
"objectLevel"
:
""
,
"objectType"
:
"8"
,
"openComment"
:
null
,
"openLikes"
:
null
,
"pageId"
:
""
,
"photoNum"
:
null
,
"position"
:
null
,
"productNum"
:
null
,
"publishTime"
:
"1713108215000"
,
"pushTime"
:
null
,
"pushUnqueId"
:
null
,
"readFlag"
:
0
,
"recommend"
:
1
,
"relId"
:
500005310563
,
"relObjectId"
:
"2028"
,
"relType"
:
1
,
"rmhInfo"
:
null
,
"rmhPlatform"
:
0
,
"sceneId"
:
"54"
,
"shareInfo"
:
null
,
"slideShows"
:
[
],
"sortValue"
:
null
,
"source"
:
"人民日报客户端上海频道"
,
"subObjectType"
:
""
,
"subSceneId"
:
""
,
"tagIds"
:
[
],
"tagWord"
:
null
,
"titleShow"
:
null
,
"titleShowPolicy"
:
null
,
"topicTemplate"
:
null
,
"traceId"
:
"a20b09c58479b22f-500005310563_article_r"
,
"traceInfo"
:
""
,
"userInfo"
:
null
,
"videoInfo"
:
null
,
"visitorComment"
:
1
,
"voiceInfo"
:
null
},
{
"activityExt"
:
null
,
"appStyle"
:
"13"
,
"askInfo"
:
null
,
"axisColor"
:
""
,
"bestNoticer"
:
null
,
"bottomNavId"
:
null
,
"cardItemId"
:
""
,
"channelId"
:
2002
,
"commentInfo"
:
null
,
"corner"
:
""
,
"coverSize"
:
"619*466"
,
"coverType"
:
1
,
"coverUrl"
:
"https://rmrbcmsonline.peopleapp.com/upload/image/202404/202404220932238253.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90"
,
"expIds"
:
"105"
,
"extra"
:
""
,
"fullColumnImgUrls"
:
[
{
"format"
:
null
,
"fullUrl"
:
""
,
"height"
:
466
,
"landscape"
:
1
,
"size"
:
1
,
"url"
:
"https://rmrbcmsonline.peopleapp.com/upload/image/202404/202404220932238253.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90"
,
"weight"
:
619
}
],
"hasMore"
:
null
,
"itemId"
:
"500005332338_article_r"
,
"itemType"
:
""
,
"itemTypeCode"
:
"article"
,
"keyArticle"
:
0
,
"landscape"
:
null
,
"likeStyle"
:
null
,
"linkUrl"
:
""
,
"liveInfo"
:
null
,
"menuShow"
:
2
,
"newTags"
:
""
,
"newsAuthor"
:
""
,
"newsSubTitle"
:
""
,
"newsSummary"
:
"送别老人!"
,
"newsTitle"
:
"93岁南京大屠杀幸存者刘素珍去世"
,
"newsTitleColor"
:
""
,
"objectId"
:
"30044516097"
,
"objectLevel"
:
""
,
"objectType"
:
"8"
,
"openComment"
:
null
,
"openLikes"
:
null
,
"pageId"
:
""
,
"photoNum"
:
null
,
"position"
:
null
,
"productNum"
:
null
,
"publishTime"
:
"1713750664000"
,
"pushTime"
:
null
,
"pushUnqueId"
:
null
,
"readFlag"
:
0
,
"recommend"
:
1
,
"relId"
:
500005332338
,
"relObjectId"
:
"2002"
,
"relType"
:
1
,
"rmhInfo"
:
null
,
"rmhPlatform"
:
0
,
"sceneId"
:
"54"
,
"shareInfo"
:
null
,
"slideShows"
:
[
],
"sortValue"
:
null
,
"source"
:
"侵华日军南京大屠杀遇难同胞纪念馆"
,
"subObjectType"
:
""
,
"subSceneId"
:
""
,
"tagIds"
:
[
],
"tagWord"
:
null
,
"titleShow"
:
null
,
"titleShowPolicy"
:
null
,
"topicTemplate"
:
null
,
"traceId"
:
"a20b09c58479b22f-500005332338_article_r"
,
"traceInfo"
:
""
,
"userInfo"
:
null
,
"videoInfo"
:
null
,
"visitorComment"
:
1
,
"voiceInfo"
:
null
},
{
"activityExt"
:
null
,
"appStyle"
:
"11"
,
"askInfo"
:
null
,
"axisColor"
:
""
,
"bestNoticer"
:
null
,
"bottomNavId"
:
null
,
"cardItemId"
:
""
,
"channelId"
:
2037
,
"commentInfo"
:
null
,
"corner"
:
""
,
"coverSize"
:
""
,
"coverType"
:
null
,
"coverUrl"
:
""
,
"expIds"
:
"105"
,
"extra"
:
""
,
"fullColumnImgUrls"
:
[
],
"hasMore"
:
null
,
"itemId"
:
"500005320193_article_r"
,
"itemType"
:
""
,
"itemTypeCode"
:
"article"
,
"keyArticle"
:
0
,
"landscape"
:
null
,
"likeStyle"
:
null
,
"linkUrl"
:
""
,
"liveInfo"
:
null
,
"menuShow"
:
2
,
"newTags"
:
""
,
"newsAuthor"
:
""
,
"newsSubTitle"
:
""
,
"newsSummary"
:
""
,
"newsTitle"
:
"高能级科创平台如何赋能衢州高质量发展?这些成果令人瞩目"
,
"newsTitleColor"
:
""
,
"objectId"
:
"30044430493"
,
"objectLevel"
:
""
,
"objectType"
:
"8"
,
"openComment"
:
null
,
"openLikes"
:
null
,
"pageId"
:
""
,
"photoNum"
:
null
,
"position"
:
null
,
"productNum"
:
null
,
"publishTime"
:
"1713339049000"
,
"pushTime"
:
null
,
"pushUnqueId"
:
null
,
"readFlag"
:
0
,
"recommend"
:
1
,
"relId"
:
500005320193
,
"relObjectId"
:
"2037"
,
"relType"
:
1
,
"rmhInfo"
:
null
,
"rmhPlatform"
:
0
,
"sceneId"
:
"54"
,
"shareInfo"
:
null
,
"slideShows"
:
[
],
"sortValue"
:
null
,
"source"
:
"人民日报客户端浙江频道"
,
"subObjectType"
:
""
,
"subSceneId"
:
""
,
"tagIds"
:
[
],
"tagWord"
:
null
,
"titleShow"
:
null
,
"titleShowPolicy"
:
null
,
"topicTemplate"
:
null
,
"traceId"
:
"a20b09c58479b22f-500005320193_article_r"
,
"traceInfo"
:
""
,
"userInfo"
:
null
,
"videoInfo"
:
null
,
"visitorComment"
:
1
,
"voiceInfo"
:
null
},
{
"activityExt"
:
null
,
"appStyle"
:
"13"
,
"askInfo"
:
null
,
"axisColor"
:
""
,
"bestNoticer"
:
null
,
"bottomNavId"
:
null
,
"cardItemId"
:
""
,
"channelId"
:
2037
,
"commentInfo"
:
null
,
"corner"
:
""
,
"coverSize"
:
"600*400"
,
"coverType"
:
1
,
"coverUrl"
:
"https://rmrbcmsonline.peopleapp.com/upload/ueditor/image/20240417/a_965028022405033985.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90"
,
"expIds"
:
"105"
,
"extra"
:
""
,
"fullColumnImgUrls"
:
[
{
"format"
:
null
,
"fullUrl"
:
""
,
"height"
:
400
,
"landscape"
:
1
,
"size"
:
1
,
"url"
:
"https://rmrbcmsonline.peopleapp.com/upload/ueditor/image/20240417/a_965028022405033985.png?x-oss-process=image/resize,m_fill,h_160,w_240/quality,q_90"
,
"weight"
:
600
}
],
"hasMore"
:
null
,
"itemId"
:
"500005318711_article_r"
,
"itemType"
:
""
,
"itemTypeCode"
:
"article"
,
"keyArticle"
:
0
,
"landscape"
:
null
,
"likeStyle"
:
null
,
"linkUrl"
:
""
,
"liveInfo"
:
null
,
"menuShow"
:
2
,
"newTags"
:
""
,
"newsAuthor"
:
""
,
"newsSubTitle"
:
""
,
"newsSummary"
:
""
,
"newsTitle"
:
"增长缘何“超预期”?三个维度读懂"
,
"newsTitleColor"
:
""
,
"objectId"
:
"30044422916"
,
"objectLevel"
:
""
,
"objectType"
:
"8"
,
"openComment"
:
null
,
"openLikes"
:
null
,
"pageId"
:
""
,
"photoNum"
:
null
,
"position"
:
null
,
"productNum"
:
null
,
"publishTime"
:
"1713319371000"
,
"pushTime"
:
null
,
"pushUnqueId"
:
null
,
"readFlag"
:
0
,
"recommend"
:
1
,
"relId"
:
500005318711
,
"relObjectId"
:
"2037"
,
"relType"
:
1
,
"rmhInfo"
:
null
,
"rmhPlatform"
:
0
,
"sceneId"
:
"54"
,
"shareInfo"
:
null
,
"slideShows"
:
[
],
"sortValue"
:
null
,
"source"
:
"央视新闻客户端"
,
"subObjectType"
:
""
,
"subSceneId"
:
""
,
"tagIds"
:
[
],
"tagWord"
:
null
,
"titleShow"
:
null
,
"titleShowPolicy"
:
null
,
"topicTemplate"
:
null
,
"traceId"
:
"a20b09c58479b22f-500005318711_article_r"
,
"traceInfo"
:
""
,
"userInfo"
:
null
,
"videoInfo"
:
null
,
"visitorComment"
:
1
,
"voiceInfo"
:
null
}
],
"message"
:
"Success"
,
"meta"
:
null
,
"requestId"
:
""
,
"success"
:
true
,
"timestamp"
:
1713752234695
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment