获取设备型号
This commit is contained in:
@@ -198,6 +198,11 @@ export default {
|
||||
},
|
||||
// 提醒发送
|
||||
remindSend() {
|
||||
wx.getSystemInfo({
|
||||
success (res) {
|
||||
console.log(res.model)
|
||||
}
|
||||
})
|
||||
this.firstClickTime = new Date(this.detail.remindTime.replace(/-/g, "/")).getTime() || new Date(this.detail.remindTime).getTime() || 0 ;
|
||||
this.currentClickTime = +new Date();
|
||||
let time = this.currentClickTime - this.firstClickTime;
|
||||
|
||||
@@ -94,9 +94,7 @@ export default {
|
||||
this.calendarList = res.data;
|
||||
let arr = Object.keys(res.data).map(key => (res.data[key]))
|
||||
this.list = arr[this.day - 1]?.taskList
|
||||
console.log(this.list,'this.list');
|
||||
let calList = arr.filter(item=> (item.taskList && item.taskList.length > 0))
|
||||
console.log(calList,'calList');
|
||||
this.selected = calList.map(item=> {
|
||||
if(item.day>=1 && item.day<=9) {
|
||||
if(this.month>=1 && this.month <=9) {
|
||||
@@ -120,7 +118,6 @@ export default {
|
||||
}
|
||||
}
|
||||
})
|
||||
console.log(this.selected, 'this.selected');
|
||||
}
|
||||
});
|
||||
},
|
||||
@@ -128,7 +125,6 @@ export default {
|
||||
onShow() {
|
||||
document.title = '宣发日历'
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -163,7 +159,7 @@ export default {
|
||||
}
|
||||
|
||||
::v-deep .calendarInfo .calendar {
|
||||
height: 750px;
|
||||
height: 750px !important;
|
||||
}
|
||||
|
||||
.calendar {
|
||||
|
||||
Reference in New Issue
Block a user