Showing
2 changed files
with
4 additions
and
3 deletions
| @@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
| 4 | export class TopNavDTO { | 4 | export class TopNavDTO { |
| 5 | channelId: number = 0; //频道id | 5 | channelId: number = 0; //频道id |
| 6 | channelStyle: number = 0; //频道样式;1-沉浸式;2-信息流 | 6 | channelStyle: number = 0; //频道样式;1-沉浸式;2-信息流 |
| 7 | - channelType: number = 0; // 频道样式;1-沉浸式;2-信息流;3-特殊频道(跳转指定页面的,如版面) | 7 | + channelType: number = 0; // // 频道类型:1:主频道 2:地方频道 |
| 8 | defaultPermitted: number = 0; //允许设置为默认首页 0:否, 1:是;【首页设置频道】 | 8 | defaultPermitted: number = 0; //允许设置为默认首页 0:否, 1:是;【首页设置频道】 |
| 9 | delPermitted: number = 0; //允许删除 0:否, 1:是;【撤销属性】 | 9 | delPermitted: number = 0; //允许删除 0:否, 1:是;【撤销属性】 |
| 10 | fontCColor: string = ''; // 频道展示样式颜色(选中状态) | 10 | fontCColor: string = ''; // 频道展示样式颜色(选中状态) |
| @@ -80,11 +80,12 @@ struct ChannelSubscriptionLayout { | @@ -80,11 +80,12 @@ struct ChannelSubscriptionLayout { | ||
| 80 | } | 80 | } |
| 81 | /* | 81 | /* |
| 82 | 删除的频道信息回到原栏目中去 | 82 | 删除的频道信息回到原栏目中去 |
| 83 | + *channelType 频道类型:1:主频道 2:地方频道 | ||
| 83 | */ | 84 | */ |
| 84 | - if (item.moreChannel === '1') { | 85 | + if (item.channelType === 1) { |
| 85 | this.moreChannelList.unshift(item) | 86 | this.moreChannelList.unshift(item) |
| 86 | } | 87 | } |
| 87 | - if (item.localChannel === '1') { | 88 | + if (item.channelType === 2) { |
| 88 | this.localChannelList.unshift(item) | 89 | this.localChannelList.unshift(item) |
| 89 | } | 90 | } |
| 90 | 91 |
-
Please register or login to post a comment