Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
陈高翔
/
DreamSleep-iOS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 8ac491c5
由
cgx
编写于
2022-10-24 17:33:30 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
修复列表页面无数据显示问题
1 个父辈
c62bd710
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
2 行增加
和
21 行删除
DreamSleep/DreamSleep/Basement/View/DefaultView.m
DreamSleep/DreamSleep/Class/CommunityModule/Article/ArticleController.m
DreamSleep/DreamSleep/Class/CommunityModule/MessageCenter/Controller/OfficialNoticeController.m
DreamSleep/DreamSleep/Class/CommunityModule/MessageCenter/View/MessageOfficialNotiCell.m
DreamSleep/DreamSleep/Class/CommunityModule/PersonalDynamic/MyDynamicController.m
DreamSleep/DreamSleep/Class/HomeModule/SleepStory/SleepStoryController.m
DreamSleep/DreamSleep/Basement/View/DefaultView.m
查看文件 @
8ac491c
...
@@ -61,6 +61,7 @@
...
@@ -61,6 +61,7 @@
self
.
type
=
type
;
self
.
type
=
type
;
self
.
defaultIcon
.
image
=
[
UIImage
imageNamed
:[
self
_getDefaultIconWithType
:
type
]];
self
.
defaultIcon
.
image
=
[
UIImage
imageNamed
:[
self
_getDefaultIconWithType
:
type
]];
self
.
reasonLab
.
text
=
[
self
_getReasonWithType
:
type
];
self
.
reasonLab
.
text
=
[
self
_getReasonWithType
:
type
];
self
.
handleBtn
.
hidden
=
self
.
type
==
DefaultTypeEmpty
;
[
self
.
handleBtn
setTitle
:[
self
_getHandleBtnTitleWithType
:
type
]
forState
:
UIControlStateNormal
];
[
self
.
handleBtn
setTitle
:[
self
_getHandleBtnTitleWithType
:
type
]
forState
:
UIControlStateNormal
];
}
}
...
...
DreamSleep/DreamSleep/Class/CommunityModule/Article/ArticleController.m
查看文件 @
8ac491c
...
@@ -65,11 +65,6 @@
...
@@ -65,11 +65,6 @@
}
}
}
}
-
(
void
)
fireHandler
{
[
super
fireHandler
];
[
self
getArticleListRequest
:
NO
];
}
#pragma mark - UITableViewDelegate
#pragma mark - UITableViewDelegate
-
(
CGFloat
)
tableView
:
(
UITableView
*
)
tableView
heightForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
-
(
CGFloat
)
tableView
:
(
UITableView
*
)
tableView
heightForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
return
110
;
return
110
;
...
...
DreamSleep/DreamSleep/Class/CommunityModule/MessageCenter/Controller/OfficialNoticeController.m
查看文件 @
8ac491c
...
@@ -43,11 +43,6 @@
...
@@ -43,11 +43,6 @@
}];
}];
}
}
-
(
void
)
fireHandler
{
[
super
fireHandler
];
[
self
getListDataRequest
];
}
#pragma mark - UITableViewDelegate
#pragma mark - UITableViewDelegate
-
(
CGFloat
)
tableView
:
(
UITableView
*
)
tableView
heightForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
-
(
CGFloat
)
tableView
:
(
UITableView
*
)
tableView
heightForRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
OfficialNotiModel
*
model
=
self
.
dataSource
.
dataArray
[
indexPath
.
row
];
OfficialNotiModel
*
model
=
self
.
dataSource
.
dataArray
[
indexPath
.
row
];
...
...
DreamSleep/DreamSleep/Class/CommunityModule/MessageCenter/View/MessageOfficialNotiCell.m
查看文件 @
8ac491c
...
@@ -54,9 +54,9 @@
...
@@ -54,9 +54,9 @@
[
self
.
icon
yy_setImageWithURL
:[
NSURL
URLWithString
:
officialModel
.
iconName
]
placeholder
:[
UIImage
defaultPlaceholderWithSize
:
CGSizeMake
(
40
,
40
)]];
[
self
.
icon
yy_setImageWithURL
:[
NSURL
URLWithString
:
officialModel
.
iconName
]
placeholder
:[
UIImage
defaultPlaceholderWithSize
:
CGSizeMake
(
40
,
40
)]];
self
.
titleLab
.
text
=
officialModel
.
title
;
self
.
titleLab
.
text
=
officialModel
.
title
;
self
.
detailLab
.
text
=
officialModel
.
detail
;
self
.
mesCountLab
.
hidden
=
!
officialModel
.
messageCount
;
self
.
mesCountLab
.
hidden
=
!
officialModel
.
messageCount
;
self
.
mesCountLab
.
text
=
[
NSString
stringWithFormat
:
@"%d"
,
officialModel
.
messageCount
];
self
.
mesCountLab
.
text
=
[
NSString
stringWithFormat
:
@"%d"
,
officialModel
.
messageCount
];
self
.
detailLab
.
text
=
self
.
mesCountLab
.
hidden
==
NO
?
officialModel
.
detail
:
@"暂无"
;
}
}
#pragma mark - lazy
#pragma mark - lazy
...
...
DreamSleep/DreamSleep/Class/CommunityModule/PersonalDynamic/MyDynamicController.m
查看文件 @
8ac491c
...
@@ -32,11 +32,6 @@
...
@@ -32,11 +32,6 @@
self
.
edgesForExtendedLayout
=
UIRectEdgeNone
;
self
.
edgesForExtendedLayout
=
UIRectEdgeNone
;
}
}
-
(
void
)
fireHandler
{
[
super
fireHandler
];
[
self
getDynamicListRequest
:
NO
];
}
#pragma mark - MyDynamicViewDelegate
#pragma mark - MyDynamicViewDelegate
-
(
void
)
getDynamicListRequest
:
(
BOOL
)
loadMore
{
-
(
void
)
getDynamicListRequest
:
(
BOOL
)
loadMore
{
if
(
loadMore
==
NO
)
{
self
.
offset
=
1
;
}
if
(
loadMore
==
NO
)
{
self
.
offset
=
1
;
}
...
...
DreamSleep/DreamSleep/Class/HomeModule/SleepStory/SleepStoryController.m
查看文件 @
8ac491c
...
@@ -26,11 +26,6 @@
...
@@ -26,11 +26,6 @@
self
.
navigationItem
.
title
=
@"睡前故事"
;
self
.
navigationItem
.
title
=
@"睡前故事"
;
}
}
-
(
void
)
fireHandler
{
[
super
fireHandler
];
[
self
getSleepStoryListData
];
}
#pragma mark - SleepStoryViewDelegate
#pragma mark - SleepStoryViewDelegate
-
(
void
)
getSleepStoryListData
{
-
(
void
)
getSleepStoryListData
{
[
SafeSleepRequestModel
queryRelaxMeditationAudiosWithTypeID
:
501
completion
:
^
(
SafeSleepRequestModel
*
_Nonnull
requestModel
)
{
[
SafeSleepRequestModel
queryRelaxMeditationAudiosWithTypeID
:
501
completion
:
^
(
SafeSleepRequestModel
*
_Nonnull
requestModel
)
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论