提交 310cde64 编写于 作者: 刘英杰's avatar 刘英杰

20241016 保存

上级 6b2d0af3
<template> <template>
<div class="container1"> <div class="container1">
<div class="header"> <div class="header">
<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">
<span class="h-t-c-title">{{init.data.initTitle.subject_title}}</span> <span class="h-t-c-title">{{ init.data.initTitle.subject_title }}</span>
</div> </div>
<div class="h-t-r"> <div class="h-t-r">
<Icon @click="value = true" style="font-size:1vw; " type="ios-cog" color="#00FFFFFF"/> <Icon color="#00FFFFFF" style="font-size:1vw; " type="ios-cog" @click="value = true"/>
</div> </div>
</div > </div>
<div class="h-c"> <div class="h-c">
<div class="h-c-container"> <div class="h-c-container">
<div class="h-c-module-l"> <div class="h-c-module-l">
<div class="h-c-module-l-t"> <div class="h-c-module-l-t">
<span class="title-module-title">总人数</span> <span class="title-module-title">总人数</span>
</div> </div>
<div class="h-c-module-l-c"> <div class="h-c-module-l-c">
<h1 class="title-module-number orange">{{init.data.jcxx.num_count}}</h1> <h1 class="title-module-number orange">{{ init.data.jcxx.num_count }}</h1>
<span class="title-module-unit orange">人</span> <span class="title-module-unit orange">人</span>
</div> </div>
</div> </div>
<div class="h-c-module-l"> <div class="h-c-module-l">
<div class="h-c-module-l-t"> <div class="h-c-module-l-t">
<span class="title-module-title">寝室数</span> <span class="title-module-title">寝室数</span>
</div> </div>
<div class="h-c-module-l-c"> <div class="h-c-module-l-c">
<h1 class="title-module-number orange">{{init.data.jcxx.room_count}}</h1> <h1 class="title-module-number orange">{{ init.data.jcxx.room_count }}</h1>
<span class="title-module-unit orange">个</span> <span class="title-module-unit orange">个</span>
</div> </div>
</div> </div>
</div> </div>
<div class="h-c-container"> <div class="h-c-container">
<div class="h-c-module-c"> <div class="h-c-module-c">
<div class="h-c-module-c-t"> <div class="h-c-module-c-t">
<span class="title-module-title">床位数</span> <span class="title-module-title">床位数</span>
</div> </div>
<div class="h-c-module-c-c"> <div class="h-c-module-c-c">
<h1 class="title-module-number blueness">{{init.data.jcxx.bed_count}}</h1> <h1 class="title-module-number blueness">{{ init.data.jcxx.bed_count }}</h1>
<span class="title-module-unit blueness">个</span> <span class="title-module-unit blueness">个</span>
</div> </div>
</div> </div>
<div class="h-c-module-c"> <div class="h-c-module-c">
<div class="h-c-module-c-t"> <div class="h-c-module-c-t">
<span class="title-module-title">入住人数</span> <span class="title-module-title">入住人数</span>
</div> </div>
<div class="h-c-module-c-c"> <div class="h-c-module-c-c">
<h1 class="title-module-number blueness">{{init.data.jcxx.register_count}}</h1> <h1 class="title-module-number blueness">{{ init.data.jcxx.register_count }}</h1>
<span class="title-module-unit blueness">个</span> <span class="title-module-unit blueness">个</span>
</div> </div>
</div> </div>
</div> </div>
<div class="h-c-container"> <div class="h-c-container">
<div class="h-c-module-r"> <div class="h-c-module-r">
<div class="h-c-module-r-t"> <div class="h-c-module-r-t">
<span class="title-module-title">空床位</span> <span class="title-module-title">空床位</span>
</div>
<div class="h-c-module-r-c">
<h1 class="title-module-number yerllow">{{init.data.jcxx.bednull_count}}</h1>
<span class="title-module-unit yerllow">个</span>
</div>
</div> </div>
<div class="h-c-module-r"> <div class="h-c-module-r-c">
<div class="h-c-module-r-t"> <h1 class="title-module-number yerllow">{{ init.data.jcxx.bednull_count }}</h1>
<span class="title-module-title">入住率</span> <span class="title-module-unit yerllow">个</span>
</div> </div>
<div class="h-c-module-r-c"> </div>
<h1 class="title-module-number yerllow">{{init.data.jcxx.register_ratio}}</h1> <div class="h-c-module-r">
<span class="title-module-unit yerllow">%</span> <div class="h-c-module-r-t">
</div> <span class="title-module-title">入住率</span>
</div> </div>
<div class="h-c-module-r-c">
<h1 class="title-module-number yerllow">{{ init.data.jcxx.register_ratio }}</h1>
<span class="title-module-unit yerllow">%</span>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>
<div class="content"> <div class="content">
<div class="c-top"> <div class="c-top">
<div class="c-t-l"> <div class="c-t-l">
<div class="c-t-l-t"> <div class="c-t-l-t">
<span class="min-title-style">{{init.data.initTitle.title1}}</span> <span class="min-title-style">{{ init.data.initTitle.title1 }}</span>
</div> </div>
<!-- <div class="c-t-l-c" id="xxx" style="font-size: 11vw"></div>--> <!-- <div class="c-t-l-c" id="xxx" style="font-size: 11vw"></div>-->
<div class="c-t-l-c" > <div class="c-t-l-c">
<div class="c-t-l-c-empty" v-if="!!!init.data.ldxscrq.length"></div> <div v-if="!!!init.data.ldxscrq.length" class="c-t-l-c-empty"></div>
<div class="c-t-l-c-item" v-else-if="!!init.data.ldxscrq.length"> <div v-else-if="!!init.data.ldxscrq.length" class="c-t-l-c-item">
<div class="c-t-l-c-i-t"> <div class="c-t-l-c-i-t">
<div class="c-t-l-c-i-t-l"> <div class="c-t-l-c-i-t-l">
<div class="c-t-l-c-i-t-l-text">出寝</div> <div class="c-t-l-c-i-t-l-text">出寝</div>
...@@ -99,115 +99,126 @@ ...@@ -99,115 +99,126 @@
</div> </div>
<div class="c-t-l-c-i-f" style="overflow: hidden;"> <div class="c-t-l-c-i-f" style="overflow: hidden;">
<vue3SeamlessScroll :list="init.data.ldxscrq" limitScrollNum="7" :step="0.1" :hover="true" isWatch class="scroll"> <vue3SeamlessScroll :hover="true" :list="init.data.ldxscrq" :step="0.1" class="scroll" isWatch
<div class="c-t-l-c-i-f-item" style="height: 2vw;width: 32vw;" v-for="(item,index) in init.data.ldxscrq" :key="index"> limitScrollNum="7">
<transition> <div v-for="(item,index) in init.data.ldxscrq" :key="index"
<div class="c-t-l-c-i-f-l-u ">{{item.x_axis}}</div> class="c-t-l-c-i-f-item" style="height: 2vw;width: 32vw;">
</transition> <transition>
<div class="c-t-l-c-i-f-l-c" :style="{'width': item.data2*100+'%'}"> <div class="c-t-l-c-i-f-l-u ">{{ item.x_axis }}</div>
<div class="c-t-l-c-i-f-l-c-t" >{{item.data2}}<span v-show="item.data2!==0">人</span></div> </transition>
<div class="c-t-l-c-i-f-l-c-f" > </div> <div :style="{'width': item.data2*100+'%'}" class="c-t-l-c-i-f-l-c">
</div> <div class="c-t-l-c-i-f-l-c-t">{{ item.data2 }}<span v-show="item.data2!==0">人</span></div>
<div class="c-t-l-c-i-f-r-c" :style="{'width': item.data1*100+'%',}"> <div class="c-t-l-c-i-f-l-c-f"></div>
<!-- :style="{'width': 300+'%'}"--> </div>
<div class="c-t-l-c-i-f-r-c-t" > <div :style="{'width': item.data1*100+'%',}" class="c-t-l-c-i-f-r-c">
<span style=" margin-top: 0.2vw;">{{item.data1}}<span v-show="item.data1!==0">人</span></span> <!-- :style="{'width': 300+'%'}"-->
</div> <div class="c-t-l-c-i-f-r-c-t">
<div class="c-t-l-c-i-f-r-c-f" ></div> <span style=" margin-top: 0.2vw;">{{ item.data1 }}<span v-show="item.data1!==0">人</span></span>
</div> </div>
<div class="c-t-l-c-i-f-r-u">总:{{item.count_data}}人</div> <div class="c-t-l-c-i-f-r-c-f"></div>
</div> </div>
</vue3SeamlessScroll> <div class="c-t-l-c-i-f-r-u">总:{{ item.count_data }}人</div>
</div>
</vue3SeamlessScroll>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div class="c-t-c"> <div class="c-t-c">
<div class="c-t-c-t"> <div class="c-t-c-t">
<span class="min-title-style">{{init.data.initTitle.title2}}</span> <span class="min-title-style">{{ init.data.initTitle.title2 }}</span>
</div> </div>
<div class="c-t-c-c"> <div class="c-t-c-c">
<div class="c-t-c-c-container"> <div class="c-t-c-c-container">
<div class="c-t-c-c-c-l"> <div class="c-t-c-c-c-l">
<div class="c-t-c-c-c-l-image"></div> <div class="c-t-c-c-c-l-image"></div>
</div> </div>
<div class="c-t-c-c-c-r " > <div class="c-t-c-c-c-r ">
<div class="c-t-c-c-c-r-t BackGround1"> <div class="c-t-c-c-c-r-t BackGround1">
<div style="color: white;font-size: 0.7vw;margin-left: 0.8vw">楼栋</div> <div style="color: white;font-size: 0.7vw;margin-left: 0.8vw">楼栋</div>
<div style="color: white;font-size: 0.7vw;">房间数</div> <div style="color: white;font-size: 0.7vw;">房间数</div>
<div style="color: white;font-size: 0.7vw;margin-right: 0.8vw">床位数</div> <div style="color: white;font-size: 0.7vw;margin-right: 0.8vw">床位数</div>
</div> </div>
<div class="c-t-c-c-c-r-f"> <div class="c-t-c-c-c-r-f">
<vue3SeamlessScroll :list="init.data.ldxxsstj" limitScrollNum="9" :step="0.1" :hover="true" isWatch class="scroll" :key="1"> <vue3SeamlessScroll :key="1" :hover="true" :list="init.data.ldxxsstj" :step="0.1" class="scroll"
<div @click="to(item)" style=" color: cyan; display: flex;justify-content: space-between;align-items: center;height: 2vw;" :class="['','BackGround1'][index % 2 === 0?0:1]" v-for="(item, index) in init.data.ldxxsstj" :key="index"> isWatch limitScrollNum="9">
<div style="margin-left: 0.8vw;font-size: 0.7vw">{{item.buiding_name}}</div> <div v-for="(item, index) in init.data.ldxxsstj"
<div style="font-size: 0.7vw;overflow-x: hidden; margin-right: 0.85vw;">{{item.room_count}}</div> :key="index"
<div style="font-size: 0.7vw;margin-right: 0.8vw;">{{item.bed_count}}</div> :class="['','BackGround1'][index % 2 === 0?0:1]"
style=" color: cyan; display: flex;justify-content: space-between;align-items: center;height: 2vw;"
@click="to(item)">
<div style="margin-left: 0.8vw;font-size: 0.7vw">{{ item.buiding_name }}</div>
<div style="font-size: 0.7vw;overflow-x: hidden; margin-right: 0.85vw;">{{ item.room_count }}
</div> </div>
</vue3SeamlessScroll> <div style="font-size: 0.7vw;margin-right: 0.8vw;">{{ item.bed_count }}</div>
</div> </div>
</vue3SeamlessScroll>
</div> </div>
</div> </div>
</div> </div>
</div>
</div> </div>
<div class="c-t-r"> <div class="c-t-r">
<div class="c-t-r-t"> <div class="c-t-r-t">
<span class="min-title-style">{{init.data.initTitle.title3}}</span> <span class="min-title-style">{{ init.data.initTitle.title3 }}</span>
</div> </div>
<div class="c-t-r-c"> <div class="c-t-r-c">
<div class="c-t-r-c-empty" v-if="!!!init.data.xyldscrq.length"></div> <div v-if="!!!init.data.xyldscrq.length" class="c-t-r-c-empty"></div>
<div class="c-t-r-c-item" v-else-if="!!init.data.xyldscrq.length"> <div v-else-if="!!init.data.xyldscrq.length" class="c-t-r-c-item">
<div class="c-t-r-c-i-t"> <div class="c-t-r-c-i-t">
<div class="c-t-r-c-i-t-l"> <div class="c-t-r-c-i-t-l">
<div class="c-t-r-c-i-t-l-text">出寝</div> <div class="c-t-r-c-i-t-l-text">出寝</div>
<div class="c-t-r-c-i-t-l-rect"></div> <div class="c-t-r-c-i-t-l-rect"></div>
</div> </div>
<div class="c-t-r-c-i-t-r"> <div class="c-t-r-c-i-t-r">
<div class="c-t-r-c-i-t-r-text">在寝</div> <div class="c-t-r-c-i-t-r-text">在寝</div>
<div class="c-t-r-c-i-t-r-rect"></div> <div class="c-t-r-c-i-t-r-rect"></div>
</div>
</div> </div>
<div class="c-t-r-c-i-f" style="overflow: hidden;">
<vue3SeamlessScroll :list="init.data.xyldscrq" limitScrollNum="7" :step="0.1" :hover="true" isWatch class="scroll">
<div class="c-t-r-c-i-f-item" style="height: 2vw;width: 32vw;" v-for="(item,index) in init.data.xyldscrq" :key="index">
<div class="c-t-r-c-i-f-l-u">{{item.x_axis}}</div>
<div class="c-t-r-c-i-f-l-c" :style="{'width': item.data2*100+'%'}" >
<!-- <div class="c-t-r-c-i-f-l-c" :style="{'width': `${150>100?150:50*100}`+'%'}">-->
<div class="c-t-r-c-i-f-l-c-t" >{{item.data2}}<span v-show="item.data2!==0">人</span></div>
<div class="c-t-r-c-i-f-l-c-f" > </div>
</div>
<div class="c-t-r-c-i-f-r-c" :style="{'width': item.data1*100+'%',}" >
<!-- <div class="c-t-r-c-i-f-r-c" :style="{'width': `${300 >100? 300 :50*100}`+'%',}">-->
<!-- :style="{'width': 300+'%'}"-->
<div class="c-t-r-c-i-f-r-c-t" ><span style=" margin-top: 0.2vw;">{{item.data1}}<span v-show="item.data1!==0">人</span></span></div>
<div class="c-t-r-c-i-f-r-c-f" ></div>
</div>
<div class="c-t-r-c-i-f-r-u" style="font-size: 0.6vw;">总:{{item.count_data}}人</div>
</div>
<!-- <div class="c-t-l-c-i-f-item" v-for="(item,index) in init.data.listData4" :key="index">--> </div>
<!-- <div class="c-t-l-c-i-f-l-u">一号楼</div>--> <div class="c-t-r-c-i-f" style="overflow: hidden;">
<!-- <div class="c-t-l-c-i-f-l-c " :style="{'width': 1130+'%'}">--> <vue3SeamlessScroll :hover="true" :list="init.data.xyldscrq" :step="0.1" class="scroll" isWatch
<!-- <div class="c-t-l-c-i-f-l-c-t" >128人</div>--> limitScrollNum="7">
<!-- <div class="c-t-l-c-i-f-l-c-f" ></div>--> <div v-for="(item,index) in init.data.xyldscrq" :key="index"
<!-- </div>--> class="c-t-r-c-i-f-item" style="height: 2vw;width: 32vw;">
<!-- <div class="c-t-l-c-i-f-r-c" :style="{'width': 120+'%'}">--> <div class="c-t-r-c-i-f-l-u">{{ item.x_axis }}</div>
<!-- &lt;!&ndash; :style="{'width': 300+'%'}"&ndash;&gt;--> <div :style="{'width': item.data2*100+'%'}" class="c-t-r-c-i-f-l-c">
<!-- <div class="c-t-l-c-i-f-r-c-t" ><span style=" margin-top: 0.2vw;">128人</span></div>--> <!-- <div class="c-t-r-c-i-f-l-c" :style="{'width': `${150>100?150:50*100}`+'%'}">-->
<!-- <div class="c-t-l-c-i-f-r-c-f" ></div>-->
<!-- </div>-->
<!-- <div class="c-t-l-c-i-f-r-u">总:460人</div>-->
<!-- </div>-->
</vue3SeamlessScroll> <div class="c-t-r-c-i-f-l-c-t">{{ item.data2 }}<span v-show="item.data2!==0">人</span></div>
</div> <div class="c-t-r-c-i-f-l-c-f"></div>
</div>
<div :style="{'width': item.data1*100+'%',}" class="c-t-r-c-i-f-r-c">
<!-- <div class="c-t-r-c-i-f-r-c" :style="{'width': `${300 >100? 300 :50*100}`+'%',}">-->
<!-- :style="{'width': 300+'%'}"-->
<div class="c-t-r-c-i-f-r-c-t"><span style=" margin-top: 0.2vw;">{{ item.data1 }}<span
v-show="item.data1!==0">人</span></span></div>
<div class="c-t-r-c-i-f-r-c-f"></div>
</div>
<div class="c-t-r-c-i-f-r-u" style="font-size: 0.6vw;">总:{{ item.count_data }}人</div>
</div>
<!-- <div class="c-t-l-c-i-f-item" v-for="(item,index) in init.data.listData4" :key="index">-->
<!-- <div class="c-t-l-c-i-f-l-u">一号楼</div>-->
<!-- <div class="c-t-l-c-i-f-l-c " :style="{'width': 1130+'%'}">-->
<!-- <div class="c-t-l-c-i-f-l-c-t" >128人</div>-->
<!-- <div class="c-t-l-c-i-f-l-c-f" ></div>-->
<!-- </div>-->
<!-- <div class="c-t-l-c-i-f-r-c" :style="{'width': 120+'%'}">-->
<!-- &lt;!&ndash; :style="{'width': 300+'%'}"&ndash;&gt;-->
<!-- <div class="c-t-l-c-i-f-r-c-t" ><span style=" margin-top: 0.2vw;">128人</span></div>-->
<!-- <div class="c-t-l-c-i-f-r-c-f" ></div>-->
<!-- </div>-->
<!-- <div class="c-t-l-c-i-f-r-u">总:460人</div>-->
<!-- </div>-->
</vue3SeamlessScroll>
</div> </div>
</div> </div>
</div>
</div> </div>
</div> </div>
<!-- ********************************--> <!-- ********************************-->
...@@ -216,57 +227,77 @@ ...@@ -216,57 +227,77 @@
<div class="c-footer"> <div class="c-footer">
<div class="c-f-l"> <div class="c-f-l">
<div class="c-f-l-t"> <div class="c-f-l-t">
<span class="min-title-style">{{init.data.initTitle.title4}}</span> <span class="min-title-style">{{ init.data.initTitle.title4 }}</span>
</div> </div>
<div class="c-f-l-f" > <div class="c-f-l-f">
<!-- <div class="c-f-l-f-table ">--> <!-- <div class="c-f-l-f-table ">-->
<!-- <div class="c-f-l-f-title BackGround1">--> <!-- <div class="c-f-l-f-title BackGround1">-->
<!-- <div style="width: 100%;height: 100%;display: flex;justify-content: space-between;color: white;font-size: 0.7vw;">--> <!-- <div style="width: 100%;height: 100%;display: flex;justify-content: space-between;color: white;font-size: 0.7vw;">-->
<!-- <div style="width: 12%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 1vw;"><div>姓名</div></div>--> <!-- <div style="width: 12%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 1vw;"><div>姓名</div></div>-->
<!-- <div style="width: 62%;height: 100%;display:flex;justify-content: flex-start;align-items:center;"><div>班级</div></div>--> <!-- <div style="width: 62%;height: 100%;display:flex;justify-content: flex-start;align-items:center;"><div>班级</div></div>-->
<!-- <div style="width: 8%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 3vw;"><div>寝室</div></div>--> <!-- <div style="width: 8%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 3vw;"><div>寝室</div></div>-->
<!-- <div style="width: 8%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-right: 1vw;"><div>状态</div></div>--> <!-- <div style="width: 8%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-right: 1vw;"><div>状态</div></div>-->
<!-- <div style="width: 20%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-right: 1vw;"><div>时间</div></div>--> <!-- <div style="width: 20%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-right: 1vw;"><div>时间</div></div>-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="c-f-l-f-content">--> <!-- <div class="c-f-l-f-content">-->
<!-- <vue3SeamlessScroll :list="init.data.xscrq" limitScrollNum="9" :step="0.1" :hover="true" isWatch class="scroll">--> <!-- <vue3SeamlessScroll :list="init.data.xscrq" limitScrollNum="9" :step="0.1" :hover="true" isWatch class="scroll">-->
<!-- <div style=" color: cyan; display: flex;justify-content: space-between;align-items: center;width: 32vw; height: 1.5vw;" :class="['','BackGround1'][index % 2 === 0?0:1]" v-for="(item, index) in init.data.xscrq" :key="index">--> <!-- <div style=" color: cyan; display: flex;justify-content: space-between;align-items: center;width: 32vw; height: 1.5vw;" :class="['','BackGround1'][index % 2 === 0?0:1]" v-for="(item, index) in init.data.xscrq" :key="index">-->
<!-- <div style=" width: 15%; margin-left: 0.8vw;font-size: 0.7vw">{{item.name}}</div>--> <!-- <div style=" width: 15%; margin-left: 0.8vw;font-size: 0.7vw">{{item.name}}</div>-->
<!-- <div style=" width: 46%; font-size: 0.7vw;overflow-x: hidden; ">{{item.class_name}}</div>--> <!-- <div style=" width: 46%; font-size: 0.7vw;overflow-x: hidden; ">{{item.class_name}}</div>-->
<!-- <div style=" width: 8%; display: flex;justify-content: flex-end; font-size: 0.7vw;"><span>{{item.room_name}}</span></div>--> <!-- <div style=" width: 8%; display: flex;justify-content: flex-end; font-size: 0.7vw;"><span>{{item.room_name}}</span></div>-->
<!-- <div style=" width: 8%; display: flex;justify-content: center; font-size: 0.7vw">--> <!-- <div style=" width: 8%; display: flex;justify-content: center; font-size: 0.7vw">-->
<!-- <span class="yerllow" v-if="item.state_name==='进'">{{item.state_name}}</span>--> <!-- <span class="yerllow" v-if="item.state_name==='进'">{{item.state_name}}</span>-->
<!-- <span class="blueness" v-else>{{item.state_name}}</span>--> <!-- <span class="blueness" v-else>{{item.state_name}}</span>-->
<!-- </div>--> <!-- </div>-->
<!-- <div style=" width: 23%; font-size: 0.7vw">{{item.time}}</div>--> <!-- <div style=" width: 23%; font-size: 0.7vw">{{item.time}}</div>-->
<!-- </div>--> <!-- </div>-->
<!-- </vue3SeamlessScroll>--> <!-- </vue3SeamlessScroll>-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<div class="c-f-l-f-empty" v-if="!!!init.data.xscrq.length"></div> <div v-if="!!!init.data.xscrq.length" class="c-f-l-f-empty"></div>
<div class="c-f-l-f-table " v-else-if="!!init.data.xscrq.length"> <div v-else-if="!!init.data.xscrq.length" class="c-f-l-f-table ">
<div class="c-f-l-f-title BackGround1"> <div class="c-f-l-f-title BackGround1">
<div style="width: 100%;height: 100%;display: flex;justify-content: space-between;color: white;font-size: 0.7vw;"> <div
<div style="width: 20%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 1vw;"><div>姓名</div></div> style="width: 100%;height: 100%;display: flex;justify-content: space-between;color: white;font-size: 0.7vw;">
<div style="width: 20%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 1vw"><div>班级</div></div> <div
<div style="width:18%;height: 100%;display:flex;justify-content: flex-start;align-items:center;"><div>寝室</div></div> style="width: 20%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 1vw;">
<div style="width:18%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-right: 0.7vw;"><div>状态</div></div> <div>姓名</div>
<div style="width: 24%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-right: 1vw;"><div>时间</div></div> </div>
<div
style="width: 20%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 1vw">
<div>班级</div>
</div>
<div style="width:18%;height: 100%;display:flex;justify-content: flex-start;align-items:center;">
<div>寝室</div>
</div>
<div
style="width:18%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-right: 0.7vw;">
<div>状态</div>
</div>
<div
style="width: 24%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-right: 1vw;">
<div>时间</div>
</div>
</div> </div>
</div> </div>
<div class="c-f-l-f-content"> <div class="c-f-l-f-content">
<vue3SeamlessScroll :list="init.data.xscrq" limitScrollNum="9" :step="0.1" :hover="true" isWatch class="scroll"> <vue3SeamlessScroll :hover="true" :list="init.data.xscrq" :step="0.1" class="scroll" isWatch
<div style=" color: cyan; display: flex;justify-content: space-between;align-items: center;width: 32vw; height: 1.5vw;" :class="['','BackGround1'][index % 2 === 0?0:1]" v-for="(item, index) in init.data.xscrq" :key="index"> limitScrollNum="9">
<div style=" width: 20%; margin-left: 0.8vw;font-size: 0.7vw">{{item.name}}</div> <div
<div style=" width: 20%; font-size: 0.7vw;overflow-x: hidden; "><span style="margin-left: 0.5vw">{{item.class_name}}</span></div> v-for="(item, index) in init.data.xscrq"
<div style=" width:18%; display: flex; font-size: 0.7vw;"><span>{{item.room_name}}</span></div> :key="index" :class="['','BackGround1'][index % 2 === 0?0:1]"
style=" color: cyan; display: flex;justify-content: space-between;align-items: center;width: 32vw; height: 1.5vw;">
<div style=" width: 20%; margin-left: 0.8vw;font-size: 0.7vw">{{ item.name }}</div>
<div style=" width: 20%; font-size: 0.7vw;overflow-x: hidden; "><span
style="margin-left: 0.5vw">{{ item.class_name }}</span></div>
<div style=" width:18%; display: flex; font-size: 0.7vw;"><span>{{ item.room_name }}</span></div>
<div style=" width:18%; display: flex; font-size: 0.7vw"> <div style=" width:18%; display: flex; font-size: 0.7vw">
<span class="yerllow" v-if="item.state_name==='进'">{{item.state_name}}</span> <span v-if="item.state_name==='进'" class="yerllow">{{ item.state_name }}</span>
<span class="blueness" v-else>{{item.state_name}}</span> <span v-else class="blueness">{{ item.state_name }}</span>
</div> </div>
<div style=" display:flex;width: 24%; font-size: 0.7vw;">{{item.time}}</div> <div style=" display:flex;width: 24%; font-size: 0.7vw;">{{ item.time }}</div>
</div> </div>
</vue3SeamlessScroll> </vue3SeamlessScroll>
</div> </div>
...@@ -275,9 +306,9 @@ ...@@ -275,9 +306,9 @@
</div> </div>
<div class="c-f-c"> <div class="c-f-c">
<div class="c-f-c-t"> <div class="c-f-c-t">
<span class="min-title-style">{{init.data.initTitle.title5}}</span> <span class="min-title-style">{{ init.data.initTitle.title5 }}</span>
</div> </div>
<div class="c-f-c-f" > <div class="c-f-c-f">
<div class="c-f-c-f-item"> <div class="c-f-c-f-item">
<div class="c-f-c-f-i-l"> <div class="c-f-c-f-i-l">
<div class="c-f-c-f-i-l-t"> <div class="c-f-c-f-i-l-t">
...@@ -286,7 +317,7 @@ ...@@ -286,7 +317,7 @@
</div> </div>
<div class="c-f-c-f-i-l-t-r"> <div class="c-f-c-f-i-l-t-r">
<div class="c-f-c-f-i-l-t-r-t"> <div class="c-f-c-f-i-l-t-r-t">
<div class="c-f-c-f-i-l-t-r-t-number blueness">{{init.data.jcxx.in_room_count}}</div> <div class="c-f-c-f-i-l-t-r-t-number blueness">{{ init.data.jcxx.in_room_count }}</div>
<div class="c-f-c-f-i-l-t-r-t-unit blueness">人</div> <div class="c-f-c-f-i-l-t-r-t-unit blueness">人</div>
</div> </div>
<div class="c-f-c-f-i-l-t-r-f"> <div class="c-f-c-f-i-l-t-r-f">
...@@ -300,7 +331,7 @@ ...@@ -300,7 +331,7 @@
</div> </div>
<div class="c-f-c-f-i-l-f-r"> <div class="c-f-c-f-i-l-f-r">
<div class="c-f-c-f-i-l-f-r-t"> <div class="c-f-c-f-i-l-f-r-t">
<div class="c-f-c-f-i-l-f-r-t-number yerllow">{{init.data.jcxx.out_room_count}}</div> <div class="c-f-c-f-i-l-f-r-t-number yerllow">{{ init.data.jcxx.out_room_count }}</div>
<div class="c-f-c-f-i-l-f-r-t-unit yerllow">人</div> <div class="c-f-c-f-i-l-f-r-t-unit yerllow">人</div>
</div> </div>
<div class="c-f-c-f-i-l-f-r-f"> <div class="c-f-c-f-i-l-f-r-f">
...@@ -311,18 +342,18 @@ ...@@ -311,18 +342,18 @@
</div> </div>
<div class="c-f-c-f-i-r"> <div class="c-f-c-f-i-r">
<div class="c-f-c-f-i-r-title "> <div class="c-f-c-f-i-r-title ">
<div class="c-f-c-f-i-r-title-l" ></div> <div class="c-f-c-f-i-r-title-l"></div>
<div class="c-f-c-f-i-r-title-r">截止至今天6:00({{init.data.hgqk.time}})</div> <div class="c-f-c-f-i-r-title-r">截止至今天6:00({{ init.data.hgqk.time }})</div>
</div> </div>
<div @click="routerTo('晚归',1)" class="c-f-c-f-i-r-item hover:cursor-pointer"> <div class="c-f-c-f-i-r-item hover:cursor-pointer" @click="routerTo('晚归',1)">
<div class="c-f-c-f-i-r-item-l"></div> <div class="c-f-c-f-i-r-item-l"></div>
<div class="c-f-c-f-i-r-item-r"> <div class="c-f-c-f-i-r-item-r">
<span>前一天晚归人数: {{init.data.hgqk.stay_out_late_count}}人</span> <span>前一天晚归人数: {{ init.data.hgqk.stay_out_late_count }}人</span>
</div> </div>
</div> </div>
<!-- 恢复后删除 20240923--> <!-- 恢复后删除 20240923-->
<div class="c-f-c-f-i-r-item hover:cursor-pointer"> <div class="c-f-c-f-i-r-item hover:cursor-pointer">
...@@ -331,16 +362,16 @@ ...@@ -331,16 +362,16 @@
</div> </div>
<!-- 恢复后删除 20240923--> <!-- 恢复后删除 20240923-->
<div v-if="false" @click="routerTo('未归',2)" class="c-f-c-f-i-r-item hover:cursor-pointer"> <div v-if="false" class="c-f-c-f-i-r-item hover:cursor-pointer" @click="routerTo('未归',2)">
<div class="c-f-c-f-i-r-item-l"></div> <div class="c-f-c-f-i-r-item-l"></div>
<div class="c-f-c-f-i-r-item-r"> <div class="c-f-c-f-i-r-item-r">
<span>前一天未归人数: {{init.data.hgqk.no_return_count}}人</span> <span>前一天未归人数: {{ init.data.hgqk.no_return_count }}人</span>
</div> </div>
</div> </div>
<div v-if="false" @click="routerTo('48小时未归',3)" class="c-f-c-f-i-r-item hover:cursor-pointer"> <div v-if="false" class="c-f-c-f-i-r-item hover:cursor-pointer" @click="routerTo('48小时未归',3)">
<div class="c-f-c-f-i-r-item-l"></div> <div class="c-f-c-f-i-r-item-l"></div>
<div class="c-f-c-f-i-r-item-r"> <div class="c-f-c-f-i-r-item-r">
<span>48小时未归人数: {{init.data.hgqk.no_return_48hours_count}}人</span> <span>48小时未归人数: {{ init.data.hgqk.no_return_48hours_count }}人</span>
</div> </div>
</div> </div>
</div> </div>
...@@ -349,156 +380,179 @@ ...@@ -349,156 +380,179 @@
</div> </div>
<div class="c-f-r"> <div class="c-f-r">
<div class="c-f-r-t"> <div class="c-f-r-t">
<span class="min-title-style">{{init.data.initTitle.title6}}</span> <span class="min-title-style">{{ init.data.initTitle.title6 }}</span>
</div> </div>
<div class="c-f-r-f" > <div class="c-f-r-f">
<div class="c-f-r-f-empty" v-if="!!!init.data.jscrq.length"></div> <div v-if="!!!init.data.jscrq.length" class="c-f-r-f-empty"></div>
<!-- *******--> <!-- *******-->
<div class="c-f-r-f-table" v-else-if="!!init.data.jscrq.length"> <div v-else-if="!!init.data.jscrq.length" class="c-f-r-f-table">
<div class="c-f-r-f-t-t BackGround1"> <div class="c-f-r-f-t-t BackGround1">
<div style="width: 100%;height: 100%;display: flex;justify-content: space-between;color: white"> <div style="width: 100%;height: 100%;display: flex;justify-content: space-between;color: white">
<div style="width: 25%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 1vw;"><div style="font-size: 0.7vw;">姓名</div></div> <div
<div style="width: 25%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 2vw;"><div style="font-size: 0.7vw;">工号</div></div> style="width: 25%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 1vw;">
<div style="width: 25%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 3.8vw;"><div style="font-size: 0.7vw;">状态</div></div> <div style="font-size: 0.7vw;">姓名</div>
<div style="width: 25%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-right: 1vw;"><div style="font-size: 0.7vw;">日期</div></div> </div>
<div
style="width: 25%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 2vw;">
<div style="font-size: 0.7vw;">工号</div>
</div>
<div
style="width: 25%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-left: 3.8vw;">
<div style="font-size: 0.7vw;">状态</div>
</div>
<div
style="width: 25%;height: 100%;display:flex;justify-content: flex-start;align-items:center;margin-right: 1vw;">
<div style="font-size: 0.7vw;">日期</div>
</div>
</div> </div>
</div> </div>
<div class="c-f-r-f-t-f"> <div class="c-f-r-f-t-f">
<vue3SeamlessScroll :list="init.data.jscrq" limitScrollNum="9" :step="0.1" :hover="true" isWatch class="scroll"> <vue3SeamlessScroll :hover="true" :list="init.data.jscrq" :step="0.1" class="scroll" isWatch
<div style=" color: cyan; display: flex;justify-content: space-between;align-items: center;width:32vw;height: 1.5vw;" :class="['','BackGround1'][index % 2 === 0?0:1]" v-for="(item, index) in init.data.jscrq" :key="index"> limitScrollNum="9">
<div style=" width: 25%; margin-left: 0.8vw;font-size: 0.7vw">{{item.name}}</div> <div
<div style=" width: 25%; font-size: 0.7vw;float: right">{{item.card}}</div> v-for="(item, index) in init.data.jscrq"
:key="index" :class="['','BackGround1'][index % 2 === 0?0:1]"
style=" color: cyan; display: flex;justify-content: space-between;align-items: center;width:32vw;height: 1.5vw;">
<div style=" width: 25%; margin-left: 0.8vw;font-size: 0.7vw">{{ item.name }}</div>
<div style=" width: 25%; font-size: 0.7vw;float: right">{{ item.card }}</div>
<div style=" width: 25%;display: flex;justify-content: center;margin-right: 1vw; font-size: 0.7vw"> <div style=" width: 25%;display: flex;justify-content: center;margin-right: 1vw; font-size: 0.7vw">
<span class="yerllow" v-if="item.state_name==='进'">{{item.state_name}}</span> <span v-if="item.state_name==='进'" class="yerllow">{{ item.state_name }}</span>
<span class="blueness" v-else>{{item.state_name}}</span> <span v-else class="blueness">{{ item.state_name }}</span>
</div> </div>
<div style=" width: 25%; font-size: 0.7vw">{{item.time}}</div> <div style=" width: 25%; font-size: 0.7vw">{{ item.time }}</div>
</div> </div>
</vue3SeamlessScroll> </vue3SeamlessScroll>
</div> </div>
</div> </div>
<!-- *******--> <!-- *******-->
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<!-- ********************************--> <!-- ********************************-->
<div class="c-center"></div> <div class="c-center"></div>
<!-- ********************************--> <!-- ********************************-->
<Drawer <Drawer
title="标题修改" v-model="value"
v-model="value" :mask-closable="true"
width="720" title="标题修改"
:mask-closable="true" width="720"
> >
<Form :model="formData.data"> <Form :model="formData.data">
<div style="height: 5%;width: 100%;display: flex;align-items: center;justify-content: center;margin-bottom: 1vh;"><h3>主标题修改</h3></div> <div
<Row :gutter="32"> style="height: 5%;width: 100%;display: flex;align-items: center;justify-content: center;margin-bottom: 1vh;">
<Col span="24"> <h3>主标题修改</h3></div>
<FormItem label-position="top"> <Row :gutter="32">
<Input v-model="formData.data.subject_title" placeholder="please enter user name" /> <Col span="24">
</FormItem> <FormItem label-position="top">
</Col> <Input v-model="formData.data.subject_title" placeholder="please enter user name"/>
</Row> </FormItem>
<div style="height: 5%;width: 100%;display: flex;align-items: center;justify-content: center;margin-bottom: 1vh;"><h3>主屏小标题修改</h3></div> </Col>
<Row :gutter="32"> </Row>
<Col span="12"> <div
<FormItem label-position="top"> style="height: 5%;width: 100%;display: flex;align-items: center;justify-content: center;margin-bottom: 1vh;">
<Input v-model="formData.data.title1" placeholder="please enter user name" /> <h3>主屏小标题修改</h3></div>
</FormItem> <Row :gutter="32">
</Col> <Col span="12">
<Col span="12"> <FormItem label-position="top">
<FormItem label-position="top"> <Input v-model="formData.data.title1" placeholder="please enter user name"/>
<Input v-model="formData.data.title2" placeholder="please enter user name" /> </FormItem>
</FormItem> </Col>
</Col> <Col span="12">
</Row> <FormItem label-position="top">
<Row :gutter="32"> <Input v-model="formData.data.title2" placeholder="please enter user name"/>
<Col span="12"> </FormItem>
<FormItem label-position="top"> </Col>
<Input v-model="formData.data.title3" placeholder="please enter user name" /> </Row>
</FormItem> <Row :gutter="32">
</Col> <Col span="12">
<Col span="12"> <FormItem label-position="top">
<FormItem label-position="top"> <Input v-model="formData.data.title3" placeholder="please enter user name"/>
<Input v-model="formData.data.title4" placeholder="please enter user name" /> </FormItem>
</FormItem> </Col>
</Col> <Col span="12">
</Row> <FormItem label-position="top">
<Row :gutter="32"> <Input v-model="formData.data.title4" placeholder="please enter user name"/>
<Col span="12"> </FormItem>
<FormItem label-position="top"> </Col>
<Input v-model="formData.data.title5" placeholder="please enter user name" /> </Row>
</FormItem> <Row :gutter="32">
</Col> <Col span="12">
<Col span="12"> <FormItem label-position="top">
<FormItem label-position="top"> <Input v-model="formData.data.title5" placeholder="please enter user name"/>
<Input v-model="formData.data.title6" placeholder="please enter user name" /> </FormItem>
</FormItem> </Col>
</Col> <Col span="12">
</Row> <FormItem label-position="top">
<div style="height: 5%;width: 100%;display: flex;align-items: center;justify-content: center;margin-bottom: 1vh;"><h3>副屏小标题修改</h3></div> <Input v-model="formData.data.title6" placeholder="please enter user name"/>
<Row :gutter="32"> </FormItem>
<Col span="12"> </Col>
<FormItem label-position="top"> </Row>
<Input v-model="formData.data.littletitle1" placeholder="please enter user name" /> <div
</FormItem> style="height: 5%;width: 100%;display: flex;align-items: center;justify-content: center;margin-bottom: 1vh;">
</Col> <h3>副屏小标题修改</h3></div>
<Col span="12"> <Row :gutter="32">
<FormItem label-position="top"> <Col span="12">
<Input v-model="formData.data.littletitle2" placeholder="please enter user name" /> <FormItem label-position="top">
</FormItem> <Input v-model="formData.data.littletitle1" placeholder="please enter user name"/>
</Col> </FormItem>
</Row> </Col>
<Row :gutter="32"> <Col span="12">
<Col span="12"> <FormItem label-position="top">
<FormItem label-position="top"> <Input v-model="formData.data.littletitle2" placeholder="please enter user name"/>
<Input v-model="formData.data.littletitle3" placeholder="please enter user name" /> </FormItem>
</FormItem> </Col>
</Col> </Row>
<Col span="12"> <Row :gutter="32">
<FormItem label-position="top"> <Col span="12">
<Input v-model="formData.data.littletitle4" placeholder="please enter user name" /> <FormItem label-position="top">
</FormItem> <Input v-model="formData.data.littletitle3" placeholder="please enter user name"/>
</Col> </FormItem>
</Row> </Col>
<Row :gutter="32"> <Col span="12">
<!-- <Col span="12">--> <FormItem label-position="top">
<!-- <FormItem label-position="top">--> <Input v-model="formData.data.littletitle4" placeholder="please enter user name"/>
<!-- <Input v-model="formData.data.littletitle5" placeholder="please enter user name" />--> </FormItem>
<!-- </FormItem>--> </Col>
<!-- </Col>--> </Row>
<Col span="12"> <Row :gutter="32">
<FormItem label-position="top"> <!-- <Col span="12">-->
<Input v-model="formData.data.littletitle6" placeholder="please enter user name" /> <!-- <FormItem label-position="top">-->
</FormItem> <!-- <Input v-model="formData.data.littletitle5" placeholder="please enter user name" />-->
</Col> <!-- </FormItem>-->
</Row> <!-- </Col>-->
</Form> <Col span="12">
<FormItem label-position="top">
<Input v-model="formData.data.littletitle6" placeholder="please enter user name"/>
<div class="demo-drawer-footer"> </FormItem>
<Button style="margin-right: 8px" @click="value = false">取消</Button> </Col>
<Button type="primary" @click="updateTitle">确认修改</Button> </Row>
</div> </Form>
</Drawer>
</div>
<div class="demo-drawer-footer">
<Button style="margin-right: 8px" @click="value = false">取消</Button>
<Button type="primary" @click="updateTitle">确认修改</Button>
</div>
</Drawer>
</div>
</template> </template>
<script setup> <script setup>
import {defineAsyncComponent, onMounted, onUnmounted, reactive, ref, watch} from "vue"; import {defineAsyncComponent, onMounted, onUnmounted, reactive, ref, watch} from "vue";
import * as charts from "echarts"; import * as charts from "echarts";
import * as utils from "../../utils/index.js"; import * as utils from "../../utils/index.js";
import { Vue3SeamlessScroll } from "vue3-seamless-scroll"; import {Vue3SeamlessScroll} from "vue3-seamless-scroll";
import * as api from '../../api/index.js'; import * as api from '../../api/index.js';
import {myEncapsulationFunciotn} from "../../utils/index.js"; import {myEncapsulationFunciotn} from "../../utils/index.js";
import image1 from "../../chartsOptions/image1.js"; import image1 from "../../chartsOptions/image1.js";
import router from "../../router/index.js"; import router from "../../router/index.js";
import dayjs from "dayjs"; import dayjs from "dayjs";
import {Message} from "view-ui-plus"; import {Message} from "view-ui-plus";
let formData = reactive({
data:{ let formData = reactive({
data: {
"screenid": "", "screenid": "",
"subject_title": "", "subject_title": "",
"title1": "", "title1": "",
...@@ -518,96 +572,96 @@ let formData = reactive({ ...@@ -518,96 +572,96 @@ let formData = reactive({
let value = ref(false) let value = ref(false)
let init = reactive({ let init = reactive({
data:{ data: {
timePiece:{ timePiece: {
clear1:'', clear1: '',
clear2:'', clear2: '',
clear3:'', clear3: '',
clear4:'', clear4: '',
clear5:'', clear5: '',
clear6:'', clear6: '',
clear7:'', clear7: '',
}, },
building_id:'', building_id: '',
xyldscrq:[], xyldscrq: [],
ldxscrq:[], ldxscrq: [],
jscrq:[], jscrq: [],
xscrq:[], xscrq: [],
hgqk:{}, hgqk: {},
jcxx:{}, jcxx: {},
ldxxsstj:[], ldxxsstj: [],
palyState:true, palyState: true,
time:'', time: '',
piece:'', piece: '',
listData4:[{ listData4: [{
'number1': '128人 ', 'number1': '128人 ',
'number2': '728人 ', 'number2': '728人 ',
'title1':'一号楼', 'title1': '一号楼',
'zong':'总4532人', 'zong': '总4532人',
}], }],
listData1:[], listData1: [],
listData2:[], listData2: [],
listData: [ listData: [
{ {
'name': '李老师哦 ', 'name': '李老师哦 ',
'card': '17000000000', 'card': '17000000000',
'state':'进', 'state': '进',
'time':'2023-10-23 20-20-20', 'time': '2023-10-23 20-20-20',
} }
], ],
initTitle:{} initTitle: {}
} }
}) })
watch([()=>init.data.listData],(newValue,oldValue)=>{ watch([() => init.data.listData], (newValue, oldValue) => {
setTimeout(()=>{ setTimeout(() => {
init.data.listData4.push( { init.data.listData4.push({
'number1': '128人 ', 'number1': '128人 ',
'number2': '728人 ', 'number2': '728人 ',
'title1':'一号楼', 'title1': '一号楼',
'zong':'总4532人', 'zong': '总4532人',
}) })
init.data.listData.push( { init.data.listData.push({
'name': '李老师哦 ', 'name': '李老师哦 ',
'card': '17000000000', 'card': '17000000000',
'state':'进', 'state': '进',
'time':'2023-10-23 20-20-20', 'time': '2023-10-23 20-20-20',
},) },)
init.data.listData1.push( { init.data.listData1.push({
'name': '林同学', 'name': '林同学',
'class':'2023级酒店管理与数字化运营(烹饪工艺与营养)2班', 'class': '2023级酒店管理与数字化运营(烹饪工艺与营养)2班',
'card': '2218', 'card': '2218',
'state':'进', 'state': '进',
'time':'2023-10-23 20-20-20', 'time': '2023-10-23 20-20-20',
},) },)
init.data.listData2.push({ init.data.listData2.push({
'name': '一号楼', 'name': '一号楼',
'room':'66间', 'room': '66间',
'bedNumber': '2218个', 'bedNumber': '2218个',
}) })
},1000) }, 1000)
},{deep:true,immediate:true}) }, {deep: true, immediate: true})
const xxx = ()=>{ const xxx = () => {
const chart = charts.init(document.getElementById('xxx')) const chart = charts.init(document.getElementById('xxx'))
let option = image1('在寝','出寝',[219, 262, 219, 262, 219, 262,262],[341, 198, 241, 98, 241, 198,123]) let option = image1('在寝', '出寝', [219, 262, 219, 262, 219, 262, 262], [341, 198, 241, 98, 241, 198, 123])
chart.setOption(option,true) chart.setOption(option, true)
window.addEventListener("resize", ()=> { window.addEventListener("resize", () => {
chart.resize(); chart.resize();
}); });
} }
const to =(key)=>{ const to = (key) => {
router.push({ router.push({
name:'welcomeInfo', name: 'welcomeInfo',
query:{ query: {
'key':key.buidingid 'key': key.buidingid
} }
}) })
} }
const updateTitle = ()=>{ const updateTitle = () => {
myEncapsulationFunciotn(async () => { myEncapsulationFunciotn(async () => {
const res = await api.GetDormScreenSave(formData.data) const res = await api.GetDormScreenSave(formData.data)
if (res.code === 1 ){ if (res.code === 1) {
Message['success']({ Message['success']({
background: true, background: true,
content: res.msg content: res.msg
...@@ -616,165 +670,167 @@ const updateTitle = ()=>{ ...@@ -616,165 +670,167 @@ const updateTitle = ()=>{
return res return res
}) })
} }
const GetCollegeData = async () => { const GetCollegeData = async () => {
let res = await api.GetCollegeData({building_id:init.data.building_id}) let res = await api.GetCollegeData({building_id: init.data.building_id})
let array = []
res.response.x_axis.forEach((cur, index) => {
array.push({x_axis: cur})
})
res.response.data1.forEach((cur1, index1) => {
array[index1].data1 = cur1
})
res.response.data2.forEach((cur2, index2) => {
array[index2].data2 = cur2
})
res.response.data_count.forEach((cur3, index3) => {
array[index3].count_data = cur3
})
// init.data.xyldscrq = array
array ? init.data.xyldscrq = array : ''
const fun = async () => {
let res = await api.GetCollegeData({building_id: init.data.building_id})
let array = [] let array = []
res.response.x_axis.forEach((cur,index)=>{ res.response.x_axis.forEach((cur, index) => {
array.push({x_axis:cur}) array.push({x_axis: cur})
}) })
res.response.data1.forEach((cur1,index1)=>{ res.response.data1.forEach((cur1, index1) => {
array[index1].data1= cur1 array[index1].data1 = cur1
}) })
res.response.data2.forEach((cur2,index2)=>{ res.response.data2.forEach((cur2, index2) => {
array[index2].data2= cur2 array[index2].data2 = cur2
}) })
res.response.data_count.forEach((cur3,index3)=>{ res.response.data_count.forEach((cur3, index3) => {
array[index3].count_data = cur3 array[index3].count_data = cur3
}) })
// init.data.xyldscrq = array
array ? init.data.xyldscrq = array : '' array ? init.data.xyldscrq = array : ''
const fun = async () => {
let res = await api.GetCollegeData({building_id:init.data.building_id})
let array = []
res.response.x_axis.forEach((cur,index)=>{
array.push({x_axis:cur})
})
res.response.data1.forEach((cur1,index1)=>{
array[index1].data1= cur1
})
res.response.data2.forEach((cur2,index2)=>{
array[index2].data2= cur2
})
res.response.data_count.forEach((cur3,index3)=>{
array[index3].count_data = cur3
})
array ? init.data.xyldscrq = array : ''
}
init.data.timePiece.clear1 = setInterval(()=>{
fun()
},60000)
} }
function routerTo(title,value){ init.data.timePiece.clear1 = setInterval(() => {
fun()
}, 60000)
}
function routerTo(title, value) {
//跳转异常记录列表 //跳转异常记录列表
router.push({ router.push({
path:'/exceptionRecordList', path: '/exceptionRecordList',
query:{ query: {
title:title, title: title,
value:value, value: value,
} }
}) })
} }
const GetBuildData = async () => { const GetBuildData = async () => {
let res = await api.GetBuildData({building_id:init.data.building_id}) let res = await api.GetBuildData({building_id: init.data.building_id})
let array = [] let array = []
res.response.x_axis.forEach((cur,index)=>{ res.response.x_axis.forEach((cur, index) => {
array.push({x_axis:cur}) array.push({x_axis: cur})
}) })
res.response.data1.forEach((cur1,index1)=>{ res.response.data1.forEach((cur1, index1) => {
array[index1].data1= cur1 array[index1].data1 = cur1
}) })
res.response.data2.forEach((cur2,index2)=>{ res.response.data2.forEach((cur2, index2) => {
array[index2].data2= cur2 array[index2].data2 = cur2
}) })
res.response.data_count.forEach((cur3,index3)=>{ res.response.data_count.forEach((cur3, index3) => {
array[index3].count_data = cur3 array[index3].count_data = cur3
}) })
// init.data.ldxscrq = array // init.data.ldxscrq = array
array ? init.data.ldxscrq = array : '' array ? init.data.ldxscrq = array : ''
const fun = async () => { const fun = async () => {
let res = await api.GetBuildData({building_id:init.data.building_id}) let res = await api.GetBuildData({building_id: init.data.building_id})
let array = [] let array = []
res.response.x_axis.forEach((cur,index)=>{ res.response.x_axis.forEach((cur, index) => {
array.push({x_axis:cur}) array.push({x_axis: cur})
}) })
res.response.data1.forEach((cur1,index1)=>{ res.response.data1.forEach((cur1, index1) => {
array[index1].data1= cur1 array[index1].data1 = cur1
}) })
res.response.data2.forEach((cur2,index2)=>{ res.response.data2.forEach((cur2, index2) => {
array[index2].data2= cur2 array[index2].data2 = cur2
}) })
res.response.data_count.forEach((cur3,index3)=>{ res.response.data_count.forEach((cur3, index3) => {
array[index3].count_data = cur3 array[index3].count_data = cur3
}) })
// init.data.ldxscrq = array // init.data.ldxscrq = array
array ? init.data.ldxscrq = array : '' array ? init.data.ldxscrq = array : ''
} }
init.data.timePiece.clear2 =setInterval(()=>{ init.data.timePiece.clear2 = setInterval(() => {
fun() fun()
},60000) }, 60000)
} }
const GetTeacherInAndOutDorm = async () => { const GetTeacherInAndOutDorm = async () => {
console.log("🚀🚀🚀GetTeacherInAndOutDorm,") console.log("🚀🚀🚀GetTeacherInAndOutDorm,")
const res = await api.GetTeacherInAndOutDorm({building_id:init.data.building_id}) const res = await api.GetTeacherInAndOutDorm({building_id: init.data.building_id})
res.response ? init.data.jscrq = res.response :'' res.response ? init.data.jscrq = res.response : ''
const fun = async () => { const fun = async () => {
const res = await api.GetTeacherInAndOutDorm({building_id:init.data.building_id}) const res = await api.GetTeacherInAndOutDorm({building_id: init.data.building_id})
// init.data.jscrq = res.response // init.data.jscrq = res.response
res.response ? init.data.jscrq = res.response :'' res.response ? init.data.jscrq = res.response : ''
} }
init.data.timePiece.clear3 = setInterval(()=>{ init.data.timePiece.clear3 = setInterval(() => {
fun() fun()
},60000) }, 60000)
} }
const GetStudentInAndOutDorm = async () => { const GetStudentInAndOutDorm = async () => {
const res = await api.GetStudentInAndOutDorm({building_id:init.data.building_id}) const res = await api.GetStudentInAndOutDorm({building_id: init.data.building_id})
// init.data.xscrq = res.response // init.data.xscrq = res.response
res.response ? init.data.xscrq = res.response :'' res.response ? init.data.xscrq = res.response : ''
const fun = async () => { const fun = async () => {
const res = await api.GetStudentInAndOutDorm({building_id:init.data.building_id}) const res = await api.GetStudentInAndOutDorm({building_id: init.data.building_id})
res.response ? init.data.xscrq = res.response :'' res.response ? init.data.xscrq = res.response : ''
} }
init.data.timePiece.clear4 = setInterval(()=>{ init.data.timePiece.clear4 = setInterval(() => {
fun() fun()
},60000) }, 60000)
} }
const GetRegressionInfo = async () => { const GetRegressionInfo = async () => {
const res = await api.GetRegressionInfo({building_id:init.data.building_id}) const res = await api.GetRegressionInfo({building_id: init.data.building_id})
// init.data.hgqk = res.response // init.data.hgqk = res.response
res.response ? init.data.hgqk = res.response :'' res.response ? init.data.hgqk = res.response : ''
init.data.hgqk.time = dayjs().format('YYYY-MM-DD') init.data.hgqk.time = dayjs().format('YYYY-MM-DD')
init.data.hgqk.time2 = dayjs().format('hh:mm') init.data.hgqk.time2 = dayjs().format('hh:mm')
const fun = async () => { const fun = async () => {
const res = await api.GetRegressionInfo({building_id:init.data.building_id}) const res = await api.GetRegressionInfo({building_id: init.data.building_id})
res.response ? init.data.hgqk = res.response :'' res.response ? init.data.hgqk = res.response : ''
init.data.hgqk.time = dayjs().format('YYYY-MM-DD') init.data.hgqk.time = dayjs().format('YYYY-MM-DD')
init.data.hgqk.time2 = dayjs().format('hh:mm') init.data.hgqk.time2 = dayjs().format('hh:mm')
} }
init.data.timePiece.clear5 = setInterval(()=>{ init.data.timePiece.clear5 = setInterval(() => {
fun() fun()
},60000) }, 60000)
} }
const GetBasicsData = async () => { const GetBasicsData = async () => {
const res = await api.GetBasicsData({building_id:init.data.building_id}) const res = await api.GetBasicsData({building_id: init.data.building_id})
// init.data.jcxx = res.response // init.data.jcxx = res.response
res.response ? init.data.jcxx = res.response :'' res.response ? init.data.jcxx = res.response : ''
const fun = async () => { const fun = async () => {
const res = await api.GetBasicsData({building_id:init.data.building_id}) const res = await api.GetBasicsData({building_id: init.data.building_id})
res.response ? init.data.jcxx = res.response :'' res.response ? init.data.jcxx = res.response : ''
} }
init.data.timePiece.clear6 = setInterval(()=>{ init.data.timePiece.clear6 = setInterval(() => {
fun() fun()
},60000) }, 60000)
} }
const GetBuildList = async () => { const GetBuildList = async () => {
const res = await api.GetBuildList({building_id:init.data.building_id}) const res = await api.GetBuildList({building_id: init.data.building_id})
// init.data.ldxxsstj = res.response // init.data.ldxxsstj = res.response
res.response ? init.data.ldxxsstj = res.response :'' res.response ? init.data.ldxxsstj = res.response : ''
const fun = async () => { const fun = async () => {
const res = await api.GetBuildList({building_id:init.data.building_id}) const res = await api.GetBuildList({building_id: init.data.building_id})
res.response ? init.data.ldxxsstj = res.response :'' res.response ? init.data.ldxxsstj = res.response : ''
} }
init.data.timePiece.clear7 =setInterval(()=>{ init.data.timePiece.clear7 = setInterval(() => {
fun() fun()
},60000) }, 60000)
} }
const GetDormScreenInit = async () => { const GetDormScreenInit = async () => {
...@@ -785,30 +841,30 @@ const GetDormScreenInit = async () => { ...@@ -785,30 +841,30 @@ const GetDormScreenInit = async () => {
return res return res
}) })
} }
const timePiece = ()=>{ const timePiece = () => {
init.data.piece = setInterval(()=>{ init.data.piece = setInterval(() => {
init.data.time = utils.getTime() init.data.time = utils.getTime()
},1000) }, 1000)
} }
const openIndexDB = ()=>{ const openIndexDB = () => {
let indexDB = indexedDB.open('myIndexDB') let indexDB = indexedDB.open('myIndexDB')
indexDB.addEventListener('success',(e)=>{ indexDB.addEventListener('success', (e) => {
console.log("🚀🚀🚀成功打开indexDB数据库,",e) console.log("🚀🚀🚀成功打开indexDB数据库,", e)
}) })
indexDB.onerror = (e)=>{ indexDB.onerror = (e) => {
console.log("🚀🚀🚀打开失败indexDB数据库,",e) console.log("🚀🚀🚀打开失败indexDB数据库,", e)
} }
indexDB.onupgradeneeded = function(event) { indexDB.onupgradeneeded = function (event) {
const db = event.target.result; const db = event.target.result;
let biao = db.createObjectStore('myStore', {autoIncrement:true}); let biao = db.createObjectStore('myStore', {autoIncrement: true});
biao.add({ 123: 'id' }) biao.add({123: 'id'})
}; };
} }
onUnmounted(()=>{ onUnmounted(() => {
clearInterval(init.data.piece) clearInterval(init.data.piece)
Object.values(init.data.timePiece).map(cur=>clearInterval(cur)) Object.values(init.data.timePiece).map(cur => clearInterval(cur))
}) })
onMounted(()=>{ onMounted(() => {
// openIndexDB() // openIndexDB()
// let workers = new Worker('../../../workers.js') // let workers = new Worker('../../../workers.js')
...@@ -829,38 +885,42 @@ onMounted(()=>{ ...@@ -829,38 +885,42 @@ onMounted(()=>{
}) })
</script> </script>
<style scoped > <style scoped>
:root{ :root {
--init-width:100%; --init-width: 100%;
--init-height:100%; --init-height: 100%;
--init-size:100% --init-size: 100%
} }
.container1{
.container1 {
width: 100vw; width: 100vw;
height: 100vh; height: 100vh;
background: url("../../assets/materialImage/1.背景.png"); background: url("../../assets/materialImage/1.背景.png");
background-size: 100% 100%; background-size: 100% 100%;
.header{ .header {
width: 100%; width: 100%;
height: 22%; height: 22%;
//background-color: #535bf2; //background-color: #535bf2;
.h-t{
.h-t {
width: 100%; width: 100%;
height: 37%; height: 37%;
background:url("../../assets/materialImage/2.头部.png"); background: url("../../assets/materialImage/2.头部.png");
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-content:center ; align-content: center;
.h-t-l{
.h-t-l {
width: 25%; width: 25%;
height: var(--init-height); height: var(--init-height);
display: flex; display: flex;
align-items: center; align-items: center;
.h-t-l-time{
.h-t-l-time {
width: var(--init-width); width: var(--init-width);
height: var(--init-height); height: var(--init-height);
margin-bottom: 1.4vh; margin-bottom: 1.4vh;
...@@ -869,13 +929,15 @@ onMounted(()=>{ ...@@ -869,13 +929,15 @@ onMounted(()=>{
font-size: 1.1vw; font-size: 1.1vw;
} }
} }
.h-t-c{
.h-t-c {
width: 48.1%; width: 48.1%;
height: var(--init-height); height: var(--init-height);
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.h-t-c-title{
.h-t-c-title {
width: var(--init-width); width: var(--init-width);
height: var(--init-height); height: var(--init-height);
margin-bottom: 1.5vh; margin-bottom: 1.5vh;
...@@ -885,7 +947,8 @@ onMounted(()=>{ ...@@ -885,7 +947,8 @@ onMounted(()=>{
font-style: italic; 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;
...@@ -895,32 +958,37 @@ onMounted(()=>{ ...@@ -895,32 +958,37 @@ onMounted(()=>{
} }
} }
.h-c{
.h-c {
height: 63%; height: 63%;
width: 100%; width: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-evenly; justify-content: space-evenly;
.h-c-container{
.h-c-container {
width: 32.7%; width: 32.7%;
height: 100%; height: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.h-c-module-l{
width:49.4%; .h-c-module-l {
width: 49.4%;
height: 90%; height: 90%;
background-image: url("../../assets/materialImage/4.1主屏(总人数、寝室数).png"); background-image: url("../../assets/materialImage/4.1主屏(总人数、寝室数).png");
background-size: 100% 100%; background-size: 100% 100%;
.h-c-module-l-t,.h-c-module-c-t{
.h-c-module-l-t, .h-c-module-c-t {
width: 100%; width: 100%;
height: 43%; height: 43%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.h-c-module-l-c,.h-c-module-c-c{
.h-c-module-l-c, .h-c-module-c-c {
width: 100%; width: 100%;
height: 57%; height: 57%;
display: flex; display: flex;
...@@ -928,20 +996,23 @@ onMounted(()=>{ ...@@ -928,20 +996,23 @@ onMounted(()=>{
align-items: center; align-items: center;
} }
} }
.h-c-module-c{
width:49.4%; .h-c-module-c {
width: 49.4%;
height: 90%; height: 90%;
background-image: url("../../assets/materialImage/4.2主屏(床位数、入住人数).png"); background-image: url("../../assets/materialImage/4.2主屏(床位数、入住人数).png");
background-size: 100% 100%; background-size: 100% 100%;
.h-c-module-c-t{
.h-c-module-c-t {
width: 100%; width: 100%;
height: 43%; height: 43%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.h-c-module-c-c{
.h-c-module-c-c {
width: 100%; width: 100%;
height: 57%; height: 57%;
display: flex; display: flex;
...@@ -949,20 +1020,23 @@ onMounted(()=>{ ...@@ -949,20 +1020,23 @@ onMounted(()=>{
align-items: center; align-items: center;
} }
} }
.h-c-module-r{
width:49.4%; .h-c-module-r {
width: 49.4%;
height: 90%; height: 90%;
background-image: url("../../assets/materialImage/4.3主屏(空床位、入住率).png"); background-image: url("../../assets/materialImage/4.3主屏(空床位、入住率).png");
background-size: 100% 100%; background-size: 100% 100%;
.h-c-module-r-t{
.h-c-module-r-t {
width: 100%; width: 100%;
height: 43%; height: 43%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.h-c-module-r-c{
.h-c-module-r-c {
width: 100%; width: 100%;
height: 57%; height: 57%;
display: flex; display: flex;
...@@ -973,173 +1047,198 @@ onMounted(()=>{ ...@@ -973,173 +1047,198 @@ onMounted(()=>{
} }
} }
} }
.content{
.content {
width: 100%; width: 100%;
height:77%; height: 77%;
//background-color: #2aa9ff; //background-color: #2aa9ff;
.c-top{
.c-top {
width: 100%; width: 100%;
height: 60%; height: 60%;
//background-color: #888888; //background-color: #888888;
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
.c-t-l{
.c-t-l {
//background-color: #2aa9ff; //background-color: #2aa9ff;
width: 32.7%; width: 32.7%;
height: 100%; height: 100%;
//background-color: #00efff; //background-color: #00efff;
background-color: rgba(0,239, 255, 0.1); background-color: rgba(0, 239, 255, 0.1);
border: 0.1vw solid #006883; border: 0.1vw solid #006883;
box-sizing: border-box; box-sizing: border-box;
filter:brightness(1);/* 设置亮度值,范围:0-1 */ filter: brightness(1); /* 设置亮度值,范围:0-1 */
padding: 0.4vw; padding: 0.4vw;
.c-t-l-t{
.c-t-l-t {
width: 100%;
height: 8.3%;
background-image: url("../../assets/materialImage/3.小标题.png");
background-size: 100% 100%;
display: flex;
align-items: center;
}
.c-t-l-c {
width: 100%; width: 100%;
height: 8.3%; height: 91.7%;
background-image: url("../../assets/materialImage/3.小标题.png"); box-sizing: border-box;
background-size: 100% 100%; font-size: 1vw;
display: flex; display: flex;
align-items: center; justify-content: center;
} align-items: center;
.c-t-l-c{
.c-t-l-c-empty {
width: 80%;
height: 30%;
background: url("../../assets/materialImage/10.暂无数据缺省图.png");
background-size: 100% 100%;
}
.c-t-l-c-item {
width: 100%; width: 100%;
height: 91.7%; height: 100%;
box-sizing: border-box;
font-size:1vw; .c-t-l-c-i-t {
display: flex;
justify-content: center;
align-items: center;
.c-t-l-c-empty{
width: 80%;
height: 30%;
background: url("../../assets/materialImage/10.暂无数据缺省图.png");
background-size: 100% 100%;
}
.c-t-l-c-item{
width: 100%; width: 100%;
height:100%; height: 10%;
.c-t-l-c-i-t{ display: flex;
width: 100%; justify-content: center;
height:10%; align-items: center;
.c-t-l-c-i-t-l {
width: 13%;
height: 100%;
display: flex; display: flex;
justify-content: center; justify-content: space-between;
align-items: center; align-items: center;
.c-t-l-c-i-t-l{ margin-right: 0.5vw;
width: 13%;
height:100%; .c-t-l-c-i-t-l-text {
display: flex; font-size: 0.9vw;
justify-content: space-between; color: white;
align-items: center;
margin-right: 0.5vw;
.c-t-l-c-i-t-l-text{
font-size: 0.9vw;
color: white;
}
.c-t-l-c-i-t-l-rect{
width: 40%;
height: 45%;
background: #ffd130;
}
} }
.c-t-l-c-i-t-r{
width: 13%; .c-t-l-c-i-t-l-rect {
height:100%; width: 40%;
display: flex; height: 45%;
justify-content: space-between; background: #ffd130;
align-items: center; }
margin-left: 0.5vw; }
.c-t-l-c-i-t-r-text{
font-size: 0.9vw; .c-t-l-c-i-t-r {
color: white; width: 13%;
} height: 100%;
.c-t-l-c-i-t-r-rect{ display: flex;
width: 38%; justify-content: space-between;
height: 45%; align-items: center;
background: #00ffb0; margin-left: 0.5vw;
}
.c-t-l-c-i-t-r-text {
font-size: 0.9vw;
color: white;
} }
}
.c-t-l-c-i-f{ .c-t-l-c-i-t-r-rect {
width: 38%;
height: 45%;
background: #00ffb0;
}
}
}
.c-t-l-c-i-f {
width: 100%;
height: 90%;
display: flex;
align-content: flex-start;
flex-wrap: wrap;
.c-t-l-c-i-f-item {
width: 100%; width: 100%;
height:90%; height: 10%;
display: flex; display: flex;
align-content: flex-start; line-height: 1;
flex-wrap: wrap; margin-bottom: 1vw;
.c-t-l-c-i-f-item{
width: 100%; .c-t-l-c-i-f-l-u {
height:10%; min-width: 11%;
height: 100%;
display: flex; display: flex;
line-height:1; align-items: flex-end;
margin-bottom: 1vw; color: white;
font-size: 0.6vw;
}
.c-t-l-c-i-f-l-c {
width: 3115%;
height: 100%;
.c-t-l-c-i-f-l-u{ .c-t-l-c-i-f-l-c-t {
min-width: 11%; font-size: 0.7vw;
height:100%; width: 100%;
height: 60%;
display: flex; display: flex;
align-items: flex-end; justify-content: center;
color: white; color: #ffd130;
font-size: 0.6vw;
}
.c-t-l-c-i-f-l-c{
width: 3115%;
height:100%;
.c-t-l-c-i-f-l-c-t{
font-size: 0.7vw;
width: 100%;
height: 60%;
display: flex;
justify-content: center;
color: #ffd130;
}
.c-t-l-c-i-f-l-c-f{
width: 100%;
height: 40%;
background: #ffd130 !important;
box-sizing: border-box;
}
} }
.c-t-l-c-i-f-r-c{
width: 1135%; .c-t-l-c-i-f-l-c-f {
height:100%; width: 100%;
.c-t-l-c-i-f-r-c-t{ height: 40%;
font-size: 0.7vw; background: #ffd130 !important;
width: 100%; box-sizing: border-box;
height: 60%;
display: flex;
justify-content: center;
color: #00ffb0;
}
.c-t-l-c-i-f-r-c-f{
width: 100%;
height: 40%;
background: #00ffb0;
}
} }
.c-t-l-c-i-f-r-u{ }
min-width: 11%;
height:100%; .c-t-l-c-i-f-r-c {
font-size: 0.8vw; width: 1135%;
height: 100%;
.c-t-l-c-i-f-r-c-t {
font-size: 0.7vw;
width: 100%;
height: 60%;
display: flex; display: flex;
align-items: flex-end;
justify-content: center; justify-content: center;
color: white; color: #00ffb0;
font-size: 0.6vw; }
.c-t-l-c-i-f-r-c-f {
width: 100%;
height: 40%;
background: #00ffb0;
} }
} }
.c-t-l-c-i-f-r-u {
min-width: 11%;
height: 100%;
font-size: 0.8vw;
display: flex;
align-items: flex-end;
justify-content: center;
color: white;
font-size: 0.6vw;
}
} }
} }
} }
} }
.c-t-c{ }
//background-color: #63b61f;
.c-t-c {
//background-color: #63b61f;
width: 32.7%; width: 32.7%;
height: 100%; height: 100%;
background-color: rgba(0,239, 255, 0.1); background-color: rgba(0, 239, 255, 0.1);
border: 0.1vw solid #006883; border: 0.1vw solid #006883;
filter:brightness(1);/* 设置亮度值,范围:0-1 */ filter: brightness(1); /* 设置亮度值,范围:0-1 */
box-sizing: border-box; box-sizing: border-box;
padding: 0.4vw; padding: 0.4vw;
.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/materialImage/3.小标题.png");
...@@ -1147,7 +1246,8 @@ onMounted(()=>{ ...@@ -1147,7 +1246,8 @@ onMounted(()=>{
display: flex; display: flex;
align-items: center; align-items: center;
} }
.c-t-c-c{
.c-t-c-c {
width: 100%; width: 100%;
height: 91.7%; height: 91.7%;
display: flex; display: flex;
...@@ -1156,26 +1256,31 @@ onMounted(()=>{ ...@@ -1156,26 +1256,31 @@ onMounted(()=>{
margin-top: 0.4vw; margin-top: 0.4vw;
background: url("../../assets/materialImage/6.主屏(楼栋信息实时统计背景).png"); background: url("../../assets/materialImage/6.主屏(楼栋信息实时统计背景).png");
background-size: 100% 100%; background-size: 100% 100%;
.c-t-c-c-container{
.c-t-c-c-container {
width: 90%; width: 90%;
height: 70%; height: 70%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.c-t-c-c-c-l{
.c-t-c-c-c-l {
width: 45%; width: 45%;
height: 100%; height: 100%;
} }
.c-t-c-c-c-r{
.c-t-c-c-c-r {
width: 48%; width: 48%;
height: 100%; height: 100%;
.c-t-c-c-c-r-t{
.c-t-c-c-c-r-t {
width: 100%; width: 100%;
height: 15%; height: 15%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.c-t-c-c-c-r-f{
.c-t-c-c-c-r-f {
width: 100%; width: 100%;
height: 85%; height: 85%;
box-sizing: border-box; box-sizing: border-box;
...@@ -1185,15 +1290,17 @@ onMounted(()=>{ ...@@ -1185,15 +1290,17 @@ onMounted(()=>{
} }
} }
} }
.c-t-r{
//background-color: #2aa9ff; .c-t-r {
//background-color: #2aa9ff;
width: 32.7%; width: 32.7%;
height: 100%; height: 100%;
background-color: rgba(0,239, 255, 0.1); background-color: rgba(0, 239, 255, 0.1);
border: 0.1vw solid #006883; border: 0.1vw solid #006883;
box-sizing: border-box; box-sizing: border-box;
padding: 0.4vw; padding: 0.4vw;
.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/materialImage/3.小标题.png");
...@@ -1201,90 +1308,104 @@ onMounted(()=>{ ...@@ -1201,90 +1308,104 @@ onMounted(()=>{
display: flex; display: flex;
align-items: center; align-items: center;
} }
.c-t-r-c{
.c-t-r-c {
width: 100%; width: 100%;
height: 91.7%; height: 91.7%;
box-sizing: border-box; box-sizing: border-box;
font-size:1vw; font-size: 1vw;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.c-t-r-c-empty{
.c-t-r-c-empty {
width: 70%; width: 70%;
height: 30%; height: 30%;
background: url("../../assets/materialImage/10.暂无数据缺省图.png"); background: url("../../assets/materialImage/10.暂无数据缺省图.png");
background-size: 100% 100%; background-size: 100% 100%;
} }
.c-t-r-c-item{
.c-t-r-c-item {
width: 100%; width: 100%;
height:100%; height: 100%;
.c-t-r-c-i-t{
.c-t-r-c-i-t {
width: 100%; width: 100%;
height:10%; height: 10%;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.c-t-r-c-i-t-l{
.c-t-r-c-i-t-l {
width: 13%; width: 13%;
height:100%; height: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin-right: 0.5vw; margin-right: 0.5vw;
.c-t-r-c-i-t-l-text{
.c-t-r-c-i-t-l-text {
font-size: 0.9vw; font-size: 0.9vw;
color: white; color: white;
} }
.c-t-r-c-i-t-l-rect{
.c-t-r-c-i-t-l-rect {
width: 40%; width: 40%;
height: 45%; height: 45%;
background: #ff904c; background: #ff904c;
} }
} }
.c-t-r-c-i-t-r{
.c-t-r-c-i-t-r {
width: 13%; width: 13%;
height:100%; height: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin-left: 0.5vw; margin-left: 0.5vw;
.c-t-r-c-i-t-r-text{
.c-t-r-c-i-t-r-text {
font-size: 0.9vw; font-size: 0.9vw;
color: white; color: white;
} }
.c-t-r-c-i-t-r-rect{
.c-t-r-c-i-t-r-rect {
width: 38%; width: 38%;
height: 45%; height: 45%;
background: #15c3ff; background: #15c3ff;
} }
} }
} }
.c-t-r-c-i-f{
.c-t-r-c-i-f {
width: 100%; width: 100%;
height:90%; height: 90%;
display: flex; display: flex;
align-content: flex-start; align-content: flex-start;
flex-wrap: wrap; flex-wrap: wrap;
.c-t-r-c-i-f-item{
.c-t-r-c-i-f-item {
width: 100%; width: 100%;
height:10%; height: 10%;
display: flex; display: flex;
line-height:1; line-height: 1;
margin-bottom: 1vw; margin-bottom: 1vw;
.c-t-r-c-i-f-l-u{ .c-t-r-c-i-f-l-u {
min-width: 11%; min-width: 11%;
height:100%; height: 100%;
font-size: 0.6vw; font-size: 0.6vw;
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
color: white; color: white;
} }
.c-t-r-c-i-f-l-c{
.c-t-r-c-i-f-l-c {
width: 3115%; width: 3115%;
height:100%; height: 100%;
.c-t-r-c-i-f-l-c-t{
.c-t-r-c-i-f-l-c-t {
font-size: 0.7vw; font-size: 0.7vw;
width: 100%; width: 100%;
height: 60%; height: 60%;
...@@ -1292,17 +1413,20 @@ onMounted(()=>{ ...@@ -1292,17 +1413,20 @@ onMounted(()=>{
justify-content: center; justify-content: center;
color: #ff904c; color: #ff904c;
} }
.c-t-r-c-i-f-l-c-f{
.c-t-r-c-i-f-l-c-f {
width: 100%; width: 100%;
height: 40%; height: 40%;
background: #ff904c !important; background: #ff904c !important;
box-sizing: border-box; box-sizing: border-box;
} }
} }
.c-t-r-c-i-f-r-c{
.c-t-r-c-i-f-r-c {
width: 1135%; width: 1135%;
height:100%; height: 100%;
.c-t-r-c-i-f-r-c-t{
.c-t-r-c-i-f-r-c-t {
font-size: 0.7vw; font-size: 0.7vw;
width: 100%; width: 100%;
height: 60%; height: 60%;
...@@ -1310,15 +1434,17 @@ onMounted(()=>{ ...@@ -1310,15 +1434,17 @@ onMounted(()=>{
justify-content: center; justify-content: center;
color: #15c3ff; color: #15c3ff;
} }
.c-t-r-c-i-f-r-c-f{
.c-t-r-c-i-f-r-c-f {
width: 100%; width: 100%;
height: 40%; height: 40%;
background: #15c3ff; background: #15c3ff;
} }
} }
.c-t-r-c-i-f-r-u{
.c-t-r-c-i-f-r-u {
min-width: 11%; min-width: 11%;
height:100%; height: 100%;
font-size: 0.8vw; font-size: 0.8vw;
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
...@@ -1331,23 +1457,27 @@ onMounted(()=>{ ...@@ -1331,23 +1457,27 @@ onMounted(()=>{
} }
} }
} }
.c-center{
.c-center {
width: 100%; width: 100%;
height:1%; height: 1%;
} }
.c-footer{
.c-footer {
width: 100%; width: 100%;
height: 39%; height: 39%;
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
.c-f-l{
background-color: rgba(0,239, 255, 0.1); .c-f-l {
background-color: rgba(0, 239, 255, 0.1);
border: 0.1vw solid #006883; border: 0.1vw solid #006883;
width: 32.7%; width: 32.7%;
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 0.4vw; padding: 0.4vw;
.c-f-l-t{
.c-f-l-t {
width: 100%; width: 100%;
height: 13%; height: 13%;
background-image: url("../../assets/materialImage/3.小标题.png"); background-image: url("../../assets/materialImage/3.小标题.png");
...@@ -1355,27 +1485,32 @@ onMounted(()=>{ ...@@ -1355,27 +1485,32 @@ onMounted(()=>{
display: flex; display: flex;
align-items: center; align-items: center;
} }
.c-f-l-f{
.c-f-l-f {
width: 100%; width: 100%;
height: 87%; height: 87%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.c-f-l-f-empty{
.c-f-l-f-empty {
width: 80%; width: 80%;
height: 55%; height: 55%;
background: url("../../assets/materialImage/10.暂无数据缺省图.png"); background: url("../../assets/materialImage/10.暂无数据缺省图.png");
background-size: 100% 100%; background-size: 100% 100%;
} }
.c-f-l-f-table{
.c-f-l-f-table {
width: 100%; width: 100%;
height: 100%; height: 100%;
padding-top: 0.5vw; padding-top: 0.5vw;
.c-f-l-f-title{
.c-f-l-f-title {
width: 100%; width: 100%;
height: 13%; height: 13%;
} }
.c-f-l-f-content{
.c-f-l-f-content {
width: 100%; width: 100%;
height: 87%; height: 87%;
box-sizing: border-box; box-sizing: border-box;
...@@ -1386,14 +1521,16 @@ onMounted(()=>{ ...@@ -1386,14 +1521,16 @@ onMounted(()=>{
} }
} }
.c-f-c{
background-color: rgba(0,239, 255, 0.1); .c-f-c {
background-color: rgba(0, 239, 255, 0.1);
border: 0.1vw solid #006883; border: 0.1vw solid #006883;
width: 32.7%; width: 32.7%;
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 0.4vw; padding: 0.4vw;
.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/materialImage/3.小标题.png");
...@@ -1401,69 +1538,79 @@ onMounted(()=>{ ...@@ -1401,69 +1538,79 @@ onMounted(()=>{
display: flex; display: flex;
align-items: center; align-items: center;
} }
.c-f-c-f{
.c-f-c-f {
width: 100%; width: 100%;
height: 87%; height: 87%;
padding: 0.3vw; padding: 0.3vw;
box-sizing: border-box; box-sizing: border-box;
.c-f-c-f-item{
.c-f-c-f-item {
width: 100%; width: 100%;
height: 100%; height: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
flex-wrap: nowrap; flex-wrap: nowrap;
.c-f-c-f-i-l{
.c-f-c-f-i-l {
width: 40%; width: 40%;
height: 83%; height: 83%;
display: flex; display: flex;
align-content: space-between; align-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
.c-f-c-f-i-l-t{
.c-f-c-f-i-l-t {
width: 100%; width: 100%;
height: 48%; height: 48%;
background: url("../../assets/materialImage/5.1主屏:未归寝时间数据统计(在寝人数背景).png"); background: url("../../assets/materialImage/5.1主屏:未归寝时间数据统计(在寝人数背景).png");
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;
.c-f-c-f-i-l-t-l{
width:35%; .c-f-c-f-i-l-t-l {
width: 35%;
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.c-f-c-f-i-l-t-l-image{
width:60%; .c-f-c-f-i-l-t-l-image {
width: 60%;
height: 60%; height: 60%;
background: url("../../assets/materialImage/5.2主屏:未归寝时间数据统计(在寝人数图标).png"); background: url("../../assets/materialImage/5.2主屏:未归寝时间数据统计(在寝人数图标).png");
background-size: 100% 100%; background-size: 100% 100%;
} }
} }
.c-f-c-f-i-l-t-r{
width:65%; .c-f-c-f-i-l-t-r {
width: 65%;
height: 100%; height: 100%;
display: flex; display: flex;
align-content: space-around; align-content: space-around;
justify-content: center; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
.c-f-c-f-i-l-t-r-t{
.c-f-c-f-i-l-t-r-t {
width: 100%; width: 100%;
height: 50%; height: 50%;
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
.c-f-c-f-i-l-t-r-t-number{ .c-f-c-f-i-l-t-r-t-number {
font-size: 1.3vw; font-size: 1.3vw;
color: #00afff; color: #00afff;
font-weight: bolder; font-weight: bolder;
} }
.c-f-c-f-i-l-t-r-t-unit{
.c-f-c-f-i-l-t-r-t-unit {
color: #00afff; color: #00afff;
font-weight: bolder; font-weight: bolder;
font-size: 0.8vw; font-size: 0.8vw;
} }
} }
.c-f-c-f-i-l-t-r-f{
.c-f-c-f-i-l-t-r-f {
width: 100%; width: 100%;
height: 50%; height: 50%;
display: flex; display: flex;
...@@ -1473,49 +1620,56 @@ onMounted(()=>{ ...@@ -1473,49 +1620,56 @@ onMounted(()=>{
} }
} }
} }
.c-f-c-f-i-l-f{
.c-f-c-f-i-l-f {
width: 100%; width: 100%;
height: 48%; height: 48%;
background: url("../../assets/materialImage/5.3主屏:未归寝时间数据统计(出寝人数背景).png"); background: url("../../assets/materialImage/5.3主屏:未归寝时间数据统计(出寝人数背景).png");
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;
.c-f-c-f-i-l-f-l{
width:35%; .c-f-c-f-i-l-f-l {
width: 35%;
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.c-f-c-f-i-l-f-l-image{
width:60%; .c-f-c-f-i-l-f-l-image {
width: 60%;
height: 60%; height: 60%;
background: url("../../assets/materialImage/5.4主屏:未归寝时间数据统计(出寝人数图标).png"); background: url("../../assets/materialImage/5.4主屏:未归寝时间数据统计(出寝人数图标).png");
background-size: 100% 100%; background-size: 100% 100%;
} }
} }
.c-f-c-f-i-l-f-r{
width:65%; .c-f-c-f-i-l-f-r {
width: 65%;
height: 100%; height: 100%;
display: flex; display: flex;
align-content: space-around; align-content: space-around;
justify-content: center; justify-content: center;
flex-wrap: wrap; flex-wrap: wrap;
.c-f-c-f-i-l-f-r-t{
.c-f-c-f-i-l-f-r-t {
width: 100%; width: 100%;
height: 50%; height: 50%;
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
.c-f-c-f-i-l-f-r-t-number{ .c-f-c-f-i-l-f-r-t-number {
font-size: 1.3vw; font-size: 1.3vw;
font-weight: bolder; font-weight: bolder;
} }
.c-f-c-f-i-l-f-r-t-unit{
.c-f-c-f-i-l-f-r-t-unit {
font-weight: bolder; font-weight: bolder;
font-size: 0.8vw; font-size: 0.8vw;
} }
} }
.c-f-c-f-i-l-f-r-f{
.c-f-c-f-i-l-f-r-f {
width: 100%; width: 100%;
height: 50%; height: 50%;
display: flex; display: flex;
...@@ -1526,23 +1680,27 @@ onMounted(()=>{ ...@@ -1526,23 +1680,27 @@ onMounted(()=>{
} }
} }
} }
.c-f-c-f-i-r{
.c-f-c-f-i-r {
width: 54%; width: 54%;
height: 83%; height: 83%;
display: flex; display: flex;
align-content: space-between; align-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
.c-f-c-f-i-r-title{
width:100%; .c-f-c-f-i-r-title {
width: 100%;
height: 15%; height: 15%;
display: flex; display: flex;
align-items: center; align-items: center;
.c-f-c-f-i-r-title-l{
.c-f-c-f-i-r-title-l {
width: 1.4%; width: 1.4%;
height: 100%; height: 100%;
background: #00ffff; background: #00ffff;
} }
.c-f-c-f-i-r-title-r{
.c-f-c-f-i-r-title-r {
display: flex; display: flex;
align-items: center; align-items: center;
font-size: 0.8vw; font-size: 0.8vw;
...@@ -1553,17 +1711,20 @@ onMounted(()=>{ ...@@ -1553,17 +1711,20 @@ onMounted(()=>{
color: #00ffff; color: #00ffff;
} }
} }
.c-f-c-f-i-r-item{
width:100%; .c-f-c-f-i-r-item {
width: 100%;
height: 17%; height: 17%;
display: flex; display: flex;
.c-f-c-f-i-r-item-l{
.c-f-c-f-i-r-item-l {
width: 10%; width: 10%;
height: 100%; height: 100%;
background: url("../../assets/materialImage/7.主屏、分屏:未归寝时间数据统计(截止时间图标).png"); background: url("../../assets/materialImage/7.主屏、分屏:未归寝时间数据统计(截止时间图标).png");
background-size: 100% 100%; background-size: 100% 100%;
} }
.c-f-c-f-i-r-item-r{
.c-f-c-f-i-r-item-r {
width: 90%; width: 90%;
height: 100%; height: 100%;
margin-left: 1vw; margin-left: 1vw;
...@@ -1577,51 +1738,60 @@ onMounted(()=>{ ...@@ -1577,51 +1738,60 @@ onMounted(()=>{
} }
} }
} }
.c-f-r{
background-color: rgba(0,239, 255, 0.1); .c-f-r {
background-color: rgba(0, 239, 255, 0.1);
border: 0.1vw solid #006883; border: 0.1vw solid #006883;
width: 32.7%; width: 32.7%;
height: 100%; height: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 0.4vw; padding: 0.4vw;
.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/materialImage/3.小标题.png");
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.c-f-r-f{
.c-f-r-f {
width: 100%; width: 100%;
height: 87%; height: 87%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
.c-f-r-f-empty{
.c-f-r-f-empty {
width: 70%; width: 70%;
height: 50%; height: 50%;
background: url("../../assets/materialImage/10.暂无数据缺省图.png"); background: url("../../assets/materialImage/10.暂无数据缺省图.png");
background-size: 100% 100%; background-size: 100% 100%;
} }
.c-f-r-f-table{
.c-f-r-f-table {
box-sizing: border-box; box-sizing: border-box;
padding-top: 0.5vw; padding-top: 0.5vw;
width: 100%; width: 100%;
height: 100%; height: 100%;
.c-f-r-f-t-t{
.c-f-r-f-t-t {
width: 100%; width: 100%;
height: 13%; height: 13%;
} }
.c-f-r-f-t-f{
.c-f-r-f-t-f {
width: 100%; width: 100%;
height: 87%; height: 87%;
} }
.scroll { .scroll {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow:hidden ; overflow: hidden;
} }
.scroll .item { .scroll .item {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -1642,10 +1812,11 @@ onMounted(()=>{ ...@@ -1642,10 +1812,11 @@ onMounted(()=>{
padding: 14px 16px; padding: 14px 16px;
line-height: 1; line-height: 1;
overflow: auto; overflow: auto;
background-color: rgba(0,239, 255, 0.5); background-color: rgba(0, 239, 255, 0.5);
border: 0.1vw solid #006883; border: 0.1vw solid #006883;
} }
.ivu-drawer-body{
.ivu-drawer-body {
width: 100%; width: 100%;
height: calc(100% - 51px); height: calc(100% - 51px);
padding: 16px; padding: 16px;
...@@ -1654,7 +1825,7 @@ onMounted(()=>{ ...@@ -1654,7 +1825,7 @@ onMounted(()=>{
word-wrap: break-word; word-wrap: break-word;
position: absolute; position: absolute;
overflow: auto; overflow: auto;
background-color: rgba(0,239, 255, 0.1); background-color: rgba(0, 239, 255, 0.1);
border: 0.1vw solid #006883; border: 0.1vw solid #006883;
} }
</style> </style>
Markdown 格式
0% or
您添加了 0 人 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册 或