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
48a396c6
Commit
48a396c6
authored
Apr 01, 2020
by
xiexiaoqin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: avater and task
parent
93e90b86
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
taskList.acss
components/taskList/taskList.acss
+4
-2
taskList.axml
components/taskList/taskList.axml
+2
-1
index.axml
template/avater/index.axml
+2
-1
No files found.
components/taskList/taskList.acss
View file @
48a396c6
...
@@ -25,12 +25,14 @@
...
@@ -25,12 +25,14 @@
flex: 1;
flex: 1;
font-size: 28rpx;
font-size: 28rpx;
line-height: 80rpx;
line-height: 80rpx;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
.task-box>.
task-title>.
avater {
.task-box>.avater {
width: 48rpx;
width: 48rpx;
height: 48rpx;
height: 48rpx;
position: absolute;
right: 14rpx;
right: 14rpx;
top: 16rpx;
top: 16rpx;
line-height: 48rpx;
line-height: 48rpx;
...
...
components/taskList/taskList.axml
View file @
48a396c6
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<view class="task-box" a:for='{{taskList}}'>
<view class="task-box" a:for='{{taskList}}'>
<template is="checkbox" data="{{ status: item.taskStatus, id: item.id, groupId: item.groupId, scheduleId: item.scheduleId}}"></template>
<template is="checkbox" data="{{ status: item.taskStatus, id: item.id, groupId: item.groupId, scheduleId: item.scheduleId}}"></template>
<view class="task-title" data-pop="{{title: '会议任务', type: 'updateTask'}}" onTap="showPop" data-task="{{item}}">{{item.taskInfos.taskTitle}}
<view class="task-title" data-pop="{{title: '会议任务', type: 'updateTask'}}" onTap="showPop" data-task="{{item}}">{{item.taskInfos.taskTitle}}
<template is="avater" a:if="{{item.acceptorInfo}}" data="{{item: item.acceptorInfo}}"/>
</view>
</view>
<template is="avater" a:if="{{item.acceptorInfo}}" data="{{item: item.acceptorInfo, split: 1}}"/>
</view>
</view>
</view>
</view>
\ No newline at end of file
template/avater/index.axml
View file @
48a396c6
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<template name="avater">
<template name="avater">
<view class="avater">
<view class="avater">
<image a:if="{{item.headUrl}}" mode="scaleToFill" src="{{item.headUrl}}" />
<image a:if="{{item.headUrl}}" mode="scaleToFill" src="{{item.headUrl}}" />
<text a:else>{{item.platform === "outlook" ? item.username.slice(0,
2) : item.username.slice(-2
)}}
<text a:else>{{item.platform === "outlook" ? item.username.slice(0,
split || 2) : item.username.slice(-(split || 2)
)}}
</text>
</text>
</view>
</view>
</template>
</template>
\ No newline at end of file
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