Commit 422f97c3 by xiexiaoqin

feat: 添加再次邀请会议

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