Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
schedule
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fengzhaoyu
schedule
Commits
115d8100
Commit
115d8100
authored
Oct 09, 2020
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加未读消息
parent
4424e79b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
3 deletions
+21
-3
index.acss
pages/index/index.acss
+16
-1
index.axml
pages/index/index.axml
+5
-2
No files found.
pages/index/index.acss
View file @
115d8100
...
...
@@ -38,6 +38,21 @@
align-items: center;
}
.unread-message {
position: absolute;
top: 48rpx;
right: 48rpx;
color: #fff;
background: #ea4e6b;
font-size: 24rpx;
height: 40rpx;
line-height: 40rpx;
padding: 0 16rpx;
border-radius: 20rpx;
display: flex;
justify-content: center;
}
.userDynamic {
margin-bottom: 34rpx;
}
...
...
@@ -50,7 +65,7 @@
margin-bottom: 24rpx;
}
.dynamicTime text{
.dynamicTime text
{
opacity: 0.56;
font-size: 26rpx;
color: #1B263D;
...
...
pages/index/index.axml
View file @
115d8100
...
...
@@ -11,14 +11,17 @@
<view class="dynamicList">
<view a:for="{{dynamicList}}" class="dynamicContent" key="{{item.meetingId}}">
<view class="dynamicDetails">
<view class="meetingtitle" catchTap="nextDetail" data-item="{{item}}">
<view class="meetingtitle"
data-groupId="{{item.meetingId}}"
catchTap="nextDetail" data-item="{{item}}">
<view>
{{item.title}}
</view>
<view a:if="{{item.unReadMessageTotal}}" class="unread-message">
{{item.unReadMessageTotal}}
</view>
</view>
<block a:for="{{item.commentListDataModelList}}" a:for-item="dynamicItem" key="{{item.id}}">
<view class="userDynamic">
<view class="dynamicTime"
catchTap="nextDetail" data-item="{{dynamicI
tem}}">
<view class="dynamicTime"
data-groupId="{{item.meetingId}}" catchTap="nextDetail" data-item="{{i
tem}}">
<text>{{dynamicItem.creator && dynamicItem.creator.name}}</text>
<text>{{dynamicItem.actionLog}}</text>
<text>{{dynamicItem.createTime}}</text>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment