提交 340e1f6f 编写于 作者: 刘英杰's avatar 刘英杰

20241016 保存

上级 310cde64
# 宿舍出入记录大屏 # 旅商宿舍出入记录大屏
### 更新日志: ### 更新日志:
- 2024年05月16 - 2024年10月16
- 首屏增加学生进出异常记录跳转列表,且显示列表数据。 样式主题更新为旅商版本
- 2024年05月17 \ No newline at end of file
- 大屏异常进出数据列表,最小20条数据;去除多余请求接口
- 大屏异常进出数据列表赢隐藏学号、班级字段
- 2024年07月31
- 单点用户类型字段:userType 更改为 user_type
标题统一字体:华文新魏 字体大小统一
小标题颜色:#00f3ff
其他颜色:
绿色:##0bf976
黄色:#fed52a
橙色:#ffa300
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="h-t"> <div class="h-t">
<div class="h-t-l"> <div class="h-t-l">
<div class="h-t-l-time"> <div class="h-t-l-time">
<span>{{init.data.time}}</span> <!-- <span>{{init.data.time}}</span>-->
</div> </div>
</div> </div>
<div class="h-t-c"> <div class="h-t-c">
...@@ -29,16 +29,14 @@ ...@@ -29,16 +29,14 @@
<div class="c-f-l-f-title BackGround1 flex items-center"> <div class="c-f-l-f-title BackGround1 flex items-center">
<table class="w-full"> <table class="w-full">
<thead class="w-full"> <thead class="w-full">
<tr style="width: 100%;height: 100%;display: flex;justify-content: space-between;color: white;font-size: 0.7vw;"> <tr style="width: 100%;height: 100%;display: flex;justify-content: space-between;color: #c2efff;font-size: 0.7vw;">
<th class="tableHeadItem" v-for="item in init.table.headArray" :key="item">{{item}}</th> <th class="tableHeadItem" v-for="item in init.table.headArray" :key="item">{{item}}</th>
</tr> </tr>
</thead> </thead>
</table> </table>
</div> </div>
<div class="c-f-l-f-content h-full overflow-y-auto"> <div class="c-f-l-f-content h-full overflow-y-auto">
<table class="w-full "> <table class="w-full">
<!-- <tbody class="w-full ">--> <!-- <tbody class="w-full ">-->
<!-- <tr style=" color: cyan; display: flex;justify-content: space-between;align-items: center;width: 100%; min-height: 1.5vw;" :class="['','BackGround1'][index % 2 === 0?0:1]" v-for="(item,index) in init.table.data" :key="index">--> <!-- <tr style=" color: cyan; display: flex;justify-content: space-between;align-items: center;width: 100%; min-height: 1.5vw;" :class="['','BackGround1'][index % 2 === 0?0:1]" v-for="(item,index) in init.table.data" :key="index">-->
<!-- <td class="w-[18%] h-full flex justify-start items-center text-[1vw] ml-[1vw]" >{{item.name}}</td>--> <!-- <td class="w-[18%] h-full flex justify-start items-center text-[1vw] ml-[1vw]" >{{item.name}}</td>-->
...@@ -54,7 +52,7 @@ ...@@ -54,7 +52,7 @@
<!-- </tr>--> <!-- </tr>-->
<!-- </tbody>--> <!-- </tbody>-->
<tbody class="w-full "> <tbody class="w-full ">
<tr style=" color: cyan; display: flex;justify-content: space-between;align-items: center;width: 100%; min-height: 1.5vw;" :class="['','BackGround1'][index % 2 === 0?0:1]" v-for="(item,index) in init.table.data" :key="index"> <tr style=" color: #c2efff; display: flex;justify-content: space-between;align-items: center;width: 100%; min-height: 1.5vw;" :class="['','BackGround1'][index % 2 === 0?0:1]" v-for="(item,index) in init.table.data" :key="index">
<td class="tableHeadItem1" >{{item.name}}</td> <td class="tableHeadItem1" >{{item.name}}</td>
<!-- <td class="tableHeadItem1 " >{{item.card}}</td>--> <!-- <td class="tableHeadItem1 " >{{item.card}}</td>-->
<td class="tableHeadItem1" >{{item.abnormal}}</td> <td class="tableHeadItem1" >{{item.abnormal}}</td>
...@@ -584,7 +582,110 @@ function getData(){ ...@@ -584,7 +582,110 @@ function getData(){
delete cur.class_name; delete cur.class_name;
return cur return cur
}); });
/* init.table.data = [
{
"name": "陈*龙",
"card": "3222311234",
"sid": "68050000000045906",
"dep_id": "3db3854a-eb49-4741-b5e8-0129b7cc9443",
"dep_name": "文化旅游学院(公共体育部)",
"class_id": "68050000000036979",
"class_name": "22休闲2",
"building_id": "1564825463640166400",
"building_name": "胜蓝楼五",
"room_name": "5217",
"bed_number": 1,
"access": "进",
"mzmc": "5号公寓进右",
"jcsj": "2024-10-16 03:40:51",
"abnormal": "晚归"
},
{
"name": "鲁*涵",
"card": "2241212211",
"sid": "68640000000038998",
"dep_id": "184F3AF5-40A6-49E0-ABE7-BB4DBAE6FBD1",
"dep_name": "艺术设计学院",
"class_id": "68640000000038394",
"class_name": "24摄影2",
"building_id": "1564825463640166400",
"building_name": "胜蓝楼五",
"room_name": "5421",
"bed_number": 6,
"access": "进",
"mzmc": "5号公寓进左",
"jcsj": "2024-10-15 23:09:56",
"abnormal": "晚归"
},
{
"name": "从*阳",
"card": "3221512105",
"sid": "68050000000111723",
"dep_id": "4D146D6E-0F99-42E1-9409-641DA6843513",
"dep_name": "机电工程学院",
"class_id": "68050000000036996",
"class_name": "22机电1",
"building_id": "1564824844179214336",
"building_name": "德文轩一",
"room_name": "1117",
"bed_number": 5,
"access": "进",
"mzmc": "1号公寓进右",
"jcsj": "2024-10-16 05:58:52",
"abnormal": "晚归"
},
{
"name": "卢*熙",
"card": "3221211108",
"sid": "68050000000045596",
"dep_id": "184F3AF5-40A6-49E0-ABE7-BB4DBAE6FBD1",
"dep_name": "艺术设计学院",
"class_id": "68050000000036953",
"class_name": "22设计1",
"building_id": "1564825463640166400",
"building_name": "胜蓝楼五",
"room_name": "5401",
"bed_number": 1,
"access": "进",
"mzmc": "5号公寓进左",
"jcsj": "2024-10-15 23:56:19",
"abnormal": "晚归"
},
{
"name": "*烨",
"card": "2241212228",
"sid": "68640000000039032",
"dep_id": "184F3AF5-40A6-49E0-ABE7-BB4DBAE6FBD1",
"dep_name": "艺术设计学院",
"class_id": "68640000000038394",
"class_name": "24摄影2",
"building_id": "1564825463640166400",
"building_name": "胜蓝楼五",
"room_name": "5421",
"bed_number": 2,
"access": "进",
"mzmc": "5号公寓进左",
"jcsj": "2024-10-15 23:09:50",
"abnormal": "晚归"
},
{
"name": "谢*峰",
"card": "2241212227",
"sid": "68640000000039030",
"dep_id": "184F3AF5-40A6-49E0-ABE7-BB4DBAE6FBD1",
"dep_name": "艺术设计学院",
"class_id": "68640000000038394",
"class_name": "24摄影2",
"building_id": "1564825463640166400",
"building_name": "胜蓝楼五",
"room_name": "5421",
"bed_number": 3,
"access": "进",
"mzmc": "5号公寓进左",
"jcsj": "2024-10-15 23:09:54",
"abnormal": "晚归"
}
]*/
init.table.dataCount = res.response.data_count; init.table.dataCount = res.response.data_count;
init.table.loading =false init.table.loading =false
...@@ -618,7 +719,7 @@ onMounted(()=>{ ...@@ -618,7 +719,7 @@ onMounted(()=>{
.container1{ .container1{
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
background: url("../../assets/materialImage/1.背景.png"); background: url("../../assets/大屏统一素材/列表页、详情页背景.png");
background-size: 100% 100%; background-size: 100% 100%;
.header{ .header{
...@@ -629,7 +730,7 @@ onMounted(()=>{ ...@@ -629,7 +730,7 @@ onMounted(()=>{
.h-t{ .h-t{
width: 100%; width: 100%;
height: 100%; height: 100%;
background:url("../../assets/materialImage/2.头部.png"); background: url("../../assets/大屏统一素材/大标题.png");
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
...@@ -658,22 +759,22 @@ onMounted(()=>{ ...@@ -658,22 +759,22 @@ onMounted(()=>{
width: var(--init-width); width: var(--init-width);
height: var(--init-height); height: var(--init-height);
margin-bottom: 1.5vh; margin-bottom: 1.5vh;
color: #00ffff; color: white;
font-size: 1.6vw; font-size: 1.6vw;
font-weight: bolder;
font-style: italic;
} }
} }
.h-t-r{ .h-t-r{
width: 25%; width: 25%;
height: var(--init-height); height: var(--init-height);
display: flex; display: flex;
align-items: center; padding-top: 0.5vh;
justify-content: flex-end; justify-content: flex-end;
cursor: pointer; cursor: pointer;
.h-r-image{ .h-r-image{
width: 20%; width: 18%;
height: 40%; height: 35%;
background: url("../../assets/materialImage/9.返回图标.png"); background: url("../../assets/materialImage/9.返回图标.png");
background-size: 100% 100%; background-size: 100% 100%;
margin-bottom: 1vw; margin-bottom: 1vw;
...@@ -782,7 +883,7 @@ onMounted(()=>{ ...@@ -782,7 +883,7 @@ onMounted(()=>{
.c-t-l-t{ .c-t-l-t{
width: 100%; width: 100%;
height: 8.3%; height: 8.3%;
background-image: url("../../assets/materialImage/3.小标题.png"); background-image: url("../../assets/大屏统一素材/小标题1.png");
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -928,7 +1029,7 @@ onMounted(()=>{ ...@@ -928,7 +1029,7 @@ onMounted(()=>{
.c-t-c-t{ .c-t-c-t{
width: 100%; width: 100%;
height: 8.3%; height: 8.3%;
background-image: url("../../assets/materialImage/3.小标题.png"); background-image: url("../../assets/大屏统一素材/小标题1.png");
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -982,7 +1083,7 @@ onMounted(()=>{ ...@@ -982,7 +1083,7 @@ onMounted(()=>{
.c-t-r-t{ .c-t-r-t{
width: 100%; width: 100%;
height: 8.3%; height: 8.3%;
background-image: url("../../assets/materialImage/3.小标题.png"); background-image: url("../../assets/大屏统一素材/小标题1.png");
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -1136,7 +1237,7 @@ onMounted(()=>{ ...@@ -1136,7 +1237,7 @@ onMounted(()=>{
.c-f-l-t{ .c-f-l-t{
width: 100%; width: 100%;
height: 7%; height: 7%;
background-image: url("../../assets/materialImage/3.小标题.png"); background-image: url("../../assets/大屏统一素材/小标题1.png");
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -1182,7 +1283,7 @@ onMounted(()=>{ ...@@ -1182,7 +1283,7 @@ onMounted(()=>{
.c-f-c-t{ .c-f-c-t{
width: 100%; width: 100%;
height: 13%; height: 13%;
background-image: url("../../assets/materialImage/3.小标题.png"); background-image: url("../../assets/大屏统一素材/小标题1.png");
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -1373,7 +1474,7 @@ onMounted(()=>{ ...@@ -1373,7 +1474,7 @@ onMounted(()=>{
.c-f-r-t{ .c-f-r-t{
width: 100%; width: 100%;
height: 13%; height: 13%;
background-image: url("../../assets/materialImage/3.小标题.png"); background-image: url("../../assets/大屏统一素材/小标题1.png");
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;
align-items: center; align-items: center;
......
此差异已折叠。
此差异已折叠。
...@@ -11,14 +11,17 @@ ...@@ -11,14 +11,17 @@
} }
.BackGround1{ .BackGround1{
background-color: #006883; background: rgba(0,0,0, 0.2);
}
.BackGround1:nth-child(odd){
} }
.BackGround2{ .BackGround2{
background-color: #63b61f; background-color: #63b61f;
} }
.title-module-title{ .title-module-title{
font-size: 1vw; font-size: 1vw;
color: white; color: #c2efff;
} }
.title-module-number{ .title-module-number{
font-size: 1.8vw; font-size: 1.8vw;
...@@ -30,10 +33,14 @@ ...@@ -30,10 +33,14 @@
margin-top: 0.6vw; margin-top: 0.6vw;
} }
.min-title-style{ .min-title-style{
margin-left: 2vw; /*
color: #00ffff; color: #00ffff;
font-family: 宋体;*/
margin-left: 2vw;
color: #c2efff;
font-weight: 600;
font-size: 1vw; font-size: 1vw;
font-family: 宋体;
} }
.yerllow{ .yerllow{
color: #ffd130; color: #ffd130;
......
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或