Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
陈高翔
/
DreamSleep-iOS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit a9016a7a
由
cgx
编写于
2022-10-31 10:07:43 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
新增官方动态展开收拢,数据容错处理
1 个父辈
db7ca586
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
6 行增加
和
9 行删除
DreamSleep/DreamSleep.xcodeproj/project.pbxproj
DreamSleep/DreamSleep/Class/CommunityModule/DynamicList/View/CommunityView.m
DreamSleep/DreamSleep/Class/CommunityModule/DynamicList/View/OfficialMessageCell.m
DreamSleep/DreamSleep/Class/CommunityModule/DynamicList/ViewModel/ComListViewModel.m
DreamSleep/DreamSleep.xcodeproj/project.pbxproj
查看文件 @
a9016a7
...
@@ -3233,7 +3233,7 @@
...
@@ -3233,7 +3233,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepDebug.entitlements;
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepDebug.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Manual;
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION =
5
;
CURRENT_PROJECT_VERSION =
7
;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
...
@@ -3316,7 +3316,7 @@
...
@@ -3316,7 +3316,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/DreamSleep.entitlements;
CODE_SIGN_ENTITLEMENTS = DreamSleep/DreamSleep.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION =
5
;
CURRENT_PROJECT_VERSION =
7
;
DEFINES_MODULE = YES;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
ENABLE_BITCODE = NO;
ENABLE_BITCODE = NO;
...
@@ -3459,7 +3459,7 @@
...
@@ -3459,7 +3459,7 @@
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepBeta.entitlements;
CODE_SIGN_ENTITLEMENTS = DreamSleep/Basement/DSConfig/DreamSleepBeta.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION =
5
;
CURRENT_PROJECT_VERSION =
7
;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DEFINES_MODULE = YES;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
DEVELOPMENT_TEAM = 4NDZ6UX8PW;
...
...
DreamSleep/DreamSleep/Class/CommunityModule/DynamicList/View/CommunityView.m
查看文件 @
a9016a7
...
@@ -131,7 +131,7 @@
...
@@ -131,7 +131,7 @@
cell
.
model
=
model
;
cell
.
model
=
model
;
cell
.
showAllContentBlock
=
^
{
cell
.
showAllContentBlock
=
^
{
[
weakSelf
.
comListVM
showOfficialAllContent
];
[
weakSelf
.
comListVM
showOfficialAllContent
];
[
weakSelf
.
listView
reloadSections
:[
NSIndexSet
indexSetWithIndex
:
0
]
withRowAnimation
:
UITableViewRowAnimation
Non
e
];
[
weakSelf
.
listView
reloadSections
:[
NSIndexSet
indexSetWithIndex
:
0
]
withRowAnimation
:
UITableViewRowAnimation
Fad
e
];
};
};
return
cell
;
return
cell
;
}
else
{
}
else
{
...
...
DreamSleep/DreamSleep/Class/CommunityModule/DynamicList/View/OfficialMessageCell.m
查看文件 @
a9016a7
...
@@ -114,9 +114,6 @@
...
@@ -114,9 +114,6 @@
}
}
-
(
void
)
showAllContent
{
-
(
void
)
showAllContent
{
if
(
self
.
model
.
isShowAllContent
)
{
return
;
}
if
(
self
.
showAllContentBlock
)
{
if
(
self
.
showAllContentBlock
)
{
self
.
showAllContentBlock
();
self
.
showAllContentBlock
();
}
}
...
...
DreamSleep/DreamSleep/Class/CommunityModule/DynamicList/ViewModel/ComListViewModel.m
查看文件 @
a9016a7
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
*
stop
=
YES
;
*
stop
=
YES
;
}
}
}];
}];
if
(
hasOfficialModel
==
NO
)
{
if
(
hasOfficialModel
==
NO
&&
self
.
resultModel
.
officialMessageModel
)
{
[
newList
insertObject
:
self
.
resultModel
.
officialMessageModel
atIndex
:
0
];
[
newList
insertObject
:
self
.
resultModel
.
officialMessageModel
atIndex
:
0
];
}
}
self
.
isOfficial
=
self
.
resultModel
.
officialMessageModel
;
self
.
isOfficial
=
self
.
resultModel
.
officialMessageModel
;
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
}
}
-
(
void
)
showOfficialAllContent
{
-
(
void
)
showOfficialAllContent
{
self
.
resultModel
.
officialMessageModel
.
isShowAllContent
=
YES
;
self
.
resultModel
.
officialMessageModel
.
isShowAllContent
=
!
self
.
resultModel
.
officialMessageModel
.
isShowAllContent
;
}
}
-
(
void
)
insertUserDyModel
:
(
ComDynModel
*
)
dyModel
{
-
(
void
)
insertUserDyModel
:
(
ComDynModel
*
)
dyModel
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论