liyubing

feat:换肤

1)底部导航栏颜色修改
... ... @@ -222,7 +222,7 @@ export class ProcessUtils {
ProcessUtils.gotoThemeListPage(content)
break;
default:
ToastUtils.shortToast('敬请期待')
ToastUtils.shortToast('敬请期待')
break;
}
}
... ...
... ... @@ -96,7 +96,7 @@ export struct ENewspaperItemComponent {
}
if (event.type === TouchType.Up) {
this.context.clearRect(0, 0, this.context.width, this.context.height)
if (this.itemBeanClicked != null && this.itemBeanClicked.newsId != 0) {
if (this.itemBeanClicked != null && this.itemBeanClicked.newsId != 0 && this.itemBeanClicked.newsType ) {
//公共跳转
let content: ContentDTO = {
objectId: this.itemBeanClicked.newsId + '',
... ...
... ... @@ -54,12 +54,12 @@ export struct VideoChannelPage {
*/
setBarBackgroundColor() {
Logger.debug('setBarBackgroundColor','setBarBackgroundColor '+this.navItem.name+' '+this.navItem.statusBarColor)
//Logger.debug('setBarBackgroundColor','setBarBackgroundColor '+this.navItem.name+' '+this.navItem.statusBarColor)
if (this.currentTopNavSelectedIndex === 0 && CompUtils.isVideo(this.currentBottomNavInfo)) {
this.barBackgroundColor = Color.Black
this.isImmersive = true
this.changeTopStatusBarColor(0)
this.changeTopStatusBarColor(0)// 沉浸页面顶部导航栏颜色固定黑色
} else {
this.isImmersive = false
this.barBackgroundColor = Color.White
... ...