Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
陈高翔
/
DreamSleep-iOS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 4a451cba
由
cgx
编写于
2022-11-02 17:28:24 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
优化官方动态不能置顶问题
1 个父辈
039ada3f
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
3 行增加
和
1 行删除
DreamSleep/DreamSleep/Class/CommunityModule/DynamicList/View/CommunityView.m
DreamSleep/DreamSleep/Class/CommunityModule/MessageCenter/ViewModel/PraiseListViewModel.m
DreamSleep/DreamSleep/Class/CommunityModule/DynamicList/View/CommunityView.m
查看文件 @
4a451cb
...
...
@@ -132,6 +132,8 @@
cell
.
showAllContentBlock
=
^
{
[
weakSelf
.
comListVM
showOfficialAllContent
];
[
weakSelf
.
listView
reloadSections
:[
NSIndexSet
indexSetWithIndex
:
0
]
withRowAnimation
:
UITableViewRowAnimationFade
];
NSIndexPath
*
scrollIndexPath
=
[
NSIndexPath
indexPathForRow
:
0
inSection
:
0
];
[
weakSelf
.
listView
scrollToRowAtIndexPath
:
scrollIndexPath
atScrollPosition
:
UITableViewScrollPositionMiddle
animated
:
YES
];
};
return
cell
;
}
else
{
...
...
DreamSleep/DreamSleep/Class/CommunityModule/MessageCenter/ViewModel/PraiseListViewModel.m
查看文件 @
4a451cb
...
...
@@ -27,7 +27,7 @@
NSString
*
api
=
@"query_user_dynamic_praise"
;
NSString
*
argStr
=
[
NSString
stringWithFormat
:
@"query{%@(offset:%d)}"
,
api
,
offset
];
return
[
PraiseListViewModel
httpPostBodyRequestWithAPI
:
api
params
:@{
@"query"
:
argStr
}
view
:
nil
hasNetActivity
:
YES
loadingInfo
:
nil
hasFailInfo
:
NO
success
:^
(
NSDictionary
*
_Nonnull
apiDic
)
{
DSLog
(
@"
社区动态消息中心
接口apiDic:%@"
,
apiDic
);
DSLog
(
@"
查询用户点赞列表数据
接口apiDic:%@"
,
apiDic
);
ResultModel
*
resultModel
=
[
ResultModel
yy_modelWithDictionary
:
apiDic
[
@"result"
]];
viewModel
.
resCode
=
DSResCodeSuccess
;
viewModel
.
resultArr
=
resultModel
.
data_list
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论