@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="MavenProjectsManager">
|
||||
<option name="originalFiles">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/pom.xml" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK" />
|
||||
</project>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -0,0 +1,96 @@
|
||||
@import "../lib/fonts/iconfont.css";
|
||||
|
||||
[v-cloak]{display:none!important}
|
||||
.ok-body{padding:10px}
|
||||
|
||||
/*面包屑导航*/
|
||||
.ok-body-breadcrumb{position:relative;line-height:39px;height:32px;border-bottom:1px solid #e5e5e5}
|
||||
.ok-body-breadcrumb .layui-btn{line-height:2.4em;margin-top:3px;float:right}
|
||||
.ok-body-breadcrumb .layui-btn .layui-icon{line-height:32px}
|
||||
|
||||
/*多条件搜索框*/
|
||||
.ok-search{margin-top:15px}
|
||||
.ok-search .layui-input{width:190px;padding-left:10px;margin-left:10px;float:left}
|
||||
.ok-search .layui-input:first-child{margin-left:0}
|
||||
.ok-search .layui-btn{margin-left:10px}
|
||||
@media screen and (max-width:768px){
|
||||
.ok-search .layui-input{width:100%;margin-left:0;margin-top:10px}
|
||||
.ok-search .layui-btn{margin-left:0;margin-top:10px}
|
||||
}
|
||||
|
||||
/*表单*/
|
||||
.ok-form{margin-top:10px}
|
||||
|
||||
/*滚动条样式一*/
|
||||
::-webkit-scrollbar{width: 8px; height: 8px;}
|
||||
::-webkit-scrollbar-button:vertical{display: none;}
|
||||
::-webkit-scrollbar-track, ::-webkit-scrollbar-corner{background-color: #e2e2e2;}
|
||||
::-webkit-scrollbar-thumb{border-radius: 0; background-color: rgba(0,0,0,.3);}
|
||||
::-webkit-scrollbar-thumb:vertical:hover{background-color: rgba(0,0,0,.35);}
|
||||
::-webkit-scrollbar-thumb:vertical:active{background-color: rgba(0,0,0,.38);}
|
||||
|
||||
/*滚动条样式二*/
|
||||
/*
|
||||
.not-scroll::-webkit-scrollbar{height:0;width:0;background:0 0;display:none}
|
||||
.scrollBody::-webkit-scrollbar{display:none}
|
||||
.scrollBody::-webkit-scrollbar,::-webkit-scrollbar{width:8px;height:8px;background-color:#f5f5f5}
|
||||
.scrollBody::-webkit-scrollbar-track,::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.1);background-color:#fff}
|
||||
.scrollBody::-webkit-scrollbar-thumb,::-webkit-scrollbar-thumb{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:#a8a8a8}
|
||||
.ok-body-scroll::-webkit-scrollbar,::-webkit-scrollbar{width:8px;height:8px;background-color:#fff}
|
||||
.ok-body-scroll::-webkit-scrollbar-track,::-webkit-scrollbar-track{background-color:#fff;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}
|
||||
.ok-body-scroll::-webkit-scrollbar-thumb,::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.1);background-color:#dadada}
|
||||
*/
|
||||
|
||||
/**占满屏幕**/
|
||||
.page-fill{width:100%;height:100%;display:block;box-sizing:border-box}
|
||||
|
||||
/**card**/
|
||||
.ok-card-body{padding:20px;position:relative;width:100%;box-sizing:border-box}
|
||||
.ok-card-body-tb{padding:20px 0;position:relative;width:100%;box-sizing:border-box}
|
||||
.ok-card-title{color:#212529;font-size:16px;padding-bottom:20px;font-weight:bolder}
|
||||
.ok-card{-webkit-box-shadow:0 0 20px rgba(0,0,0,.08);box-shadow:0 0 20px rgba(0,0,0,.08);border-radius:5px}
|
||||
|
||||
/**断行**/
|
||||
.wp1{word-break:break-all}
|
||||
|
||||
/*只对英文起作用,以字母作为换行依据*/
|
||||
.wp2{word-wrap:break-word}
|
||||
|
||||
/*只对英文起作用,以单词作为换行依据*/
|
||||
.wp3{white-space:pre-wrap}
|
||||
|
||||
/*只对中文起作用,强制换行*/
|
||||
.wp4{white-space:nowrap}
|
||||
|
||||
/**边距**/
|
||||
.p0{padding:0!important}
|
||||
.ptb0{padding-top:0!important;padding-bottom:0!important}
|
||||
.plr0{padding-left:0!important;padding-right:0!important}
|
||||
.ptb20{padding-top:20px!important;padding-bottom:20px!important}
|
||||
.plr20{padding-left:20px!important;padding-right:20px!important}
|
||||
.pl20{padding-left:20px!important}
|
||||
.pr20{padding-right:20px!important}
|
||||
|
||||
/**浮动**/
|
||||
.f-left{float:left}
|
||||
.f-right{float:right}
|
||||
.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}
|
||||
|
||||
/**卡片样式**/
|
||||
.my-cart{-webkit-box-shadow:0 0 20px rgba(0,0,0,.08);box-shadow:0 0 20px rgba(0,0,0,.08);border-radius:5px}
|
||||
|
||||
/**颜色**/
|
||||
.bg-white{background:#fff!important}
|
||||
.col-white{color:#fff!important}
|
||||
.childrenBody{padding:15px;background-color:#f1f2f7}
|
||||
.ok-card-list{padding:15px}
|
||||
.ok-card-list .ok-big-font{font-size:36px;color:#666;line-height:36px;padding:5px 0 10px;overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap}
|
||||
|
||||
/*进度条颜色*/
|
||||
.per-bg-a{background:#00c292!important}
|
||||
.per-bg-b{background:#9a66e4!important}
|
||||
.per-bg-c{background:#03a9f3!important}
|
||||
.per-bg-d{background:#fb9678!important}
|
||||
.per-bg-e{background:#ed4014!important}
|
||||
.per-bg-f{background:#ab8ce4!important}
|
||||
.per-bg-g{background:#e46cbb!important}
|
@ -0,0 +1,211 @@
|
||||
@charset "utf-8";
|
||||
/* css */
|
||||
* { margin: 0; padding: 0 }
|
||||
body { font: 15px "Microsoft YaHei", Arial, Helvetica, sans-serif; color: #666; line-height: 1.5; }
|
||||
img { border: 0; display: block }
|
||||
ul, li { list-style: none; }
|
||||
a { text-decoration: none; color: #333; }
|
||||
a:hover { text-decoration: none; }
|
||||
.blank { height: 10px; overflow: hidden; width: 100%; margin: auto; clear: both }
|
||||
.fl { float: left }
|
||||
.fr { float: right }
|
||||
header { position: fixed; top: 0; left: 0; z-index: 10; margin: 0; width: 100%; height: 48px; overflow: hidden; background: #313842; line-height: 48px; }
|
||||
.logo { font-size: 22px; color: #FFF; margin-left: 20px; float: left }
|
||||
.logo a { color: #fff }
|
||||
.top-nav { float: left; margin-left: 60px }
|
||||
.top-nav ul { overflow: hidden }
|
||||
.top-nav ul li { display: block; float: left; padding-right: 40px }
|
||||
.top-nav ul li a { color: #FFF }
|
||||
.top-nav ul li a:hover { color: #ccc }
|
||||
.top-nav ul li.selected a, .top-nav ul li a#selected { color: #09b1b9; }
|
||||
.search { background: #FFF; overflow: hidden; width: 260px; float: right; margin: 10px 30px 0 0; border-radius: 20px; }
|
||||
.search .input_text { padding-left: 5px; float: left; outline: none; border: 0; height: 30px; line-height: 30px; }
|
||||
.search .input_submit { background: url(../images/search.png) no-repeat center right 10px; color: #FFF; float: right; width: 32px; border: none; cursor: pointer; outline: none; height: 30px; line-height: 30px; }
|
||||
aside { width: 180px; float: left; overflow: hidden; position: fixed; color: #fff; }
|
||||
.about { line-height: 26px; font-size: 14px; padding: 0 10px; margin-top: 50px; }
|
||||
.about i { display: block; margin: 20px auto; width: 100px; height: 100px; }
|
||||
.about i img { width: 100%; display: block; border-radius: 50%; margin: auto }
|
||||
.about p { }
|
||||
.weixin { width: 100%; text-align: center; }
|
||||
.weixin img { width: 80%; margin: 40px auto 10px }
|
||||
|
||||
.welcome { border-bottom: 1px solid #E1E1E1; background: url(../images/zhuye.png) no-repeat left 20px center #fff; line-height: 42px; padding-left: 40px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
|
||||
.picbox { border: 1px solid #E1E1E1; margin: 20px; background: #fff; overflow: hidden; }
|
||||
.pictitle { background: #F8F8F8; height: 40px; line-height: 40px; text-align: center; font-size: 16px; border-bottom: 1px solid #E1E1E1; }
|
||||
.pictitle a { color: #666; }
|
||||
.pictitle a:hover { color: #000 }
|
||||
/*gundong*/
|
||||
.Box_con { position: relative; margin: 20px 60px; }
|
||||
.Box_con .btnl { position: absolute; }
|
||||
.Box_con .btn { display: block; width: 65px; height: 65px; position: absolute; top: 40px; cursor: pointer; }
|
||||
.Box_con .btnl { background: url(../images/cp3.png) no-repeat center; left: -60px; }
|
||||
.Box_con .btnl:hover { background: url(../images/cp4.png) no-repeat center; }
|
||||
.Box_con .btnr { background: url(../images/cp1.png) no-repeat center; right: -60px; }
|
||||
.Box_con .btnr:hover { background: url(../images/cp2.png) no-repeat center; }
|
||||
.Box_con .conbox { position: relative; overflow: hidden; }
|
||||
.Box_con .conbox ul { position: relative; list-style: none; overflow: hidden; }
|
||||
.Box_con .conbox ul li { float: left; width: 210px; height: 180px; margin-left: 20px; overflow: hidden; }
|
||||
.Box_con .conbox ul li:first-child { margin-left: 0; }
|
||||
.Box_con .conbox ul li img { display: block; width: 100%; height: 150px; transition: all 0.5s; }
|
||||
.Box_con .conbox ul li p { height: 30px; line-height: 30px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
|
||||
.Box_con .conbox ul li:hover p { color: #09B1B9 }
|
||||
/*newsbox*/
|
||||
.newsbox { margin: 20px 10px }
|
||||
.newsbox section { width: 33.3%; float: left; margin-bottom: 20px }
|
||||
.newsbox .news { background: #fff; border: 1px solid #E1E1E1; margin: 0 10px }
|
||||
.newstitle { line-height: 40px; font-size: 15px; border-bottom: 1px solid #E1E1E1; background: #F8F8F8 url(../images/newslist.png) no-repeat left 14px center; padding: 0 20px 0 46px; font-weight: normal }
|
||||
.newstitle span { float: right; font-size: 14px }
|
||||
.newstitle span a { color: #666 }
|
||||
.newstitle b { display: block; border-left: 1px solid #E1E1E1; padding-left: 10px }
|
||||
.newsbox .news ul { padding: 10px }
|
||||
.newsbox .news ul li { display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; height: 28px; width: 96%; line-height: 28px; font-size: 14px; background: url(../images/li.png) no-repeat left center; padding-left: 15px; }
|
||||
.newsbox .news ul li span { float: right; color: #999; font-size: 12px; margin-left: 20px }
|
||||
.newsbox .news ul li a:hover { color: #09B1B9; }
|
||||
/*link*/
|
||||
.links { border: 1px solid #E1E1E1; margin: 0 20px 20px 20px; background: #fff; overflow: hidden; }
|
||||
.linktitle { background: #F8F8F8; height: 40px; line-height: 40px; text-align: center; font-size: 16px; border-bottom: 1px solid #E1E1E1; }
|
||||
.link-pic { padding: 20px; overflow: hidden }
|
||||
.link-pic li { float: left; height: 34px; margin-right: 20px; border: 1px solid #E1E1E1; margin-bottom: 10px }
|
||||
.link-pic li img { height: 34px; width: 100% }
|
||||
.link-text { padding: 0 20px 20px 20px; overflow: hidden }
|
||||
.link-text li { float: left; margin-right: 20px }
|
||||
.link-text li a:hover { color: #09B1B9; }
|
||||
.copyright { padding: 0 20px; text-align: center; margin-bottom: 20px; clear: both; }
|
||||
.copyright a { color: #666 }
|
||||
/*cd-top*/
|
||||
.cd-top { display: inline-block; height: 40px; width: 40px; position: fixed; bottom: 40px; right: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); overflow: hidden; text-indent: 100%; white-space: nowrap; background: rgba(0, 0, 0, 0.8) url(../images/top.png) no-repeat center; visibility: hidden; opacity: 0; -webkit-transition: all 0.3s; -moz-transition: all 0.3s; transition: all 0.3s; z-index: 9999999 }
|
||||
.cd-top.cd-is-visible { visibility: visible; opacity: 1; }
|
||||
/*blogbox*/
|
||||
.blogbox { width: 70%; float: left; }
|
||||
.bloglist { margin: 20px; overflow: hidden; border: 1px solid #E1E1E1; background: #fff }
|
||||
.bloglist li { overflow: hidden }
|
||||
.bloglist h2 { border-top: 1px solid #eee; border-bottom: 1px solid #eee; background: #FDFDFD; font-weight: 400; font-size: 18px; line-height: 40px; padding-left: 20px; position: relative }
|
||||
.bloglist h2:before { content: ""; position: absolute; bottom: 0; left: 0; height: 100%; width: 3px; background: #09b1b9 }
|
||||
.bloglist li:hover h2 a { color: #09B1B9 }
|
||||
.bloglist li:nth-child(1) h2 { border-top: 0 }
|
||||
.bloglist li i { display: block; float: right; width: 20%; margin: 20px }
|
||||
.bloglist li i img { width: 100% }
|
||||
.blogtext { margin: 20px 0 20px 20px; overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; display: -webkit-box; -webkit-line-clamp: 3; }
|
||||
.bloginfo { margin-left: 20px }
|
||||
.bloginfo span { padding-left: 20px }
|
||||
.bloginfo span, .bloginfo span a { margin-right: 1.5%; color: #999; }
|
||||
.bloginfo span a:hover { color: #09B1B9 }
|
||||
.bloginfo span:nth-child(1) { background: url(../images/yh.png) no-repeat left center }
|
||||
.bloginfo span:nth-child(2) { background: url(../images/sj.png) no-repeat left center }
|
||||
.bloginfo span:nth-child(3) { background: url(../images/bq.png) no-repeat left center }
|
||||
.bloginfo span:nth-child(4) { background: url(../images/yh.png) no-repeat left center }
|
||||
/*rside*/
|
||||
.rside { width: 30%; float: right }
|
||||
.rside .news { background: #fff; margin: 20px 20px 20px 0; border: 1px solid #e2e2e2; }
|
||||
.rside .news ul { padding: 10px }
|
||||
.rside .news ul li { display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; height: 28px; width: 96%; line-height: 28px; font-size: 14px; background: url(../images/li.png) no-repeat left center; padding-left: 15px; }
|
||||
.rside .news ul li span { float: right; color: #999; font-size: 12px; margin-left: 20px; }
|
||||
.rside .news ul li a:hover { color: #09B1B9; }
|
||||
/* pagelist */
|
||||
.pagelist { text-align: center; color: #666; width: 100%; clear: both; margin: 20px 0; padding-top: 20px }
|
||||
.pagelist a { color: #666; margin: 0 2px 5px; border: 1px solid #d2d2d2; padding: 5px 10px; display: inline-block; background: #fff; }
|
||||
.pagelist a:hover { color: #09B1B9; }
|
||||
.pagelist > b { border: 1px solid #09b1b9; padding: 5px 10px; background: #09b1b9; color: #fff; }
|
||||
/*contentbox*/
|
||||
.contentbox { border: 1px solid #E1E1E1; margin: 20px; background: #FFF; padding: 20px }
|
||||
.contitle { font-size: 20px; line-height: 26px; margin-bottom: 20px }
|
||||
.contentbox .bloginfo { margin-left: 0 }
|
||||
.contentbox .jianjie { margin: 20px 0; background: #f7f7f7; padding: 10px; }
|
||||
.jianjie b { color: #09b1b9; margin-right: 5px; }
|
||||
.entry p { margin: 5px 0 10px; color: #666; font-size: 14px; line-height: 180%; word-break: break-all; }
|
||||
.entry img { max-width: 100% }
|
||||
.down { background: #FFFCEF; border: 1px solid #FFBB76; border-radius: 2px; font-size: 14px; margin: 20px; padding: 15px 20px; line-height: 26px; }
|
||||
.down p:first-child { margin-bottom: 15px }
|
||||
.downlink { overflow: hidden; margin: 20px 0; }
|
||||
.downbtn { background: #1BA1E2; border-radius: 2px; color: #FFFFFF; font-size: 14px; padding: 8px 30px; line-height: 35px; }
|
||||
.share { margin: 20px; }
|
||||
.nextinfo { margin: 20px 0 }
|
||||
.nextinfo p { padding: 4px 20px; }
|
||||
.nextinfo a:hover { color: #09B1B9; text-decoration: underline }
|
||||
.viewbox { border: 1px solid #E1E1E1; margin: 20px; background: #FFF; }
|
||||
.viewbox ul { padding: 10px; overflow: hidden }
|
||||
.viewbox ul li { width: 25%; float: left; overflow: hidden }
|
||||
.viewbox ul li a { margin: 0 8px; display: block }
|
||||
.viewbox ul li i { overflow: hidden; display: block }
|
||||
.viewbox ul li img { width: 100% }
|
||||
.viewbox ul li p { line-height: 18px; font-size: 14px; color: #666; margin: 10px 0 }
|
||||
.viewbox ul li:hover p { color: #09B1B9; }
|
||||
.viewbox ul li span { color: #999; font-size: 12px; line-height: 20px; }
|
||||
.pinlun { border: 1px solid #E1E1E1; margin: 20px; background: #FFF; }
|
||||
.gbok { padding: 20px }
|
||||
/*media*/
|
||||
#mnav { }
|
||||
#mnav a { color: #FFF }
|
||||
#mnavh { display: none; width: 30px; height: 40px; float: right; text-align: center; padding: 0 5px }
|
||||
.navicon { display: block; position: relative; width: 30px; height: 5px; background-color: #FFFFFF; margin-top: 20px }
|
||||
.navicon:before, .navicon:after { content: ''; display: block; width: 30px; height: 5px; position: absolute; background: #FFFFFF; -webkit-transition-property: margin, -webkit-transform; transition-property: margin, -webkit-transform; transition-property: margin, transform; transition-property: margin, transform, -webkit-transform; -webkit-transition-duration: 300ms; transition-duration: 300ms; }
|
||||
.navicon:before { margin-top: -10px; }
|
||||
.navicon:after { margin-top: 10px; }
|
||||
.open .navicon { background: none }
|
||||
.open .navicon:before { margin-top: 0; -webkit-transform: rotate(45deg); transform: rotate(45deg); }
|
||||
.open .navicon:after { margin-top: 0; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); }
|
||||
.open .navicon:before, .open .navicon:after { content: ''; display: block; width: 30px; height: 5px; position: absolute; background: #fff; }
|
||||
#mside { display: none }
|
||||
@media screen and (min-width: 960px) and (max-width: 1023px) {
|
||||
.top-nav { float: right; margin-left: 0 }
|
||||
.top-nav ul li { padding-right: 23px; }
|
||||
.newsbox .news ul li span { display: none }
|
||||
.newsbox .news { margin: 0 5px 0 0 }
|
||||
.picbox { margin: 10px }
|
||||
.blogtext { -webkit-line-clamp: 2; }
|
||||
.bloglist li { margin-bottom: 10px }
|
||||
.rside .news ul li span { display: none }
|
||||
.bloglist { margin: 10px; }
|
||||
.rside .news { margin: 10px 10px 10px 0; }
|
||||
.links { margin: 0 10px 10px 10px; }
|
||||
.contentbox { margin: 10px }
|
||||
.viewbox { margin: 10px }
|
||||
.pinlun { margin: 10px }
|
||||
}
|
||||
@media screen and (min-width: 768px) and (max-width: 959px) {
|
||||
.top-nav { position: fixed; right: 0; float: right; margin-left: 0; background: #323841; width: 200px }
|
||||
.top-nav ul li { padding-right: 0 }
|
||||
#mnavh { display: block; }
|
||||
#nav { display: none; padding-left: 10px; border-left: #09b1b9 10px solid; }
|
||||
.search { display: none }
|
||||
.rside { display: none }
|
||||
.blogbox { width: 100% }
|
||||
.contentbox, .viewbox, .pinlun, .picbox { margin: 10px }
|
||||
.newsbox { margin: 0; padding: 0 10px; }
|
||||
.bloginfo { margin-bottom: 20px }
|
||||
.newsbox section { width: 50% }
|
||||
.links { margin: 0 10px 10px 10px }
|
||||
.newsbox .news { margin: 0 }
|
||||
}
|
||||
@media only screen and (max-width: 767px) {
|
||||
body { }
|
||||
.navicon { margin-top: 18px }
|
||||
.top-nav { position: fixed; right: 0; float: right; margin-left: 0; background: #323841; }
|
||||
.top-nav ul li { padding-right: 20px }
|
||||
#mnavh { display: block; }
|
||||
#nav { display: none; padding-left: 10px; border-left: #09b1b9 10px solid; }
|
||||
header { height: 98px; position: initial; }
|
||||
.search { width: 80%; margin-bottom: 10px }
|
||||
.side { display: none }
|
||||
.rside { display: none }
|
||||
.blogbox { width: 100% }
|
||||
.contentbox, .viewbox, .pinlun, .picbox, .bloglist { margin: 10px }
|
||||
.newsbox { margin: 0; padding: 0 10px; }
|
||||
.bloginfo { margin-bottom: 20px }
|
||||
.newsbox section { width: 100% }
|
||||
.links { margin: 0 10px 10px 10px }
|
||||
.newsbox .news { margin: 0 }
|
||||
.main-content { margin-left: 0; overflow: hidden; margin-top: 0 }
|
||||
.licur span { display: block }
|
||||
#starlist, .weixin { display: none; }
|
||||
.copyright { margin-bottom: 0 }
|
||||
#starlist li a { padding-left: 30px }
|
||||
#mside { display: block; text-align: center; font-size: 16px; line-height: 42px; background: #09B1B9; color: #fff }
|
||||
.but { position: relative; display: block }
|
||||
.but:after { position: absolute; content: "X"; width: 10px; top: 0; right: 5%; height: 4px }
|
||||
.bloglist h2 { font-size: 16px }
|
||||
.contentbox { padding: 10px }
|
||||
.down { margin: 0 }
|
||||
.viewbox ul li { width: 50%; margin-bottom: 20px }
|
||||
.nextinfo p { padding: 0 5px }
|
||||
}
|
@ -0,0 +1,118 @@
|
||||
.layui-form {
|
||||
width: 320px !important;
|
||||
margin: auto !important;
|
||||
margin-top: 160px !important;
|
||||
}
|
||||
|
||||
.layui-form button {
|
||||
width: 100% !important;
|
||||
height: 44px !important;
|
||||
line-height: 44px !important;
|
||||
font-size: 16px !important;
|
||||
background-color: #5FB878 !important;
|
||||
font-weight: 550 !important;
|
||||
}
|
||||
|
||||
.layui-form-checked[lay-skin=primary] i {
|
||||
border-color: #5FB878 !important;
|
||||
background-color: #5FB878 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.layui-tab-content {
|
||||
margin-top: 15px !important;
|
||||
padding-left: 0px !important;
|
||||
padding-right: 0px !important;
|
||||
}
|
||||
|
||||
.layui-form-item {
|
||||
margin-top: 20px !important;
|
||||
}
|
||||
|
||||
.layui-input {
|
||||
height: 44px !important;
|
||||
line-height: 44px !important;
|
||||
padding-left: 15px !important;
|
||||
border-radius: 3px !important;
|
||||
}
|
||||
|
||||
.layui-input:focus {
|
||||
box-shadow: 0px 0px 3px 1px #5FB878 !important;
|
||||
}
|
||||
|
||||
.logo {
|
||||
width: 60px !important;
|
||||
margin-top: 10px !important;
|
||||
margin-bottom: 10px !important;
|
||||
margin-left: 20px !important;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 30px !important;
|
||||
font-weight: 550 !important;
|
||||
margin-left: 20px !important;
|
||||
color: #5FB878 !important;
|
||||
display: inline-block !important;
|
||||
height: 60px !important;
|
||||
line-height: 60px !important;
|
||||
margin-top: 10px !important;
|
||||
position: absolute !important;
|
||||
}
|
||||
|
||||
.desc {
|
||||
width: 100% !important;
|
||||
text-align: center !important;
|
||||
color: gray !important;
|
||||
height: 60px !important;
|
||||
line-height: 60px !important;
|
||||
}
|
||||
|
||||
body {
|
||||
background-repeat:no-repeat;
|
||||
background-color: whitesmoke;
|
||||
background-size: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.code {
|
||||
float: left;
|
||||
margin-right: 13px;
|
||||
margin: 0px !important;
|
||||
border: #e6e6e6 1px solid;
|
||||
display: inline-block!important;
|
||||
}
|
||||
|
||||
.codeImage {
|
||||
float: right;
|
||||
height: 42px;
|
||||
border: #e6e6e6 1px solid;
|
||||
}
|
||||
|
||||
.pear-btn {
|
||||
display: inline-block;
|
||||
line-height: 38px;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
background-color: #fff;
|
||||
border: 1px solid #dcdfe6;
|
||||
color: #606266;
|
||||
text-align: center;
|
||||
box-sizing: border-box;
|
||||
outline: none;
|
||||
transition: 0.1s;
|
||||
font-weight: 500;
|
||||
padding: 0 18px;
|
||||
height: 38px;
|
||||
font-size: 14px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.pear-btn-success {
|
||||
background-color: #67c23a !important;
|
||||
}
|
||||
.pear-btn-danger,
|
||||
.pear-btn-warming,
|
||||
.pear-btn-success,
|
||||
.pear-btn-primary {
|
||||
color: #fff !important;
|
||||
}
|
@ -0,0 +1,113 @@
|
||||
html,body{
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
canvas{
|
||||
display:block;
|
||||
vertical-align:bottom;
|
||||
}
|
||||
|
||||
.count-particles{
|
||||
background: #000022;
|
||||
position: absolute;
|
||||
top: 48px;
|
||||
left: 0;
|
||||
width: 80px;
|
||||
color: #13E8E9;
|
||||
font-size: .8em;
|
||||
text-align: left;
|
||||
text-indent: 4px;
|
||||
line-height: 14px;
|
||||
padding-bottom: 2px;
|
||||
font-family: Helvetica, Arial, sans-serif;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.js-count-particles{
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
#stats,
|
||||
.count-particles{
|
||||
-webkit-user-select: none;
|
||||
margin-top: 5px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
#stats{
|
||||
border-radius: 3px 3px 0 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.count-particles{
|
||||
border-radius: 0 0 3px 3px;
|
||||
}
|
||||
|
||||
|
||||
#particles-js{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
background-image: url(../images/bg_login.jpg);
|
||||
background-position: 50% 50%;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.sk-rotating-plane {
|
||||
display: none;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin: auto;
|
||||
background-color: white;
|
||||
-webkit-animation: sk-rotating-plane 1.2s infinite ease-in-out;
|
||||
animation: sk-rotating-plane 1.2s infinite ease-in-out;
|
||||
z-index: 1;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-left: -40px;
|
||||
margin-top: -80px;
|
||||
}
|
||||
.sk-rotating-plane.active{display: block;}
|
||||
|
||||
@keyframes sk-rotating-plane{
|
||||
0% {
|
||||
-webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
|
||||
transform: perspective(120px) rotateX(0deg) rotateY(0deg);
|
||||
}
|
||||
50% {
|
||||
-webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
|
||||
transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
|
||||
transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes login-small{
|
||||
0%{
|
||||
transform: scale(1);-moz-transform: scale(1); /* Firefox 4 */-webkit-transform: scale(1); /* Safari 和 Chrome */-o-transform: scale(1); /* Opera */-ms-transform:scale(1); /* IE 9 */
|
||||
}
|
||||
100%{
|
||||
transform: scale(0.2);-moz-transform: scale(0.1); /* Firefox 4 */-webkit-transform: scale(0.2); /* Safari 和 Chrome */-o-transform: scale(0.1); /* Opera */-ms-transform:scale(0.1); /* IE 9 */
|
||||
}
|
||||
}
|
||||
|
||||
.login{z-index: 2;position:absolute;width: 350px;border-radius: 5px;height: 500px;background: white;box-shadow: 0px 0px 5px #333333;top: 50%;left: 50%;margin-top: -250px;margin-left: -175px;transition: all 1s;-moz-transition: all 1s; /* Firefox 4 */-webkit-transition: all 1s; /* Safari 和 Chrome */-o-transition: all 1s; /* Opera */}
|
||||
.login-top{font-size: 24px;margin-top: 100px;text-align:center;box-sizing: border-box;color: #333333;margin-bottom: 50px;}
|
||||
.login-center{width: 100%;box-sizing: border-box;padding: 0 40px;margin-bottom: 30px;}
|
||||
.login-center-img{width: 20px;height: 20px;float: left;margin-top: 5px;}
|
||||
.login-center-img>img{width: 100%;}
|
||||
.login-center-input{float: left;width: 230px;margin-left: 15px;height: 30px;position: relative;}
|
||||
.login-center-input input{z-index: 2;transition: all 0.5s;padding-left: 10px;color: #333333;width: 100%;height: 30px;border: 0;border-bottom: 1px solid #cccccc;border-top: 1px solid #ffffff;border-left: 1px solid #ffffff;border-right: 1px solid #ffffff;box-sizing: border-box;outline: none;position: relative;}
|
||||
.login-center-input input:focus{border: 1px solid dodgerblue;}
|
||||
.login-center-input-text{background: white;padding: 0 5px;position: absolute;z-index: 0;opacity: 0;height: 20px;top: 50%;margin-top: -10px;font-size: 14px;left: 5px;color: dodgerblue;line-height: 20px;transition: all 0.5s;-moz-transition: all 0.5s; /* Firefox 4 */-webkit-transition: all 0.5s; /* Safari 和 Chrome */-o-transition: all 0.5s; /* Opera */}
|
||||
.login-center-input input:focus~.login-center-input-text{top: 0;z-index: 3;opacity: 1;margin-top: -15px;}
|
||||
.login.active{-webkit-animation: login-small 0.8s ; animation: login-small 0.8s ;animation-fill-mode:forwards;-webkit-animation-fill-mode:forwards}
|
||||
.login-button{cursor: pointer;width: 250px;text-align: center;height: 40px;line-height: 40px;background-color: dodgerblue;border-radius: 5px;margin: 0 auto;margin-top: 50px;color: white;}
|
||||
|
@ -0,0 +1,141 @@
|
||||
@import "../lib/layui/css/layui.css";
|
||||
@import "../lib/fonts/iconfont.css";
|
||||
|
||||
#navBar .layui-nav-child{overflow:hidden;padding:0!important}
|
||||
#navBar .layui-nav-child dd,#navBar .layui-nav-itemed .layui-nav-child{overflow:hidden}
|
||||
[class*=" ok-icon"],[class^=ok-icon]{line-height:inherit;font-size:16px}
|
||||
.not-scroll::-webkit-scrollbar{height:0;width:0;background:0 0;display:none}
|
||||
.scrollBody::-webkit-scrollbar{display:none}
|
||||
.no-line.layui-this:after{background:0 0!important;color:transparent!important}
|
||||
.ok-none-select{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
||||
.okadmin-text-center{text-align:center}
|
||||
.okadmin-bg-20222A{background:#20222a}
|
||||
.post-left220{left:220px!important}
|
||||
.flex-vc{display:flex!important;display:-webkit-flex!important;align-items:center!important;justify-content:center!important}
|
||||
.pl0{padding-left:0!important}
|
||||
.pr0{padding-right:0!important}
|
||||
.pl10{padding-left:10px!important}
|
||||
.pr10{padding-right:10px!important}
|
||||
#noticeQQ{cursor:pointer;color:#ff5722;font-weight:bolder}
|
||||
.okadmin-header .layui-nav-bar,.okadmin-header .layui-nav-tree .layui-nav-itemed:after{background:#20222a!important;bottom:auto;top:0!important;height:2px}
|
||||
.okadmin-header .layui-nav .layui-this:after{background:0 0!important;color:transparent!important}
|
||||
.layadmin-pagetabs .layui-tab-title li.layui-this:after,.layadmin-pagetabs .layui-tab-title li:after,.layadmin-side-shrink .layui-side-menu .layui-nav>.layui-nav-item>.layui-nav-child,.layui-layer-admin .layui-layer-title,.layui-side-menu{background:#001529!important}
|
||||
.layui-tab-brief>.layui-tab-title .layui-this{color:#000}
|
||||
.ok-tab-title li strong[is-close=false]~i.layui-tab-close,.ok-tab-title li[tab=index] i.layui-tab-close{display:none!important}
|
||||
.okadmin .okadmin-header{background:#fff;height:49px;line-height:49px;border-bottom:1px solid #f6f6f6}
|
||||
.okadmin-header .layui-nav-item .layui-icon{font-size:16px}
|
||||
.okadmin-header .layui-nav .layui-nav-item a,.okadmin-header .layui-nav-child dd.layui-this a{color:#000}
|
||||
#userInfo .layui-this,#userInfo .layui-this a{background:0 0}
|
||||
#userInfo .layui-this a:hover{background:#f2f2f2}
|
||||
.weather{color:#000}
|
||||
#tp-weather-widget .tpwthwidt .text_1vUR5ag,#tp-weather-widget .tpwthwidt .title_2I35arv{margin:0!important;color:#000!important}
|
||||
.ok-show-menu{font-size:18px}
|
||||
.ok-show-menu .layui-icon{font-size:18px!important}
|
||||
.ok-show-menu .ok-menu-hide:before{content:"\e66b"}
|
||||
#fullScreen i.okicon-screen-restore:before{content:"\e758"}
|
||||
.okadmin-header .layui-input-search{display:inline-block;vertical-align:middle;height:32px;border:none;cursor:text}
|
||||
.okadmin-header .layui-nav .layui-nav-item{height:49px;line-height:49px}
|
||||
.okadmin-header .layui-layout-left .layui-nav-item{margin:0 20px}
|
||||
.okadmin-header .layui-layout-left .layui-nav-item.layui-this:after{display:none!important}
|
||||
.okadmin-header .layui-layout-left .layui-nav-item a{padding-left:5px;padding-right:5px}
|
||||
.okadmin .menu-switch{width:30px;height:30px;position:relative;left:220px;top:16px;color:#fff;text-align:center;line-height:30px;cursor:pointer;z-index:9999}
|
||||
.okadmin-header .layui-nav .layui-nav-more{border-color:#000 transparent transparent}
|
||||
.okadmin-header .layui-nav .layui-nav-mored,.okadmin-header .layui-nav-itemed>a .layui-nav-more{border-color:transparent transparent #000}
|
||||
.okadmin-header .layui-nav-child{top:50px}
|
||||
.icon-head-i{font-size:18px;padding-right:5px}
|
||||
.ok-left{top:0!important;width:220px!important;z-index:9999}
|
||||
.ok-left .okadmin-logo{line-height:49px;text-align:center;color:#fff;font-size:16px;position:fixed;left:0;top:0;z-index:1002;width:220px;height:49px;padding:0 15px;box-sizing:border-box;overflow:hidden;font-weight:300;background-repeat:no-repeat;background-position:center center;background:#20222a}
|
||||
.layui-side-menu .layui-nav{width:220px;background:0 0}
|
||||
.layui-side-menu .layui-side-scroll{width:240px!important}
|
||||
.layui-side-menu .layui-side-scroll:before{content:" ";height:50px;line-height:50px;display:flex;width:1px}
|
||||
.okadmin-side .user-photo{width:220px!important;border-top:1px solid #333555}
|
||||
.ok-left.layui-side-menu .layui-nav .layui-nav-item .layui-nav-child a,.ok-left.layui-side-menu .layui-nav .layui-nav-item a{height:40px;line-height:40px;padding-left:45px;padding-right:30px;color:#fff}
|
||||
.ok-left.layui-side-menu .layui-nav .layui-nav-item.layui-this .layui-nav-child a,.ok-left.layui-side-menu .layui-nav .layui-nav-item.layui-this a{color:#fff!important}
|
||||
.ok-left.layui-side-menu .layui-nav-item a:hover{background-color:#4e5465}
|
||||
.ok-left.layui-side-menu .layui-this a:hover{background-color:inherit}
|
||||
.ok-left.layui-side-menu .layui-nav .layui-nav-item .layui-icon,.ok-left.layui-side-menu .layui-nav .layui-nav-item a i{position:absolute;padding-right:10px;left:20px}
|
||||
.ok-left.layui-side-menu .layui-nav .layui-nav-item .layui-nav-child a i{position:static!important;padding-right:10px}
|
||||
#navBar .layui-nav-child .layui-nav-child>dd>a{padding-left:65px}
|
||||
#navBar .layui-nav-child .layui-nav-child .layui-nav-child>dd>a{padding-left:90px}
|
||||
#navBar .layui-nav-child .layui-nav-child .layui-nav-child .layui-nav-child>dd>a{padding-left:115px}
|
||||
.ok-left .user-photo{width:200px;height:120px;padding:15px 0 5px}
|
||||
.ok-left .user-photo a.img{display:block;width:80px;height:80px;margin:0 auto 10px}
|
||||
.ok-left .user-photo a.img img{display:block;width:100%;height:100%;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;border:4px solid #44576b;box-sizing:border-box}
|
||||
.ok-left .user-photo p{display:block;width:100%;height:25px;color:#fff;text-align:center;font-size:12px;white-space:nowrap;line-height:25px;overflow:hidden}
|
||||
#navBar ul{margin:0!important}
|
||||
.ok-tab{background:#f5f7f9}
|
||||
.okadmin-pagetabs{padding:0 80px 0 40px;background-color:transparent;width:100%;position:absolute;height:40px;z-index:1}
|
||||
.okadmin-tabs-control{height:32px;line-height:32px;position:absolute;top:4px;width:32px;right:4px;text-align:center;cursor:pointer;transition:all .3s;-webkit-transition:all .3s;background:#f5f7f9;z-index:10}
|
||||
.okadmin-tabs-control:hover{color:#009688}
|
||||
.ok-tab .move-left{left:0;border-left:none}
|
||||
.ok-tab .move-right{right:40px}
|
||||
.layui-icon-down{right:0}
|
||||
.okadmin-tabs-select.layui-nav{position:absolute;left:0;top:0;width:100%;height:100%;padding:0;background:0 0}
|
||||
.okadmin-nav a,.okadmin-tab a{cursor:pointer}
|
||||
.ok-right-nav-menu{top:0;right:0;width:40px;height:40px;line-height:normal;background:#f5f7f9;display:flex;align-items:center}
|
||||
.okadmin-tab{height:32px;line-height:32px;width:32px}
|
||||
.okadmin-tab .okadmin-tab-item .okadmin-link{display:block;width:100%;height:100%;background:#fff;border-radius:3px}
|
||||
.ok-right-nav-menu:hover .okadmin-tab-item .okadmin-tab-child{display:block!important}
|
||||
.okadmin-tab .okadmin-tab-item .okadmin-tab-child{position:absolute;top:40px;right:0;display:none;white-space:nowrap;line-height:36px;padding:5px 0;box-shadow:0 2px 4px rgba(0,0,0,.12);border:1px solid #d2d2d2;background-color:#fff;z-index:100;border-radius:2px}
|
||||
.okadmin-tab .okadmin-tab-item a{display:block;padding:0 20px;color:#000;transition:all .3s;-webkit-transition:all .3s;font-size:14px}
|
||||
.okadmin-tab .okadmin-tab-item a:hover{background:#f5f7f9}
|
||||
.okadmin-tab .okadmin-tab-item .okadmin-tab-child:visited{display:none!important}
|
||||
.ok-tab .layui-tab-title{margin:0 80px 0 40px;overflow-x:hidden!important;overflow-y:hidden!important;width:max-content!important;z-index:9;position:relative;left:0;height:40px;line-height:40px;border:0}
|
||||
.ok-tab .layui-tab-title li{height:32px;line-height:32px;background:#fff;border-radius:3px;margin-right:15px}
|
||||
.ok-tab .layui-tab-brief>.layui-tab-more li.layui-this,.ok-tab .layui-tab-brief>.layui-tab-title .layui-this,.ok-tab .layui-tab-title li.layui-this{background-color:#fff;color:#009688}
|
||||
.ok-tab .layui-tab-brief>.layui-tab-more li.layui-this:after,.ok-tab .layui-tab-brief>.layui-tab-title .layui-this:after,.ok-tab .layui-tab-title .layui-this:after{display:none}
|
||||
.ok-tab .layui-tab-title .layui-this:after{display:none}
|
||||
.ok-tab-title cite{padding-left:5px;font-style:normal}
|
||||
.weather-ok{height:49px;line-height:49px}
|
||||
.weather-ok .iframe-style{height:50px;padding-top:9px;box-sizing:border-box}
|
||||
.weather-ok .iframe-style:hover{height:400px}
|
||||
.okadmin .content-body{position:absolute;top:50px;right:0;bottom:42px;left:220px;z-index:1;overflow:hidden}
|
||||
.okadmin-tabs-select.layui-nav .layui-nav-item{line-height:40px}
|
||||
.ok-nav-item{height:49px;line-height:49px;position:relative;display:inline-block;vertical-align:middle;font-size:14px;width:auto}
|
||||
.content-body .layui-tab{margin:0}
|
||||
.okadmin .content-body .layui-tab-content{position:absolute;top:40px;bottom:0;width:100%;padding:0;overflow:hidden;left:0;right:0}
|
||||
.okadmin .content-body .layui-tab-content .layui-tab-item{height:100%}
|
||||
.okadmin .content-body .layui-tab-content .layui-tab-item iframe{height:100%}
|
||||
.layui-layout-admin.ok-left-hide .ok-left,.layui-layout-admin.ok-left-hide .ok-left .okadmin-logo{left:-220px}
|
||||
.layui-layout-admin.ok-left-hide .layui-header .layui-layout-left{left:-20px}
|
||||
.layui-layout-admin.ok-left-hide .content-body,.layui-layout-admin.ok-left-hide .layui-footer{left:0}
|
||||
.page-fill{width:100%;height:100%;display:block;box-sizing:border-box}
|
||||
#login .layui-icon{font-size:16px!important}
|
||||
#login .mag0{margin:0!important}
|
||||
#login ::selection{background:#ff5722;color:#fff}
|
||||
#login .layui-red{color:red!important;font-weight:700}
|
||||
#login .layui-blue{color:#01aaed!important}
|
||||
#login .layui-form-item.layui-input-focus input{border-color:#ff6700!important}
|
||||
#login .layui-block{width:100%!important}
|
||||
#login{width:100%;height:100%;background-image:url(../images/login-bg.jpg);position:relative}
|
||||
#login form.layui-form{padding:0 20px 20px 20px;width:300px;position:absolute;left:50%;top:50%;margin:-150px 0 0 -150px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;background:#fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;box-shadow:0 0 50px #009688}
|
||||
#login .login_face{margin:-55px auto 20px;width:100px;height:100px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;border:5px solid #fff;overflow:hidden;box-shadow:0 0 30px #009688;background:#fff}
|
||||
#login .login_face img{width:100%}
|
||||
#login .layui-form-item{position:relative}
|
||||
#login .layui-form-item label{position:absolute;color:#757575;left:10px;top:9px;line-height:20px;background:0 0;padding:0 5px;font-size:14px;cursor:text}
|
||||
#login #code{padding-right:110px}
|
||||
#login .captcha-box .img{position:absolute;top:1px;bottom:1px;right:1px;cursor:pointer;width:100px;background:#c4e1ce}
|
||||
#login .layui-form-item input{background:#fff!important}
|
||||
#login .layui-form-item input,#login .layui-form-item label{transition:all .3s ease-in-out;-webkit-transition:all .3s ease-in-out}
|
||||
#login .layui-form-item input::placeholder{color:transparent!important}
|
||||
#login .layui-form-item.layui-input-focus input::placeholder{color:#757575!important}
|
||||
#login .layui-form-item.layui-input-active label,#login .layui-form-item.layui-input-focus label{top:-10px;font-size:12px;color:#ff6700;background:#fff!important}
|
||||
@media screen{.layui-header .layui-layout-left,.layui-layout-admin .content-body,.layui-layout-admin .layui-footer,.layui-layout-admin .ok-left,.ok-left .okadmin-logo{transition:left .5s}
|
||||
}
|
||||
.ok-make{position:fixed;left:0;right:0;bottom:0;top:0;z-index:9998;background:rgba(0,0,0,.5);display:none}
|
||||
@media screen and (max-width:970px){.ok-hide-md{display:none!important}
|
||||
}
|
||||
@media screen and (max-width:768px){[pc-show]{display:none!important}
|
||||
.layui-layout-admin .ok-left{position:fixed}
|
||||
.ok-input-search{width:7rem}
|
||||
.layui-layout-admin.ok-left-hide .ok-left,.layui-layout-admin.ok-left-hide .ok-left .okadmin-logo{left:0}
|
||||
.okadmin-header .layui-layout-left .layui-nav-item{margin:0 5px}
|
||||
.layui-layout-admin.ok-left-hide .ok-make{display:block}
|
||||
.layui-layout-admin .ok-left,.ok-left .okadmin-logo{transition:left .5s;left:-220px}
|
||||
.layui-header .layui-layout-left{transition:left .5s;left:-20px}
|
||||
.layui-layout-admin .content-body,.layui-layout-admin .layui-footer{transition:left .5s;left:0}
|
||||
.ok-left .okadmin-side .user-photo{height:auto;margin:0 auto}
|
||||
.ok-left .user-photo a.img{width:50px;height:50px}
|
||||
.layui-side-menu .layui-side-scroll{width:200px!important}
|
||||
.ok-left,.ok-left .okadmin-logo,.ok-left .okadmin-side .user-photo,.ok-left.layui-side-menu .layui-nav{width:180px!important;margin:0}
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
.okadmin.orange_theme .ok-left .okadmin-nav .layui-nav-bar {
|
||||
background: #FF4806; }
|
||||
|
||||
.okadmin.orange_theme .ok-left .okadmin-nav .layui-nav-item.layui-this a {
|
||||
background: #FF4806; }
|
||||
|
||||
.okadmin.orange_theme .ok-left .okadmin-nav .layui-nav-item .layui-nav-child .layui-this a {
|
||||
background: #FF4806; }
|
||||
|
||||
.okadmin.orange_theme .ok-tab .okadmin-tabs-control:hover, .okadmin.orange_theme .ok-tab .layui-tab-title li.layui-this {
|
||||
color: #FF4806; }
|
||||
|
||||
.okadmin.blue_theme .ok-left .okadmin-nav .layui-nav-bar {
|
||||
background: #2D8CF0; }
|
||||
|
||||
.okadmin.blue_theme .ok-left .okadmin-nav .layui-nav-item.layui-this a {
|
||||
background: #2D8CF0; }
|
||||
|
||||
.okadmin.blue_theme .ok-left .okadmin-nav .layui-nav-item .layui-nav-child .layui-this a {
|
||||
background: #2D8CF0; }
|
||||
|
||||
.okadmin.blue_theme .ok-tab .okadmin-tabs-control:hover, .okadmin.blue_theme .ok-tab .layui-tab-title li.layui-this {
|
||||
color: #2D8CF0; }
|
@ -0,0 +1,83 @@
|
||||
@import "../css/common.css";
|
||||
@import "../lib/layui/css/layui.css";
|
||||
|
||||
/**控制台样式*/
|
||||
.console .map-body{height:360px}
|
||||
.console .map-china{height:360px}
|
||||
.console .home .layui-card{-webkit-box-shadow:0 0 20px rgba(0,0,0,.08);box-shadow:0 0 20px rgba(0,0,0,.08);border-radius:5px}
|
||||
.console .home .layui-card{-webkit-box-shadow:0 0 20px rgba(0,0,0,.08);box-shadow:0 0 20px rgba(0,0,0,.08);border-radius:5px}
|
||||
.console .ok-card-body{padding:20px;position:relative;width:100%;box-sizing:border-box}
|
||||
.console .ok-card-body .stat-text{color:#455a64;font-size:24px;padding-bottom:5px}
|
||||
.console .ok-card-body .stat-heading{color:#99abb4}
|
||||
.console .ok-card-body .img-box{display:inline-block;vertical-align:middle;padding-right:20px}
|
||||
.console .ok-card-body .img-box img{width:60px}
|
||||
.console .ok-card-body .cart-r{display:inline-block;vertical-align:middle}
|
||||
.console .progress-box{margin-bottom:20px;display:flex}
|
||||
.console .progress-box .por-title{font-weight:600;color:#868e96;padding-bottom:5px}
|
||||
.console .progress-box .por-txt{font-size:13px;padding-bottom:5px}
|
||||
.console .progress-box .pro-head{width:50px;height:50px;line-height:50px;display:inline-block;vertical-align:middle;float:left;overflow:hidden;padding-right:20px}
|
||||
.console .progress-box .pro-head img{background:#bea8ab;width:100%;height:100%;border-radius:100%}
|
||||
.console .progress-box .pro-data{display:inline-block;vertical-align:middle;flex:1}
|
||||
.console .ok-card-body .stat-text{color:#455a64;font-size:24px;padding-bottom:5px}
|
||||
.console .ok-card-body .stat-heading{color:#99abb4}
|
||||
.console .ok-card-body .img-box{display:inline-block;vertical-align:middle}
|
||||
.console .ok-card-body .img-box img{width:60px}
|
||||
.console .ok-card-body .cart-r{display:inline-block;vertical-align:middle;padding-left:20px}
|
||||
|
||||
|
||||
/*控制台1*/
|
||||
.console1 .data-body .w-img{width:60px;height:60px}
|
||||
.console1 .data-body .w-img img{width:100%;height:100%}
|
||||
.console1 .line-home-a{height:60px}
|
||||
.console1 .data-body .media-cont .tit{font-size:16px;padding-bottom:5px}
|
||||
.console1 .data-body .media-cont .num{font-size:24px;line-height:22px}
|
||||
.console1 .data-body .media-cont{-ms-flex-align:center!important;align-items:center!important;-ms-flex:1 1 auto;flex:1 1 auto}
|
||||
.console1 .data-body{display:flex;padding:20px;padding-bottom:0;color:#333}
|
||||
|
||||
/*登录*/
|
||||
#login .layui-icon{font-size:16px!important}
|
||||
#login .mag0{margin:0!important}
|
||||
#login ::selection{background:#ff5722;color:#fff}
|
||||
#login .layui-red{color:red!important;font-weight:700}
|
||||
#login .layui-blue{color:#01aaed!important}
|
||||
#login .layui-form-item.layui-input-focus input{border-color:#ff6700!important}
|
||||
#login .layui-block{width:100%!important}
|
||||
#login{width:100%;height:100%;background-image:url(../images/login-bg.jpg);position:relative}
|
||||
#login form.layui-form{padding:0 20px 20px 20px;width:300px;position:absolute;left:70%;top:50%;margin:-150px 0 0 -150px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-o-box-sizing:border-box;box-sizing:border-box;background:#fff;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;box-shadow:0 0 50px #009688}
|
||||
#login .login_face{margin:-55px auto 20px;width:100px;height:100px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;border:5px solid #fff;overflow:hidden;box-shadow:0 0 30px #009688;background:#fff}
|
||||
#login .login_face img{width:100%}
|
||||
#login .layui-form-item{position:relative}
|
||||
#login .layui-form-item label{position:absolute;color:#757575;left:10px;top:9px;line-height:20px;background:0 0;padding:0 5px;font-size:14px;cursor:text}
|
||||
#login #code{padding-right:110px}
|
||||
#login .captcha-box .img{position:absolute;top:1px;bottom:1px;right:1px;cursor:pointer;width:100px;background:#c4e1ce}
|
||||
#login .layui-form-item input{background:#fff!important}
|
||||
#login .layui-form-item input,#login .layui-form-item label{transition:all .3s ease-in-out;-webkit-transition:all .3s ease-in-out}
|
||||
#login .layui-form-item input::placeholder{color:transparent!important}
|
||||
#login .layui-form-item.layui-input-focus input::placeholder{color:#757575!important}
|
||||
#login .layui-form-item.layui-input-active label,#login .layui-form-item.layui-input-focus label{top:-10px;font-size:12px;color:#ff6700;background:#fff!important}
|
||||
#login .login-link{display:block;font-size:12px}
|
||||
#login .login-link a{display:inline-block;margin-right:20px}
|
||||
|
||||
/*基本资料*/
|
||||
.user-info .user_left{float:left;margin:20px 0 0 5%}
|
||||
.user-info .user_right p{margin:10px 0 25px;font-size:12px;text-align:center;color:#ff5722}
|
||||
.user-info .userAddress.layui-form-item .layui-input-inline{width:23%}
|
||||
.user-info .userAddress.layui-form-item .layui-input-inline:last-child{margin-right:0}
|
||||
@media screen and (max-width:450px){
|
||||
.user-info .userAddress.layui-form-item .layui-input-inline{width:auto}
|
||||
}
|
||||
|
||||
/*修改密码*/
|
||||
.seting-pass{background: #FFFFFF;}
|
||||
.seting-pass .user_right p{margin:10px 0 25px;font-size:12px;text-align:center;color:#ff5722}
|
||||
.seting-pass .layui-table th{text-align:center}
|
||||
.seting-pass .changePwd{width:30%;margin:3% 0 0 5%}
|
||||
|
||||
|
||||
/*响应样式*/
|
||||
@media screen and (max-width:750px){
|
||||
.ok-in-hide-md{display:none!important}
|
||||
}
|
||||
@media screen and (max-width:548px){
|
||||
.ok-in-hide-xs,[ok-pc-in-show]{display:none!important}
|
||||
}
|
After Width: | Height: | Size: 470 B |
After Width: | Height: | Size: 262 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 50 KiB |
After Width: | Height: | Size: 411 B |
After Width: | Height: | Size: 460 B |
After Width: | Height: | Size: 465 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 110 B |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 84 KiB |
After Width: | Height: | Size: 17 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1013 B |
After Width: | Height: | Size: 485 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 205 B |
After Width: | Height: | Size: 227 B |
After Width: | Height: | Size: 201 B |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 121 B |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 70 KiB |
After Width: | Height: | Size: 727 B |
After Width: | Height: | Size: 33 KiB |
After Width: | Height: | Size: 309 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 27 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 314 KiB |
After Width: | Height: | Size: 326 B |
After Width: | Height: | Size: 237 KiB |
After Width: | Height: | Size: 385 B |
@ -0,0 +1,127 @@
|
||||
/* -----------------------------------------------
|
||||
/* How to use? : Check the GitHub README
|
||||
/* ----------------------------------------------- */
|
||||
|
||||
/* To load a config file (particles.json) you need to host this demo (MAMP/WAMP/local)... */
|
||||
/*
|
||||
particlesJS.load('particles-js', 'particles.json', function() {
|
||||
console.log('particles.js loaded - callback');
|
||||
});
|
||||
*/
|
||||
|
||||
/* Otherwise just put the config content (json): */
|
||||
|
||||
particlesJS('particles-js',
|
||||
|
||||
{
|
||||
"particles": {
|
||||
"number": {
|
||||
"value": 40,
|
||||
"density": {
|
||||
"enable": true,
|
||||
"value_area": 800
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"value": "#ffffff"
|
||||
},
|
||||
"shape": {
|
||||
"type": "circle",
|
||||
"stroke": {
|
||||
"width": 0,
|
||||
"color": "#000000"
|
||||
},
|
||||
"polygon": {
|
||||
"nb_sides": 5
|
||||
},
|
||||
"image": {
|
||||
"src": "img/github.svg",
|
||||
"width": 100,
|
||||
"height": 100
|
||||
}
|
||||
},
|
||||
"opacity": {
|
||||
"value": 0.7,
|
||||
"random": false,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
"speed": 1,
|
||||
"opacity_min": 0.1,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"size": {
|
||||
"value": 3,
|
||||
"random": true,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
"speed": 40,
|
||||
"size_min": 0.1,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"line_linked": {
|
||||
"enable": true,
|
||||
"distance": 150,
|
||||
"color": "#ffffff",
|
||||
"opacity": 0.6,
|
||||
"width": 1
|
||||
},
|
||||
"move": {
|
||||
"enable": true,
|
||||
"speed": 6,
|
||||
"direction": "none",
|
||||
"random": false,
|
||||
"straight": false,
|
||||
"out_mode": "out",
|
||||
"bounce": false,
|
||||
"attract": {
|
||||
"enable": false,
|
||||
"rotateX": 600,
|
||||
"rotateY": 1200
|
||||
}
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"detect_on": "canvas",
|
||||
"events": {
|
||||
"onhover": {
|
||||
"enable": true,
|
||||
"mode": "grab"
|
||||
},
|
||||
"onclick": {
|
||||
"enable": true,
|
||||
"mode": "push"
|
||||
},
|
||||
"resize": true
|
||||
},
|
||||
"modes": {
|
||||
"grab": {
|
||||
"distance": 200,
|
||||
"line_linked": {
|
||||
"opacity": 1
|
||||
}
|
||||
},
|
||||
"bubble": {
|
||||
"distance": 400,
|
||||
"size": 40,
|
||||
"duration": 2,
|
||||
"opacity": 8,
|
||||
"speed": 3
|
||||
},
|
||||
"repulse": {
|
||||
"distance": 200,
|
||||
"duration": 0.4
|
||||
},
|
||||
"push": {
|
||||
"particles_nb": 4
|
||||
},
|
||||
"remove": {
|
||||
"particles_nb": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
"retina_detect": false
|
||||
}
|
||||
|
||||
);
|
@ -0,0 +1,128 @@
|
||||
"use strict";
|
||||
layui.use(["element","okUtils", "table", "countUp"], function () {
|
||||
var countUp = layui.countUp;
|
||||
var table = layui.table;
|
||||
var okUtils = layui.okUtils;
|
||||
var $ = layui.jquery;
|
||||
|
||||
//总体统计
|
||||
function statText() {
|
||||
okUtils.ajaxCloud({
|
||||
url:"/sys/interface/query",
|
||||
param:{'type':'indexStatistics'},
|
||||
async:true,
|
||||
success : function(result) {
|
||||
$("#orgNumber").html(result.msg[0].orgNumber);
|
||||
$("#parkNumber").html(result.msg[0].parkNumber);
|
||||
$("#carNumber").html(result.msg[0].carNumber);
|
||||
$("#cost").html(result.msg[0].cost);
|
||||
}
|
||||
});
|
||||
}
|
||||
//订单支付类型
|
||||
function payType(){
|
||||
var myChart = echarts.init($("#payType")[0], "theme");
|
||||
var option = {
|
||||
color: ['#19be6b'],
|
||||
tooltip: {
|
||||
trigger: 'axis',
|
||||
axisPointer: {
|
||||
type: 'shadow'
|
||||
}
|
||||
},
|
||||
grid: {
|
||||
left: '3%',
|
||||
right: '4%',
|
||||
bottom: '3%',
|
||||
containLabel: true
|
||||
},
|
||||
legend: {
|
||||
data:['订单数']
|
||||
},
|
||||
xAxis: [
|
||||
{
|
||||
type: 'category',
|
||||
data: [],
|
||||
axisTick: {
|
||||
alignWithLabel: true
|
||||
}
|
||||
}
|
||||
],
|
||||
yAxis: [
|
||||
{
|
||||
type: 'value'
|
||||
}
|
||||
],
|
||||
series: [
|
||||
{
|
||||
name: '订单数',
|
||||
type: 'bar',
|
||||
barWidth: '25%',
|
||||
data: []
|
||||
}
|
||||
]
|
||||
};
|
||||
okUtils.ajaxCloud({
|
||||
url:"/sys/interface/query",
|
||||
param:{'type':'payTypeStatistics'},
|
||||
async:true,
|
||||
success : function(result) {
|
||||
var array1 = [];
|
||||
var array2 = [];
|
||||
result.msg.forEach(function(entity){
|
||||
array1.push(entity.name);
|
||||
array2.push(entity.data);
|
||||
});
|
||||
option.xAxis[0].data = array1;
|
||||
option.series[0].data = array2;
|
||||
myChart.setOption(option);
|
||||
okUtils.echartsResize([myChart]);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
//最近七日支付订单
|
||||
function lately7Day() {
|
||||
var userSourceOption = {
|
||||
title: {text: ""},
|
||||
tooltip: {trigger: "axis", axisPointer: {type: "cross", label: {backgroundColor: "#6a7985"}}},
|
||||
legend: {data: []},
|
||||
toolbox: {feature: {saveAsImage: {}}},
|
||||
grid: {left: "3%", right: "4%", bottom: "3%", containLabel: true},
|
||||
xAxis: [{type: "category", boundaryGap: false, data: []}],
|
||||
yAxis: [{type: "value",minInterval: 1}],
|
||||
series: [
|
||||
]
|
||||
};
|
||||
okUtils.ajaxCloud({
|
||||
url:"/sys/interface/query",
|
||||
param:{'type':'total7Pay'},
|
||||
async:false,
|
||||
success : function(result) {
|
||||
var dataMap = {};
|
||||
result.msg.forEach(function(entity){
|
||||
if (dataMap.hasOwnProperty(entity.payType)) {
|
||||
dataMap[entity.payType].data.push(entity.amount)
|
||||
} else {
|
||||
userSourceOption.legend.data.push(entity.payType);
|
||||
dataMap[entity.payType] = {name: entity.payType, type: "line", stack: "总量", areaStyle: {}, data: [entity.amount]}
|
||||
}
|
||||
|
||||
if (userSourceOption.xAxis[0].data.indexOf(entity.date) < 0) {
|
||||
userSourceOption.xAxis[0].data.push(entity.date);
|
||||
}
|
||||
});
|
||||
userSourceOption.series = Object.values(dataMap);
|
||||
console.log(userSourceOption);
|
||||
var userSourceMap = echarts.init($("#lately7Day")[0], "theme");
|
||||
userSourceMap.setOption(userSourceOption);
|
||||
okUtils.echartsResize([userSourceMap]);
|
||||
}
|
||||
});
|
||||
}
|
||||
statText();
|
||||
payType();
|
||||
lately7Day();
|
||||
});
|
||||
|
||||
|
@ -0,0 +1,573 @@
|
||||
function randomData() {
|
||||
return Math.round(Math.random() * 500);
|
||||
}
|
||||
|
||||
var mydata = [
|
||||
{name: '北京', value: '100'}, {name: '天津', value: randomData()},
|
||||
{name: '上海', value: randomData()}, {name: '重庆', value: randomData()},
|
||||
{name: '河北', value: randomData()}, {name: '河南', value: randomData()},
|
||||
{name: '云南', value: randomData()}, {name: '辽宁', value: randomData()},
|
||||
{name: '黑龙江', value: randomData()}, {name: '湖南', value: randomData()},
|
||||
{name: '安徽', value: randomData()}, {name: '山东', value: randomData()},
|
||||
{name: '新疆', value: randomData()}, {name: '江苏', value: randomData()},
|
||||
{name: '浙江', value: randomData()}, {name: '江西', value: randomData()},
|
||||
{name: '湖北', value: randomData()}, {name: '广西', value: randomData()},
|
||||
{name: '甘肃', value: randomData()}, {name: '山西', value: randomData()},
|
||||
{name: '内蒙古', value: randomData()}, {name: '陕西', value: randomData()},
|
||||
{name: '吉林', value: randomData()}, {name: '福建', value: randomData()},
|
||||
{name: '贵州', value: randomData()}, {name: '广东', value: randomData()},
|
||||
{name: '青海', value: randomData()}, {name: '西藏', value: randomData()},
|
||||
{name: '四川', value: randomData()}, {name: '宁夏', value: randomData()},
|
||||
{name: '海南', value: randomData()}, {name: '台湾', value: randomData()},
|
||||
{name: '香港', value: randomData()}, {name: '澳门', value: randomData()}
|
||||
];
|
||||
|
||||
layui.define(function (exports) {
|
||||
|
||||
var mapTree = {
|
||||
"title": {
|
||||
"text": "用户访问"
|
||||
},
|
||||
"tooltip": {
|
||||
"trigger": "axis",
|
||||
"axisPointer": {
|
||||
"type": "cross",
|
||||
"label": {
|
||||
"backgroundColor": "#6a7985"
|
||||
}
|
||||
}
|
||||
},
|
||||
"legend": {
|
||||
"data": [
|
||||
"邮件营销",
|
||||
"联盟广告",
|
||||
"视频广告",
|
||||
"直接访问",
|
||||
"搜索引擎"
|
||||
]
|
||||
},
|
||||
"toolbox": {
|
||||
"feature": {
|
||||
"saveAsImage": {}
|
||||
}
|
||||
},
|
||||
"grid": {
|
||||
"left": "3%",
|
||||
"right": "4%",
|
||||
"bottom": "3%",
|
||||
"containLabel": true
|
||||
},
|
||||
"xAxis": [
|
||||
{
|
||||
"type": "category",
|
||||
"boundaryGap": false,
|
||||
"data": [
|
||||
"周一",
|
||||
"周二",
|
||||
"周三",
|
||||
"周四",
|
||||
"周五",
|
||||
"周六",
|
||||
"周日"
|
||||
]
|
||||
}
|
||||
],
|
||||
"yAxis": [
|
||||
{
|
||||
"type": "value"
|
||||
}
|
||||
],
|
||||
"series": [
|
||||
{
|
||||
"name": "邮件营销",
|
||||
"type": "line",
|
||||
"stack": "总量",
|
||||
"areaStyle": {},
|
||||
"data": [
|
||||
120,
|
||||
132,
|
||||
101,
|
||||
134,
|
||||
90,
|
||||
230,
|
||||
210
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "联盟广告",
|
||||
"type": "line",
|
||||
"stack": "总量",
|
||||
"areaStyle": {},
|
||||
"data": [
|
||||
220,
|
||||
182,
|
||||
191,
|
||||
234,
|
||||
290,
|
||||
330,
|
||||
310
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "视频广告",
|
||||
"type": "line",
|
||||
"stack": "总量",
|
||||
"areaStyle": {},
|
||||
"data": [
|
||||
150,
|
||||
232,
|
||||
201,
|
||||
154,
|
||||
190,
|
||||
330,
|
||||
410
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "直接访问",
|
||||
"type": "line",
|
||||
"stack": "总量",
|
||||
"areaStyle": {
|
||||
"normal": {}
|
||||
},
|
||||
"data": [
|
||||
320,
|
||||
332,
|
||||
301,
|
||||
334,
|
||||
390,
|
||||
330,
|
||||
320
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "搜索引擎",
|
||||
"type": "line",
|
||||
"stack": "总量",
|
||||
"label": {
|
||||
"normal": {
|
||||
"show": true,
|
||||
"position": "top"
|
||||
}
|
||||
},
|
||||
"areaStyle": {
|
||||
"normal": {}
|
||||
},
|
||||
"data": [
|
||||
820,
|
||||
932,
|
||||
901,
|
||||
934,
|
||||
1290,
|
||||
1330,
|
||||
1320
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
mapCircle = {
|
||||
"title": {
|
||||
"text": "某站点用户访问来源",
|
||||
"subtext": "",
|
||||
"x": "center"
|
||||
},
|
||||
"tooltip": {
|
||||
"trigger": "item",
|
||||
"formatter": "{a} <br/>{b} : {c} ({d}%)"
|
||||
},
|
||||
"legend": {
|
||||
"orient": "vertical",
|
||||
"left": "left",
|
||||
"data": [
|
||||
"直接访问",
|
||||
"邮件营销",
|
||||
"联盟广告",
|
||||
"视频广告",
|
||||
"搜索引擎"
|
||||
]
|
||||
},
|
||||
"series": [
|
||||
{
|
||||
"name": "访问来源",
|
||||
"type": "pie",
|
||||
"radius": "55%",
|
||||
"center": [
|
||||
"50%",
|
||||
"60%"
|
||||
],
|
||||
"data": [
|
||||
{
|
||||
"value": 335,
|
||||
"name": "直接访问"
|
||||
},
|
||||
{
|
||||
"value": 310,
|
||||
"name": "邮件营销"
|
||||
},
|
||||
{
|
||||
"value": 234,
|
||||
"name": "联盟广告"
|
||||
},
|
||||
{
|
||||
"value": 135,
|
||||
"name": "视频广告"
|
||||
},
|
||||
{
|
||||
"value": 1548,
|
||||
"name": "搜索引擎"
|
||||
}
|
||||
],
|
||||
"itemStyle": {
|
||||
"emphasis": {
|
||||
"shadowBlur": 10,
|
||||
"shadowOffsetX": 0,
|
||||
"shadowColor": "rgba(0, 0, 0, 0.5)"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
mapChina = {
|
||||
"title": {
|
||||
"text": "用户家庭所在地统计",
|
||||
"subtext": "",
|
||||
"x": "center"
|
||||
},
|
||||
|
||||
"tooltip": {
|
||||
"trigger": "item"
|
||||
},
|
||||
|
||||
"visualMap": {
|
||||
"color": [
|
||||
"#eeeeee"
|
||||
],
|
||||
"show": false,
|
||||
"x": "left",
|
||||
"y": "center",
|
||||
"splitList": [
|
||||
{
|
||||
"start": 500,
|
||||
"end": 600
|
||||
},
|
||||
{
|
||||
"start": 400,
|
||||
"end": 500
|
||||
},
|
||||
{
|
||||
"start": 300,
|
||||
"end": 400
|
||||
},
|
||||
{
|
||||
"start": 200,
|
||||
"end": 300
|
||||
},
|
||||
{
|
||||
"start": 100,
|
||||
"end": 200
|
||||
},
|
||||
{
|
||||
"start": 0,
|
||||
"end": 100
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
"series": [
|
||||
{
|
||||
"name": "用户家庭所在地统计",
|
||||
"roam": true,
|
||||
"type": "map",
|
||||
"mapType": "china",
|
||||
"data": [],
|
||||
"itemStyle": {
|
||||
"normal": {
|
||||
"areaColor": "#eeeeee",
|
||||
"borderColor": "#aaaaaa",
|
||||
"borderWidth": 0.5
|
||||
},
|
||||
"emphasis": {
|
||||
"areaColor": "rgba(63,177,227,0.25)",
|
||||
"borderColor": "#3fb1e3",
|
||||
"borderWidth": 1
|
||||
}
|
||||
},
|
||||
"label": {
|
||||
"normal": {
|
||||
"textStyle": {
|
||||
"color": "#000"
|
||||
}
|
||||
},
|
||||
"emphasis": {
|
||||
"textStyle": {
|
||||
"color": "#000"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
mapChina2 = {
|
||||
"title": {
|
||||
"text": "用户家庭所在地统计",
|
||||
"subtext": "",
|
||||
"x": "center"
|
||||
},
|
||||
|
||||
"tooltip": {
|
||||
"trigger": "item"
|
||||
},
|
||||
|
||||
"visualMap": {
|
||||
"show": true,//是否显示数据条
|
||||
"min": 0,
|
||||
"max": 1,
|
||||
"left": 10,
|
||||
"top": "center",
|
||||
"orient": "vertical",
|
||||
"text": [
|
||||
"高",
|
||||
"低"
|
||||
],
|
||||
"realtime": false,
|
||||
"calculable": true,
|
||||
"inRange": {
|
||||
"color": [
|
||||
"#E0FFFF",
|
||||
"#BEEFEC",
|
||||
"#6cd2d2",
|
||||
"#6CC8C1",
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
"series": [
|
||||
{
|
||||
"name": "用户家庭所在地统计",
|
||||
"roam": true,
|
||||
"type": "map",
|
||||
"mapType": "china",
|
||||
"data": [],
|
||||
"itemStyle": {
|
||||
"normal": {
|
||||
"areaColor": "#eeeeee",
|
||||
"borderColor": "#aaaaaa",
|
||||
"borderWidth": 0.5
|
||||
},
|
||||
"emphasis": {
|
||||
"areaColor": "rgba(63,177,227,0.25)",
|
||||
"borderColor": "#3fb1e3",
|
||||
"borderWidth": 1
|
||||
}
|
||||
},
|
||||
"label": {
|
||||
"normal": {
|
||||
"textStyle": {
|
||||
"color": "#000"
|
||||
}
|
||||
},
|
||||
"emphasis": {
|
||||
"textStyle": {
|
||||
"color": "#000"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
mapChina3 = {
|
||||
backgroundColor: '#FFFFFF',
|
||||
title: {
|
||||
text: '全国地图大数据',
|
||||
subtext: '',
|
||||
x: 'center'
|
||||
},
|
||||
tooltip: {
|
||||
trigger: 'item'
|
||||
},
|
||||
|
||||
//左侧小导航图标
|
||||
visualMap: {
|
||||
show: true,
|
||||
x: 'left',
|
||||
y: 'center',
|
||||
splitList: [
|
||||
{start: 500, end: 600}, {start: 400, end: 500},
|
||||
{start: 300, end: 400}, {start: 200, end: 300},
|
||||
{start: 100, end: 200}, {start: 0, end: 100},
|
||||
],
|
||||
color: ['#5475f5', '#9feaa5', '#85daef', '#74e2ca', '#e6ac53', '#9fb5ea']
|
||||
},
|
||||
|
||||
//配置属性
|
||||
series: [{
|
||||
name: '数据统计',
|
||||
type: 'map',
|
||||
mapType: 'china',
|
||||
roam: false,//是否启用鼠标滚轮缩放地图
|
||||
label: {
|
||||
normal: {
|
||||
show: true //省份名称
|
||||
},
|
||||
emphasis: {
|
||||
show: false
|
||||
}
|
||||
},
|
||||
data: mydata //数据
|
||||
}]
|
||||
},
|
||||
|
||||
Address = [
|
||||
{
|
||||
"name": "北京",
|
||||
"value": 100
|
||||
},
|
||||
{
|
||||
"name": "天津",
|
||||
"value": 83
|
||||
},
|
||||
{
|
||||
"name": "上海",
|
||||
"value": 113
|
||||
},
|
||||
{
|
||||
"name": "重庆",
|
||||
"value": 188
|
||||
},
|
||||
{
|
||||
"name": "河北",
|
||||
"value": 197
|
||||
},
|
||||
{
|
||||
"name": "河南",
|
||||
"value": 327
|
||||
},
|
||||
{
|
||||
"name": "云南",
|
||||
"value": 371
|
||||
},
|
||||
{
|
||||
"name": "辽宁",
|
||||
"value": 224
|
||||
},
|
||||
{
|
||||
"name": "黑龙江",
|
||||
"value": 295
|
||||
},
|
||||
{
|
||||
"name": "湖南",
|
||||
"value": 463
|
||||
},
|
||||
{
|
||||
"name": "安徽",
|
||||
"value": 7
|
||||
},
|
||||
{
|
||||
"name": "山东",
|
||||
"value": 176
|
||||
},
|
||||
{
|
||||
"name": "新疆",
|
||||
"value": 0
|
||||
},
|
||||
{
|
||||
"name": "江苏",
|
||||
"value": 396
|
||||
},
|
||||
{
|
||||
"name": "浙江",
|
||||
"value": 472
|
||||
},
|
||||
{
|
||||
"name": "江西",
|
||||
"value": 243
|
||||
},
|
||||
{
|
||||
"name": "湖北",
|
||||
"value": 226
|
||||
},
|
||||
{
|
||||
"name": "广西",
|
||||
"value": 404
|
||||
},
|
||||
{
|
||||
"name": "甘肃",
|
||||
"value": 210
|
||||
},
|
||||
{
|
||||
"name": "山西",
|
||||
"value": 451
|
||||
},
|
||||
{
|
||||
"name": "内蒙古",
|
||||
"value": 97
|
||||
},
|
||||
{
|
||||
"name": "陕西",
|
||||
"value": 369
|
||||
},
|
||||
{
|
||||
"name": "吉林",
|
||||
"value": 221
|
||||
},
|
||||
{
|
||||
"name": "福建",
|
||||
"value": 216
|
||||
},
|
||||
{
|
||||
"name": "贵州",
|
||||
"value": 221
|
||||
},
|
||||
{
|
||||
"name": "广东",
|
||||
"value": 85
|
||||
},
|
||||
{
|
||||
"name": "青海",
|
||||
"value": 21
|
||||
},
|
||||
{
|
||||
"name": "西藏",
|
||||
"value": 414
|
||||
},
|
||||
{
|
||||
"name": "四川",
|
||||
"value": 380
|
||||
},
|
||||
{
|
||||
"name": "宁夏",
|
||||
"value": 205
|
||||
},
|
||||
{
|
||||
"name": "海南",
|
||||
"value": 73
|
||||
},
|
||||
{
|
||||
"name": "台湾",
|
||||
"value": 348
|
||||
},
|
||||
{
|
||||
"name": "香港",
|
||||
"value": 54
|
||||
},
|
||||
{
|
||||
"name": "澳门",
|
||||
"value": 340
|
||||
}
|
||||
];
|
||||
|
||||
exports('echartsData', {
|
||||
mapTree: mapTree,
|
||||
mapCircle: mapCircle,
|
||||
mapChina3: mapChina3,
|
||||
mapChina2: mapChina2,
|
||||
mapChina: mapChina,
|
||||
Address: Address
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -0,0 +1,219 @@
|
||||
function randomData() {
|
||||
return Math.round(Math.random() * 500);
|
||||
}
|
||||
|
||||
function ecchartData(color) {
|
||||
color = color || "#00c292";
|
||||
return {
|
||||
color: color,
|
||||
toolbox: {
|
||||
show: false,
|
||||
feature: {
|
||||
saveAsImage: {}
|
||||
}
|
||||
},
|
||||
grid: {
|
||||
left: '-1%',
|
||||
right: '0',
|
||||
bottom: '0',
|
||||
top: '5px',
|
||||
containLabel: false
|
||||
},
|
||||
xAxis: [
|
||||
{
|
||||
type: 'category',
|
||||
boundaryGap: false,
|
||||
data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日'],
|
||||
splitLine: {
|
||||
show: false
|
||||
},
|
||||
}
|
||||
],
|
||||
yAxis: [
|
||||
{
|
||||
type: 'value',
|
||||
splitLine: {
|
||||
show: false
|
||||
},
|
||||
}
|
||||
],
|
||||
series: [
|
||||
{
|
||||
name: '用户',
|
||||
type: 'line',
|
||||
stack: '总量',
|
||||
smooth: true,
|
||||
symbol: "none",
|
||||
clickable: false,
|
||||
areaStyle: {},
|
||||
data: [randomData(), randomData(), randomData(), randomData(), randomData(), randomData(), randomData()]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
var echOne = {
|
||||
color: "#03a9f3",
|
||||
xAxis: {
|
||||
type: 'category',
|
||||
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
|
||||
},
|
||||
yAxis: {
|
||||
type: 'value'
|
||||
},
|
||||
series: [{
|
||||
data: [120, 200, 150, 80, 70, 110, 130],
|
||||
type: 'bar'
|
||||
}]
|
||||
};
|
||||
var echTwo = {
|
||||
title: {
|
||||
show: false,
|
||||
text: '用户访问来源',
|
||||
subtext: '纯属虚构',
|
||||
x: 'center'
|
||||
},
|
||||
tooltip: {
|
||||
trigger: 'item',
|
||||
formatter: "{a} <br/>{b} : {c} ({d}%)"
|
||||
},
|
||||
legend: {
|
||||
orient: 'vertical',
|
||||
left: 'left',
|
||||
data: ['直接访问', '邮件营销', '联盟广告', '视频广告', '搜索引擎']
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: '访问来源',
|
||||
type: 'pie',
|
||||
radius: '55%',
|
||||
center: ['50%', '60%'],
|
||||
data: [
|
||||
{value: 335, name: '直接访问'},
|
||||
{value: 310, name: '邮件营销'},
|
||||
{value: 234, name: '联盟广告'},
|
||||
{value: 135, name: '视频广告'},
|
||||
{value: 1548, name: '搜索引擎'}
|
||||
],
|
||||
itemStyle: {
|
||||
emphasis: {
|
||||
shadowBlur: 10,
|
||||
shadowOffsetX: 0,
|
||||
shadowColor: 'rgba(0, 0, 0, 0.5)'
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
var mapThree = {
|
||||
title: {
|
||||
show: false,
|
||||
text: '堆叠区域图xxxx'
|
||||
},
|
||||
tooltip: {
|
||||
trigger: 'axis',
|
||||
axisPointer: {
|
||||
type: 'cross',
|
||||
label: {
|
||||
backgroundColor: '#6a7985'
|
||||
}
|
||||
}
|
||||
},
|
||||
legend: {
|
||||
data: ['邮件营销', '联盟广告', '视频广告', '直接访问', '搜索引擎']
|
||||
},
|
||||
toolbox: {
|
||||
show: false,
|
||||
feature: {
|
||||
saveAsImage: {}
|
||||
}
|
||||
},
|
||||
grid: {
|
||||
left: '3%',
|
||||
right: '4%',
|
||||
bottom: '3%',
|
||||
containLabel: true
|
||||
},
|
||||
xAxis: [
|
||||
{
|
||||
type: 'category',
|
||||
boundaryGap: false,
|
||||
data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日']
|
||||
}
|
||||
],
|
||||
yAxis: [
|
||||
{
|
||||
type: 'value',
|
||||
splitLine: {//设置横线样式
|
||||
show: false//隐藏横线
|
||||
},
|
||||
}
|
||||
],
|
||||
series: [
|
||||
{
|
||||
name: '邮件营销',
|
||||
type: 'line',
|
||||
stack: '总量',
|
||||
smooth: true,//曲线线条
|
||||
areaStyle: {},
|
||||
data: [120, 132, 101, 134, 90, 230, 210]
|
||||
},
|
||||
{
|
||||
name: '联盟广告',
|
||||
type: 'line',
|
||||
stack: '总量',
|
||||
smooth: true,//曲线线条
|
||||
areaStyle: {},
|
||||
data: [220, 182, 191, 234, 290, 330, 310]
|
||||
},
|
||||
{
|
||||
name: '视频广告',
|
||||
type: 'line',
|
||||
stack: '总量',
|
||||
smooth: true,//曲线线条
|
||||
areaStyle: {},
|
||||
data: [150, 232, 201, 154, 190, 330, 410]
|
||||
},
|
||||
{
|
||||
name: '直接访问',
|
||||
type: 'line',
|
||||
stack: '总量',
|
||||
smooth: true,//曲线线条
|
||||
areaStyle: {normal: {}},
|
||||
data: [320, 332, 301, 334, 390, 330, 320]
|
||||
},
|
||||
{
|
||||
name: '搜索引擎',
|
||||
type: 'line',
|
||||
stack: '总量',
|
||||
smooth: true,//曲线线条
|
||||
label: {
|
||||
normal: {
|
||||
show: true,
|
||||
position: 'top'
|
||||
}
|
||||
},
|
||||
areaStyle: {normal: {}},
|
||||
data: [370, 932, 901, 934, 1290, 1330, 1320]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
layui.define(function (exports) {
|
||||
var income = ecchartData("#00c292");
|
||||
var goods = ecchartData("#ab8ce4");
|
||||
var blogs = ecchartData("#03a9f3");
|
||||
var user = ecchartData("#fb9678");
|
||||
|
||||
exports('home2Data', {
|
||||
income: income,
|
||||
goods: goods,
|
||||
blogs: blogs,
|
||||
user: user,
|
||||
echOne: echOne,
|
||||
echTwo: echTwo,
|
||||
mapThree: mapThree,
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -0,0 +1,304 @@
|
||||
/*!
|
||||
* Cropper.js v1.5.6
|
||||
* https://fengyuanchen.github.io/cropperjs
|
||||
*
|
||||
* Copyright 2015-present Chen Fengyuan
|
||||
* Released under the MIT license
|
||||
*
|
||||
* Date: 2019-10-04T04:33:44.164Z
|
||||
*/
|
||||
|
||||
.cropper-container {
|
||||
direction: ltr;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.cropper-container img {
|
||||
display: block;
|
||||
height: 100%;
|
||||
image-orientation: 0deg;
|
||||
max-height: none !important;
|
||||
max-width: none !important;
|
||||
min-height: 0 !important;
|
||||
min-width: 0 !important;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.cropper-wrap-box,
|
||||
.cropper-canvas,
|
||||
.cropper-drag-box,
|
||||
.cropper-crop-box,
|
||||
.cropper-modal {
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.cropper-wrap-box,
|
||||
.cropper-canvas {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.cropper-drag-box {
|
||||
background-color: #fff;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.cropper-modal {
|
||||
background-color: #000;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.cropper-view-box {
|
||||
display: block;
|
||||
height: 100%;
|
||||
outline: 1px solid #39f;
|
||||
outline-color: rgba(51, 153, 255, 0.75);
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.cropper-dashed {
|
||||
border: 0 dashed #eee;
|
||||
display: block;
|
||||
opacity: 0.5;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.cropper-dashed.dashed-h {
|
||||
border-bottom-width: 1px;
|
||||
border-top-width: 1px;
|
||||
height: calc(100% / 3);
|
||||
left: 0;
|
||||
top: calc(100% / 3);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.cropper-dashed.dashed-v {
|
||||
border-left-width: 1px;
|
||||
border-right-width: 1px;
|
||||
height: 100%;
|
||||
left: calc(100% / 3);
|
||||
top: 0;
|
||||
width: calc(100% / 3);
|
||||
}
|
||||
|
||||
.cropper-center {
|
||||
display: block;
|
||||
height: 0;
|
||||
left: 50%;
|
||||
opacity: 0.75;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.cropper-center::before,
|
||||
.cropper-center::after {
|
||||
background-color: #eee;
|
||||
content: ' ';
|
||||
display: block;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.cropper-center::before {
|
||||
height: 1px;
|
||||
left: -3px;
|
||||
top: 0;
|
||||
width: 7px;
|
||||
}
|
||||
|
||||
.cropper-center::after {
|
||||
height: 7px;
|
||||
left: 0;
|
||||
top: -3px;
|
||||
width: 1px;
|
||||
}
|
||||
|
||||
.cropper-face,
|
||||
.cropper-line,
|
||||
.cropper-point {
|
||||
display: block;
|
||||
height: 100%;
|
||||
opacity: 0.1;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.cropper-face {
|
||||
background-color: #fff;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.cropper-line {
|
||||
background-color: #39f;
|
||||
}
|
||||
|
||||
.cropper-line.line-e {
|
||||
cursor: ew-resize;
|
||||
right: -3px;
|
||||
top: 0;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.cropper-line.line-n {
|
||||
cursor: ns-resize;
|
||||
height: 5px;
|
||||
left: 0;
|
||||
top: -3px;
|
||||
}
|
||||
|
||||
.cropper-line.line-w {
|
||||
cursor: ew-resize;
|
||||
left: -3px;
|
||||
top: 0;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.cropper-line.line-s {
|
||||
bottom: -3px;
|
||||
cursor: ns-resize;
|
||||
height: 5px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.cropper-point {
|
||||
background-color: #39f;
|
||||
height: 5px;
|
||||
opacity: 0.75;
|
||||
width: 5px;
|
||||
}
|
||||
|
||||
.cropper-point.point-e {
|
||||
cursor: ew-resize;
|
||||
margin-top: -3px;
|
||||
right: -3px;
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
.cropper-point.point-n {
|
||||
cursor: ns-resize;
|
||||
left: 50%;
|
||||
margin-left: -3px;
|
||||
top: -3px;
|
||||
}
|
||||
|
||||
.cropper-point.point-w {
|
||||
cursor: ew-resize;
|
||||
left: -3px;
|
||||
margin-top: -3px;
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
.cropper-point.point-s {
|
||||
bottom: -3px;
|
||||
cursor: s-resize;
|
||||
left: 50%;
|
||||
margin-left: -3px;
|
||||
}
|
||||
|
||||
.cropper-point.point-ne {
|
||||
cursor: nesw-resize;
|
||||
right: -3px;
|
||||
top: -3px;
|
||||
}
|
||||
|
||||
.cropper-point.point-nw {
|
||||
cursor: nwse-resize;
|
||||
left: -3px;
|
||||
top: -3px;
|
||||
}
|
||||
|
||||
.cropper-point.point-sw {
|
||||
bottom: -3px;
|
||||
cursor: nesw-resize;
|
||||
left: -3px;
|
||||
}
|
||||
|
||||
.cropper-point.point-se {
|
||||
bottom: -3px;
|
||||
cursor: nwse-resize;
|
||||
height: 20px;
|
||||
opacity: 1;
|
||||
right: -3px;
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.cropper-point.point-se {
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.cropper-point.point-se {
|
||||
height: 10px;
|
||||
width: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
.cropper-point.point-se {
|
||||
height: 5px;
|
||||
opacity: 0.75;
|
||||
width: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.cropper-point.point-se::before {
|
||||
background-color: #39f;
|
||||
bottom: -50%;
|
||||
content: ' ';
|
||||
display: block;
|
||||
height: 200%;
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
right: -50%;
|
||||
width: 200%;
|
||||
}
|
||||
|
||||
.cropper-invisible {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.cropper-bg {
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC');
|
||||
}
|
||||
|
||||
.cropper-hide {
|
||||
display: block;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.cropper-hidden {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.cropper-move {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.cropper-crop {
|
||||
cursor: crosshair;
|
||||
}
|
||||
|
||||
.cropper-disabled .cropper-drag-box,
|
||||
.cropper-disabled .cropper-face,
|
||||
.cropper-disabled .cropper-line,
|
||||
.cropper-disabled .cropper-point {
|
||||
cursor: not-allowed;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
/*!
|
||||
* Cropper.js v1.5.6
|
||||
* https://fengyuanchen.github.io/cropperjs
|
||||
*
|
||||
* Copyright 2015-present Chen Fengyuan
|
||||
* Released under the MIT license
|
||||
*
|
||||
* Date: 2019-10-04T04:33:44.164Z
|
||||
*/.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:rgba(51,153,255,.75);overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}
|
@ -0,0 +1,252 @@
|
||||
.btn {
|
||||
padding-left: 0.75rem;
|
||||
padding-right: 0.75rem;
|
||||
}
|
||||
|
||||
label.btn {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.d-flex > .btn {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.carbonads {
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 0.25rem;
|
||||
font-size: 0.875rem;
|
||||
overflow: hidden;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.carbon-wrap {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.carbon-img {
|
||||
clear: left;
|
||||
display: block;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.carbon-text,
|
||||
.carbon-poweredby {
|
||||
display: block;
|
||||
margin-left: 140px;
|
||||
}
|
||||
|
||||
.carbon-text,
|
||||
.carbon-text:hover,
|
||||
.carbon-text:focus {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.carbon-poweredby,
|
||||
.carbon-poweredby:hover,
|
||||
.carbon-poweredby:focus {
|
||||
color: #ddd;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.carbonads {
|
||||
float: right;
|
||||
margin-bottom: -1rem;
|
||||
margin-top: -1rem;
|
||||
max-width: 360px;
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.heart {
|
||||
color: #ddd;
|
||||
display: block;
|
||||
height: 2rem;
|
||||
line-height: 2rem;
|
||||
margin-bottom: 0;
|
||||
margin-top: 1rem;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.heart:hover {
|
||||
color: #ff4136;
|
||||
}
|
||||
|
||||
.heart::before {
|
||||
border-top: 1px solid #eee;
|
||||
content: " ";
|
||||
display: block;
|
||||
height: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
.heart::after {
|
||||
background-color: #fff;
|
||||
content: "♥";
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.img-container,
|
||||
.img-preview {
|
||||
background-color: #f7f7f7;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.img-container {
|
||||
margin-bottom: 1rem;
|
||||
max-height: 497px;
|
||||
min-height: 200px;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.img-container {
|
||||
min-height: 497px;
|
||||
}
|
||||
}
|
||||
|
||||
.img-container > img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.docs-preview {
|
||||
margin-right: -1rem;
|
||||
}
|
||||
|
||||
.img-preview {
|
||||
float: left;
|
||||
margin-bottom: 0.5rem;
|
||||
margin-right: 0.5rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.img-preview > img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.preview-lg {
|
||||
height: 9rem;
|
||||
width: 16rem;
|
||||
}
|
||||
|
||||
.preview-md {
|
||||
height: 4.5rem;
|
||||
width: 8rem;
|
||||
}
|
||||
|
||||
.preview-sm {
|
||||
height: 2.25rem;
|
||||
width: 4rem;
|
||||
}
|
||||
|
||||
.preview-xs {
|
||||
height: 1.125rem;
|
||||
margin-right: 0;
|
||||
width: 2rem;
|
||||
}
|
||||
|
||||
.docs-data > .input-group {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.docs-data .input-group-prepend .input-group-text {
|
||||
min-width: 4rem;
|
||||
}
|
||||
|
||||
.docs-data .input-group-append .input-group-text {
|
||||
min-width: 3rem;
|
||||
}
|
||||
|
||||
.docs-buttons > .btn,
|
||||
.docs-buttons > .btn-group,
|
||||
.docs-buttons > .form-control {
|
||||
margin-bottom: 0.5rem;
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.docs-toggles > .btn,
|
||||
.docs-toggles > .btn-group,
|
||||
.docs-toggles > .dropdown {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.docs-tooltip {
|
||||
display: block;
|
||||
margin: -0.5rem -0.75rem;
|
||||
padding: 0.5rem 0.75rem;
|
||||
}
|
||||
|
||||
.docs-tooltip > .icon {
|
||||
margin: 0 -0.25rem;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.tooltip-inner {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.btn-upload .tooltip-inner,
|
||||
.btn-toggle .tooltip-inner {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.btn-toggle {
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
.btn-toggle > .docs-tooltip {
|
||||
margin: -0.5rem;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
@media (max-width: 400px) {
|
||||
.btn-group-crop {
|
||||
margin-right: -1rem !important;
|
||||
}
|
||||
|
||||
.btn-group-crop > .btn {
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
|
||||
.btn-group-crop .docs-tooltip {
|
||||
margin-left: -0.5rem;
|
||||
margin-right: -0.5rem;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.docs-options .dropdown-menu {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.docs-options .dropdown-menu > li {
|
||||
font-size: 0.875rem;
|
||||
padding: 0.125rem 1rem;
|
||||
}
|
||||
|
||||
.docs-options .dropdown-menu .form-check-label {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.docs-cropped .modal-body {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.docs-cropped .modal-body > img,
|
||||
.docs-cropped .modal-body > canvas {
|
||||
max-width: 100%;
|
||||
}
|
@ -0,0 +1,301 @@
|
||||
window.onload = function () {
|
||||
'use strict';
|
||||
|
||||
var Cropper = window.Cropper;
|
||||
var URL = window.URL || window.webkitURL;
|
||||
var container = document.querySelector('.img-container');
|
||||
var image = container.getElementsByTagName('img').item(0);
|
||||
var download = document.getElementById('download');
|
||||
var actions = document.getElementById('actions');
|
||||
var dataX = document.getElementById('dataX');
|
||||
var dataY = document.getElementById('dataY');
|
||||
var dataHeight = document.getElementById('dataHeight');
|
||||
var dataWidth = document.getElementById('dataWidth');
|
||||
var dataRotate = document.getElementById('dataRotate');
|
||||
var dataScaleX = document.getElementById('dataScaleX');
|
||||
var dataScaleY = document.getElementById('dataScaleY');
|
||||
var options = {
|
||||
aspectRatio: 16 / 9,
|
||||
preview: '.img-preview',
|
||||
ready: function (e) {
|
||||
console.log(e.type);
|
||||
},
|
||||
cropstart: function (e) {
|
||||
console.log(e.type, e.detail.action);
|
||||
},
|
||||
cropmove: function (e) {
|
||||
console.log(e.type, e.detail.action);
|
||||
},
|
||||
cropend: function (e) {
|
||||
console.log(e.type, e.detail.action);
|
||||
},
|
||||
crop: function (e) {
|
||||
var data = e.detail;
|
||||
|
||||
console.log(e.type);
|
||||
dataX.value = Math.round(data.x);
|
||||
dataY.value = Math.round(data.y);
|
||||
dataHeight.value = Math.round(data.height);
|
||||
dataWidth.value = Math.round(data.width);
|
||||
dataRotate.value = typeof data.rotate !== 'undefined' ? data.rotate : '';
|
||||
dataScaleX.value = typeof data.scaleX !== 'undefined' ? data.scaleX : '';
|
||||
dataScaleY.value = typeof data.scaleY !== 'undefined' ? data.scaleY : '';
|
||||
},
|
||||
zoom: function (e) {
|
||||
console.log(e.type, e.detail.ratio);
|
||||
}
|
||||
};
|
||||
var cropper = new Cropper(image, options);
|
||||
var originalImageURL = image.src;
|
||||
var uploadedImageType = 'image/jpeg';
|
||||
var uploadedImageName = 'cropped.jpg';
|
||||
var uploadedImageURL;
|
||||
|
||||
// Tooltip
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
|
||||
// Buttons
|
||||
if (!document.createElement('canvas').getContext) {
|
||||
$('button[data-method="getCroppedCanvas"]').prop('disabled', true);
|
||||
}
|
||||
|
||||
if (typeof document.createElement('cropper').style.transition === 'undefined') {
|
||||
$('button[data-method="rotate"]').prop('disabled', true);
|
||||
$('button[data-method="scale"]').prop('disabled', true);
|
||||
}
|
||||
|
||||
// Download
|
||||
if (typeof download.download === 'undefined') {
|
||||
download.className += ' disabled';
|
||||
download.title = 'Your browser does not support download';
|
||||
}
|
||||
|
||||
// Options
|
||||
actions.querySelector('.docs-toggles').onchange = function (event) {
|
||||
var e = event || window.event;
|
||||
var target = e.target || e.srcElement;
|
||||
var cropBoxData;
|
||||
var canvasData;
|
||||
var isCheckbox;
|
||||
var isRadio;
|
||||
|
||||
if (!cropper) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (target.tagName.toLowerCase() === 'label') {
|
||||
target = target.querySelector('input');
|
||||
}
|
||||
|
||||
isCheckbox = target.type === 'checkbox';
|
||||
isRadio = target.type === 'radio';
|
||||
|
||||
if (isCheckbox || isRadio) {
|
||||
if (isCheckbox) {
|
||||
options[target.name] = target.checked;
|
||||
cropBoxData = cropper.getCropBoxData();
|
||||
canvasData = cropper.getCanvasData();
|
||||
|
||||
options.ready = function () {
|
||||
console.log('ready');
|
||||
cropper.setCropBoxData(cropBoxData).setCanvasData(canvasData);
|
||||
};
|
||||
} else {
|
||||
options[target.name] = target.value;
|
||||
options.ready = function () {
|
||||
console.log('ready');
|
||||
};
|
||||
}
|
||||
|
||||
// Restart
|
||||
cropper.destroy();
|
||||
cropper = new Cropper(image, options);
|
||||
}
|
||||
};
|
||||
|
||||
// Methods
|
||||
actions.querySelector('.docs-buttons').onclick = function (event) {
|
||||
var e = event || window.event;
|
||||
var target = e.target || e.srcElement;
|
||||
var cropped;
|
||||
var result;
|
||||
var input;
|
||||
var data;
|
||||
|
||||
if (!cropper) {
|
||||
return;
|
||||
}
|
||||
|
||||
while (target !== this) {
|
||||
if (target.getAttribute('data-method')) {
|
||||
break;
|
||||
}
|
||||
|
||||
target = target.parentNode;
|
||||
}
|
||||
|
||||
if (target === this || target.disabled || target.className.indexOf('disabled') > -1) {
|
||||
return;
|
||||
}
|
||||
|
||||
data = {
|
||||
method: target.getAttribute('data-method'),
|
||||
target: target.getAttribute('data-target'),
|
||||
option: target.getAttribute('data-option') || undefined,
|
||||
secondOption: target.getAttribute('data-second-option') || undefined
|
||||
};
|
||||
|
||||
cropped = cropper.cropped;
|
||||
|
||||
if (data.method) {
|
||||
if (typeof data.target !== 'undefined') {
|
||||
input = document.querySelector(data.target);
|
||||
|
||||
if (!target.hasAttribute('data-option') && data.target && input) {
|
||||
try {
|
||||
data.option = JSON.parse(input.value);
|
||||
} catch (e) {
|
||||
console.log(e.message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
switch (data.method) {
|
||||
case 'rotate':
|
||||
if (cropped && options.viewMode > 0) {
|
||||
cropper.clear();
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case 'getCroppedCanvas':
|
||||
try {
|
||||
data.option = JSON.parse(data.option);
|
||||
} catch (e) {
|
||||
console.log(e.message);
|
||||
}
|
||||
|
||||
if (uploadedImageType === 'image/jpeg') {
|
||||
if (!data.option) {
|
||||
data.option = {};
|
||||
}
|
||||
|
||||
data.option.fillColor = '#fff';
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
result = cropper[data.method](data.option, data.secondOption);
|
||||
|
||||
switch (data.method) {
|
||||
case 'rotate':
|
||||
if (cropped && options.viewMode > 0) {
|
||||
cropper.crop();
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case 'scaleX':
|
||||
case 'scaleY':
|
||||
target.setAttribute('data-option', -data.option);
|
||||
break;
|
||||
|
||||
case 'getCroppedCanvas':
|
||||
if (result) {
|
||||
// Bootstrap's Modal
|
||||
$('#getCroppedCanvasModal').modal().find('.modal-body').html(result);
|
||||
|
||||
if (!download.disabled) {
|
||||
download.download = uploadedImageName;
|
||||
download.href = result.toDataURL(uploadedImageType);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case 'destroy':
|
||||
cropper = null;
|
||||
|
||||
if (uploadedImageURL) {
|
||||
URL.revokeObjectURL(uploadedImageURL);
|
||||
uploadedImageURL = '';
|
||||
image.src = originalImageURL;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
if (typeof result === 'object' && result !== cropper && input) {
|
||||
try {
|
||||
input.value = JSON.stringify(result);
|
||||
} catch (e) {
|
||||
console.log(e.message);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
document.body.onkeydown = function (event) {
|
||||
var e = event || window.event;
|
||||
|
||||
if (e.target !== this || !cropper || this.scrollTop > 300) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (e.keyCode) {
|
||||
case 37:
|
||||
e.preventDefault();
|
||||
cropper.move(-1, 0);
|
||||
break;
|
||||
|
||||
case 38:
|
||||
e.preventDefault();
|
||||
cropper.move(0, -1);
|
||||
break;
|
||||
|
||||
case 39:
|
||||
e.preventDefault();
|
||||
cropper.move(1, 0);
|
||||
break;
|
||||
|
||||
case 40:
|
||||
e.preventDefault();
|
||||
cropper.move(0, 1);
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
// Import image
|
||||
var inputImage = document.getElementById('inputImage');
|
||||
|
||||
if (URL) {
|
||||
inputImage.onchange = function () {
|
||||
var files = this.files;
|
||||
var file;
|
||||
|
||||
if (cropper && files && files.length) {
|
||||
file = files[0];
|
||||
|
||||
if (/^image\/\w+/.test(file.type)) {
|
||||
uploadedImageType = file.type;
|
||||
uploadedImageName = file.name;
|
||||
|
||||
if (uploadedImageURL) {
|
||||
URL.revokeObjectURL(uploadedImageURL);
|
||||
}
|
||||
|
||||
image.src = uploadedImageURL = URL.createObjectURL(file);
|
||||
cropper.destroy();
|
||||
cropper = new Cropper(image, options);
|
||||
inputImage.value = null;
|
||||
} else {
|
||||
window.alert('Please choose an image file.');
|
||||
}
|
||||
}
|
||||
};
|
||||
} else {
|
||||
inputImage.disabled = true;
|
||||
inputImage.parentNode.className += ' disabled';
|
||||
}
|
||||
};
|
@ -0,0 +1,544 @@
|
||||
.main_con {
|
||||
position: absolute;
|
||||
width: 97%;
|
||||
height: 95%;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
/* background: white; */
|
||||
}
|
||||
.main_top {
|
||||
width: 100%;
|
||||
height: 10%;
|
||||
}
|
||||
.main_top_left {
|
||||
float: left;
|
||||
width: 17.3%;
|
||||
height: 100%;
|
||||
/* background: gold; */
|
||||
}
|
||||
.main_top_left_top {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 46%;
|
||||
/* background: green; */
|
||||
}
|
||||
.main_top_left_bottom {
|
||||
margin-top: 4%;
|
||||
}
|
||||
.main_top_left_bottom_num {
|
||||
width: 100%;
|
||||
}
|
||||
.main_top_left_bottom_num span {
|
||||
float: left;
|
||||
display: block;
|
||||
font-size: .65vw;
|
||||
/* -webkit-transform-origin-x: 0;
|
||||
transform: scale(0.9);
|
||||
-webkit-transform: scale(0.9); */
|
||||
}
|
||||
.main_top_left_bottom_num_list {
|
||||
float: left;
|
||||
width: 8%;
|
||||
height: 1.4vw;
|
||||
line-height: 1.4vw;
|
||||
margin-left: .2vw;
|
||||
text-indent: .4vw;
|
||||
font-size: .8vw;
|
||||
color: white;
|
||||
margin-top: .2vw;
|
||||
background: #37D2D4;
|
||||
}
|
||||
.main_top_left_bottom_bar {
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: .6vw;
|
||||
line-height: 0;
|
||||
margin-top: .6vw;
|
||||
}
|
||||
.main_top_left_bottom_bar span {
|
||||
position: relative;
|
||||
float: left;
|
||||
display: block;
|
||||
font-size: .65vw;
|
||||
top: -.15vw;
|
||||
-webkit-transform-origin-x: 0;
|
||||
transform: scale(0.7);
|
||||
-webkit-transform: scale(0.7);
|
||||
}
|
||||
.main_top_left_bottom_bar .bar_num {
|
||||
color: #0EFCFF;
|
||||
margin-left: 3%;
|
||||
-webkit-transform-origin-x: 0;
|
||||
transform: scale(0.7);
|
||||
-webkit-transform: scale(0.7);
|
||||
}
|
||||
.bar_father {
|
||||
float: left;
|
||||
position: relative;
|
||||
width: 75%;
|
||||
background: rgba(31,103,163,0.2);
|
||||
height: 100%;
|
||||
margin-left: 3%;
|
||||
border-radius: 90px;
|
||||
}
|
||||
.bar_child {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 0%;
|
||||
height: 100%;
|
||||
border-radius: 90px;
|
||||
transition: all 2s;
|
||||
background-image: linear-gradient(90deg, #3E94CD 0%, #56D4F1 49%, #38E1E1 99%);
|
||||
}
|
||||
.main_top_left_top img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.main_top_left_top_title {
|
||||
text-align: center;
|
||||
color: #0EFCFF;
|
||||
font-size: .75vw;
|
||||
padding-top: .2vw;
|
||||
}
|
||||
.main_top_left_top_con {
|
||||
width: 92%;
|
||||
height: 71%;
|
||||
margin: auto;
|
||||
margin-top: 3%;
|
||||
color: white;
|
||||
/* margin-left: 4%; */
|
||||
/* text-indent: .5vw; */
|
||||
font-size: .7vw;
|
||||
/* letter-spacing: .15vw; */
|
||||
}
|
||||
.main_top_left_top_con span {
|
||||
display: inline-block;
|
||||
margin-top: .4vw;
|
||||
text-indent: 0vw;
|
||||
}
|
||||
.main_top_left_top_con_left {
|
||||
float: left;
|
||||
height: 48%;
|
||||
width: 49%;
|
||||
text-align: center;
|
||||
margin-top: 1.5%;
|
||||
}
|
||||
.main_top_left_t_c_l_left,.main_top_left_t_c_l_right,.main_top_left_t_c_r_right,.main_top_left_t_c_r_left {
|
||||
float: left;
|
||||
width: 48%;
|
||||
height: 100%;
|
||||
text-align: center;
|
||||
background: #FD9133;
|
||||
font-size: .7vw;
|
||||
}
|
||||
.main_top_left_t_c_l_right,.main_top_left_t_c_r_right {
|
||||
background: #F6D10E;
|
||||
margin-left: 4%;
|
||||
}
|
||||
.main_top_left_t_c_r_right {
|
||||
background: #F6580E;
|
||||
}
|
||||
.main_top_left_t_c_r_left {
|
||||
background: #2E8CFF;
|
||||
}
|
||||
.main_top_left_top_con_left .main_top_left_c_l_n {
|
||||
/* -webkit-transform-origin-x: 0; */
|
||||
transform: scale(0.8);
|
||||
-webkit-transform: scale(0.8);
|
||||
}
|
||||
.main_top_left_top_con_left p {
|
||||
/* -webkit-transform-origin-x: 0; */
|
||||
transform: scale(0.8);
|
||||
-webkit-transform: scale(0.8);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.main_top_left_top_con_right {
|
||||
float: right;
|
||||
height: 48%;
|
||||
width: 49%;
|
||||
text-align: center;
|
||||
margin-top: 1.5%;
|
||||
}
|
||||
.main_top_left_top_con_right .main_top_left_c_l_n {
|
||||
/* -webkit-transform-origin-x: 0; */
|
||||
transform: scale(0.8);
|
||||
-webkit-transform: scale(0.8);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.main_top_left_top_con_right p {
|
||||
/* -webkit-transform-origin-x: 0; */
|
||||
transform: scale(0.8);
|
||||
-webkit-transform: scale(0.8);
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.main_top_left_top_con_right2 p {
|
||||
margin-top: -7%;
|
||||
}
|
||||
.main_top_left_top_con_list {
|
||||
float: left;
|
||||
height: 48%;
|
||||
width: 32%;
|
||||
text-align: center;
|
||||
margin-left: 2%;
|
||||
}
|
||||
.main_top_left_top_con_list .main_top_left_c_l_n {
|
||||
/* -webkit-transform-origin-x: 0; */
|
||||
transform: scale(0.8);
|
||||
-webkit-transform: scale(0.8);
|
||||
}
|
||||
.main_top_left_top_con_list p {
|
||||
/* -webkit-transform-origin-x: 0; */
|
||||
transform: scale(0.8);
|
||||
-webkit-transform: scale(0.8);
|
||||
}
|
||||
.main_top_left_top_con_list:nth-child(1) {
|
||||
background: #37D2D4;
|
||||
margin-left: 0;
|
||||
}
|
||||
.main_top_left_top_con_list:nth-child(2) {
|
||||
background: #19CA88;
|
||||
}
|
||||
.main_top_left_top_con_list:nth-child(3) {
|
||||
background: #858FF8;
|
||||
}
|
||||
.main_top_middle {
|
||||
float: left;
|
||||
width: 63%;
|
||||
height: 100%;
|
||||
margin-left: 1.2%;
|
||||
}
|
||||
.main_top_middle_top_title {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: 1.7vw;
|
||||
font-weight: bold;
|
||||
color: #0EFCFF;
|
||||
}
|
||||
.main_top_middle_top_title .title_bg {
|
||||
position: absolute;
|
||||
left: 7%;
|
||||
top: -20%;
|
||||
width: 86%;
|
||||
height: 140%;
|
||||
}
|
||||
.title_web {
|
||||
position: absolute;
|
||||
right: -.8%;
|
||||
top: 0;
|
||||
padding: .5% 2%;
|
||||
font-size: .7vw;
|
||||
color: #0EFCFF;
|
||||
border: 1px solid #0EFCFF;
|
||||
-webkit-transform-origin-x: 0;
|
||||
transform: scale(0.9);
|
||||
-webkit-transform: scale(0.9);
|
||||
}
|
||||
.title_admin {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
padding: .5% 2%;
|
||||
font-size: .7vw;
|
||||
color: #0EFCFF;
|
||||
border: 1px solid #0EFCFF;
|
||||
-webkit-transform-origin-x: 0;
|
||||
transform: scale(0.9);
|
||||
-webkit-transform: scale(0.9);
|
||||
}
|
||||
.main_top_middle_num_title {
|
||||
float: left;
|
||||
color: #0EFCFF;
|
||||
font-size: 1.5vw;
|
||||
margin-left: 13%;
|
||||
line-height: 4.5vw;
|
||||
width: 18%;
|
||||
margin-top: .5vw;
|
||||
}
|
||||
.main_top_middle_num {
|
||||
float: left;
|
||||
width: 55%;
|
||||
height: 23%;
|
||||
margin: .7% auto;
|
||||
margin-top: 1.5%;
|
||||
}
|
||||
.main_top_middle_num_list {
|
||||
position: relative;
|
||||
float: left;
|
||||
height: 100%;
|
||||
width: 12%;
|
||||
margin-left: 2.6%;
|
||||
font-size: 2vw;
|
||||
font-weight: bold;
|
||||
color: #0EFCFF;
|
||||
line-height: 240%;
|
||||
}
|
||||
.main_top_middle_num_list p {
|
||||
text-align: center;
|
||||
}
|
||||
.main_top_middle_num_list:nth-child(1) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.main_top_middle_num_list img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.main_top_middle_bottom {
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 49.8%;
|
||||
margin-top: .5%;
|
||||
}
|
||||
.main_top_middle_bottom_echarts {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 49%;
|
||||
height: 100%;
|
||||
}
|
||||
.main_top_middle_bottom_echarts_right {
|
||||
float: right;
|
||||
}
|
||||
.main_top_middle_bottom_echarts img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.main_top_echarts_con {
|
||||
width: 92%;
|
||||
height: 82%;
|
||||
margin: 2% auto;
|
||||
/* background: white; */
|
||||
}
|
||||
.main_top_echarts_con_title {
|
||||
font-size: .8vw;
|
||||
color: #0EFCFF;
|
||||
}
|
||||
.main_top_echarts_pie {
|
||||
width: 100%;
|
||||
height: 90%;
|
||||
}
|
||||
.main_top_right {
|
||||
float: right;
|
||||
}
|
||||
.main_top_right .main_top_left_top_con_left {
|
||||
float: left;
|
||||
height: 48%;
|
||||
width: 49%;
|
||||
background: #37D2D4;
|
||||
|
||||
}
|
||||
.main_top_right .main_top_left_top_con_right {
|
||||
float: right;
|
||||
height: 48%;
|
||||
width: 49%;
|
||||
background: #19CA88;
|
||||
}
|
||||
.main_top_right .main_top_left_top_con_list {
|
||||
float: left;
|
||||
height: 48%;
|
||||
width: 32%;
|
||||
margin-left: 2%;
|
||||
margin-top: 1.5%;
|
||||
}
|
||||
.main_top_right .main_top_left_top_con_list:nth-child(3) {
|
||||
background: #858FF8;
|
||||
margin-left: 0;
|
||||
}
|
||||
.main_top_right .main_top_left_top_con_list:nth-child(4) {
|
||||
background: #2E8CFF;
|
||||
}
|
||||
.main_top_right .main_top_left_top_con_list:nth-child(5) {
|
||||
background: #FD9133;
|
||||
}
|
||||
.main_middle {
|
||||
height: 8%;
|
||||
width: 100%;
|
||||
}
|
||||
.main_middle_list {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 15%;
|
||||
height: 100%;
|
||||
background: rgba(11,76,151,0.10);
|
||||
margin-left: 1.875%;
|
||||
box-shadow: 1px 2px 10px 1px rgba(14,252,255,0.53), inset 5px 4px 100px 1px rgba(14,252,255,0.34);
|
||||
}
|
||||
.main_middle_list img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.main_middle_list:nth-child(1) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.main_list_title {
|
||||
font-size: .75vw;
|
||||
color: #0EFCFF;
|
||||
text-indent: .8vw;
|
||||
padding-top: .5vw;
|
||||
}
|
||||
.main_middle_list span {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
font-size: 1.4vw;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
text-align: center;
|
||||
letter-spacing: .2vw;
|
||||
margin-top: -.5vw;
|
||||
}
|
||||
.main_bottom {
|
||||
height: 55.9%;
|
||||
width: 100%;
|
||||
}
|
||||
.main_bottom_top {
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 46.5%;
|
||||
margin-top: 1.5%;
|
||||
}
|
||||
.main_bottom_top_list {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 32%;
|
||||
height: 100%;
|
||||
margin-left: 2%;
|
||||
}
|
||||
.main_bottom_top_list:nth-child(1) {
|
||||
margin-left: 0;
|
||||
}
|
||||
.main_bottom_top_list img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.main_bottom_t_l_title {
|
||||
z-index: 80;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
/* padding-top: 2.0vw;*/
|
||||
font-size: .8vw;
|
||||
color: white;
|
||||
text-indent: 3.2vw;
|
||||
top:28px;
|
||||
}
|
||||
.main_bottom_t_l_chart {
|
||||
z-index: 77;
|
||||
position: relative;
|
||||
width: 95%;
|
||||
height: 84%;
|
||||
margin: auto;
|
||||
/*margin-top: -5%;*/
|
||||
}
|
||||
.main_bottom_t_l_con {
|
||||
z-index: 77;
|
||||
position: relative;
|
||||
width: 92%;
|
||||
height: 60%;
|
||||
margin: auto;
|
||||
/*margin-top: 1%;*/
|
||||
top:40px;
|
||||
/* overflow: hidden; */
|
||||
}
|
||||
.main_bottom_t_l_main,.main_bottom_t_l_main2 {
|
||||
width: 100%;
|
||||
/* height: 100%; */
|
||||
}
|
||||
.main_bottom_t_l_main_list {
|
||||
font-size: .7vw;
|
||||
line-height: 1.6vw;
|
||||
height: 1.6vw;
|
||||
color: white;
|
||||
}
|
||||
.main_bottom_t_l_main2 .main_bottom_t_l_main_list {
|
||||
font-size: .7vw;
|
||||
line-height: 1.6vw;
|
||||
height: 1.6vw;
|
||||
color: white;
|
||||
}
|
||||
.main_bottom_t_list_title {
|
||||
float: left;
|
||||
width: 70%;
|
||||
height: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.main_bottom_t_list_time {
|
||||
float: left;
|
||||
width: 30%;
|
||||
height: 100%;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
text-align: right;
|
||||
}
|
||||
.main_bottom_bottom {
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 52%;
|
||||
margin-top: 1%;
|
||||
}
|
||||
.main_bottom_b_left,.main_bottom_b_right {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 17.3%;
|
||||
height: 100%;
|
||||
}
|
||||
.main_bottom_b_left img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.main_bottom_b_middle1,.main_bottom_b_middle2 {
|
||||
position: relative;
|
||||
float: left;
|
||||
width: 30%;
|
||||
height: 100%;
|
||||
margin-left: 1.8%;
|
||||
}
|
||||
.main_bottom_b_right {
|
||||
margin-left: 1.8%;
|
||||
}
|
||||
.main_bottom_b_right img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.main_bottom_b_middle1 img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.main_bottom_b_middle2 img {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.main_bottom_b_title {
|
||||
font-size: .8vw;
|
||||
text-align: center;
|
||||
color: #0EFCFF;
|
||||
padding-top: .3vw;
|
||||
}
|
||||
.main_bottom_b_con {
|
||||
width: 90%;
|
||||
height: 75%;
|
||||
margin: auto;
|
||||
margin-top: 8%;
|
||||
}
|
||||
.main_bottom_b_con2 {
|
||||
height: 70%;
|
||||
}
|
||||
/** 青岛研锦网络科技有限公司 版权所有 **/
|
After Width: | Height: | Size: 634 B |
After Width: | Height: | Size: 501 B |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 3.3 KiB |
After Width: | Height: | Size: 6.4 KiB |
After Width: | Height: | Size: 6.3 KiB |
After Width: | Height: | Size: 5.9 KiB |
After Width: | Height: | Size: 18 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 868 B |
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 9.3 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 5.1 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 5.1 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 5.2 KiB |
@ -0,0 +1,119 @@
|
||||
particlesJS('particles-js',
|
||||
{
|
||||
"particles": {
|
||||
"number": {
|
||||
"value": 10,
|
||||
"density": {
|
||||
"enable": true,
|
||||
"value_area": 1200
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"value": "#ffffff"
|
||||
},
|
||||
"shape": {
|
||||
"type": "circle",
|
||||
"stroke": {
|
||||
"width": 2,
|
||||
"color": "#000000"
|
||||
},
|
||||
"polygon": {
|
||||
"nb_sides": 5
|
||||
},
|
||||
"image": {
|
||||
"src": "img/github.svg",
|
||||
"width": 100,
|
||||
"height": 100
|
||||
}
|
||||
},
|
||||
"opacity": {
|
||||
"value": .8,
|
||||
"random": false,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
"speed": 1,
|
||||
"opacity_min": 0.1,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"size": {
|
||||
"value": 5,
|
||||
"random": true,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
"speed": 40,
|
||||
"size_min": 0.1,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"line_linked": {
|
||||
"enable": true,
|
||||
"distance": 150,
|
||||
"color": "#ffffff",
|
||||
"opacity": 0.4,
|
||||
"width": 1
|
||||
},
|
||||
"move": {
|
||||
"enable": true,
|
||||
"speed": 6,
|
||||
"direction": "none",
|
||||
"random": false,
|
||||
"straight": false,
|
||||
"out_mode": "out",
|
||||
"attract": {
|
||||
"enable": false,
|
||||
"rotateX": 600,
|
||||
"rotateY": 1200
|
||||
}
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"detect_on": "canvas",
|
||||
"events": {
|
||||
"onhover": {
|
||||
"enable": true,
|
||||
"mode": "repulse"
|
||||
},
|
||||
"onclick": {
|
||||
"enable": true,
|
||||
"mode": "push"
|
||||
},
|
||||
"resize": true
|
||||
},
|
||||
"modes": {
|
||||
"grab": {
|
||||
"distance": 400,
|
||||
"line_linked": {
|
||||
"opacity": 1
|
||||
}
|
||||
},
|
||||
"bubble": {
|
||||
"distance": 400,
|
||||
"size": 40,
|
||||
"duration": 2,
|
||||
"opacity": 8,
|
||||
"speed": 3
|
||||
},
|
||||
"repulse": {
|
||||
"distance": 200
|
||||
},
|
||||
"push": {
|
||||
"particles_nb": 4
|
||||
},
|
||||
"remove": {
|
||||
"particles_nb": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
"retina_detect": true,
|
||||
"config_demo": {
|
||||
"hide_card": false,
|
||||
"background_color": "#b61924",
|
||||
"background_image": "",
|
||||
"background_position": "50% 50%",
|
||||
"background_repeat": "no-repeat",
|
||||
"background_size": "cover"
|
||||
}
|
||||
}
|
||||
|
||||
);
|