Commit 422f97c3 by xiexiaoqin

feat: 添加再次邀请会议

parent 80af7019
......@@ -52,7 +52,7 @@ create.Page({
isIPX: checkFullScren(),
placeholder: `${getApp().globalData.name}创建的会议`
})
this.reset()
this.reset(query)
},
onShow() {
if (this.$store.data.shouldUpdateShowTime) {
......@@ -274,8 +274,12 @@ create.Page({
}),
// 初始化
reset() {
this.$store.resetData()
reset(query) {
if (query && query.type == 'copy') {
this.$store.resetCopyData()
} else {
this.$store.resetData()
}
this.$store.data.startTime = this.getTimes()
this.$store.data.endTime = this.getTimes(new Date().setMinutes(new Date().getMinutes() + 30))
this.update()
......
......@@ -367,9 +367,9 @@ input {
padding: 32rpx 0 32rpx 0;
}
.delete-task {
/* .delete-task {
color: #EA0C28!important;
}
} */
.footNav {
position: fixed;
......
......@@ -1402,7 +1402,11 @@ create.Page({
// debugger
},
handleCopy() {
dd.redirectTo({
url: '/pages/createMeeting/createMeeting?type=copy'
})
}
});
......
......@@ -30,6 +30,11 @@ class Store {
this.data.onceMeetingContent = null
this.update();
}
resetCopyData() {
this.data.originUsers = []
this.data.onceMeetingContent = null
this.update();
}
resetEditData() {
this.data.roomId = ''
this.data.originUsers = []
......
......@@ -26,7 +26,7 @@
}
.delete-task .iconfont {
color: rgba(242, 86, 67, 1);
/* color: rgba(242, 86, 67, 1); */
font-size: 28rpx;
margin-right: 18rpx;
}
......
......@@ -4,6 +4,8 @@
<text class="iconfont iconicon_delete"></text>
<text class="delete-task-text">{{title}}</text>
</view>
<!--<view a:if="{{copy}}" class="delete-task" onTap="handleCopy"><text class="iconfont iconicon_delete"></text><text class="delete-task-text">{{copy}}</text></view> -->
<view a:if="{{copy}}" class="delete-task" onTap="handleCopy">
<text class="iconfont iconicon_add"></text>
<text class="delete-task-text">{{copy}}</text></view>
</view>
</template>
\ No newline at end of file
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