Commit b8a8d501 by fengzhaoyu

修改编辑删除 头像加载慢

parent 5740c2b1
......@@ -671,8 +671,8 @@ input {
.operation-more {
position: relative;
padding: 0 8rpx;
background: #F9FAFB;
padding: 2rpx 10rpx;
background: #F6F8F9;
border-radius: 4rpx;
font-size: 28rpx;
}
......@@ -702,7 +702,7 @@ input {
/* padding-right: 16rpx; */
/* margin-right: 16rpx; */
padding-right: 24rpx;
margin-right: 24rpx;
/* margin-right: 24rpx; */
font-size: 24rpx;
color: #fff;
/* border-right: 1px solid rgba(255, 255, 255, 0.55); */
......@@ -715,12 +715,22 @@ input {
}
.operation-containt>text:last-child {
padding-right: 0;
margin-right: 0;
border-right: none;
}
.operation-containt>text:last-child .editText {
border-right: none;
}
/* .editText:last-child {
padding-right: 0rpx;
margin-right: 0rpx;
border-right: none;
}
} */
.text {
.editText {
white-space: nowrap;
padding-left: 8rpx;
padding-right: 16rpx;
......
......@@ -87,7 +87,17 @@
</view>
<view class="participatorListBottom" catchTap="goParticipantsDetail">
<view class="people" a:for="{{$data.showParticipatorList.length > 10 ? [...$data.showParticipatorList].splice(0, 11) : $data.showParticipatorList}}">
<head-img className="headUrl" item="{{item}}"></head-img>
<view class="headUrl">
<image a:if="{{item.headUrl}}" mode="scaleToFill" src="{{item.headUrl}}" onLoad="imageLoad" />
<view a:else>
{{item.username.substring(item.username.length-numLength)}}
</view>
<view a:if="{{item.confirmAttendance == 0}}" class=" noParticipateStatus participate-status iconicon_noAgreed1 iconfont">
</view>
<view a:if="{{item.confirmAttendance == 1}}" class=" participate participate-status iconicon_Agreed1 iconfont">
</view>
</view>
<!--<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>
<view class="addPeople iconfont iconicon_add1" catchTap="handleAddParticipator" data-type='participator'></view>
......@@ -210,23 +220,23 @@
<view class="operation-more iconmore iconfont color4" catchTap="handleOpenOperation" data-commentId="{{item.commentId}}">
<view class="operation-containt" a:if="{{modifyDynamicId === item.commentId}}">
<text class="icondescribe11 iconfont color4" a:if="{{item.fileDetailList&&item.creator.ddUserId === currentPeople}}" catchTap="openRemarkModal" data-commentId="{{item.commentId}}" data-remark="{{item.remark}}">
<text class="text">编辑</text>
<text class="editText">编辑</text>
<!--<text class="line">|</text> -->
</text>
<text class="icondescribe11 iconfont color4" a:if="{{item.notes&&item.creator.ddUserId === currentPeople }}" catchTap="editNotes" data-meetingNotes="{{item.notes}}" data-commentId="{{item.commentId}}">
<text class="text">编辑</text>
<text class="editText">编辑</text>
<!--<text class="line">|</text> -->
</text>
<text class="icondescribe11 iconfont color4" a:if="{{item.commentType === 'task' &&item.creator.ddUserId === currentPeople }}" catchTap="editTask" data-task="{{item.meetingTaskSimpleViewModel}}" data-commentId="{{item.commentId}}">
<text class="text">编辑</text>
<text class="editText">编辑</text>
<!--<text class="line">|</text> -->
</text>
<text class="iconcomments1 iconfont color4" data-commentId="{{item.commentId}}" catchTap="openComentModal">
<text class="text">评论</text>
<text class="editText">评论</text>
<!--<text class="line">|</text> -->
</text>
<text class="icondelete2 iconfont color4" a:if="{{item.creator.ddUserId === currentPeople}}" catchTap="handleDeleteMoment" data-commentId="{{item.commentId}}">
<text class="text">删除</text>
<text class="editText">删除</text>
</text>
</view>
</view>
......
......@@ -1367,9 +1367,13 @@ create.Page({
this.store.data.modifyDynamicId = ''
this.update()
},
// 图片加载完成
imageLoad() {
},
blank() {
debugger
// debugger
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment