Commit 3f709be6 authored by wangxuelai's avatar wangxuelai

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

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