wangliang_wd

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

* 'main' of http://192.168.1.42/developOne/harmonyPool:
  国殇修改判断条件不判断未登录
... ... @@ -85,8 +85,8 @@ export class GrayManageModel {
// 国殇模式开启
public isMourning(): boolean {
// 基础条件:用户已登录且国殇模式主开关开启
if (!this.user_id || !this.switchOpen) {
// 基础条件:国殇模式主开关开启
if (!this.switchOpen) {
return false;
}
... ... @@ -102,7 +102,6 @@ export class GrayManageModel {
// 国殇模式开启 底导国殇模式开启
public isBottomNavMourning(): boolean {
return (
!!this.user_id && // 确保用户已登录
this.switchOpen && // 国殇模式总开关开启
this.bottomNavOpen && // 底部导航国殇模式开关开启
(
... ... @@ -115,7 +114,7 @@ export class GrayManageModel {
// 国殇模式开启 新闻频道国殇模式开启 一键全选: true-全选, false-非全选
public isNewsMourning(channelId: string): boolean {
// 检查最基本的前提条件
if (!this.user_id || !this.switchOpen) {
if (!this.switchOpen) {
return false;
}
... ... @@ -132,7 +131,7 @@ export class GrayManageModel {
// 国殇模式开启 人民号频道国殇模式开启 一键全选: true-全选, false-非全选
public isRmhMourning(channelId: string): boolean {
// 检查最基本的前提条件
if (!this.user_id || !this.switchOpen) {
if (!this.switchOpen) {
return false;
}
... ... @@ -149,7 +148,7 @@ export class GrayManageModel {
// 国殇模式开启 视频频道频道国殇模式开启 一键全选: true-全选, false-非全选
public isVideoMourning(channelId: string): boolean {
// 检查最基本的前提条件
if (!this.user_id || !this.switchOpen) {
if (!this.switchOpen) {
return false;
}
... ... @@ -165,7 +164,7 @@ export class GrayManageModel {
// 国殇模式开启 视频频道频道国殇模式开启 一键全选: true-全选, false-非全选
public isServerMourning(channelId: string): boolean {
// 检查最基本的前提条件
if (!this.user_id || !this.switchOpen) {
if (!this.switchOpen) {
return false;
}
... ...