3 Star 0 Fork 0

一又/big-screen-test

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
aqsy.html 40.56 KB
一键复制 编辑 原始数据 按行查看 历史
一又 提交于 2021-07-06 00:34 . feat: fix height2
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>丽水市教育系统食堂采购溯源大数据</title>
<link rel="stylesheet" href="./css/slick.css">
<link href="./css/index.css" media="all" rel="stylesheet">
<link href="./css/aqsy.css" media="all" rel="stylesheet">
<link rel="stylesheet" href="./css/tracesource.css">
<style>
html {
font-size: 62.5% !important;
/* 10÷16=62.5% */
}
@media only screen and (min-width: 481px) {
html {
font-size: 80% !important;
/* 15.04÷16=94% */
}
}
@media only screen and (min-width: 720px) {
html {
font-size: 90% !important;
/* 17.44÷16=109% */
}
}
@media only screen and (min-width: 1920px) {
html {
font-size: 100% !important;
/* 20÷16=125% */
}
w .siper-container {
width: 900px !important;
height: 600px !important;
}
}
/* 4k分辨率下 */
@media only screen and (min-width: 3840px) {
html {
font-size: 300% !important;
/* 20÷16=125% */
}
}
/* 4k分辨率下结束 */
</style>
</head>
<body>
<div class="wrapper">
<div class="header" id="header">
<img class="header-bg" src="./images/header-bg.png" />
<div class="header-content">
<div class="left-content header-left">
<div class="time-container">
<img src="./images/header-time.png" />
<div class="time-content">
<p id="time"></p>
<span id="date"></span>
</div>
</div>
<div class="time-btn time-btn-left">
<img src="./images/icon/jiben.png" />基本情况
</div>
</div>
<div class="center-content">
<div class="title">
<span>丽水市教育系统食堂采购溯源大数据</span>
</div>
</div>
<div class="right-content header-right">
<div class="time-btn time-btn-right">
<img src="./images/icon/suyuan.png" />采购溯源
</div>
<div class="user-container">
<img src="./images/header-user.png" class="logo" />
<span class="username">ching126</span>
<div class="exit">
<img src="./images//header-exit.png" />
</div>
</div>
</div>
</div>
</div>
<div class="container" id="container">
<div class="container-mid">
<div class="left-content">
<div id="purchase-summary" class="info" style=' height: calc(calc(calc(100% - 0.6rem) / 2) * 1);'>
<div class="up" style="height: 10%;padding-bottom: 15px;">
<img src="./images/icon/left1.png" alt="">
<p class="title">分区采购汇总</p>
</div>
<div class="down" style="height: 90%;">
<div class="left">
<ul>
<li class="day">
<span class="text">今日</span>
<span class="totalnum">1888</span>
<span></span>
<img src="images/arrow-green.png" style="height: 15px;width: 10px;" alt="">
</li>
<li class="month">
<span class="text">本月</span>
<span class="totalnum">9888</span>
<span></span>
<img src="images/arrow-green.png" style="height: 15px;width: 10px;" alt="">
</li>
<li class="year">
<span class="text">本年</span>
<span class="totalnum">109888</span>
<span></span>
<img src="images/arrow-red.png" style="height: 15px;width: 10px;" alt="">
</li>
</ul>
<div class="school">
<img src="./images/kindergarten.png" alt="">
<span class="text">幼儿园:1000所</span>
</div>
</div>
<div class="center">
<ul>
<li class="day">
<span class="text">今日</span>
<span class="totalnum">2888</span>
<span></span>
<img src="images/arrow-red.png" style="height: 15px;width: 10px;" alt="">
</li>
<li class="month">
<span class="text">本月</span>
<span class="totalnum">9888</span>
<span></span>
<img src="images/arrow-red.png" style="height: 15px;width: 10px;" alt="">
</li>
<li class="year">
<span class="text">本年</span>
<span class="totalnum">209888</span>
<span></span>
<span></span>
</li>
</ul>
<div class="school">
<img src="./images/school.png" alt="">
<span class="text">小学:1200所</span>
</div>
</div>
<div class="right ">
<ul>
<li class="day">
<span class="text">今日</span>
<span class="totalnum">1888</span>
<span></span>
<img src="images/arrow-green.png" style="height: 15px;width: 10px;" alt="">
</li>
<li class="month">
<span class="text">本月</span>
<span class="totalnum">6888</span>
<span></span>
<img src="images/arrow-green.png" style="height: 15px;width: 10px;" alt="">
</li>
<li class="year">
<span class="text">本年</span>
<span class="totalnum">36888</span>
<span></span>
<span></span>
</li>
</ul>
<div class="school">
<img src="./images/highschool.png" alt="">
<span class="text">初中:1600所</span>
</div>
</div>
</div>
</div>
<div id="purchase-category" class="info"
style=' height: calc(calc(calc(100% - 0.6rem) / 2) * 1);margin-bottom: 0;'>
<div class="up">
<img src="./images/icon/left2.png" alt="">
<p class="title">采购分类占比</p>
</div>
<div class="down"
style="height: 90%;display: flex;justify-content: space-evenly;align-items: center;">
<div id="month-static"></div>
<div id="year-static"></div>
</div>
</div>
</div>
<div class="center-content" style="margin-bottom: 0">
<div class="info-big" style="margin-bottom: 0">
<div class="up" style="height: 10%;margin-left:20px;">
<img src="./images/icon/center.png" alt="">
<p class="title">区域采购数据</p>
</div>
<div class="down" style="height: 90%;">
<div id="map"></div>
</div>
<div class="map-info">
<div class="minfo">
<h3 class="count">123<span class="unit"></span></h3>
<p class="type">幼儿园</p>
<p class="unit">58所</p>
</div>
<div class="minfo">
<h3 class="count">123<span class="unit"></span></h3>
<p class="type">小学</p>
<p class="unit">102所</p>
</div>
<div class="minfo">
<h3 class="count">123<span class="unit"></span></h3>
<p class="type">初中</p>
<p class="unit">15所</p>
</div>
</div>
<div id='backBtn' class="backbtn">返回</div>
</div>
</div>
<div class="right-content">
<div id='pic' class="info" style="margin-bottom: 0.2rem;">
<div class="up">
<img src="./images/icon/right1.png" alt="">
<p class="title">违规照片</p>
</div>
<div class="down">
<div class="left">
<img src="./images/right/weiguipic.png" alt="">
<span>2021.06.28 12:56</span>
</div>
<div class="right">
<ul>
<li>
<span class="fieldngit ame">学校名称</span><br>
<span class="fieldvalue">丽水市职业高级中学</span>
</li>
<li>
<span class="fieldname">学校名称</span><br>
<span class="fieldvalue">丽水市职业高级中学</span>
</li>
<li>
<span class="fieldname">学校名称</span><br>
<span class="fieldvalue">丽水市职业高级中学</span>
</li>
</ul>
</div>
</div>
</div>
<div class="info" style="margin-bottom: 0.2rem;">
<div class="up">
<img src="./images/icon/right2.png" alt="">
<p class="title">消毒台账统计</p>
</div>
<div class="down">
<div id="xiaodu-pie" class="left"></div>
<div id='xiaodu-bar' class="right"></div>
</div>
</div>
<div class="info" style="margin-bottom: 0;">
<div class="up">
<img src="./images/icon/liuyang-icon.png" alt="">
<p class="title">留样台账</p>
</div>
<div class="down">
<div id="liuyang-pie" class="left"></div>
<div id='liuyang-bar' class="right"></div>
</div>
</div>
</div>
</div>
<div class="container-bottom">
<div class="info bottom-mid" style="height: 78%;">
<div class="jiance" style="display: flex;height: 20%;">
<div class="up" style="width: 60%;">
<img src="./images/icon/bottom1.png" alt="">
<p class="title">检测汇总(<span class='text-style-1'>103</span><span
style="color: red;">/3</span>
</p>
</div>
<!-- <ul class="ul-txt1 jiance" style="flex:1;display: flex;justify-content: flex-end;">
<li id="jianceBtn1" class="mli0">价格预警</li>
<li id="jianceBtn2" class="mli1">过期预警</li>
</ul> -->
</div>
<div class="warn-table">
<div class="m-tablel2">
<div class="top">
<!-- <span class="s1"></span>
<span class="s2"></span>
<span class="s3"></span>
<span class="s4"></span> -->
<!-- <span class="s5">过期天数</span> -->
<table>
<tr>
<th>配送公司</th>
<th>检测总批次</th>
<th>不合格批次</th>
</tr>
</table>
</div>
<div class="m-slick2">
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市配送公司1</td>
<td>10次</td>
<td>10次</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市配送公司1</td>
<td>10次</td>
<td>10次</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市配送公司1</td>
<td>10次</td>
<td>10次</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市配送公司1</td>
<td>10次</td>
<td>10次</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市配送公司1</td>
<td>10次</td>
<td>10次</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市配送公司1</td>
<td>10次</td>
<td>10次</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市配送公司1</td>
<td>10次</td>
<td>10次</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市配送公司1</td>
<td>10次</td>
<td>10次</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市配送公司1</td>
<td>10次</td>
<td>10次</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市配送公司1</td>
<td>10次</td>
<td>10次</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="info" style="height: 78%;">
<div class="up" style="height: 10%;">
<img src="./images/icon/bottom2.png" alt="">
<p class="title">分类食材采购量top5</p>
</div>
<ul id='selectFood' class="ul-txt1">
<li class="li0">蔬菜类</li>
<li class="li1">肉蛋类</li>
<li class="li2">冻品类</li>
<li class="li3">水产类</li>
</ul>
<div id="caigouliang-bar" style="height: 60%;"></div>
</div>
<div class="info bottom-big guoqi" style="height: 78%;">
<div class="up" style="display:flex;flex-direction:row;justify-content:space-between;">
<div class="" style="display: flex;align-items: center;flex: 1;">
<img src="./images/icon/bottom3.png" alt="">
<p class="title">过期预警</p>
</div>
<ul id="test1" class="ul-txt1" style="flex: 2;display: flex;justify-content: flex-end;">
<li class="gli0">价格预警</li>
<li class="gli1">过期预警</li>
<!-- <li class="gli2">冻品类</li>
<li class="gli3">水产类</li> -->
</ul>
</div>
<div class="warn-table">
<div class="m-tablel2">
<div class="top">
<!-- <span class="s1"></span>
<span class="s2"></span>
<span class="s3"></span>
<span class="s4"></span> -->
<!-- <span class="s5">过期天数</span> -->
<table>
<tr>
<th>学校名称</th>
<th>商品名称</th>
<th>预警内容</th>
<th>过期日期</th>
</tr>
</table>
</div>
<div class="m-slick2">
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市文元学校</td>
<td>大米</td>
<td>2021.07.08过期</td>
<td>2021.07.02</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市文元学校</td>
<td>大米</td>
<td>2021.07.08过期</td>
<td>2021.07.02</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市文元学校</td>
<td>大米</td>
<td>2021.07.08过期</td>
<td>2021.07.02</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市文元学校</td>
<td>大米</td>
<td>2021.07.08过期</td>
<td>2021.07.02</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市文元学校</td>
<td>大米</td>
<td>2021.07.08过期</td>
<td>2021.07.02</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市文元学校</td>
<td>大米</td>
<td>2021.07.08过期</td>
<td>2021.07.02</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市文元学校</td>
<td>大米</td>
<td>2021.07.08过期</td>
<td>2021.07.02</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市文元学校</td>
<td>大米</td>
<td>2021.07.08过期</td>
<td>2021.07.02</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市文元学校</td>
<td>大米</td>
<td>2021.07.08过期</td>
<td>2021.07.02</td>
</tr>
</tbody>
</table>
</div>
<div class="item">
<table>
<tbody>
<tr>
<td>丽水市文元学校</td>
<td>大米</td>
<td>2021.07.08过期</td>
<td>2021.07.02</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="info" style="height: 78%;">
<div class="up">
<img src="./images/icon/bottom4.png" alt="">
<p class="title">餐饮浪费</p>
</div>
<div class="down langfei-static">
<div class="canyin" style="background:url('./images/bg/shitang.png');background-repeat: no-repeat;
background-size: cover;
background-position: center;">
<div class="left">
<span class="canguan-num">1680</span>
<span class="canguan-field">食堂总数(家)</span>
</div>
<div class="right">
<span class="canguan-num">12</span>
<span class="canguan-field">上报数(家)</span>
</div>
</div>
<div class="canyin" style="background:url('./images/bg/shitang2.png');background-repeat: no-repeat;
background-size: cover;
background-position: center;
margin-top: 1.25rem;">
<div class="left">
<span class="canguan-num">1680</span>
<span class="canguan-field">采购总数(斤)</span>
</div>
<div class="right">
<span class="canguan-num">12</span>
<span class="canguan-field">废弃数(斤)</span>
</div>
</div>
</div>
</div>
<div class="info" style="height: 78%;">
<div class="up">
<img src="./images/icon/bottom5.png" alt="">
<p class="title">人均废弃量top5</p>
</div>
<div class="down">
<div id="feiqiliang-bar"></div>
</div>
</div>
</div>
</div>
</div>
</body>
<script src="./js/jquery-1.11.0.min.js"></script>
<script src="./js/echarts.min.js"></script>
<!-- <script src="https://cdn.bootcdn.net/ajax/libs/echarts/5.1.2/echarts.common.js"></script> -->
<script src="./js/time.js"></script>
<script src="./js/tracesource.js"></script>
<!-- 地图js -->
<script src="./js/mapIcon.js"></script>
<script src="./js/map.js" type="module"></script>
<script src="./js/slick.min.js"></script>
<script>
setTimeout(() => {
let height = document.body.clientHeight;
let headerH = $("#header").height();
$("#container").height(height - headerH)
}, 100)
//分区采购汇总图
//采购分类图
//用餐情况统计
var fenleiData1 = [{
value: 334,
name: '肉蛋禽'
},
{
value: 300,
name: '冻品'
},
{
value: 350,
name: '蔬菜'
},
{
value: 150,
name: '调味干货'
},
]
var fenleiColor1 = ['#2fa9ff', '#58ba27', '#fd454e', '#f0c321']
var fenleiData2 = [{
value: 334,
name: '肉蛋禽'
},
{
value: 300,
name: '冻品'
},
{
value: 350,
name: '蔬菜'
},
{
value: 150,
name: '调味干货'
},
]
var fenleiColor2 = ['#2fa9ff', '#58ba27', '#fd454e', '#f0c321']
fenleipercent(echarts, 'month-static', fenleiData1, fenleiColor1, '本月(元)');
fenleipercent(echarts, 'year-static', fenleiData2, fenleiColor2, '本年(元)');
// 3d地图
// map3d(echarts, '3dmap');
//分类食材top5,横向柱状图
var foodCate = ['土豆(斤)', '大白菜(斤)', '鸡肉(斤)', '鸡蛋(斤)', '猪肉(斤)']
var foodNum = [1000, 900, 800, 700, 600];
setTimeout(() => { hengxiangbar2(echarts, 'caigouliang-bar', foodCate, foodNum); }, 100)
/*****************监测汇总,点击切换样式******************/
let clickIndex;
//获取liBtn的索引号,点击切换切换样式
$('.jiance li').click(function (e) {
clickIndex = $('ul.jiance li').index(this);
// if(clickIndex==tempMonitorIndex){
// return;
// }
if (clickIndex == 0) {
$('#jianceBtn1').addClass('on');
$('#jianceBtn2').removeClass('on');
} else {
$('#jianceBtn1').removeClass('on');
$('#jianceBtn2').addClass('on');
}
})
//自动切换样式,移入移出暂停切换
let monitorIndex = 0;
let tempMonitorIndex;
let monitorClassName;
function move() {
if (monitorIndex > 1) {
monitorIndex = 0;
}
if (tempMonitorIndex >= 0) {
monitorClassName = '.mli' + tempMonitorIndex;
$(monitorClassName).removeClass('on');
}
monitorClassName = '.mli' + monitorIndex;
$(monitorClassName).addClass('on');
tempMonitorIndex = monitorIndex;
monitorIndex++
}
let monitorInteval = setInterval(move, 2000);
$('.jiance>ul').mouseenter(function (event) {
// event.stopPropagation(); // 阻止事件冒泡
clearInterval(monitorInteval);
});
$('.jiance>ul').mouseleave(function (event) {
// event.stopPropagation(); // 阻止事件冒泡
clearInterval(monitorInteval);
monitorInteval = setInterval(move, 2000);
});
/*****************分类食材自动切换样式*******************/
let fenleiindexFlag = 0;
let fenleitempIndex; //记录上一次的索引号
let fenleiclassName;
function fenleiMove() {
if (fenleiindexFlag > 3) {
fenleiindexFlag = 0; //重置索引号
}
// console.log(tempIndex);
if (fenleitempIndex >= 0) {
fenleiclassName = ".li" + fenleitempIndex;
$(fenleiclassName).removeClass('on');
// console.log(1);
}
fenleiclassName = ".li" + fenleiindexFlag;
$(fenleiclassName).addClass('on');
// console.log(2);
fenleitempIndex = fenleiindexFlag;
fenleiindexFlag++;
}
let fenleiIterval = setInterval(fenleiMove, 2000);
//控制样式自动
$('#selectFood li').mouseenter(function () {
clearInterval(fenleiIterval);
});
$('#selectFood li').mouseleave(function () {
clearInterval(fenleiIterval);
fenleiIterval = setInterval(fenleiMove, 2000);
});
//分类点击切换样式
let foodSelIndex;
$('#selectFood li').click(function () {
foodSelIndex = $('#selectFood li').index(this);
$(this).addClass('on');
// console.log(foodSelIndex);
// console.log(fenleitempIndex);
if (foodSelIndex != fenleitempIndex) {
$('#selectFood li').eq(fenleitempIndex).removeClass('on');
}
fenleitempIndex = foodSelIndex;
});
//分类食材采购top5横向bar
hengxiangbar(echarts, 'caigouliang-bar', foodCate, foodNum);
/**************过期预警********************/
//过期预警tab点击效果
// var lastIndex;
// $("#test1").click(function (e) {
// //获取点击元素的索引号
// var index = $("#test1 li").index(this);
// if (lastIndex) {//不是第一个
// $("ul#test1").children(lastIndex).removeClass("on");
// }
// lastIndex = index;
// $(e.target).addClass('on');
// });
let guoqiindexFlag = 0;
let guoqitempIndex; //记录上一次的索引号
let guoqiclassName;
function guoqiMove() {
// console.log(333);
if (guoqiindexFlag > 3) {
guoqiindexFlag = 0; //重置索引号
}
// console.log(tempIndex);
if (guoqitempIndex >= 0) {
guoqiclassName = ".gli" + guoqitempIndex;
$(guoqiclassName).removeClass('on');
// console.log(1);
}
guoqiclassName = ".gli" + guoqiindexFlag;
$(guoqiclassName).addClass('on');
// console.log(2);
guoqitempIndex = guoqiindexFlag;
guoqiindexFlag++;
}
let guoqiIterval = setInterval(guoqiMove, 2000);
$('#test1 li').mouseenter(function (event) {
// event.stopPropagation(); // 阻止事件冒泡
clearInterval(guoqiIterval);
// console.log(111);
});
$('#test1 li').mouseleave(function (event) {
// event.stopPropagation(); // 阻止事件冒泡
clearInterval(guoqiIterval);
guoqiIterval = setInterval(guoqiMove, 2000);
// console.log(222);
});
//单击控制样式自动
let guoqiSelIndex;
$('#test1 li').click(function () {
guoqiSelIndex = $('#test1 li').index(this);
$(this).addClass('on');
// console.log(guoqiSelIndex);
// console.log(guoqitempIndex);
if (guoqiSelIndex != guoqitempIndex) {
$('#test1 li').eq(guoqitempIndex).removeClass('on');
}
guoqitempIndex = guoqiSelIndex;
});
//人均废弃量top5
setTimeout(() => { feiqiliang(echarts, 'feiqiliang-bar'); }, 100)
//检查明细
//消毒台账统计
var xiaoduData = [{
value: 900,
name: '已完成'
},
{
value: 780,
name: '未完成'
},
]
var xiaoduColor1 = ['#56b9ff', '#f3cf4d']
xiaoduchart(echarts, 'xiaodu-pie', xiaoduData, xiaoduColor1);
var sanweibardata = ["餐具消毒数(个)", "公共用具消毒(个)"]
sanweibar2(echarts, 'xiaodu-bar');
//刘杨台账
var liuyangData = [{
value: 900,
name: '已完成'
},
{
value: 780,
name: '未完成'
},
]
xiaoduchart(echarts, 'liuyang-pie', liuyangData, xiaoduColor1);
sanweibar3(echarts, 'liuyang-bar');
//过期预警
$(document).ready(function () {
$('.m-slick2').slick({
dots: false,
arrows: false,
infinite: true,
autoplay: true,
vertical: true,
autoplaySpeed: 5000,
fade: false,
pauseOnFocus: false,
pauseOnHover: false,
pauseOnDotsHover: false,
speed: 500,
slidesToShow: 4,
slidesToScroll: 4
});
$('.m-slick1').slick({
dots: false,
arrows: false,
infinite: true,
autoplay: true,
vertical: true,
autoplaySpeed: 5000,
fade: false,
pauseOnFocus: false,
pauseOnHover: false,
pauseOnDotsHover: false,
speed: 500,
slidesToShow: 4,
slidesToScroll: 4
});
});
</script>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yiyou1/big-screen-test.git
[email protected]:yiyou1/big-screen-test.git
yiyou1
big-screen-test
big-screen-test
master

搜索帮助