|
|
@ -3,11 +3,18 @@ |
|
|
|
<view class="maskbox" @tap="maskClick"></view> |
|
|
|
<view class="uni-flex uni-column center" |
|
|
|
style="background-color: white;width: 200px; height:auto;padding: 20rpx;z-index: 99;position: relative;"> |
|
|
|
<!-- <view class="uni-flex space-between u-col-center" style="width: 100%;"> |
|
|
|
<view class="" style="font-size: 32rpx;"> |
|
|
|
只看当天 |
|
|
|
</view> |
|
|
|
|
|
|
|
<u-switch v-model="checkedTodayModel" active-color="#4DD865" inactive-color="#eee" size="35" @change="switchChangeToday"></u-switch> |
|
|
|
</view> --> |
|
|
|
<view class="uni-flex space-between u-col-center" style="width: 100%;margin-top: 30rpx;"> |
|
|
|
<view class="" style="font-size: 32rpx;"> |
|
|
|
只看处理中 |
|
|
|
</view> |
|
|
|
<u-switch v-model="checkedWaitTask" active-color="#4DD865" inactive-color="#eee" size="35" @change="switchChangeWait"></u-switch> |
|
|
|
<u-switch v-model="checkedWaitModel" active-color="#4DD865" inactive-color="#eee" size="35" @change="switchChangeWait"></u-switch> |
|
|
|
</view> |
|
|
|
<view class=""> |
|
|
|
<view class="uni-flex u-row-center" style="margin-top: 30rpx;"> |
|
|
@ -35,6 +42,8 @@ |
|
|
|
data() { |
|
|
|
return { |
|
|
|
dataContent: {}, |
|
|
|
checkedTodayModel:false, |
|
|
|
checkedWaitModel:false |
|
|
|
} |
|
|
|
}, |
|
|
|
props: { |
|
|
@ -56,6 +65,20 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
checkedToday: { |
|
|
|
handler(newName, oldName) { |
|
|
|
this.checkedTodayModel = this.checkedToday |
|
|
|
}, |
|
|
|
immediate: true, |
|
|
|
deep: true |
|
|
|
}, |
|
|
|
checkedWaitTask: { |
|
|
|
handler(newName, oldName) { |
|
|
|
this.checkedWaitModel = this.checkedWaitTask |
|
|
|
}, |
|
|
|
immediate: true, |
|
|
|
deep: true |
|
|
|
} |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
|
|
|
|