diff --git a/src/assets/css/electron.css b/src/assets/css/electron.css
index a3445f6..fca1245 100644
--- a/src/assets/css/electron.css
+++ b/src/assets/css/electron.css
@@ -395,6 +395,7 @@ img {
flex-wrap: wrap;
overflow: hidden;
overflow-y: scroll;
+ position: relative;
}
.attendance-right::-webkit-scrollbar{
display: none;
@@ -577,6 +578,25 @@ img {
.baby-album-box > img {width: 58px;height: 58px;}
.introduce-img {display: flex;flex-wrap: wrap;}
.introduce-img img {margin: 10px 10px 0 0;}
+
+.attenddetail-ring{display: flex;width: 100%;margin-left: 40px;font-size: 16px;color: #666666;}
+.top-row {display: flex;align-items: center;}
+.attenddetail-ring >div{margin-right: 90px;}
+.attenddetail-ring >div div:last-child{margin-top: 20px;}
+.attendance-con{
+ font-size: 16px;
+ font-weight: 400;
+ color: #666666;
+ border-top: 1px solid #D3D3D3;
+ padding-top: 15px;
+ margin-top: 15px;
+ margin-bottom: 78px;
+}
+.baby-img01{width: 119px;height: 119px;background: #D3D3D3;border: 5px solid #ECE6FF;border-radius: 50%;}
+.baby-img02{width: 245px;height: 154px;border-radius: 10px;display: flex;justify-content: center;align-items: center;background-color: #F3F3F3;margin-right: 20px;}
+.attend-title {text-align: left;padding-right: 50px;width: 100%;}
+.chengjian{display: flex;margin-top: 5px;font-size: 16px;color: #666666;}
+.chengjian>div{display: flex;align-items: flex-end;width: 50%;line-height: 30px;}
@media screen and (min-width:768px) and (max-width:1400px) {
.header-box {
height: 70px;
diff --git a/src/components/attendanceBabuDetail.vue b/src/components/attendanceBabuDetail.vue
new file mode 100644
index 0000000..401cbb4
--- /dev/null
+++ b/src/components/attendanceBabuDetail.vue
@@ -0,0 +1,76 @@
+
+
+
何雨桐
+
+
+
+
+
+
+
+
生日:2017-08-21
+
考勤卡:20152222
+
+
+
家长:母亲 何智刚
+
电话号码:181****258
+
+
+
+
+
今日晨检考勤
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/attendanceDetail.vue b/src/components/attendanceDetail.vue
index bfdca8f..ef11311 100644
--- a/src/components/attendanceDetail.vue
+++ b/src/components/attendanceDetail.vue
@@ -9,46 +9,54 @@
-
-
-
{{item.DisplayName}}
-
{{['正常','未到校','离校','请假'][item.CheckResult]}}
-
-
-
-
{{['没有出勤','暂无离校','暂无未到校','没有请假'][navIndex]}}的宝宝
+
+
+
+
{{item.DisplayName}}
+
{{['正常','未到校','离校','请假'][item.CheckResult]}}
+
+
+
+
{{['没有出勤','暂无离校','暂无未到校','没有请假'][navIndex]}}的宝宝
+
+
diff --git a/src/components/babyActivity.vue b/src/components/babyActivity.vue
index 661ab7d..1b3733e 100644
--- a/src/components/babyActivity.vue
+++ b/src/components/babyActivity.vue
@@ -25,29 +25,13 @@
-
+
当前活动
-
-
-
当前活动
-
-
-
-
-
-
-
-
当前活动
-
-
-
-
-
@@ -90,19 +74,14 @@
data() {
return {
weekNum:0,
- dateTime:'2021年12月28日',
+ dateTime:'',
className:'',
- teatherArr:[
- {name:'张芳芳',headImg:require('../../static/img/seconds/tu-01.png')},
- {name:'张芳芳',headImg:require('../../static/img/seconds/tu-01.png')},
- {name:'张芳芳',headImg:require('../../static/img/seconds/tu-01.png')},
- {name:'张芳芳',headImg:require('../../static/img/seconds/tu-01.png')},
- {name:'张芳芳',headImg:require('../../static/img/seconds/tu-01.png')},
- ],
+ teatherArr:[],
kebiaoArr:['时间','星期一','星期二','星期三','星期四','星期五'],
dataArr:[],
isNothing:false,
- dangArr:[]
+ dangArr:[],
+ timer:null
}
},
methods: {
@@ -135,7 +114,15 @@
},
});
let newData = data.data.data;
- this.dangArr = newData[0].WeekData;
+ let newDate = new Date();
+ let timeDate = `${newDate.getHours()}.${newDate.getMinutes()}`;
+ if('8.00' <= timeDate && timeDate <= '11.55') {
+ this.dangArr = newData[0].WeekData[0];
+ } else if('11.55' <= timeDate && timeDate <= '15.00') {
+ this.dangArr = newData[0].WeekData[1];
+ } else if('15.00' <= timeDate && timeDate <= '17.00') {
+ this.dangArr = newData[0].WeekData[2];
+ }
},
// 班级情况
async classStatusEv() {
@@ -158,6 +145,13 @@
this.schedulingWebEv();
// 班级情况
this.classStatusEv();
+ // 各一分钟调用一次当前活动
+ this.timer = setInterval(()=>{
+ this.schedulingWebEv();
+ },1000)
+ },
+ destroyed(){
+ clearInterval(this.timer);
}
}
diff --git a/static.zip b/static.zip
new file mode 100644
index 0000000..fc0946f
Binary files /dev/null and b/static.zip differ