Commit 1c79d8e9 by fengzhaoyu

fix:添加任务编辑

parent bb6a11e2
.notes { .notes {
border: 1rpx solid rgba(10, 10, 10, 0.14); border: 1rpx solid rgba(10, 10, 10, 0.14);
border-radius: 16rpx; border-radius: 8rpx;
padding: 16rpx; padding: 16rpx;
margin-top: 16rpx; margin-top: 16rpx;
} }
......
...@@ -694,7 +694,7 @@ input { ...@@ -694,7 +694,7 @@ input {
border-radius: 8rpx; border-radius: 8rpx;
padding: 16rpx; padding: 16rpx;
position: absolute; position: absolute;
right: 40rpx; right: 56rpx;
top: 50%; top: 50%;
background: rgba(10, 10, 10, 0.71); background: rgba(10, 10, 10, 0.71);
display: flex; display: flex;
...@@ -707,7 +707,7 @@ input { ...@@ -707,7 +707,7 @@ input {
margin-right: 16rpx; margin-right: 16rpx;
font-size: 24rpx; font-size: 24rpx;
color: #fff; color: #fff;
border-right: 1px solid #fff; border-right: 1px solid rgba(255, 255, 255, 0.55);
} }
.operation-containt>text:last-child { .operation-containt>text:last-child {
......
...@@ -215,6 +215,9 @@ ...@@ -215,6 +215,9 @@
<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="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="text">编辑</text>
</text> </text>
<text class="icondescribe11 iconfont color4" a:if="{{item.commentType === 'task' &&item.creator.ddUserId === currentPeople }}" catchTap="editTask" data-meetingNotes="{{item.notes}}" data-commentId="{{item.commentId}}">
<text class="text">编辑</text>
</text>
<text class="iconcomments1 iconfont color4" data-commentId="{{item.commentId}}" catchTap="openComentModal"> <text class="iconcomments1 iconfont color4" data-commentId="{{item.commentId}}" catchTap="openComentModal">
<text class="text">评论</text> <text class="text">评论</text>
</text> </text>
......
...@@ -1048,6 +1048,9 @@ create.Page({ ...@@ -1048,6 +1048,9 @@ create.Page({
this.update(); this.update();
dd.navigateTo({ url: '/pages/createTask/createTask?meetingId=' + this.store.data.scheduleId }) dd.navigateTo({ url: '/pages/createTask/createTask?meetingId=' + this.store.data.scheduleId })
}, },
editTask(e) {
dd.navigateTo({ url: '/pages/createTask/createTask?meetingId=' + this.store.data.scheduleId })
},
// 创建会议笔记 // 创建会议笔记
openNoteModal() { openNoteModal() {
this.setData({ this.setData({
......
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