Commit 3f709be6 authored by wangxuelai's avatar wangxuelai

'日历打卡休息日选择被提交按钮遮挡'

parent 811a67ae
......@@ -68,6 +68,7 @@ Page({
id: 0,
tid: 0,
sid: 0,
submitBtnShow: true,
calendarparams: {
type: 0, // 0无限制 1录音 2视频 3照片
title: '',
......@@ -1150,9 +1151,10 @@ Page({
const {
show,
src
} = e.detail
} = e.detail;
this.setData({
'audioStatus.show': show
'audioStatus.show': show,
submitBtnShow: !show,
})
},
pushVoice(e) {
......@@ -1951,6 +1953,7 @@ Page({
})
setSelectedDays(data);
this.setData({
submitBtnShow: false,
calenderShow: true
})
},
......@@ -1999,13 +2002,15 @@ Page({
this.setData({
calenderShow: false,
selectRestDays: days,
weeks:_weeks
weeks:_weeks,
submitBtnShow: true
})
},
hiddeCalender(e) {
const flag = e.target.dataset.id == "hidde" ? true : false;
if (flag) {
this.setData({
submitBtnShow: true,
calenderShow: false
})
}
......
......@@ -338,7 +338,7 @@
<sound-recording sid="{{sid}}" show="{{audioStatus.show}}" bind:addVoice="addVoice" bind:pushVoice="pushVoice">
</sound-recording>
</view>
<cover-view class="form-fixbtn" bindtap="saveTheme" wx:if="{{!audioStatus.show}}">发布</cover-view>
<cover-view class="form-fixbtn" bindtap="saveTheme" wx:if="{{submitBtnShow}}">发布</cover-view>
</view>
<view class="modal-dialog" wx:if="{{changesubjectCountInputShow}}">
<view class="modal-mask"></view>
......
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