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

20241016 保存

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