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
89583922
Commit
89583922
authored
Nov 02, 2020
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改加载图片
parent
de3d7ec8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
2 deletions
+16
-2
meetingDetail.acss
pages/meetingDetail/meetingDetail.acss
+8
-1
meetingDetail.axml
pages/meetingDetail/meetingDetail.axml
+3
-1
meetingDetail.js
pages/meetingDetail/meetingDetail.js
+1
-0
utils.js
pages/meetingDetail/utils.js
+4
-0
No files found.
pages/meetingDetail/meetingDetail.acss
View file @
89583922
...
...
@@ -316,13 +316,20 @@ input {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
background: #1890FF;
/* background: #1890FF; */
color: white;
line-height: 80rpx;
text-align: center;
position: relative;
}
.noHeadUrl {
background: #1890FF;
border-radius: 50%;
width: 80rpx;
height: 80rpx;
}
.headUrl>image {
vertical-align: top;
width: 100%;
...
...
pages/meetingDetail/meetingDetail.axml
View file @
89583922
...
...
@@ -87,9 +87,10 @@
</view>
<view class="participatorListBottom" catchTap="goParticipantsDetail">
<view class="people" a:for="{{$data.showParticipatorList.length > 10 ? [...$data.showParticipatorList].splice(0, 11) : $data.showParticipatorList}}">
<block>
<view class="headUrl">
<image a:if="{{item.headUrl}}" mode="scaleToFill" src="{{item.headUrl}}" onLoad="imageLoad" />
<view
a:else>
<view class="noHeadUrl"
a:else>
{{item.username.substring(item.username.length-numLength)}}
</view>
<view a:if="{{item.confirmAttendance == 0}}" class=" noParticipateStatus participate-status iconicon_noAgreed1 iconfont">
...
...
@@ -97,6 +98,7 @@
<view a:if="{{item.confirmAttendance == 1}}" class=" participate participate-status iconicon_Agreed1 iconfont">
</view>
</view>
</block>
<!--<head-img className="headUrl" item="{{item}}"></head-img> -->
<!--<view class="headUrl"><image a:if="{{item.headUrl}}" mode="scaleToFill" src="{{item.headUrl}}" /><view class="conflict iconicon_conflict iconfont" a:if="{{conflictPeople.includes(item.userId)}}"></view></view><view class="name">{{item.name}}</view> -->
</view>
...
...
pages/meetingDetail/meetingDetail.js
View file @
89583922
...
...
@@ -148,6 +148,7 @@ create.Page({
return
}
this
.
setData
({
scheduleItem
:
{
id
:
res
.
data
.
data
.
id
,
...
...
pages/meetingDetail/utils.js
View file @
89583922
...
...
@@ -17,6 +17,10 @@ export function getSelectRepeatId(recurrenceModel, repeatList) {
export
function
getInitialPsarticipants
(
participants
)
{
let
people
=
{}
for
(
let
i
=
0
;
i
<
participants
.
length
;
i
++
)
{
if
(
i
<
11
&&
participants
[
i
].
headUrl
)
{
let
img
=
new
new
Image
()
img
.
src
=
img
.
headUrl
}
participants
[
i
].
participator
.
confirmAttendance
=
participants
[
i
].
confirmAttendance
people
[
participants
[
i
].
participator
.
userId
]
=
participants
[
i
].
participator
}
...
...
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