master
lion 3 years ago
commit 7738708ea1

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -0,0 +1,461 @@
@charset "utf-8";
body{ font-family:pingfang-r,"微软雅黑","思源黑体"; margin:0; padding:0; color: #444;}
p,dl,dd,ul,ol,li,h1,h2,h3,h4,h5,h6{ margin:0; padding:0;}
h1,h2,h3,h4,h5,h6,dt{ font-weight:normal;}
li{ list-style:none;}
a{text-decoration:none;}
a:focus, a:hover{text-decoration:none;}
img{ border: none; outline: none;}
input,button{ border:none; outline:none; background: none;}
button:hover,button:focus,button:active{ outline: none; }
input::-moz-placeholder{ color: #aaa;}
input:-ms-input-placeholder { color: #aaa; }
input::-webkit-input-placeholder{ color:#aaa; }
input::placeholder{ color:#aaa; }
textarea::-moz-placeholder{color:#aaa; }
textarea:-ms-input-placeholder { color:#aaa; }
textarea::-webkit-input-placeholder{ color:#aaa; }
.clear{clear: both; margin: 0; padding: 0;}
.clearfix:after{ content: ""; display:block; height: 0; clear: both; visibility: hidden;}
.clearfix{*zoom:1;}
/*谷哥滚动条样式*/
::-webkit-scrollbar {width:5px;height:5px;position:absolute}
::-webkit-scrollbar-thumb {background-color:#5bc0de}
::-webkit-scrollbar-track {background-color:#ddd}
body,html{
width: 100%;
height: 100%;
}
body{
background-size: 100% auto;
}
.fl{
float: left;
}
.fr{
float: right;
}
.main{
width: 100%;
height: 100%;
}
.mainhead{
overflow: hidden;
height: 1.2rem;
width: 100%;
padding: 0 .4rem;
background: url(../images/headbg.png) no-repeat left bottom;
background-size: 100% auto;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.mainhead .logobox{
margin-top: .22rem;
width: 33.2%;
box-sizing: border-box;
}
.mainhead .logobox img{
width: 56.4%;
height: auto;
}
.mainhead .logobox span{
font-size: .2rem;
color: rgba(183,239,255,.5);
font-weight: bold;
margin-left: 6px;
vertical-align: middle;
}
.navbox{
margin-top: .24rem;
text-align: right;
}
.navbox li{
display: inline-block;
line-height: .42rem;
margin-right: .5rem;
}
.navbox li a{
font-size: .2rem;
color:#02f7f4;
width:auto;
border:none;
box-shadow: none;
}
.navbox li a.islogin{
font-size: .2rem;
color: #fff;
border: 1px solid #02f7f4;
/* padding: 10px; */
display: inline-block;
border-radius: 50%;
width: 55px;
height: 55px;
background: transparent;
text-align: center;
margin-top: -10px;
line-height: 55px;
box-shadow: 0 0 5px 0px #b7efff;
}
.navbox li a:hover{
color: #02f7f4;
}
.main .main-content{
width: 100%;
height: calc(100% - 135px);
padding: 0 .3rem 0 .3rem;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.main .con-left{
width: 25.5%;
height: 100%;
}
.main .con-left .left-top{
width: 100%;
height: calc(65.8% - 10px);
position: relative;
}
.boxstyle{
padding: .2rem .2rem;
position: relative;
margin-bottom: 10px;
background-size: 100% 100%;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
background-position: left top;
background-repeat: no-repeat;
}
.left-top .left-type{
width: 100%;
height: 41.25%;
background-image: url(../images/lisbg1.jpg);
}
.commontitle{
font-size: .18rem;
color: #b7efff;
line-height: .49rem;
background-size: .49rem;
padding-left: .49rem;
background-position: left center;
background-repeat: no-repeat;
}
.left-type .commontitle{
background-image: url(../images/icon_home.png);
}
.left-type ul{
overflow: hidden;
width: 95%;
margin: 0 auto;
}
.left-type ul li{
float: left;
width: 28.5%;
margin-top: .05rem;
margin-bottom: .1rem;
margin-right: 7.25%;
background: url(../images/li_type.png) no-repeat left top;
background-size: 100% auto;
}
.left-type ul li a{
display: flex;
align-items: center;
overflow: hidden;
padding: .14rem .12rem .11rem;
}
.left-type ul li i.iconimg{
/* float: left; */
width: .34rem;
height: .32rem;
background-repeat: no-repeat;
background-position: left center;
background-size: 100% auto;
}
.left-type ul li .type-title{
/* float: left */
margin-left: .08rem;
}
.left-type ul li h2{
font-size: .2rem;
color: #02f7f4;
}
.left-type ul li h2 span:last-child{
font-size: .16rem;
}
.left-type ul li p{
font-size: .14rem;
color: #fff;
}
.left-type ul li.index0 i.iconimg{
background-image: url(../images/icon_img1.png);
}
.left-type ul li.index1 i.iconimg{
background-image: url(../images/icon_img2.png);
}
.left-type ul li.index2 i.iconimg{
background-image: url(../images/icon_img3.png);
}
.left-type ul li.index3 i.iconimg{
background-image: url(../images/icon_img4.png);
}
.left-type ul li.index4 i.iconimg{
background-image: url(../images/icon_img5.png);
}
.left-top .top-bottom{
height: calc(58.75% - 15px);
width: 100%;
background-image: url(../images/lisbg2.jpg);
}
.top-bottom .commontitle{
background-image: url(../images/icon_active.png);
}
.main .charts{
width: 100%;
height: calc(100% - 49px);
}
.left-bottom{
width: 100%;
height: 34.2%;
background-image: url(../images/lisbg3.jpg);
background-size: 100% 100%;
overflow: hidden;
}
.left-bottom .commontitle{
background-image: url(../images/icon_company.png);
}
.left-bottom .left_tab{
overflow: hidden;
}
.left_tab span{
float: left;
width: 25%;
cursor: pointer;
text-align: center;
font-size: .14rem;
color: #02f7f4;
padding-bottom: .18rem;
height: .39rem;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.left_tab span:hover{
color: #fff;
font-size: .16rem;
background:url(../images/solid_r.jpg) no-repeat bottom center;
background-size: 100% auto;
}
.left_tab span.active{
color: #fff;
font-size: .16rem;
background:url(../images/solid_r.jpg) no-repeat bottom center;
background-size: 100% auto;
}
.left-bottom .plbox{
width: 97%;
margin: 0 auto;
margin-top: .05rem;
}
.left-bottom .plbox ul li{
overflow: hidden;
padding-right: .1rem;
line-height: .3rem;
}
.left-bottom .plbox ul li a{
float: left;
font-size: .14rem;
color: #fff;
}
.left-bottom .plbox ul li span{
float: right;
font-size: .2rem;
color: #02f7f4;
}
.main .con-center{
width: 49%;
height: 100%;
padding: 0 .4rem;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.con-center .center-top{
overflow: hidden;
height: 19.66%;
position: relative;
z-index: 1;
}
.center-top li{
float: left;
width: 12.6%;
margin-right: 16.5%;
text-align: center;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.center-top li .imgbox{
}
.center-top li img{
width: .95rem;
height:.95rem;
}
.center-top li .center-title{
padding-top: .07rem;
padding-bottom: .06rem;
text-align: center;
background: url(../images/libg.png) no-repeat left top;
background-size: 100% 100%;
}
.center-top li p{
font-size: .32rem;
font-weight: bold;
color: #f99a04;
line-height: .28rem;
}
.center-top li span{
color: #fff;
font-size: .14rem;
}
.center-map{
height: 59.4%;
text-align: center;
position: relative;
z-index: 0;
background: url("../images/bg_map.png") no-repeat;
background-size:cover;
}
.center-map img{
height: 100%;
width: auto;
}
.center-bottom{
height: 20%;
padding-top: 0.1rem;
background-image: url(../images/lisbg7.jpg);
}
.center-bottom .commontitle{
font-size: .2rem;
text-align: center;
padding-left: 0;
}
.center-bottom .currenbox{
width: 95%;
margin: auto;
margin-top:10px
}
.currenbox h2{
font-size: .18rem;
color: #fff;
margin-bottom: .1rem;
}
.currenbox h2 a{
color: #b7efff;
}
.currenbox p{
color: #fff;
line-height:.24rem;
font-size:.14rem;
}
.main .con-right{
width: 25.5%;
height: 100%;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}
.right-top{
height:30.875%;
}
.con-right .top-list{
overflow: hidden;
}
.top-list li{
float: left;
width: 22.76%;
padding-top: .1rem;
padding-bottom: 0.2rem;
margin-right: 2.98%;
background: url(../images/libg1.png) no-repeat left top;
background-size: 100% 100%;
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
text-align: center;
}
.top-list li p{
color: #02f7f4;
font-size:.16rem;
}
.top-list li b{
font-size: .2rem;
}
.top-list li span{
color: #fff;
font-size: .14rem;
}
.cggsbox{
margin-top: .1rem;
height: 69.44%;
background: url(../images/lisbg4.jpg) no-repeat left top;
background-size: 100% 100%;
}
.cggsbox .commontitle{
background-image: url(../images/icon_cg.png);
}
.cggsbox ul{
width: 95%;
margin: 0 auto;
}
.cggsbox ul li{
overflow: hidden;
line-height: .3rem;
}
.cggsbox ul li a{
float: left;
width: 78%;
font-size: .14rem;
color: #fff;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cggsbox ul li span{
float: right;
color: #02f7f4;
font-size:.14rem;
}
.cggsbox ul li:hover a{
color: #02f7f4;
}
.right-center{
width: 100%;
height: 34.8958%;
background-image: url(../images/lisbg5.jpg);
margin-top: 10px;
padding-bottom: 10px;
padding-top: .1rem;
margin-bottom: 0;
}
.right-center .commontitle{
background-image: url(../images/icon_xq.png);
}
.right-bottom{
height: 32.2292%;
background-image: url(../images/lisbg6.jpg);
}
.right-bottom .commontitle{
background-image: url(../images/icon_service.png);
}
/* 首页 */

File diff suppressed because it is too large Load Diff

@ -0,0 +1,125 @@
/*
* Swiper 2.7.6
* Mobile touch slider and framework with hardware accelerated transitions
*
* http://www.idangero.us/sliders/swiper/
*
* Copyright 2010-2015, Vladimir Kharlampidi
* The iDangero.us
* http://www.idangero.us/
*
* Licensed under GPL & MIT
*
* Released on: February 11, 2015
*/
/* ===============================================================
Basic Swiper Styles
================================================================*/
.swiper-container {
margin:0 auto;
position:relative;
overflow:hidden;
direction:ltr;
-webkit-backface-visibility:hidden;
-moz-backface-visibility:hidden;
-ms-backface-visibility:hidden;
-o-backface-visibility:hidden;
backface-visibility:hidden;
/* Fix of Webkit flickering */
z-index:1;
}
.swiper-wrapper {
position:relative;
width:100%;
-webkit-transition-property:-webkit-transform, left, top;
-webkit-transition-duration:0s;
-webkit-transform:translate3d(0px,0,0);
-webkit-transition-timing-function:ease;
-moz-transition-property:-moz-transform, left, top;
-moz-transition-duration:0s;
-moz-transform:translate3d(0px,0,0);
-moz-transition-timing-function:ease;
-o-transition-property:-o-transform, left, top;
-o-transition-duration:0s;
-o-transform:translate3d(0px,0,0);
-o-transition-timing-function:ease;
-o-transform:translate(0px,0px);
-ms-transition-property:-ms-transform, left, top;
-ms-transition-duration:0s;
-ms-transform:translate3d(0px,0,0);
-ms-transition-timing-function:ease;
transition-property:transform, left, top;
transition-duration:0s;
transform:translate3d(0px,0,0);
transition-timing-function:ease;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.swiper-free-mode > .swiper-wrapper {
-webkit-transition-timing-function: ease-out;
-moz-transition-timing-function: ease-out;
-ms-transition-timing-function: ease-out;
-o-transition-timing-function: ease-out;
transition-timing-function: ease-out;
margin: 0 auto;
}
.swiper-slide {
float: left;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
/* IE10 Windows Phone 8 Fixes */
.swiper-wp8-horizontal {
-ms-touch-action: pan-y;
}
.swiper-wp8-vertical {
-ms-touch-action: pan-x;
}
/* ===============================================================
Your custom styles, here you need to specify container's and slide's
sizes, pagination, etc.
================================================================*/
.swiper-container {
/* Specify Swiper's Size: */
/*width:200px;
height: 100px;*/
}
.swiper-slide {
/* Specify Slides's Size: */
/*width: 100%;
height: 100%;*/
}
.swiper-slide-active {
/* Specific active slide styling: */
}
.swiper-slide-visible {
/* Specific visible slide styling: */
}
/* ===============================================================
Pagination Styles
================================================================*/
.swiper-pagination-switch {
/* Stylize pagination button: */
}
.swiper-active-switch {
/* Specific active button style: */
}
.swiper-visible-switch {
/* Specific visible button style: */
}

@ -0,0 +1,58 @@
@charset "utf-8";
body{ font-family:pingfang-r,"微软雅黑","思源黑体"; margin:0; padding:0; color: #444;}
p,dl,dd,ul,ol,li,h1,h2,h3,h4,h5,h6{ margin:0; padding:0;}
h1,h2,h3,h4,h5,h6,dt{ font-weight:normal;}
li{ list-style:none;}
a{text-decoration:none;}
a:focus, a:hover{text-decoration:none;}
img{ border: none; outline: none;}
input,button{ border:none; outline:none; background: none;}
button:hover,button:focus,button:active{ outline: none; }
input::-moz-placeholder{ color: #aaa;}
input:-ms-input-placeholder { color: #aaa; }
input::-webkit-input-placeholder{ color:#aaa; }
input::placeholder{ color:#aaa; }
textarea::-moz-placeholder{color:#aaa; }
textarea:-ms-input-placeholder { color:#aaa; }
textarea::-webkit-input-placeholder{ color:#aaa; }
.clear{clear: both; margin: 0; padding: 0;}
.clearfix:after{ content: ""; display:block; height: 0; clear: both; visibility: hidden;}
.clearfix{*zoom:1;}
/*谷哥滚动条样式*/
::-webkit-scrollbar {width:5px;height:5px;position:absolute}
::-webkit-scrollbar-thumb {background-color:#5bc0de}
::-webkit-scrollbar-track {background-color:#ddd}
/* 首页 */
.headerbox{
position: fixed;
top: 0;
left:0;
width: 100%;
background: transparent;
}
.bannerbox .swiper-container{
width: 100%;
height: 100%;
}
.bannerbox .container{
height: 100%;
position: relative;
}
.bannerbox .banner1{
background: url(../images/bannerbg1.png) no-repeat left center;
height: 100%;
background-size: 56.66% auto;
}
.bannerbox .banner1 .bannerContent{
/* text-align: right; */
position: absolute;
right: 0;
top: 50%;
transform: translate(0,-50%);
}
.bannerbox .swiper-pagination{
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 101 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

@ -0,0 +1,368 @@
<!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">
<meta name="format-detection" content="telephone=no" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<meta http-equiv="expires" content="0">
<meta name="description" content="“一网共治”基层治理智慧平台">
<meta name="keywords" content="“一网共治”基层治理智慧平台">
<title>“一网共治”基层治理智慧平台——驾驶舱</title>
<!-- Bootstrap -->
<script src="js/jquery-2.1.1.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="css/css.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="css/swiper.min.css">
<script src="js/jquery.waypoints.min.js"></script>
<script src="js/jquery.countup.js"></script>
<script src="js/swiper.min.js"></script>
<script src="js/common.js"></script>
<script>
$(document).ready(function() {
var whei = $(window).width()
$("html").css({
fontSize: whei / 20
})
$(window).resize(function() {
var whei = $(window).width()
$("html").css({
fontSize: whei / 20
})
});
});
</script>
</head>
<body style="background: url(images/bg_jsc.jpg) no-repeat center top; background-size: 100% 100%;">
<div class="main">
<!-- 头部 -->
<div class="mainhead">
<div class="logobox fl"><img src="images/logo_t.png"><span id="main_city">北京市大兴区</span>
</div>
<div class="navbox">
<li>
<!-- <a class="islogin" href="/admin">登录</a> -->
</li>
<!-- <li><a href="/yiwanggongzhi/policy.html">政策资讯</a></li>
<li><a href="/yiwanggongzhi/activity.html">社区服务</a></li>
<li><a href="/yiwanggongzhi/govern.html">治理主体</a></li>
<li><a href="/yiwanggongzhi/need.html">供需服务</a></li>
<li><a href="/yiwanggongzhi/credit.html">信用百度</a></li>
<li><a href="/yiwanggongzhi/login.html">案例库</a></li>
<li class="last"><a href="#"><img src="images/icon_listen.png"></a></li> -->
</div>
</div>
<!-- 主要部分 -->
<div class="main-content">
<div class="con-left fl">
<!-- 组织类别 -->
<div class="left-top">
<div class="left-type boxstyle">
<div class="commontitle">组织类别</div>
<ul>
<li><a href="#">
<i class="iconimg"></i>
<div class="type-title">
<h2><span class="counter"></span><span></span></h2>
<p>养老服务</p>
</div>
</a></li>
<li><a href="#">
<i class="iconimg"></i>
<div class="type-title">
<h2> <span class="counter" data-num="47">47</span><span></span></h2>
<p>亲子家庭</p>
</div>
</a></li>
<li><a href="#">
<i class="iconimg"></i>
<div class="type-title">
<h2> <span class="counter" data-num="12">12</span><span></span></h2>
<p>物业服务</p>
</div>
</a></li>
<li><a href="#">
<i class="iconimg"></i>
<div class="type-title">
<h2> <span class="counter" data-num="56">56</span><span></span></h2>
<p>环境保护</p>
</div>
</a></li>
<li><a href="#">
<i class="iconimg"></i>
<div class="type-title">
<h2> <span class="counter" data-num="142">142</span><span></span></h2>
<p>其他</p>
</div>
</a></li>
</ul>
</div>
<!-- 活动类别分析 -->
<div class="top-bottom boxstyle">
<div class="commontitle">活动类别分析</div>
<div id="echarts_1" class="charts"></div>
</div>
</div>
<!-- 企业排行 -->
<div class="left-bottom boxstyle">
<div class="commontitle">企业排行</div>
<div class="left_tab">
<span class="active">企业信用排行</span>
<span>企业积分排行</span>
<span>个人信用排行</span>
<span>个人积分排行</span>
</div>
<div class="plbox">
<!-- 企业信用排行 -->
<ul>
<li><a>大兴区治安综合治理促进会</a><span class="phnum counter" data-num="90">90</span></li>
<li><a>北京市大兴区户外广告行业协会</a><span class="phnum counter" data-num="87">87</span></li>
<li><a>北京市大兴区文化娱乐行业协会</a><span class="phnum counter" data-num="85">85</span></li>
<li><a>北京市大兴区老医药卫生工作者协会</a><span class="phnum counter" data-num="80">80</span></li>
<li><a>北京市大兴区医学会</a><span class="phnum counter" data-num="79">79</span></li>
</ul>
<!-- 企业积分排行 -->
<ul>
<li><a>大兴区治安综合治理促进会</a><span class="phnum counter" data-num="90">90</span></li>
<li><a>北京市大兴区户外广告行业协会</a><span class="phnum counter" data-num="87">87</span></li>
<li><a>北京市大兴区文化娱乐行业协会</a><span class="phnum counter" data-num="85">85</span></li>
</ul>
<!-- 个人信用排行 -->
<ul>
<li><a>大兴区治安综合治理促进会</a><span class="phnum counter" data-num="90">90</span></li>
<li><a>北京市大兴区户外广告行业协会</a><span class="phnum counter" data-num="87">87</span></li>
</ul>
<!-- 个人积分排行 -->
<ul>
<li><a>大兴区治安综合治理促进会</a><span class="phnum counter" data-num="90">90</span></li>
<li><a>北京市大兴区户外广告行业协会</a><span class="phnum counter" data-num="87">87</span></li>
<li><a>北京市大兴区文化娱乐行业协会</a><span class="phnum counter" data-num="85">85</span></li>
<li><a>北京市大兴区老医药卫生工作者协会</a><span class="phnum counter" data-num="80">80</span></li>
</ul>
</div>
</div>
</div>
<!-- 中间区域 -->
<div class="con-center fl" >
<div class="center-top" >
<li>
<div class="imgbox"><img src="images/iconimg1.jpg"></div>
<div class="center-title">
<p class="counter counterp" data-num="100">100</p>
<span>社会组织</span>
</div>
</li>
<li>
<div class="imgbox"><img src="images/iconimg2.jpg"></div>
<div class="center-title">
<p class="counter counterp" data-num="312">312</p>
<span>社区社会组织</span>
</div>
</li>
<li>
<div class="imgbox"><img src="images/iconimg3.jpg"></div>
<div class="center-title">
<p class="counter counterp" data-num="51">51</p>
<span>社会企业</span>
</div>
</li>
<li>
<div class="imgbox"><img src="images/iconimg4.jpg"></div>
<div class="center-title">
<p class="counter counterp" data-num="121">121</p>
<span>居民</span>
</div>
</li>
</div>
<!-- 地图 -->
<div class="center-map" id="map">
</div>
<!-- 近期需求公示 -->
<div class="center-bottom boxstyle" >
<div class="commontitle">近期需求公示</div>
<div class="swiper-container" id="aboutneed">
<div class="swiper-wrapper">
</div>
</div>
</div>
</div>
<!-- 右边区域 -->
<div class="con-right fr">
<div class="right-top">
<div class="top-list">
<li>
<p><b class="counter counterb" data-num="432">432</b>万元</p>
<span>成交金额</span>
</li>
<li>
<p><b class="counter counterb" data-num="142">142</b></p>
<span>成交项目</span>
</li>
<li>
<p><b class="counter counterb" data-num="156">156</b></p>
<span>入驻供应商</span>
</li>
<li>
<p><b class="counter counterb" data-num="432">432</b></p>
<span>发布需求</span>
</li>
</div>
<!-- 采购公示 -->
<div class="cggsbox boxstyle">
<div class="commontitle">采购公示</div>
<ul>
<li><a href="#">2022年北京市大兴区高新园区运营管理服务采购</a><span>2022-01-10</span></li>
<li><a href="#">数据治理服务和系统软件维护及图像中心运行…</a><span>2022-01-10</span></li>
<li><a href="#">学院路街道2021年智慧社区基层治理数字化升…</a><span>2022-01-10</span></li>
</ul>
</div>
</div>
<!-- 需求类别分析 -->
<div class="right-center boxstyle">
<div class="commontitle">需求类别分析</div>
<div id="echarts_2" class="charts"></div>
</div>
<!-- 服务类别分析 -->
<div class="right-bottom boxstyle">
<div class="commontitle">服务类别分析</div>
<div id="echarts_3" class="charts"></div>
</div>
</div>
</div>
</div>
<script src="js/echarts_common.js"></script>
<!-- <script src="js/china.js"></script> -->
<script src="js/echarts.js"></script>
<script>
$(function() {
var counterList = [72, 98, 84, 143, 64, 55, 60, 77, 88, 76, 99, 234, 678]
var counters = $(".counter");
for (var i = 0; i < counters.length; i++) {
var nums = counterList[Math.floor(Math.random() * counterList.length)];
$(counters).eq(i).attr("data-num", nums);
$(counters).eq(i).text(nums);
}
$('.counter').countUp({
delay: 50,
time: 1500
});
getAdminUser();
getNeedList();
})
function getNeedList() {
var url = "/api/pc/need/need-index";
var params = {
item_type_id: "",
status_id: "",
need_type_id: "",
keyword: "",
date_type: "",
area_id: "",
page_size: 6,
page: 1
}
callApi(url, 'get', params, function(res) {
$("#aboutneed .swiper-wrapper").empty();
var data = res.data;
if (data.length > 0) {
for (var i = 0; i < data.length; i++) {
var created_at = data[i].created_at.substring(0, 10);
var type_detail = data[i].item_type_detail ? data[i].item_type_detail.value : "";
$("#aboutneed .swiper-wrapper").append("<div class='swiper-slide currenbox'>" +
"<h2>[" + type_detail + "] <a class='lineone' href='/yiwanggongzhi/need-article.html?id=" + data[
i].id + "'>" + data[i].title + "</a></h2>" +
"<p>采购单位:" + data[i].purchase + "<br>" +
"发布时间:" + created_at + "</p>" +
"</div>")
}
var mySwiper = new Swiper('#aboutneed', {
direction: 'horizontal', // 垂直切换选项
loop: true, // 循环模式选项
speed: 6000,
autoplay: 3000,
autoplayDisableOnInteraction: false,
// 如果需要前进后退按钮
})
$("#aboutneed").mouseenter(function() {
mySwiper.stopAutoplay();
}).mouseleave(function() {
mySwiper.startAutoplay();
});
}
})
}
function getAdminUser() {
var token = getCookie("vue_yiwanggongzhi_token");
var baseurl = "http://yiwanggongzhi.demo.langye.net";
var url = "/api/admin/auth/me";
var ajaxurl = baseurl + url;
if (!token) {
$(".navbox li").append("<a href='/admin' class='islogin'>登录</a>")
return;
}
var params = {
token: token
}
$.ajax({
url: ajaxurl,
type: "post",
timeout: 15000,
contentType: 'application/x-www-form-urlencoded',
data: params,
dataType: 'json',
success: function(res) {
if (res) {
$(".navbox li").append("<a href='/admin/admin.html' class=''>" + res.name + "</a>")
}
}
})
}
function callApi(url, type, params, callback) {
var baseurl = "http://yiwanggongzhi.demo.langye.net";
var ajaxurl = baseurl + url
$.ajax({
url: ajaxurl,
type: type,
timeout: 15000,
contentType: 'application/x-www-form-urlencoded',
data: params,
dataType: 'json',
success: function(res) {
if (callback) callback(res)
}
})
}
function getCookie(name) {
var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
if (arr = document.cookie.match(reg))
return (arr[2]);
else
return null;
}
</script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,16 @@
$(function(){
$(".left-type ul li").each(function(){
var index = $(this).index();
$(this).addClass('index'+index);
if($(this).index()%3==2){
$(this).css('marginRight','0');
}
})
$(".left-bottom .plbox ul:first").show().siblings('ul').hide();
$(".left_tab span").hover(function(){
var index = $(this).index();
$(this).addClass("active").siblings().removeClass('active');
$(this).parent().siblings('.plbox').children('ul').eq(index).show().siblings().hide();
})
$(".top-list li:last,.center-top li:last").css('marginRight','0');
})

@ -0,0 +1,10 @@
[0514/162949.665:ERROR:registration_protocol_win.cc(106)] CreateFile: 系统找不到指定的文件。 (0x2)
[0514/171656.731:ERROR:registration_protocol_win.cc(106)] CreateFile: 系统找不到指定的文件。 (0x2)
[0516/043413.680:ERROR:registration_protocol_win.cc(106)] CreateFile: 系统找不到指定的文件。 (0x2)
[0516/061532.498:ERROR:registration_protocol_win.cc(106)] CreateFile: 系统找不到指定的文件。 (0x2)
[0516/061534.412:ERROR:registration_protocol_win.cc(106)] CreateFile: 系统找不到指定的文件。 (0x2)
[0517/131323.549:ERROR:registration_protocol_win.cc(106)] CreateFile: 系统找不到指定的文件。 (0x2)
[0517/131327.645:ERROR:registration_protocol_win.cc(106)] CreateFile: 系统找不到指定的文件。 (0x2)
[0517/131329.328:ERROR:registration_protocol_win.cc(106)] CreateFile: 系统找不到指定的文件。 (0x2)
[0517/131330.202:ERROR:registration_protocol_win.cc(106)] CreateFile: 系统找不到指定的文件。 (0x2)
[0517/131332.891:ERROR:registration_protocol_win.cc(106)] CreateFile: 系统找不到指定的文件。 (0x2)

@ -0,0 +1,843 @@
$(function() {
echarts_1();
echarts_2();
c.init();
echarts_3();
// echarts_4();
// echarts_5();
// echarts_6();
})
function echarts_1() {
// 活动类别分析
var myChart = echarts.init(document.getElementById('echarts_1'));
var option = {
tooltip: {
trigger: 'item',
formatter: "{a} <br/>{b}: {c}条",
},
series: [{
name: '活动类别分析',
type: 'pie',
radius: '75%',
center: ['50%', '50%'],
zlevel: 3,
color: ['#c968e1', '#0d83fb', '#00ffff', '#ebc14f', '#fb802e', '#7f3eb9', '#2adbac'],
data: [{
value: 42,
name: '扶贫济困'
},
{
value: 42,
name: '医疗卫生'
},
{
value: 76,
name: '妇女儿童服务'
},
{
value: 12,
name: '其他'
},
{
value: 36,
name: '社区治理'
},
{
value: 36,
name: '残疾人服务'
},
{
value: 76,
name: '养老服务'
}
],
label: {
padding: [18, 0, 0, 0],
formatter: [
'{c|}',
'{a|{c}条}',
'{b|{b}}'
].join('\n'),
rich: {
c: {
width: 4,
height: 4,
padding: [0, -4],
marginBottom: 50,
borderRadius: 4,
lineHeight: 0,
backgroundColor: 'auto'
},
a: {
padding: [-30, 0, 0, 5],
color: "#02f7f4",
fontSize: 20,
align: "center",
},
b: {
padding: [-10, 0, 0, 5],
color: "#fff",
fontSize: 14,
align: "center",
lineHeight: 18,
},
},
},
labelLine: {
show: true,
length: 15,
length2: 32,
},
emphasis: {
itemStyle: {
shadowBlur: 0,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
},
}
, {
name: '外边框',
type: 'pie',
zlevel: 1,
radius: ['90%', '90%'], //边框大小
center: ['50%', '50%'], //边框位置
cursor: 'default',
emphasis: {
scale: false
},
tooltip: {
show: false
},
data: [{
value: 1,
label: {
show: false
},
itemStyle: {
borderWidth: 1, //设置边框粗细
borderColor: 'rgba(29,176,226,.5)' //边框颜色
}
}],
},
{
name: '内边框',
type: 'pie',
zlevel: 3,
radius: ['0', '25%'], //边框大小
center: ['50%', '50%'], //边框位置
cursor: 'default',
emphasis: {
scale: false
},
tooltip: {
show: false
},
data: [{
value: 1,
label: {
show: false
},
itemStyle: {
color: '#fff'
}
}],
},
{
type: 'pie',
zlevel: 4,
emphasis: {
scale: false
},
tooltip: {
show: false
},
radius: [0, '10%'],
data: [{
value: 1,
itemStyle: {
color: '#f0f7ff'
},
label: {
show: false
}
}]
},
]
};
myChart.setOption(option);
window.addEventListener("resize", function() {
myChart.resize();
});
}
function echarts_2() {
// 需求类别分析
var myChart = echarts.init(document.getElementById('echarts_2'));
var data1 = [15, 22, 45, 18, 22]; //招标
var data2 = [20, 22, 28, 20, 25]; //众筹
var data3 = [20, 20, 20, 20, 20]; //指派
// 总计
var total_data = function() {
var datas = [];
for (var i = 0; i < data1.length; i++) {
datas.push(data1[i] + data2[2] + data3[i]);
}
return datas;
}();
var option = {
tooltip: {
trigger: 'axis',
},
grid: {
height: "58%",
top: '5%',
},
legend: {
show: true,
align: 'auto',
data: ['招标', '众筹', '指派'],
bottom: '1%',
itemWidth: 13,
itemHeight: 13,
textStyle: {
color: "#fff",
fontSize: 12,
}
},
xAxis: [{
type: 'category',
data: ['基本共工服务', '社会管理服务', '行业管理与协调性服务', '技术性服务', '政府履职所需的辅助性事项'],
splitLine: {
show: false,
lineStyle: {
color: "rgba(95,200,225,.5)",
type: 'solid',
}
},
axisTick: {
show: false,
alignWithLabel: true,
},
axisLine: {
lineStyle: {
color: "rgba(95,200,225,.5)",
type: 'solid',
}
},
boundaryGap: true,
axisLabel: {
color: '#fff',
fontSize: 12,
lineHeight: 14,
show: true,
interval: '0',
formatter: function(params) {
var newParamsName = ""; // 最终拼接成的字符串
var paramsNameNumber = params.length; // 实际标签的个数
var provideNumber = 4; // 每行能显示的字的个数
var rowNumber = Math.ceil(paramsNameNumber / provideNumber); // 换行的话,需要显示几行,向上取整
/**
* 判断标签的个数是否大于规定的个数 如果大于则进行换行处理 如果不大于即等于或小于就返回原标签
*/
// 条件等同于rowNumber>1
if (paramsNameNumber > provideNumber) {
/** 循环每一行,p表示行 */
for (var p = 0; p < rowNumber; p++) {
var tempStr = ""; // 表示每一次截取的字符串
var start = p * provideNumber; // 开始截取的位置
var end = start + provideNumber; // 结束截取的位置
// 此处特殊处理最后一行的索引值
if (p == rowNumber - 1) {
// 最后一次不换行
tempStr = params.substring(start, paramsNameNumber);
} else {
// 每一次拼接字符串并换行
tempStr = params.substring(start, end) + "\n";
}
newParamsName += tempStr; // 最终拼成的字符串
}
} else {
// 将旧标签的值赋给新标签
newParamsName = params;
}
//将最终的字符串返回
return newParamsName
}
},
}],
yAxis: [{
type: "value",
show: true,
name: "人数",
nameTextStyle: {
color: "#b7efff",
fontSize: 14,
},
nameLocation: "end",
max: 100,
min: 0,
splitNumber: 5,
axisLabel: {
color: '#b7efff',
fontSize: 12,
},
splitLine: {
show: true,
lineStyle: {
color: "rgba(95,200,225,.5)",
type: 'dashed',
}
}
}],
series: [{
name: '招标',
type: "bar",
barWidth: 11,
stack: "需求人数",
data: data1,
itemStyle: {
color: '#1e6afa',
}
}, {
name: '众筹',
type: "bar",
barWidth: 11,
stack: "需求人数",
data: data2,
itemStyle: {
color: '#2d9aff',
}
}, {
name: '指派',
type: "bar",
stack: "需求人数",
barWidth: 11,
data: data3,
itemStyle: {
color: '#00ffff',
barBorderRadius: [11, 11, 0, 0]
}
}, {
name: '总计',
type: "bar",
barWidth: 11,
stack: "需求人数",
label: {
show: true,
offset: [0, 0],
position: 'insideBottom',
formatter: '{c}',
textStyle: {
color: '#fff',
}
},
itemStyle: {
color: "rgba(128,128,128,0)",
},
data: total_data,
markPoint: {
data: [{
type: 'max',
name: "最大值",
symbol: "circle",
itemStyle: {
color: "rgba(225, 255, 255, 1)",
}
}],
symbol: "circle",
animation: true,
animationEasing: "bounceOut",
animationDurationUpdate: 1040,
symbolSize: 33,
itemStyle: {
color: "rgba(224, 40, 40, 1)",
borderWidth: 4,
borderType: "solid",
width: 3,
height: 3,
borderDashOffset: 4,
borderColor: "rgba(58, 51, 51, 1)",
borderCap: "square",
borderJoin: "round",
borderMiterLimit: 37,
shadowBlur: 7,
shadowColor: "rgba(225, 214, 214, 1)",
shadowOffsetX: 0.5,
}
}
}]
};
myChart.setOption(option);
window.addEventListener("resize", function() {
myChart.resize();
});
}
function echarts_3() {
// 服务类别分析
var myChart = echarts.init(document.getElementById('echarts_3'));
var option = {
tooltip: {
trigger: 'item',
formatter: "{a} <br/>{b}: {c}条",
},
series: [{
name: '服务类别分析',
type: 'pie',
radius: '75%',
center: ['50%', '50%'],
zlevel: 2,
color: ['#c968e1', '#0d83fb', '#00ffff', '#ebc14f', '#fb802e', '#7f3eb9', '#2adbac'],
data: [{
value: 42,
name: '扶贫济困'
},
{
value: 42,
name: '医疗卫生'
},
{
value: 76,
name: '妇女儿童服务'
},
{
value: 12,
name: '其他'
},
{
value: 36,
name: '社区治理'
},
{
value: 36,
name: '残疾人服务'
},
{
value: 76,
name: '养老服务'
}
],
label: {
padding: [18, 0, 0, 0],
formatter: [
'{c|}',
'{a|{c}条}',
'{b|{b}}'
].join('\n'),
rich: {
c: {
width: 4,
height: 4,
padding: [0, -4],
marginBottom: 50,
borderRadius: 4,
lineHeight: 0,
backgroundColor: 'auto'
},
a: {
padding: [-30, 0, 0, 5],
color: "#02f7f4",
fontSize: 20,
align: "center",
},
b: {
padding: [-10, 0, 0, 5],
color: "#fff",
fontSize: 14,
align: "center",
lineHeight: 18,
},
},
},
labelLine: {
show: true,
length: 15,
length2: 32,
},
emphasis: {
itemStyle: {
shadowBlur: 0,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
},
},
{
name: '内边框',
type: 'pie',
zlevel: 3,
radius: ['0', '60%'], //边框大小
center: ['50%', '50%'], //边框位置
cursor: 'default',
emphasis: {
scale: false,
disabled: true
},
tooltip: {
show: false
},
data: [{
value: 1,
label: {
show: false
},
itemStyle: {
color: '#283fd6'
}
}],
}
]
};
myChart.setOption(option);
window.addEventListener("resize", function() {
myChart.resize();
});
}
var chartDom = document.getElementById('map');
var myChart = echarts.init(chartDom);
var option;
var clickLevel = 0;
var c = {
init() {
c.drawMap();
myChart.on('click', (params) => {
console.log(myChart)
if (params.componentSubType == 'map') {
myChart.clear();
c.drawMap(params.name, params.data.level)
} else if (params.componentSubType == 'scatter' || params.componentSubType ==
'effectScatter') {
console.log(params.componentSubType, "click")
this.$emit('pointClick', params)
}
})
},
drawMap(name, level) {
myChart.showLoading();
var url = "data/110.json";
if (name == '大兴区' || level == 2){
url = "data/110115.json";
var counterss = $(".counter");
counterss.each(function(){
var nums = $(this).attr("data-num")-15;
if($(this).hasClass('counterp')){
$(this).before("<p class='counter counterp' data-num='"+nums+"'>"+nums+"</p>")
}else if($(this).hasClass('counterb')){
$(this).before("<b class='counter counterb' data-num='"+nums+"'>"+nums+"</b>")
}else{
$(this).before("<span class='counter' data-num='"+nums+"'>"+nums+"</span>")
}
$(this).remove();
})
$('.counter').countUp({
delay: 50,
time: 1500
});
}
if (clickLevel == level && level == 2) {
myChart.hideLoading();
location.href = "/yiwanggongzhi/govern-show.html"
console.log(clickLevel)
return false;
} else
clickLevel = level
$.get(url, function(geoJson) {
if (level == 2) {
var countersss = $(".counter");
countersss.each(function(){
var nums = $(this).attr("data-num")-15;
if($(this).hasClass('counterp')){
$(this).before("<p class='counter counterp' data-num='"+nums+"'>"+nums+"</p>")
}else if($(this).hasClass('counterb')){
$(this).before("<b class='counter counterb' data-num='"+nums+"'>"+nums+"</b>")
}else{
$(this).before("<span class='counter' data-num='"+nums+"'>"+nums+"</span>")
}
$(this).remove();
})
$('.counter').countUp({
delay: 50,
time: 1500
});
const jsons = geoJson.features.filter(item => item.properties.name == name)
const mapJson = {
"type": "FeatureCollection",
"features": jsons
}
geoJson = mapJson;
}
myChart.hideLoading();
echarts.registerMap('DX', geoJson);
myChart.setOption(
(option = {
title: {
text: '',
},
tooltip: {
trigger: 'item',
formatter: '{b}'
},
toolbox: {
show: false,
orient: 'vertical',
left: 'right',
top: 'center',
feature: {
restore: {},
}
},
visualMap: {
min: 800,
max: 50000,
text: ['High', 'Low'],
realtime: false,
calculable: true,
inRange: {
color: ['rgba(117,68,177,0.9)', 'rgba(106,215,175,0.9)',
'rgba(223,127,64,0.9)'
],
},
show: false,
},
series: [{
name: '北京市大兴区',
type: 'map',
map: 'DX',
zoom: 1.2, //当前视角的缩放比例
roam: true, //是否开启平游或缩放
scaleLimit: {
min: 1,
max: 1.6
},
label: {
show: true
},
left: 'center',
top: 'center',
data: [{
name: '榆垡镇',
value: 10057.34,
level: 2
},
{
name: '黄村镇',
value: 20057.34,
level: 2
},
{
name: '北臧村镇',
value: 15477.48,
level: 2
},
{
name: '庞各庄镇',
value: 31686.1,
level: 2
},
{
name: '礼贤镇',
value: 6992.6,
level: 2
},
{
name: '魏善庄镇',
value: 44045.49,
level: 2
},
{
name: '安定镇',
value: 40689.64,
level: 2
},
{
name: '青云店镇',
value: 37659.78,
level: 2
},
{
name: '长子营镇',
value: 45180.97,
level: 2
},
{
name: '采育镇',
value: 55204.26,
level: 2
},
{
name: '西红门镇',
value: 21900.9,
level: 2
},
{
name: '旧宫镇',
value: 4918.26,
level: 2
},
{
name: '亦庄镇',
value: 5881.84,
level: 2
},
{
name: '瀛海镇',
value: 4178.01,
level: 2
},
{
name: '兴丰街道',
value: 2227.92,
level: 2
},
{
name: '清源街道',
value: 2180.98,
level: 2
},
{
name: '林校路街道',
value: 9172.94,
level: 2
},
{
name: '观音寺街道',
value: 3368,
level: 2
},
{
name: '天宫院街道',
value: 806.98,
level: 2
},
{
name: '高米店街道',
value: 22706.98,
level: 2
},
{
name: '东城区',
value: 33106.98,
level: 1
},
{
name: '西城区',
value: 31306.98,
level: 1
},
{
name: '朝阳区',
value: 21706.98,
level: 1
},
{
name: '丰台区',
value: 14706.98,
level: 1
},
{
name: '石景山区',
value: 43706.98,
level: 1
},
{
name: '海淀区',
value: 23306.98,
level: 1
}, {
name: '顺义区',
value: 12706.98,
level: 1
}, {
name: '通州区',
value: 1506.98,
level: 1
}, {
name: '大兴区',
value: 4706.98,
level: 1
}, {
name: '房山区',
value: 3706.98,
level: 1
}, {
name: '门头沟区',
value: 12806.98,
level: 1
}, {
name: '昌平区',
value: 22606.98,
level: 1
}, {
name: '平谷区',
value: 42306.98,
level: 1
}, {
name: '密云区',
value: 30206.98,
level: 1
}, {
name: '怀柔区',
value: 20706.98,
level: 1
}, {
name: '延庆区',
value: 10206.98,
level: 1
}
],
// 自定义名称映射
nameMap: {
}
}]
})
);
});
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -0,0 +1,4 @@
/**
* @preserve HTML5 Shiv 3.7.2 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
*/
!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.2",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b)}(this,document);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,83 @@

(function( $ ){
"use strict";
$.fn.countUp = function( options ) {
// Defaults
var settings = $.extend({
'time': 2000,
'delay': 10
}, options);
return this.each(function(){
// Store the object
var $this = $(this);
var $settings = settings;
var counterUpper = function() {
if(!$this.data('counterupTo')) {
$this.data('counterupTo',$this.text());
}
var time = parseInt($this.data("counter-time")) > 0 ? parseInt($this.data("counter-time")) : $settings.time;
var delay = parseInt($this.data("counter-delay")) > 0 ? parseInt($this.data("counter-delay")) : $settings.delay;
var divisions = time / delay;
var num = $this.data('counterupTo');
var nums = [num];
var isComma = /[0-9]+,[0-9]+/.test(num);
num = num.replace(/,/g, '');
var isInt = /^[0-9]+$/.test(num);
var isFloat = /^[0-9]+\.[0-9]+$/.test(num);
var decimalPlaces = isFloat ? (num.split('.')[1] || []).length : 0;
// Generate list of incremental numbers to display
for (var i = divisions; i >= 1; i--) {
// Preserve as int if input was int
var newNum = parseInt(Math.round(num / divisions * i));
// Preserve float if input was float
if (isFloat) {
newNum = parseFloat(num / divisions * i).toFixed(decimalPlaces);
}
// Preserve commas if input had commas
if (isComma) {
while (/(\d+)(\d{3})/.test(newNum.toString())) {
newNum = newNum.toString().replace(/(\d+)(\d{3})/, '$1'+','+'$2');
}
}
nums.unshift(newNum);
}
$this.data('counterup-nums', nums);
$this.text('0');
// Updates the number until we're done
var f = function() {
if ($this.data('counterup-nums')) { //加个这个判断
$this.text($this.data('counterup-nums').shift());
if ($this.data('counterup-nums').length) {
setTimeout($this.data('counterup-func'),delay);
} else {
delete $this.data('counterup-nums');
$this.data('counterup-nums', null);
$this.data('counterup-func', null);
}
}
};
$this.data('counterup-func', f);
// Start the count up
setTimeout($this.data('counterup-func'),delay);
};
// Perform counts when the element gets into view
$this.waypoint(counterUpper, { offset: '100%', triggerOnce: true });
});
};
})( jQuery );

@ -0,0 +1,72 @@
(function($) {
var types = ['DOMMouseScroll', 'mousewheel'];
if ($.event.fixHooks) {
for ( var i=types.length; i; ) {
$.event.fixHooks[ types[--i] ] = $.event.mouseHooks;
}
}
$.event.special.mousewheel = {
setup: function() {
if ( this.addEventListener ) {
for ( var i=types.length; i; ) {
this.addEventListener( types[--i], handler, false );
}
} else {
this.onmousewheel = handler;
}
},
teardown: function() {
if ( this.removeEventListener ) {
for ( var i=types.length; i; ) {
this.removeEventListener( types[--i], handler, false );
}
} else {
this.onmousewheel = null;
}
}
};
$.fn.extend({
mousewheel: function(fn) {
return fn ? this.bind("mousewheel", fn) : this.trigger("mousewheel");
},
unmousewheel: function(fn) {
return this.unbind("mousewheel", fn);
}
});
function handler(event) {
var orgEvent = event || window.event, args = [].slice.call( arguments, 1 ), delta = 0, returnValue = true, deltaX = 0, deltaY = 0;
event = $.event.fix(orgEvent);
event.type = "mousewheel";
// Old school scrollwheel delta
if ( orgEvent.wheelDelta ) { delta = orgEvent.wheelDelta/120; }
if ( orgEvent.detail ) { delta = -orgEvent.detail/3; }
// New school multidimensional scroll (touchpads) deltas
deltaY = delta;
// Gecko
if ( orgEvent.axis !== undefined && orgEvent.axis === orgEvent.HORIZONTAL_AXIS ) {
deltaY = 0;
deltaX = -1*delta;
}
// Webkit
if ( orgEvent.wheelDeltaY !== undefined ) { deltaY = orgEvent.wheelDeltaY/120; }
if ( orgEvent.wheelDeltaX !== undefined ) { deltaX = -1*orgEvent.wheelDeltaX/120; }
// Add event and delta to the front of the arguments
args.unshift(event, delta, deltaX, deltaY);
return ($.event.dispatch || $.event.handle).apply(this, args);
}
})(jQuery);

File diff suppressed because one or more lines are too long

@ -0,0 +1,78 @@
// Сделано на основе пена http://codepen.io/SitePoint/pen/MwEaQM
(function($) {
var _elements,
_options;
var methods = {
init: function(elements, options) {
_elements = elements;
_options = options;
methods.bind();
},
bind: function() {
$(window).scroll(function() {
methods.animate(_elements, _options);
});
$(window).trigger('scroll');
},
animate: function(elements, options) {
var viewHeight = $(window).height(),
viewTop = $(window).scrollTop(),
viewBottom = (viewTop + viewHeight);
$.each(elements, function() {
var elementAnimation = $(this).data('animate'),
elementOffset = $(this).data('offset'),
elementDuration = $(this).data('duration'),
elementDelay = $(this).data('delay'),
elementIteration = $(this).data('iteration'),
elementHeight = $(this).outerHeight(),
elementTop = $(this).offset().top,
elementBottom = (elementTop + elementHeight);
if (elementOffset) {
elementTop = elementTop + elementOffset;
elementBottom = elementBottom - elementOffset;
}
$(this).css({'-webkit-animation-duration': elementDuration, 'animation-duration': elementDuration});
$(this).css({'-webkit-animation-delay': elementDelay, 'animation-delay': elementDelay});
$(this).css({'-webkit-animation-iteration-count': elementIteration, 'animation-iteration-count': elementIteration});
if ((elementBottom >= viewTop) && (elementTop <= viewBottom)) {
$(this).css('visibility', 'visible');
$(this).addClass('animate__'+elementAnimation);
$(this).addClass('animate__animated');
}
else {
if (options.once === false) {
$(this).css('visibility', 'hidden');
$(this).removeClass('animate__'+elementAnimation);
$(this).removeClass('animate__animated');
}
}
});
}
};
jQuery.fn.scrolla = function(options) {
options = $.extend({
mobile: false,
once: false
}, options);
if (options.mobile === false) {
if(/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
return false;
}
}
methods.init(this, options);
};
})(jQuery);

File diff suppressed because one or more lines are too long

@ -0,0 +1,92 @@
// 主swiper对象的动画参数
var swiperAnimateParam_main1 = {
// 第 1 张幻灯片
slide_1:{
animate_01:{element:'main1_ani_01', animation:'fadeInRight',duration:'1s'},
},
// 第 2 张幻灯片
slide_2:{
// 在此为幻灯片中的动画元素进行动画设置
animate_02:{element:'main1_ani_02', animation:'fadeInLeft',duration:'1s'},
},
// 第 3 张幻灯片
slide_3:{
// 在此为幻灯片中的动画元素进行动画设置
animate_03:{element:'main1_ani_03', animation:'fadeInUp',duration:'1s'},
},
// 第 4 张幻灯片
slide_4:{
// 在此为幻灯片中的动画元素进行动画设置
animate_03:{element:'main1_ani_04', animation:'fadeInRight',duration:'1s'},
},
// 第 5 张幻灯片
slide_5:{
// 在此为幻灯片中的动画元素进行动画设置
animate_03:{element:'main1_ani_05', animation:'fadeInUp',duration:'1s'},
},
};
// 第 1 个子swiper对象的动画参数
// var swiperAnimateParam_child1 = {
// // 第 1 张幻灯片
// slide_1:{
// animate_01:{element:'child1_ani_01', animation:'fadeInUp',},
// animate_02:{element:'child1_ani_02', animation:'swing', duration:'2s', type:1,},
// animate_03:{element:'child1_ani_03', animation:'fadeInLeft',},
// animate_04:{element:'child1_ani_03', animation:'tada', type:1,},
// animate_05:{element:'child1_ani_03', animation:'flip', type:1,},
// animate_06:{element:'child1_ani_04', animation:'pulse', type:1,},
// animate_07:{element:'child1_ani_05', animation:'pulse', type:1,},
// },
// // 第 2 张幻灯片
// slide_2:{
// animate_01:{element:'child1_ani_06', animation:'fadeInUp',},
// animate_02:{element:'child1_ani_07', animation:'swing', duration:'2s', type:1,},
// },
// };
// 第 2 个子swiper对象的动画参数
// var swiperAnimateParam_child2 = {
// // 第 1 张幻灯片
// slide_1:{
// animate_01:{element:'child2_ani_01', animation:'fadeInUp',},
// animate_02:{element:'child2_ani_02', animation:'fadeIn', duration:'2s',},
// animate_03:{element:'child2_ani_02', animation:'shake', type:1,},
// animate_04:{element:'child2_ani_03', animation:'fadeInUpBig', duration:'1.5s',},
// animate_05:{element:'child2_ani_04', animation:'pulse', type:1,},
// animate_06:{element:'child2_ani_05', animation:'pulse', type:1,},
// },
// // 第 2 张幻灯片
// slide_2:{
// animate_01:{element:'child2_ani_06', animation:'fadeInUp',},
// animate_02:{element:'child2_ani_07', animation:'swing', duration:'2s', type:1,},
// },
// };
// 第 3 个子swiper对象的动画参数
// var swiperAnimateParam_child3 = {
// // 第 1 张幻灯片
// slide_1:{
// animate_01:{element:'child3_ani_01', animation:'fadeInUp',},
// animate_02:{element:'child3_ani_02', animation:'tada', duration:'2s', type:1,},
// animate_03:{element:'child3_ani_03', animation:'fadeInRight',},
// animate_04:{element:'child3_ani_04', animation:'pulse', duration:'2s', type:1,},
// animate_05:{element:'child3_ani_05', animation:'pulse', duration:'2s', type:1,},
// animate_06:{element:'child3_ani_06', animation:'pulse', duration:'2s', type:1,},
// },
// // 第 2 张幻灯片
// slide_2:{
// animate_01:{element:'child3_ani_07', animation:'fadeInUp',},
// animate_02:{element:'child3_ani_08', animation:'swing', duration:'2s', type:1,},
// },
// };

@ -0,0 +1,3 @@
//本插件由www.swiper.com.cn提供
//版本1.03
function swiperAnimateCache(a){for(j=0;j<a.slides.length;j++)for(allBoxes=a.slides[j].querySelectorAll(".ani"),i=0;i<allBoxes.length;i++)allBoxes[i].attributes["style"]?allBoxes[i].setAttribute("swiper-animate-style-cache",allBoxes[i].attributes["style"].value):allBoxes[i].setAttribute("swiper-animate-style-cache"," "),allBoxes[i].style.visibility="hidden"}function swiperAnimate(a){clearSwiperAnimate(a);var b=a.slides[a.activeIndex].querySelectorAll(".ani");for(i=0;i<b.length;i++)b[i].style.visibility="visible",effect=b[i].attributes["swiper-animate-effect"]?b[i].attributes["swiper-animate-effect"].value:"",b[i].className=b[i].className+" "+effect+" "+"animated",style=b[i].attributes["style"].value,duration=b[i].attributes["swiper-animate-duration"]?b[i].attributes["swiper-animate-duration"].value:"",duration&&(style=style+"animation-duration:"+duration+";-webkit-animation-duration:"+duration+";"),delay=b[i].attributes["swiper-animate-delay"]?b[i].attributes["swiper-animate-delay"].value:"",delay&&(style=style+"animation-delay:"+delay+";-webkit-animation-delay:"+delay+";"),b[i].setAttribute("style",style)}function clearSwiperAnimate(a){for(j=0;j<a.slides.length;j++)for(allBoxes=a.slides[j].querySelectorAll(".ani"),i=0;i<allBoxes.length;i++)allBoxes[i].attributes["swiper-animate-style-cache"]&&allBoxes[i].setAttribute("style",allBoxes[i].attributes["swiper-animate-style-cache"].value),allBoxes[i].style.visibility="hidden",allBoxes[i].className=allBoxes[i].className.replace("animated"," "),allBoxes[i].attributes["swiper-animate-effect"]&&(effect=allBoxes[i].attributes["swiper-animate-effect"].value,allBoxes[i].className=allBoxes[i].className.replace(effect," "))}

File diff suppressed because one or more lines are too long

@ -23,7 +23,8 @@ module.exports = {
* then publicPath should be set to "/bar/".
* In most cases please use '/' !!!
* Detail: https://cli.vuejs.org/config/#publicpath
*/
*/
indexPath:"admin.html",
publicPath: '/admin/',
outputDir: '/Users/liuxiangyu/Work/langchao/app/yiwanggongzhi-service/public/admin',
assetsDir: 'static',

Loading…
Cancel
Save