1
0

提交代码

This commit is contained in:
2020-08-06 14:51:28 +08:00
parent d7a848c824
commit 49762a4bf9
723 changed files with 46200 additions and 0 deletions

21
public/.htaccess Normal file
View File

@@ -0,0 +1,21 @@
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>

View File

@@ -0,0 +1 @@
83Z50h6ZubIPhcqe

View File

@@ -0,0 +1,15 @@
.app{position: fixed;width: 100%;height: 100vh;left: 0;top: 0; overflow-y: auto;-webkit-overflow-scrolling: touch;}
/* 加载更多提示 插件样式 */
.refreshWrap .refresh{position: absolute;left: 0;top: 0;width: 100%;height:60px;line-height: 60px;text-align: center;}
.refreshWrap .loadingBox{width: 100%;height:40px;text-align: center;padding: 10px;position: relative;background-color: #fff;z-index: 2}
.refreshWrap .loading,.refreshWrap .loadTxt{vertical-align: middle;display: inline-block;}
.refreshWrap .loading{border-radius: 50%;width: 16px;height: 16px;border: 1px solid #666;border-top-color: transparent;margin-right: 8px;transform: translateZ(0);position: relative;}
.refreshWrap .noMore .loading{display:none;}
.refreshWrap .success{border-color: transparent;}
.refreshWrap .success:before{content:"";border:1px solid #666;border-top-color: transparent;border-left-color:transparent;position: absolute;left: 0;bottom: 0;width: 8px;height: 16px;}
.refreshWrap .rotate {
-webkit-animation: refresh-rotate 0.6s linear infinite;
animation: refresh-rotate 0.6s linear infinite;
}

View File

@@ -0,0 +1,60 @@
/*
ConciseUI Beta 1.0
Web唐明明 20170103
*/
*{padding: 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
body{font-family: "微软雅黑"}
ul{list-style-type: none;}
img{vertical-align: bottom;}
.ce-nav ~ .ce-content{border-bottom:solid 2.4rem transparent;}
.programme-btn ~ .ce-content{border-bottom:solid 2.4rem transparent;}
.ce-nav ~ .ce-content-tab{border-top:solid 2.4rem transparent;}
/*
元素垂直方向
*/
.ce-pack-end{display: -webkit-box; -webkit-box-orient: vertical; -webkit-box-pack:end; position: absolute; right:.5rem; top:.5rem; bottom: .5rem;}
/*
文字截断
*/
.ce-nowrap{ max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ce-nowrap-multi{ display: -webkit-box; overflow: hidden; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
/*
默认背景图
*/
.default-back-img{background-image: url(../img/img-bg.png);}
.back-img{background-size: cover; background-position: center; background-repeat: no-repeat; position:absolute; height: 100%; width: 100%; top: 0; left: 0;}
.portrait{background-image: url(../img/user_portrait_06.png); background-repeat: no-repeat; background-size: cover; background-position: center; position: relative; border-radius: 100%;}
.portrait span{position: absolute; height: 100%; width: 100%; top: 0; left: 0; background-size: cover; background-position: center; background-repeat: no-repeat; border-radius: 100%;}
/*
边距
*/
.has-margin-left-sm{margin-left: 0.5rem !important;}
.has-margin-right-sm{margin-right: 0.5rem !important;}
.has-margin-top-sm{margin-top: 0.5rem !important;}
.has-margin-top-lg{margin-top: 1rem !important;}
.has-margin-bottom-lg{margin-top: 1rem !important;}
/*
内补
*/
.has-padding-top-sm{padding-top: 0.5rem !important;}
.has-padding-right-sm{padding-right: 0.5rem !important;}
.has-padding-bottom-sm{padding-bottom: 0.5rem !important;}
.has-padding-lg{padding: 1rem !important;}
.has-padding-right-lg{padding-right: 1rem !important;}

4
public/assets/agent/css/mzui.min.css vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,389 @@
*{font-family: "微软雅黑"}
body{background: #f5f5f5;}
ul{list-style: none; padding-left: 0;}
input, button, select {outline: none;}
.text-nowrap {max-width: 100%;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
.text-nowrap-multi {display: -webkit-box;overflow: hidden;text-overflow: ellipsis;-webkit-box-orient: vertical;-webkit-line-clamp: 2;}
footer{height: 60px; background: white; box-shadow: 0 0 2px 3px rgba(0,0,0,.02); position: fixed; bottom: 0; left: 0; width: 100%; z-index: 99;}
footer ~ section{padding-bottom: 60px;}
footer{display: flex; justify-content: space-between;}
/*头部*/
.topFixed{position: fixed; background-color: #1d1700; box-shadow: 2px 2px 2px rgba(0,0,0,.2);right: 20px; bottom: 20px; border-radius: 20px; color: #fff; text-align: center; width: 50px;height: 32px; line-height: 32px; text-align: center; opacity: .9;z-index: 9999}
.topFixed i {font-size: 18px; }
.topFixed span {display: inline-block; float: left;}
/* 搜索 */
.search {box-shadow: 0 0 2px 3px rgba(0,0,0,.02);background-color: #fff;overflow: hidden;border-bottom: 1px solid #eee;position: fixed; height: 54px; line-height: 54px;width: 100%; z-index: 999;}
.searchCont{width: calc(100% - 20px); left: 10px; top: 10px; right: 10px ; bottom: 10px;background: #f2f2f2; border-radius: 3px; position: absolute; padding: 0 5px;}
.searchCont input {width: 100%;height: 100%;border: 0;background: none;}
.searchCont input::-webkit-input-placeholder{font-size: 14px;}
.searchCont button {position: absolute;right: 0;top: 0;line-height: 31px;color: #999;height: 100%;}
/* 弹出层 */
.backEject, .memberBack{position: fixed; width: 100%; height: 100%; left: 0; top: 0; z-index: 998; background: rgba(0,0,0,.6); display: none;}
.specsEject{background: #fff; position: fixed; left: 0; bottom: -100%; width: 100%; z-index: 999; border-radius: 10px 10px 0 0; padding: 10px; box-sizing: border-box; transition: .6s;}
.ejectHead{position: relative;}
.ejectHead-img{position: relative; width: 80px; height: 80px; border-radius: 5px; overflow: hidden;}
.ejectHead-text{width: calc(100% - 90px); position: absolute; left: 90px; bottom: 0;}
.ejectHead-price{color: #bc3635; font-size: 18px; font-weight: 600; margin-bottom: 5px;}
.ejectHead-price>small{font-size: 12px;}
.ejectChoose{margin-top: 20px; overflow: hidden; width: 100%;}
/* 个人中心 */
.mainHead, .temHead{width: 100%; box-sizing: border-box;background-position: top center; background-size: cover;}
.mainHead{background-image: url(../img/agent_bg.jpg); padding: 20px 15px 50px; position: relative;}
.mainHeadImg{position: relative; width: 67px; height: 67px; border-radius: 50%; overflow: hidden; background-color: #e5e5e5; border: 2px #d0a700 solid;}
.mainHeadImg>span, .temListUl-img>span, .accountHeadImg>span, .codeCont-head-img>span{position: absolute; top: 0; left: 0; height: 100%; width: 100%; background-position: center; background-size: cover;}
.mainHeadText{width: calc(100% - 100px); position: absolute; left: 95px; top: 28px; display: flex;}
.mainHeadText-name{font-size: 16px; font-weight: 600; flex: 1;}
.mainHeadText-name>small{color: #634f00; font-weight: normal; font-size: 13px;}
.mainHeadText-name>p{margin-bottom: 5px;}
.mainNav {background: #fff; border-radius: 5px 5px 15px 15px; margin: -30px 10px 0; position: relative; padding: 0 10px 10px; text-align: center; width: calc(100% - 20px); box-shadow: 2px 4px 4px rgba(0,0,0,.05);}
.mainNavLabel{border-radius: 0 0 50% 50%; width: 90px; margin: 0 auto; line-height: 32px; background: linear-gradient(to right, #fff0d9, #e4bd84); color: #000; font-weight: 600; display: inline-block;}
.mainNavList{padding: 10px 10px 5px; display: flex; margin: 0;}
.mainNavList>li{flex: 2; text-align: center;}
.mainNavList>li span{font-weight: 600; font-size: 20px;}
.mainNavList>li.mainNavList-price{position: relative;}
.mainNavList>li.mainNavList-price::after{position: absolute; right: 0; top: 25%; content: ''; background: #dadada; width: 1px; height: 50%;}
.mainNavList>li.mainNavList-price span {color: #c52a1d;}
.mainNavList>li div.mainNavList-name {color: #a6a5a5; margin-top: 5px;}
.banner{margin: 15px 10px; overflow: hidden; padding: 10px;}
.banner>img {vertical-align: middle; margin: 0;}
.banner,.mainList {background:white; border-radius: 10px; box-shadow: 2px 2px 2px rgba(0,0,0,.05); box-sizing: border-box; }
.mainList{margin: 15px 10px 0; width: calc(100% - 20px); overflow: hidden;}
.mainList>li{text-align: center; width: 33.33%; float: left; padding: 15px 0; border-bottom:1px solid #f2f2f2;border-right:1px solid #f2f2f2;}
.mainList-icon{width: 25px; height: 25px; margin: 0 auto 2px;}
.mainList-icon img{width: 100%;}
.mainList-text{color: #818181; font-size: 15px;}
/* 会员身份 */
.Vip{display: inline-block; padding: 0 6px; border-radius: 3px; background: #4e3d00; color: #fff; font-size: 12px; font-weight: normal; line-height: 18px; margin-left: 8px;}
.Vip>img{width: 13px; height: 13px; margin: -2px 3px 0 0;}
/* 团队人数 */
.temHead {background-image: url(../img/tem_bg.png); color: #866b00; text-align: center; font-size: 16px; padding: 30px 20px;}
.temHead>p{font-size: 32px;}
.temNumber {background: white; overflow: hidden; margin-left: -1px;}
.temNumber li {width: 50%; float: left; display: flex; font-size: 15px; padding: 15px; box-sizing: border-box; border-bottom: #f2f2f2 1px solid; border-left: #ebeced 1px solid}
.temNumber-icon{width: 30px; height: 30px; margin-right: 10px; font-size: 16px; padding-top: 5px;}
.temNumber-icon img{margin-bottom: 0;}
.temNumber-text>p{margin: 5px 0 0; color: #a5a6a7;}
.temNumber-text>p>span{padding-right: 5px;}
span.temRed{ color: #ff5959;}
span.temBlue{color: #5fa8ff;}
.temForm{background: #fff; padding: 10px; box-sizing: border-box; border-bottom: #f2f2f2 1px solid; border-top: #f2f2f2 1px solid; overflow: hidden;}
.temSearch{width: calc(100% - 95px); margin-left: 10px; float: right; height: 32px;}
.temSearch>button{width: 60px; border: none; margin-left: 10px; line-height: 30px; box-sizing: border-box; border-radius: 5px; background: #ffde61; color: #655100;}
.temSearch>input{width: calc(100% - 75px); line-height: 32px; border: none; border-radius: 5px; background: #efefef; padding-left: 10px;}
.temSearch>input::-webkit-input-placeholder{font-size: 14px;}
.temScreen{width: 80px; float: left;}
.temScreen select{width: 100%; height: 33px; border: 1px #f1f1f1 solid; border-radius: 5px; background: #efefef; padding-left: 5px;}
.temListTitle{font-size: 17px; padding: 10px 15px;font-weight: 600;}
.temListUl{width: 100%;background: white;box-shadow: 2px 2px 2px rgba(0,0,0,.05); border-radius: 5px;overflow: hidden;}
.temListUl li {padding: 10px 15px; box-sizing: border-box; position: relative; border-bottom: 1px #f2f2f2 solid;}
.temListUl li:last-child{border: none;}
.temListUl-img {position: relative; height: 50px; width: 50px; border-radius: 50%; overflow: hidden;box-shadow: 2px 2px 2px rgba(0,0,0,.05);}
.temListUl-cont{position: absolute; left: 80px; top: 10px; width: calc(100% - 80px);}
.temListUl-cont .temListUl-cont-name {font-size: 16px; margin-bottom: 6px; }
.temListUl-cont .temListUl-cont-time{color: #999;}
/* 账户 */
.accountHead {display: flex; padding: 10px 15px; background: white;}
.accountHeadImg {width: 40px; height: 40px; position: relative; border-radius: 50%; overflow: hidden;}
.accountHeadText{line-height: 40px; margin-left: 10px;}
.account{padding: 5px 15px 15px 15px; background: white;box-shadow: 0 0 2px 3px rgba(0,0,0,.01);}
.accountBack{background-image: url(../img/account_bg.png); color: #fff; box-shadow: 0 2px 7px 0px rgba(67, 132, 253, .5);background-position: bottom center; background-size: 100% 100%; border-radius: 8px; overflow: hidden; padding: 15px; position: relative;}
.account-price{color: #cfdffe;}
.account-price>span{font-size: 26px; display: block; color: #fff; margin: 5px 0 15px;}
.account-nav{display: flex; margin-bottom: 0;}
.account-nav>li{margin-right: 20px; font-size: 16px;}
.account-nav>li>span{font-size: 15px;color: #e1ebff; padding-right: 3px;}
.account-btn{position: absolute; right: 0; top: 25px;background: linear-gradient(to right, #709af7, #6060ea); color: #eaebfb; border-radius: 40px 0 0 40px; padding: 5px 8px 5px 12px;}
.account-btn>i{font-size: 16px;}
.accountList{ background: white;margin: 15px 0 0;box-shadow: 0 0 2px 3px rgba(0,0,0,.01);}
.accountList-title{padding: 10px 0 10px 30px;font-size: 18px; font-weight: 600;position: relative;}
.accountList-title::after{position: absolute; left: 15px; top: 30%; height: 44%; content: ''; background: #e4b700; width: 5px; border-radius: 30px;}
.accountList-ul>li{padding: 15px; padding-bottom: 10px; border-top: 1px solid #f2f2f2; font-size: 16px;}
.accountList-ul-top{color: #313131;}
.accountList-ul-top>span{color: #bb7400;}
.accountList-ul-top, .accountList-ul-cont{display: flex;}
.accountList-ul-top-time, .accountList-ul-cont-text{flex: 1}
.accountList-ul-top-time>i{padding-right: 10px;}
.accountList-ul-cont{font-size: 14px; margin-top: 5px; color: #5d5d5d;}
span.accountList-ul-red{color: red}
span.accountList-ul-green{color: green;}
.empty{ text-align: center;padding-bottom: 30px; color: #7c7b7d; font-size: 16px; background: #fff; border-radius: 5px; margin: 10px 20px; box-shadow: 0 0 2px 3px rgba(0,0,0,.01);}
.empty>img{width: 160px; margin: 0 auto 20px; display: block;}
/* 卡管理 */
.cardHead, .cardNav{margin: 10px;}
.cardHead, .cardNav, .cardList-title, .cardList-ul{border-radius: 5px;box-shadow: 0 0 2px 3px rgba(0,0,0,.01);}
.cardNav{background: white; padding: 10px 15px;}
.cardNav-top{border-bottom: 1px solid #f2f2f2; padding-bottom: 10px; font-weight: 600}
.cardNav-ul {display: flex; margin: 10px 0 0;}
.cardNav-ul li{flex: 4; text-align: center; font-size: 12px; color: #6b6b6b;}
.cardNav-ul li span{display: block; font-size: 18px; color: #ff9502;;}
.cardList{margin: 0 10px;}
.cardList-title {background: white; padding: 8px 15px; display: flex;}
.cardList-title>span{flex: 1; font-size: 15px; font-weight: 600; line-height: 28px;}
.cardScreen{float: right;width: auto;}
.cardScreen>select {height: 28px; width: auto;}
.cardList-take{background:white; margin-top: 10px;}
.cardList-ul{padding: 8px 15px;}
.cardList-ul>li{border-bottom: 1px #f2f2f2 solid; padding-bottom: 10px;display: flex; margin-bottom: 10px;}
.cardList-ul>li:last-child{border: none; padding-bottom: 0; margin-bottom: 0;}
.cardList-ul .cardList-ul-left{flex: 1; width: 80%; line-height: 28px; font-size: 15px;}
.cardList-ul .cardList-ul-left>span{display: block;}
.cardList-ul-right{color: #fff;height: 22px; line-height: 22px; font-size: 12px; border-radius: 5px; padding: 0 5px; margin-top: 5px;}
.cardList-blue{background: #49a1f6;}
.cardList-brown{background: #ae925e;}
.cardList-grey{background: #747c8f;}
.cardList-green{background: #43c66e;}
.cardList-yellow{background: #f2a12a;}
/* 卡种选择 */
.cardChoose{padding: 10px;}
.cardChoose li{background: white; padding: 10px;box-shadow: 0 0 2px 3px rgba(0,0,0,.01); margin-bottom: 10px;display: flex; border-radius: 5px;}
.cardChoose-img{width: 45px; height: 45px; margin: 2px 15px 0 0;}
.cardChoose-cont {width: calc(100% - 60px); display: flex;}
.cardChoose-cont p {flex: 1; margin-bottom: 0;color: #999;}
.cardChoose-cont p span {display: block; font-size: 18px; font-weight: 600; margin-bottom: 3px; color: #313131;}
.cardChoose-cont i {font-size: 24px;line-height: 47px; color: #cacaca;}
/* 提现表单 */
.withdrawForm {background: white; border-radius: 5px; padding: 15px;box-shadow: 0 0 2px 3px rgba(0,0,0,.01); margin: 20px 15px;}
.withdrawForm-ul>li{overflow: hidden;border-bottom: 1px solid #f0f0f0; padding-bottom: 10px; margin-bottom: 10px;}
.withdrawForm-ul>li:last-child{border: none;}
.withdrawForm-ul>li .withdrawForm-ul-left {width: 100px; font-size: 16px; margin-right: 10px; font-weight: 600;}
/*.withdrawForm-ul>li .withdrawForm-ul-right{display: flex;width: calc(100% - 110px); padding-top: 2px; line-height: 25px;}*/
.withdrawForm-ul>li .withdrawForm-ul-right{display: flex;width: 100%; padding-top: 2px; line-height: 25px;}
.withdrawForm-add{text-align: center; font-size: 16px; line-height: 40px; margin-bottom: 20px}
.withdrawForm-add>i{padding-right: 5px}
.withdrawForm-ul>li .withdrawForm-ul-right i{font-size: 22px; color: #cccccc; line-height: 40px;}
.withdrawForm-ul .checkbox>input+label:after, .radio>input+label:after{top: 11px;}
.withdrawForm-ul .checkbox>input+label:before, .radio>input+label:before {top: 6px;}
.withdrawForm-ul-logo img{width: 35px; height: 35px; margin: 0;}
.withdrawForm-ul-text {display: flex; width: calc(100% - 45px); margin-left: 10px}
.withdrawForm-ul-text>div{flex: 1;}
.withdrawForm-ul-text>div>span{display: block; font-size: 16px; font-weight: 600;}
.withdrawForm-money p {font-weight: 600; font-size: 15px;}
.withdrawForm-money-input{border-bottom: 1px #f0f0f0 solid; font-size: 22px; padding-bottom: 10px;}
.withdrawForm-money-input>input{border: none; background: transparent;}
.withdrawForm-money-text{margin: 10px 0; color: #999;}
.withdrawForm-money-text button{background: transparent; border: none; color: #007ad0; padding-left: 10px;}
.withdrawForm-btn {background: #ffde61; color: #806500; border-radius: 5px; line-height: 40px; width: 100%; text-align: center; margin: 20px 0 10px; font-size: 15px;}
/* 添加银行卡 */
.formbox-label {width: 100%;line-height: 40px;padding: 0 15px; font-weight: 600;}
.formbox-input {width: 100%;padding: 0 15px;background-color: #fff;border-top: 1px solid #eee;border-bottom: 1px solid #eee;overflow: hidden;}
.formbox-input input {width: 100%;line-height: 40px;border: 0;}
.formbox-file-margin{text-align: center;}
.formbox-file {background: url(../img/file.png) no-repeat;padding-top: 50%;width: 50%;background-size: 100% 100%;position: relative;margin: 0 auto;}
.formbox-file input {height: 40px;width: 100%;border: none;border-bottom: solid 1px #F8F8F8;font-size: 27px;}
.formbox-file input#file {display: block;width: auto;border: 0;vertical-align: middle;width: 100%;height: 11rem;position: absolute;top: 0;opacity: 0;}
.formbox-input-img {width: 100%;height: 100%;position: absolute;left: 0;top: 0;z-index: 99;background-size: cover;background-position: center;}
.worksFile-btn {bottom: 0;left: 0;background: #c7c7c7;border-radius: 4px;width: 50%;line-height: 36px;color: #fff;display: inline-block;margin-top: 15px;text-align: center;}
/* 提现记录 */
.recordHead {background: white; padding: 20px 0; border-radius: 10px; margin: 15px;box-shadow: 0 0 2px 3px rgba(0,0,0,.01); text-align: center;}
.recordHead img{width:60px; margin: 0 auto;}
.recordHead-btn{background: #f3c303; color: #fff; border-radius: 5px; padding: 5px 15px; display: inline-block; margin-top: 15px;}
.recordUl-title{font-size: 16px; color: #999; text-align: center;}
.recordHead-price{color: #747474;}
.recordHead-price>span{display: block; font-size: 28px; color: #df0000; margin: 5px 0;}
.recordList {background: white; border-radius: 10px; box-shadow: 0 0 2px 3px rgba(0,0,0,.01); margin: 0 15px; padding: 15px; margin-top: 15px;}
.recordList li{margin-bottom: 10px; border-bottom: 1px solid #f0f0f0; padding-bottom: 10px;}
.recordList li:last-child{padding-bottom: 0; border: none; margin-bottom: 0;}
.recordList-name{display: flex; font-size: 16px; margin-bottom: 5px;}
.recordList-name>span, .recordList-time>span{flex: 1;}
.recordList-time {display: flex; color: #999;}
.recordList-time div.recordList-green{color: #4b9347;}
.recordList-time div.recordList-red{color: #df0000;}
/* 二维码分享 */
.codeBack{background-position:top center; background-size: cover; width: 100%; height: 100vh;}
.codeBack-title {padding: 40px; height: calc(20% + 30px); box-sizing: border-box;}
.codeCont {background: white; border-radius: 10px;box-shadow: 0 0 2px 3px rgba(0,0,0,.01); border: 5px solid #b0d6ff; width: 84%; margin: 0 auto; text-align: center; position: relative; height: 60%;}
.codeCont-head-img {width: 70px; height: 70px; border-radius: 50%; position: relative; margin: -30px auto 15px; overflow: hidden;border: 5px solid #b0d6ff;}
.codeCont-head-name {font-size: 16px;}
.codeCont-head-name>span{color: #bf7600; padding-right: 5px;}
.codeCont-img{background-position: center; background-size: 100% 100%; width: 70%; padding-top: 70%; position: absolute; left: 15%; top: 100px;}
.codeCont-scan{position: absolute; top: 10px; left: 10px; right: 10px; bottom: 0;}
.codeCont-text{position: absolute; top: calc(70% + 70px); width: 100%; text-align: center;}
/* 登录 */
.register{background: #fff; position: fixed; width: 100%; height: 100%; left: 0; top: 0; padding: 20px 15px;}
.registerTitle{margin-bottom: 40px; color: #999;}
.registerTitle>p{font-size: 25px; color: #313131;}
.registerList{border-bottom: 1px solid #f2f2f2; margin-bottom: 25px;}
.registerList-name>i{padding-right: 5px;}
.registerList-tel{line-height: 45px;display: flex;}
.registerList-tel>input{border: none; background: transparent;flex: 1;}
.registerList-tel>input::-webkit-input-placeholder{font-size: 14px;}
.registerList-tel>span{display: inline-block; width: 50px; font-weight: 600;}
.registerList-tel>button{border: #d8d8d8 1px solid; border-radius: 30px; background: transparent; height: 30px; line-height: 26px; float: right; margin-top: 9px; padding: 0 10px;}
.registerBtn{width: 100%; height: 42px; text-align: center;}
.registerBtn>button{width: 100%; background: #daa965; height: 100%; line-height: 42px; color: #fff; border-radius: 20px; border: none; font-size: 15px; margin-bottom: 10px;}
.registerBtn>span{font-size: 15px; color: #999;}
.registerBtn>span>i{font-size: 17px; padding-left: 5px;}
.registerBtn-left{ padding-left: 50px;}
/*我要进卡*/
.enterCard-title {width: 75%; margin: 0 auto; padding-top:10px; color: #fff; font-size: 50px; text-shadow: 1px 2px 8px rgb(193, 122, 62)}
.enterCard-title img{margin-bottom: 0}
.enterCard{background: url(../img/enter_card_02.png) #ffda3c; position: relative; width: 100%; height: 100vh; left: 0; top: 0; background-size: 100%; background-repeat: no-repeat; background-position: bottom center;;}
.enterCard-block {width: 80%; margin: 0 auto 10px;}
.enterCard-block input[disabled]{opacity: 1!important; color: #000;}
.enterCard-top, .enterCard-cont{width: 90%; margin: 10px auto 0; background: rgba(255,255,255,.9);border-radius: 10px; overflow: hidden;}
.enterCard-cont-title { margin-bottom: 10px;}
.enterCard-form {width: 80%; margin: 0 auto; text-align: center; padding: 10px 0 20px;}
.enterCard-block>span{width: 35px; background: #bfbfbf; color: #fff; display: inline-block;line-height: 23px; height: 25px; font-size: 15px; font-weight: 600}
.enterCard-block>span, .enterCard-block>input{border-radius: 5px; text-align: center;}
.enterCard-block>input{max-width: 75px; line-height: 26px; height: 26px; border:1px solid #6885fb; background: transparent; font-weight: 600; margin: 0 5px;}
.enterCard-btn button{background: linear-gradient(to right, #658dfe, #7d4def); color: #fff; text-align: center; border: none; width: 60%; border-radius: 5px; line-height: 35px; font-size: 16px; margin: 20px 0 0;}
.enterCard-address>input{margin-top:10px; line-height: 32px; border-radius: 5px; border: 1px solid #e4e4e4; padding-left: 10px}
.enterCard-cont {overflow: hidden;}
.enterCard-cont-title{background: linear-gradient(to right, #e1f1ff, #f5faff); line-height: 40px; height: 40px; padding-left: 25px; font-size: 16px; color: #3671f9; position: relative;}
.enterCard-cont-title::after{position: absolute; left: 15px; top: 28%;content: ''; height: 46%; width: 4px; background: #3671f9;}
.enterCard-cont-text{font-size: 16px; padding: 0 20px; line-height: 30px; margin: 10px 0; text-align: justify;}
/* 收货地址 */
.addressList{width: 100%;padding:15px;}
.addressList li {width: 100%;border: 1px solid #f2f2f2;border-radius: 4px;overflow: hidden;margin-bottom: 15px;background-color: #fff;}
.addressList-name, .addressList-phone{width: 50%;height: 30px;color: #444;float: left;line-height: 30px;box-sizing: border-box;margin-top: 2px;}
.addressList-name{padding-left: 10px;}
.addressList-phone{text-align: right;padding-right: 10px;}
.addressList-text{padding: 0;color: #666;border-bottom: 1px dashed #f2f2f2;padding-bottom: 10px;padding-left: 10px;clear: both;}
.color-orange{color: #c30d23;}
.addressList-btn{padding: 10px;color: #444;background-color: #fff;overflow: hidden;position: relative;}
.addressList-btn button{position: absolute;top: 10px;color: #848484;border: 1px solid #e6e6e6;width: 55px;height: 24px;border-radius: 4px;background-color: #f7f7f7;padding: 0;}
.addressList-btn-edit{right: 80px;}
.addressList-btn-delete{right: 10px;}
.addressList-radio {display: inline-block;width: 30px;float: left;}
.addressList-radio input{width: 20px; height: 20px;}
.addressList-btn span{line-height: 24px;}
.addressAdd {width: 96%;height: 40px; line-height: 40px; background-color: #d89014;color: #fff;font-size: 16px;text-align: center;border: none;position: absolute; top: calc(50% - 20px); left: 2%; border-radius: 30px;}
.addressAdd::after{display: none;}
/* 新增地址 */
.addressForm{background-color: #fff;border-bottom: 1px solid #eee;padding-bottom: 10px;}
.addressForm-input{width: 100%;overflow: hidden;padding: 10px;}
.addressForm-input-name{width: 90px;float: left;line-height: 30px;}
.addressForm-input input {width: calc(100% - 90px);float: left;line-height: 30px;border: 0;border-bottom: 1px solid #eee;background: 0 0;outline: 0;color: #666;padding: 0;}
.address-i {width: 20px;display: inline-block;color: #999;}
.addressForm-select {width: 100%;overflow: hidden;padding: 10px;position: relative;}
.addressForm-select textarea {width: calc(100% - 90px);float: right;border: 0;border-bottom: 1px solid #eee;background: 0 0;outline: 0;color: #666;}
.addressForm-mode{width: 100%;line-height: 20px;padding: 10px 13px;border-bottom: 1px solid #eee;border-top: 1px solid #eee;background-color: #fff;margin-top: 13px;position: relative;}
.addressForm-mode-btn{width: 30px;float: right;position: relative;text-align: right;}
.addressForm-mode-btn>input {position: absolute;top: 0;left: 0;display: block;width: 100%;height: 30px;margin: 0;opacity: 0;}
.addressForm-mode-btn>label {display: block;padding: 0;margin: 0;font-weight: 400;line-height: 20px;}
.addressForm-mode-btn>label:after, .addressForm-mode-btn>label:before {position: absolute;left: 0;display: block;pointer-events: none;content: ' ';border: 1px solid #eee;border-radius: .5rem;-webkit-transition: all .4s cubic-bezier(.175,.885,.32,1);-o-transition: all .4s cubic-bezier(.175,.885,.32,1);transition: all .4s cubic-bezier(.175,.885,.32,1);}
.addressForm-mode-btn>label:before {width: 30px;height: 20px;top: 0px;}
.addressForm-mode-btn>label:after {top: 1px;width: 18px;height: 18px;background-color: #fff;border-color: #eee;border-radius: 9px;-webkit-box-shadow: rgba(0,0,0,.05) 0 1px 0.2rem, rgba(0,0,0,.12) 0 1px 0.1rem;box-shadow: rgba(0,0,0,.05) 0 1px 0.2rem, rgba(0,0,0,.12) 0 1px 0.1rem;}
.addressForm-mode-btn>input:checked+label:before {background-color: #d89014;border-color: #d68905;}
.addressForm-mode-btn>input:checked+label:after {left: 10px;border-color: #fff;}
.addressForm-input input::-webkit-input-placeholder, .addressForm-select textarea::-webkit-input-placeholder{font-size: 15px;}
/* 我的订单 */
.orderNav {width: 100%;overflow: hidden;background-color: #fff;margin-bottom: 15px;}
.orderNav span {flex: 3;border-bottom: 1px solid #f2f2f2;height: 44px;line-height: 44px;text-align: center;}
.orderNav span.active {font-weight: 700;opacity: 1;color: #000;background-color: unset;position: relative;}
.orderNav span.active:after {background-color: unset;content: '';position: absolute;bottom: 0;width: 20px;left: calc(50% - 10px);height: 2px;background: #000;top: unset;}
.orderText-back{background: white;border-top: 1px solid #f2f2f2;border-bottom: 1px solid #f2f2f2;}
.orderText-name{display: flex;border-bottom: #f2f2f2 1px solid; padding: 10px 15px;}
.orderText-name>p{flex: 1; font-size: 16px; margin-bottom: 0;}
.orderText-name>span{color: #f8be22;}
.orderText-list{margin: 15px 0 0; padding: 0 15px;}
.orderText-list>li{padding-bottom: 15px; margin-bottom: 15px; border-bottom: #f2f2f2 1px solid;}
.orderText-list>li:last-child{border: none; padding-bottom: 0;}
.orderText-list-text{width: 100%;}
.orderText-list-name{font-size: 16px;}
.orderText-list-span{margin-top: 15px; display: flex; color: #999; line-height: 20px;}
.orderText-list-price{color: #fe2a00; font-size: 15px;flex: 1;}
.orderText-total{text-align: right; width: 100%; padding: 10px 15px; border-top: #f2f2f2 1px solid;border-bottom: #f2f2f2 1px solid;}
.orderText-total>span{font-size: 16px; font-weight: 600; padding-left: 5px;}
.orderText-total>span>small{font-size: 12px;}
.orderText-btn{text-align: right; padding: 10px 15px;}
.orderText-btn>button{padding: 5px 15px; border-radius: 3px; margin-left: 10px;}
.orderText-btn>button.orderText-btn-cancel{background: #fff; color: #b4b7b9; border: #dadfe3 1px solid;}
.orderText-btn>button.orderText-btn-pay{background: #d6a851; color: #fff; border: #d0a24f 1px solid;}
.nullData{text-align: center; padding: 120px 0 0; color: #999;}
.nullOrder{width: 140px;margin: 0px auto;}
/* 订单详情 */
.orderDetails-title {width: 100%;padding: 15px;background: #e6aa06;position: relative;}
.orderDetails-title-i {position: absolute;right: 15px;background: #fff;width: 40px;height: 40px;border-radius: 40px;text-align: center;line-height: 40px;top: 15px;}
.orderDetails-title-i i {color: #e08901;font-size: 18px;}
.orderDetails-title h5 {line-height: 20px;font-size: 16px;margin-bottom: 5px;}
.orderDetails-title h5, .orderDetails-title span{color: #fff;}
.orderAddress {width: 100%;padding: 10px 15px; box-sizing: border-box; background: white;display: flex;}
.orderAddress-top{width: 100%;}
.orderAddress-name{font-size: 16px;line-height: 20px;display: inline-block;vertical-align: bottom;font-weight: 700;}
.orderAddress-phone{font-size: 16px;line-height: 20px;display: inline-block;vertical-align: bottom;margin-left: 15px;font-weight: 700;}
.orderAddress-area{width: 100%;margin-top: 6px; color: #737373;}
.orderAddress-flex{flex: 1;}
.orderAddress i{font-size: 22px; line-height: 44px; color: #c5c5c5;}
.orderAddress-list{border-top: #f2f2f2 1px solid;padding: 8px 15px 0;}
.orderAddress-list>li {width: 100%;line-height: 30px;display: flex;}
.orderAddress-list-number{min-width: 80px;color: #000;padding-right: 10px;}
.orderDetails{width: 100%; box-sizing: border-box; margin-top: 5px;}
/* 订单确认 */
.orderDetails-total{float: left; line-height: 32px;}
.orderDetails-total>span{font-size: 16px; color: #d6a752;}
.confirm_address_null {width: 100%;text-align: center;font-size: 16px;text-align: center;line-height: 60px;background-image: url(../img/morning_42.png);background-color: #fff;background-size: 100%;background-repeat: no-repeat;background-position: bottom;}
.orderAddress-confirm .orderAddress-list-number{flex: 1;}
.orderAddress-confirm{padding: 0; margin-bottom: 0;}
.orderAddress-confirm>li{border-bottom: 1px solid #f2f2f2; line-height: 50px; padding: 0 15px;}
.orderAddress-confirm>li:last-child{border: none;}
/* 支付 */
.modular-list {overflow: hidden;background: #fff;border-bottom: solid 1px #e8e8e8;border-top: solid 1px #e8e8e8;padding-left: 10px;}
.modular-list>li {border-bottom: solid 1px #f5f5f5;padding-right: 10px;line-height: 48px;overflow: hidden;}
.confirm-price-color {color: #f93f28;}
.order-pay-icon {height: 24px;width: 24px;display: inline-block;vertical-align: middle;background-image: url(../img/pay-icon.png);background-size: cover;margin-right: 4px;}
.order-list-radio>input[type="radio"] {display: none;}
.order-list-radio>label {color: #999;line-height: 28px;padding-top: 2px;}
.order-list-radio>input[type="radio"]:checked + label {color: #e2a22f;}
.order-list-radio>label i {font-size: 18px;}
.order-pay-btn {padding: 10px;}
.order-pay-btn button {line-height: 40px;background: #d6a851;color: #fff;border: none;width: 100% ;border-radius: 4px;font-weight: bold;}
.balance-icon {background-position: 0 -24px;}

15
public/assets/agent/css/swiper.min.css vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 290 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 516 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 901 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1,330 @@
"use strict";
function _classCallCheck(t, e) {
if (! (t instanceof e)) throw new TypeError("Cannot call a class as a function")
}
var _createClass = function() {
function t(t, e) {
for (var i = 0; i < e.length; i++) {
var s = e[i];
s.enumerable = s.enumerable || !1,
s.configurable = !0,
"value" in s && (s.writable = !0),
Object.defineProperty(t, s.key, s)
}
}
return function(e, i, s) {
return i && t(e.prototype, i),
s && t(e, s),
e
}
} (),
_PTFuntil = {
throttle: function(t, e, i, s) {
var o = null,
l = null;
return function() {
var n = +new Date;
l || (l = n),
s && n - l > s ? (e.call(t), l = n, clearTimeout(o)) : (clearTimeout(o), o = setTimeout(function() {
e.call(t),
l = null
},
i))
}
},
deepMerge: function() {
var t = function(t) {
var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
i = "";
for (i in e) t[i] = t[i] && "[object Object]" === t[i].toString() ? _PTFuntil.deepMerge(t[i], e[i]) : t[i] = e[i]
};
return function() {
for (var e = {},
i = arguments.length,
s = Array(i), o = 0; o < i; o++) s[o] = arguments[o];
return s.forEach(function(i) {
t(e, i)
}),
e
}
} (),
prefixStyle: function() {
var t = document.createElement("div").style,
e = function() {
for (var e = ["t", "webkitT", "MozT", "msT", "OT"], i = 0, s = e.length; i < s; i++) if (e[i] + "ransform" in t) return e[i].substr(0, e[i].length - 1);
return ! 1
} ();
return function(t) {
return ! 1 !== e && ("" === e ? t: e + t.charAt(0).toUpperCase() + t.substr(1))
}
} ()
},
transform = _PTFuntil.prefixStyle("transform"),
transitionDuration = _PTFuntil.prefixStyle("transitionDuration"),
defaults = {
container: "body",
pull: {
dampRate: .4,
set: !0,
height: 60,
contentdown: "下拉刷新",
contentover: "释放刷新",
contentfresh: "刷新中……",
success: "刷新成功"
},
up: {
set: !0,
height: 60,
contentfresh: "正在加载……",
contentnomore: "没有更多数据了"
}
},
PullToRefresh = function() {
function t(e) {
_classCallCheck(this, t),
this.options = _PTFuntil.deepMerge({},
_PTFuntil.deepMerge(defaults, e)),
e.pull && this.options.pull.set || (this.options.pull.set = !1),
e.up && this.options.up.set || (this.options.up.set = !1),
this.dom = document.querySelector(this.options.container),
this.domHeight = this.dom.offsetHeight,
this.scrollBox = this.dom.children[0],
this.progress = null,
this.data = {
upLoading: !1,
firstFull: !1,
canPull: !0,
pullLoadding: !1,
preY: 0,
starX: 0,
starY: 0,
pullHeight: 0,
canRefresh: !1
},
this.init()
}
return _createClass(t, [{
key: "init",
value: function() {
this.dom.classList.add("refreshWrap"),
this.createPullBox(),
this.createUpbox(),
this.firstLoad(),
this.loadMoreEvent(),
this.pullEvent()
}
},
{
key: "firstLoad",
value: function() {
this.scrollBox.offsetHeight < this.domHeight + this.options.up.height && !this.data.firstFull ? this.loadMore(!0) : this.data.firstFull = !0
}
},
{
key: "createPullBox",
value: function() {
if (!this.options.pull.set) return ! 1;
this.pullBox = document.createElement("DIV"),
this.pullBox.className = "refresh",
this.pullBox.style.visibility = "hidden",
this.pullBox.innerHTML = '<i class="loading"></i><p class="loadTxt">' + this.options.pull.contentdown + "</p>",
this.dom.insertBefore(this.pullBox, this.scrollBox),
this.progress = this.pullBox.querySelector(".loading"),
this.progressTxt = this.pullBox.querySelector(".loadTxt")
}
},
{
key: "createUpbox",
value: function() {
if (!this.options.up.set) return ! 1;
var t = getComputedStyle(this.scrollBox).backgroundColor;
this.upBox = document.createElement("DIV"),
this.upBox.className = "loadingBox",
this.upBox.style.backgroundColor = t,
this.upBox.innerHTML = '<i class="loading rotate"></i><p class="loadTxt">' + this.options.up.contentfresh + "</p>",
this.dom.appendChild(this.upBox)
}
},
{
key: "loadMoreEvent",
value: function() {
this.dom.onscroll = _PTFuntil.throttle(this, this.scrollCallback, 200, 250)
}
},
{
key: "scrollCallback",
value: function() {
if (!this.data.firstFull) return ! 1;
this.loadMore()
}
},
{
key: "loadMore",
value: function() {
var t = arguments.length > 0 && void 0 !== arguments[0] && arguments[0];
if (this.data.upLoading) return ! 1;
var e = this.dom.scrollTop,
i = this.dom.scrollHeight; (t || e + this.domHeight + this.options.up.height >= i) && (this.data.upLoading = !0, this.options.up.callback && this.options.up.callback(this))
}
},
{
key: "endUpLoading",
value: function() { ! (arguments.length > 0 && void 0 !== arguments[0]) || arguments[0] ? (this.data.upLoading = !1, this.data.firstFull || this.firstLoad()) : this.UpNoMore()
}
},
{
key: "endPullRefresh",
value: function() {
var t = !(arguments.length > 0 && void 0 !== arguments[0]) || arguments[0];
this.showPullSuc(t)
}
},
{
key: "showPullSuc",
value: function(t) {
var e = this;
this.progress.classList.add("success"),
this.progress.style[transform] = "rotate(45deg)",
this.progressTxt.innerText = this.options.pull.success,
this.progress.classList.remove("rotate"),
setTimeout(function() {
e.refreshSuccess(t)
},
1e3)
}
},
{
key: "refreshSuccess",
value: function(t) {
var e = this;
if (this.data.pullLoadding = !1, this.translate(0, 300), this.data.pullHeight = 0, this.dom.scrollTop = 0, setTimeout(function() {
e.progress.classList.remove("success")
},
100), !t) return this.pullBox.style.visibility = "hidden",
this.UpNoMore(),
!1;
this.initUpLoading(),
setTimeout(function() {
e.firstLoad(),
e.pullBox.style.visibility = "hidden"
},
100)
}
},
{
key: "UpNoMore",
value: function() {
this.upBox.classList.add("noMore"),
this.upBox.querySelector(".loadTxt").innerHTML = this.options.up.contentnomore
}
},
{
key: "pullEvent",
value: function() {
var t = this;
if (!this.options.pull.set) return ! 1;
var e = function(e) {
t.data.canRefresh = !1;
var i = t.dom.scrollTop;
t.data.canPull = !(i > 0),
t.data.preY = t.data.starY = e.changedTouches[0].clientY || e.clientY,
t.data.starX = e.changedTouches[0].clientX || e.clientX
},
i = function(e) {
t.dom.scrollTop;
if (t.data.pullLoadding || !t.data.canPull) return ! 1;
t.pullBox.style.visibility = "visible";
var i = e.changedTouches[0].clientX || e.clientX,
s = e.changedTouches[0].clientY || e.clientY,
o = s - t.data.preY;
t.data.preY = s;
var l = i - t.data.starX,
n = s - t.data.starY;
return ! (Math.abs(l) > Math.abs(n)) && (n < 0 ? (t.data.canPull = !1, !1) : (e.preventDefault(), t.options.pullHeight < t.options.pull.height ? t.data.pullHeight += o: t.data.pullHeight += o < 0 ? o: o * t.options.pull.dampRate, t.data.pullHeight = Math.round(t.data.pullHeight), t.translate(t.data.pullHeight), void t.progressRote(t.data.pullHeight)))
},
s = function(e) {
t.dom.scrollTop;
return ! t.data.pullLoadding && (t.data.canPull ? (t.data.preY = 0, t.data.starY = 0, t.data.starX = 0, void(t.data.canRefresh ? t.pullRefresh() : (t.pullBox.style.visibility = "hidden", t.data.pullHeight = 0, t.translate(0, 300), t.dom.scrollTop = 0))) : (0 != t.data.pullHeight && (t.data.pullHeight = 0, t.translate(0, 0)), !1))
};
this.dom.addEventListener("touchstart",
function(t) {
e(t)
},
!1),
this.dom.addEventListener("touchmove",
function(t) {
i(t)
},
!1),
this.dom.addEventListener("touchend",
function(t) {
s()
},
!1)
}
},
{
key: "pullRefresh",
value: function() {
this.data.pullLoadding = !0,
this.translate(this.options.pull.height, 300),
this.data.pullHeight = this.options.pull.height,
this.progressTxt.innerText = this.options.pull.contentfresh,
this.options.pull.callback && this.options.pull.callback(this),
this.progress.classList.add("rotate")
}
},
{
key: "translate",
value: function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0,
e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0;
this.upBox.style[transitionDuration] = e + "ms",
this.upBox.style[transform] = "translate3d(0," + t + "px,0)",
this.scrollBox.style[transitionDuration] = e + "ms",
this.scrollBox.style[transform] = "translate3d(0," + t + "px,0)"
}
},
{
key: "progressRote",
value: function() {
var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 0,
e = 360 * t / this.options.pull.height;
return this.progress.style[transform] = "rotate(" + e + "deg)",
t >= this.options.pull.height ? (this.data.canRefresh || (this.progressTxt.innerText = this.options.pull.contentover, this.data.canRefresh = !0), !1) : (this.data.canRefresh && (this.progressTxt.innerText = this.options.pull.contentdown, this.data.canRefresh = !1), !1)
}
},
{
key: "initUpLoading",
value: function() {
this.data.firstFull = !1,
this.data.upLoading = !1,
this.upBox.classList.remove("noMore"),
this.upBox.querySelector(".loadTxt").innerHTML = this.options.up.contentfresh
}
},
{
key: "scrollToTop",
value: function() {
this.dom.scrollTop = 0
}
},
{
key: "triggerPullLoading",
value: function() {
if (!this.options.pull.set) return ! 1;
this.pullBox.style.visibility = "visible",
this.scrollToTop(),
this.pullRefresh()
}
},
{
key: "triggerUpLoading",
value: function() {
this.initUpLoading(),
this.loadMore(!0)
}
}]),
t
} ();
//# sourceMappingURL=../maps/PullToRefresh.min.js.map

View File

@@ -0,0 +1,99 @@
$('[data-href]').on('click', function(event) {
event.preventDefault();
if ($(this).hasClass('ajax-get') || $(this).hasClass('ajax-post')) {
return;
}
console.log($(this).data('href'));
location.href = $(this).data('href');
});
// ajax GET 请求
$('body').on('click', '.ajax-get', function(event) {
event.preventDefault();
var $this = $(this);
var $tips = $this.attr('tip') || '确认要执行该操作吗?';
var $target = $this.data('href') || $this.attr('href') || $this.attr('url') || $this.data('url');
if ($this.hasClass('confirm')) {
if(!confirm($tips)){
return false;
}
}
$.get($target, function(data) {
updateAlert(data.message, data.status, function() {
if ($this.hasClass('no-refresh')) {
} else if (data.redirect == null) {
if ($this.hasClass('refresh')) {
location.reload(true);
}
} else if (data.redirect) {
location.href = data.redirect;
} else {
location.reload(true);
}
});
});
});
// ajax POST 请求
$('body').on('click', '.ajax-post', function(event) {
if ($(this).hasClass('disabled') || $(this).attr('disabled')) {
return false;
};
event.preventDefault();
var $this = $(this);
var $form = $this.parents('form');
var $tips = $this.attr('tip') || '确认要执行该操作吗?';
var $action = $form.attr("action");
if ($this.hasClass('confirm')) {
if(!confirm($tips)){
return false;
}
}
$this.attr('disabled', 'disabled');
var query = $form.serialize();
$.ajax({
type: "POST",
url: $action,
data: query,
success: function(res) {
updateAlert(res.message, res.status, function() {
if (res.redirect) {
location.href = res.redirect;
} else if (res.redirect == null) {
} else {
location.reload(true);
}
$this.removeAttr('disabled');
});
},
error: function(error) {
$this.removeAttr('disabled');
if (error.responseJSON.errors) {
var err = '';
$.each(error.responseJSON.errors, function(i, n) {
err += n + "\r\n";
})
updateAlert(err, 'warning');
} else if (error.responseJSON.message) {
updateAlert(error.responseJSON.message, 'warning');
} else {
updateAlert('发生未知错误', 'warning');
}
}
});
});
window.updateAlert = function(text, type, callback) {
layer.msg(text,{offset: ['35%', '15%'],
area: ['70%', ' ']});
if (typeof callback == "function") {
setTimeout(function() {
callback();
}, 1000)
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,103 @@
/*! layer mobile-v2.0 弹层组件移动版 License LGPL http://layer.layui.com/mobile By 贤心 */ ;
! function(a) {
"use strict";
var b = document,
c = "querySelectorAll",
d = "getElementsByClassName",
e = function(a) {
return b[c](a)
},
f = {
type: 0,
shade: !0,
shadeClose: !0,
fixed: !0,
anim: "scale"
},
g = {
extend: function(a) {
var b = JSON.parse(JSON.stringify(f));
for(var c in a) b[c] = a[c];
return b
},
timer: {},
end: {}
};
g.touch = function(a, b) {
a.addEventListener("click", function(a) {
b.call(this, a)
}, !1)
};
var h = 0,
i = ["layui-m-layer"],
j = function(a) {
var b = this;
b.config = g.extend(a), b.view()
};
j.prototype.view = function() {
var a = this,
c = a.config,
f = b.createElement("div");
a.id = f.id = i[0] + h, f.setAttribute("class", i[0] + " " + i[0] + (c.type || 0)), f.setAttribute("index", h);
var g = function() {
var a = "object" == typeof c.title;
return c.title ? '<h3 style="' + (a ? c.title[1] : "") + '">' + (a ? c.title[0] : c.title) + "</h3>" : ""
}(),
j = function() {
"string" == typeof c.btn && (c.btn = [c.btn]);
var a, b = (c.btn || []).length;
return 0 !== b && c.btn ? (a = '<span yes type="1">' + c.btn[0] + "</span>", 2 === b && (a = '<span no type="0">' + c.btn[1] + "</span>" + a), '<div class="layui-m-layerbtn">' + a + "</div>") : ""
}();
if(c.fixed || (c.top = c.hasOwnProperty("top") ? c.top : 100, c.style = c.style || "", c.style += " top:" + (b.body.scrollTop + c.top) + "px"), 2 === c.type && (c.content = '<i></i><i class="layui-m-layerload"></i><i></i><p>' + (c.content || "") + "</p>"), c.skin && (c.anim = "up"), "msg" === c.skin && (c.shade = !1), f.innerHTML = (c.shade ? "<div " + ("string" == typeof c.shade ? 'style="' + c.shade + '"' : "") + ' class="layui-m-layershade"></div>' : "") + '<div class="layui-m-layermain" ' + (c.fixed ? "" : 'style="position:static;"') + '><div class="layui-m-layersection"><div class="layui-m-layerchild ' + (c.skin ? "layui-m-layer-" + c.skin + " " : "") + (c.className ? c.className : "") + " " + (c.anim ? "layui-m-anim-" + c.anim : "") + '" ' + (c.style ? 'style="' + c.style + '"' : "") + ">" + g + '<div class="layui-m-layercont">' + c.content + "</div>" + j + "</div></div></div>", !c.type || 2 === c.type) {
var k = b[d](i[0] + c.type),
l = k.length;
l >= 1 && layer.close(k[0].getAttribute("index"))
}
document.body.appendChild(f);
var m = a.elem = e("#" + a.id)[0];
c.success && c.success(m), a.index = h++, a.action(c, m)
}, j.prototype.action = function(a, b) {
var c = this;
a.time && (g.timer[c.index] = setTimeout(function() {
layer.close(c.index)
}, 1e3 * a.time));
var e = function() {
var b = this.getAttribute("type");
0 == b ? (a.no && a.no(), layer.close(c.index)) : a.yes ? a.yes(c.index) : layer.close(c.index)
};
if(a.btn)
for(var f = b[d]("layui-m-layerbtn")[0].children, h = f.length, i = 0; h > i; i++) g.touch(f[i], e);
if(a.shade && a.shadeClose) {
var j = b[d]("layui-m-layershade")[0];
g.touch(j, function() {
layer.close(c.index, a.end)
})
}
a.end && (g.end[c.index] = a.end)
}, a.layer = {
v: "2.0",
index: h,
open: function(a) {
var b = new j(a || {});
return b.index
},
close: function(a) {
var c = e("#" + i[0] + a)[0];
c && (c.innerHTML = "", b.body.removeChild(c), clearTimeout(g.timer[a]), delete g.timer[a], "function" == typeof g.end[a] && g.end[a](), delete g.end[a])
},
closeAll: function() {
for(var a = b[d](i[0]), c = 0, e = a.length; e > c; c++) layer.close(0 | a[0].getAttribute("index"))
}
}, "function" == typeof define ? define(function() {
return layer
}) : function() {
var a = document.scripts,
c = a[a.length - 1],
d = c.src,
e = d.substring(0, d.lastIndexOf("/") + 1);
c.getAttribute("merge") || document.head.appendChild(function() {
var a = b.createElement("link");
return a.href = e + "need/layer.css?2.0", a.type = "text/css", a.rel = "styleSheet", a.id = "layermcss", a
}())
}()
}(window);

View File

@@ -0,0 +1,2 @@
/*! layer弹层组件拓展类 */
;!function(){layer.use("skin/layer.ext.css",function(){layer.layui_layer_extendlayerextjs=!0});var a=layer.cache,b=function(b){return a.skin?" "+a.skin+" "+a.skin+"-"+b:""};layer.prompt=function(a,c){a=a||{},"function"==typeof a&&(c=a);var d,e=2==a.formType?'<textarea class="layui-layer-input">'+(a.value||"")+"</textarea>":function(){return'<input type="'+(1==a.formType?"password":"text")+'" class="layui-layer-input" value="'+(a.value||"")+'">'}();return layer.open($.extend({btn:["&#x786E;&#x5B9A;","&#x53D6;&#x6D88;"],content:e,skin:"layui-layer-prompt"+b("prompt"),success:function(a){d=a.find(".layui-layer-input"),d.focus()},yes:function(b){var e=d.val();""===e?d.focus():e.length>(a.maxlength||500)?layer.tips("&#x6700;&#x591A;&#x8F93;&#x5165;"+(a.maxlength||500)+"&#x4E2A;&#x5B57;&#x6570;",d,{tips:1}):c&&c(e,b,d)}},a))},layer.tab=function(a){a=a||{};var c=a.tab||{};return layer.open($.extend({type:1,skin:"layui-layer-tab"+b("tab"),title:function(){var a=c.length,b=1,d="";if(a>0)for(d='<span class="layui-layer-tabnow">'+c[0].title+"</span>";a>b;b++)d+="<span>"+c[b].title+"</span>";return d}(),content:'<ul class="layui-layer-tabmain">'+function(){var a=c.length,b=1,d="";if(a>0)for(d='<li class="layui-layer-tabli xubox_tab_layer">'+(c[0].content||"no content")+"</li>";a>b;b++)d+='<li class="layui-layer-tabli">'+(c[b].content||"no content")+"</li>";return d}()+"</ul>",success:function(a){var b=a.find(".layui-layer-title").children(),c=a.find(".layui-layer-tabmain").children();b.on("mousedown",function(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0;var b=$(this),d=b.index();b.addClass("layui-layer-tabnow").siblings().removeClass("layui-layer-tabnow"),c.eq(d).show().siblings().hide()})}},a))},layer.photos=function(a,c,d){function e(a,b,c){var d=new Image;d.onload=function(){d.onload=null,b(d)},d.onerror=function(a){d.onload=null,c(a)},d.src=a}var f={};if(a=a||{},a.photos){var g=a.photos.constructor===Object,h=g?a.photos:{},i=h.data||[],j=h.start||0;if(f.imgIndex=j+1,g){if(0===i.length)return void layer.msg("&#x6CA1;&#x6709;&#x56FE;&#x7247;")}else{var k=$(a.photos),l=k.find(a.img||"img");if(0===l.length)return;if(c||k.find(h.img||"img").each(function(b){var c=$(this);i.push({alt:c.attr("alt"),pid:c.attr("layer-pid"),src:c.attr("layer-src")||c.attr("src"),thumb:c.attr("src")}),c.on("click",function(){layer.photos($.extend(a,{photos:{start:b,data:i,tab:a.tab},full:a.full}),!0)})}),!c)return}f.imgprev=function(a){f.imgIndex--,f.imgIndex<1&&(f.imgIndex=i.length),f.tabimg(a)},f.imgnext=function(a){f.imgIndex++,f.imgIndex>i.length&&(f.imgIndex=1),f.tabimg(a)},f.keyup=function(a){if(!f.end){var b=a.keyCode;a.preventDefault(),37===b?f.imgprev(!0):39===b?f.imgnext(!0):27===b&&layer.close(f.index)}},f.tabimg=function(b){h.start=f.imgIndex-1,layer.close(f.index),layer.photos(a,!0,b)},f.event=function(){f.bigimg.hover(function(){f.imgsee.show()},function(){f.imgsee.hide()}),f.bigimg.find(".layui-layer-imgprev").on("click",function(a){a.preventDefault(),f.imgprev()}),f.bigimg.find(".layui-layer-imgnext").on("click",function(a){a.preventDefault(),f.imgnext()}),$(document).on("keyup",f.keyup)},f.loadi=layer.load(1,{shade:"shade"in a?!1:.9,scrollbar:!1}),e(i[j].src,function(c){layer.close(f.loadi),f.index=layer.open($.extend({type:1,area:function(){var b=[c.width,c.height],d=[$(window).width()-100,$(window).height()-100];return!a.full&&b[0]>d[0]&&(b[0]=d[0],b[1]=b[0]*d[1]/b[0]),[b[0]+"px",b[1]+"px"]}(),title:!1,shade:.9,shadeClose:!0,closeBtn:!1,move:".layui-layer-phimg img",moveType:1,scrollbar:!1,moveOut:!0,shift:5*Math.random()|0,skin:"layui-layer-photos"+b("photos"),content:'<div class="layui-layer-phimg"><img src="'+i[j].src+'" alt="'+(i[j].alt||"")+'" layer-pid="'+i[j].pid+'"><div class="layui-layer-imgsee"><span class="layui-layer-imguide"><a href="javascript:;" class="layui-layer-iconext layui-layer-imgprev"></a><a href="javascript:;" class="layui-layer-iconext layui-layer-imgnext"></a></span><div class="layui-layer-imgbar" style="display:'+(d?"block":"")+'"><span class="layui-layer-imgtit"><a href="javascript:;">'+(i[j].alt||"")+"</a><em>"+f.imgIndex+"/"+i.length+"</em></span></div></div></div>",success:function(b,c){f.bigimg=b.find(".layui-layer-phimg"),f.imgsee=b.find(".layui-layer-imguide,.layui-layer-imgbar"),f.event(b),a.tab&&a.tab(i[j],b)},end:function(){f.end=!0,$(document).off("keyup",f.keyup)}},a))},function(){layer.close(f.loadi),layer.msg("&#x5F53;&#x524D;&#x56FE;&#x7247;&#x5730;&#x5740;&#x5F02;&#x5E38;",{time:2e3},function(){i.length>1&&f.imgnext(!0)})})}}}();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
/*! layer弹层组件拓展类 */
;!function(){layer.use("skin/layer.ext.css",function(){layer.layui_layer_extendlayerextjs=!0});var a=layer.cache,b=function(b){return a.skin?" "+a.skin+" "+a.skin+"-"+b:""};layer.prompt=function(a,c){a=a||{},"function"==typeof a&&(c=a);var d,e=2==a.formType?'<textarea class="layui-layer-input">'+(a.value||"")+"</textarea>":function(){return'<input type="'+(1==a.formType?"password":"text")+'" class="layui-layer-input" value="'+(a.value||"")+'">'}();return layer.open($.extend({btn:["&#x786E;&#x5B9A;","&#x53D6;&#x6D88;"],content:e,skin:"layui-layer-prompt"+b("prompt"),success:function(a){d=a.find(".layui-layer-input"),d.focus()},yes:function(b){var e=d.val();""===e?d.focus():e.length>(a.maxlength||500)?layer.tips("&#x6700;&#x591A;&#x8F93;&#x5165;"+(a.maxlength||500)+"&#x4E2A;&#x5B57;&#x6570;",d,{tips:1}):c&&c(e,b,d)}},a))},layer.tab=function(a){a=a||{};var c=a.tab||{};return layer.open($.extend({type:1,skin:"layui-layer-tab"+b("tab"),title:function(){var a=c.length,b=1,d="";if(a>0)for(d='<span class="layui-layer-tabnow">'+c[0].title+"</span>";a>b;b++)d+="<span>"+c[b].title+"</span>";return d}(),content:'<ul class="layui-layer-tabmain">'+function(){var a=c.length,b=1,d="";if(a>0)for(d='<li class="layui-layer-tabli xubox_tab_layer">'+(c[0].content||"no content")+"</li>";a>b;b++)d+='<li class="layui-layer-tabli">'+(c[b].content||"no content")+"</li>";return d}()+"</ul>",success:function(a){var b=a.find(".layui-layer-title").children(),c=a.find(".layui-layer-tabmain").children();b.on("mousedown",function(a){a.stopPropagation?a.stopPropagation():a.cancelBubble=!0;var b=$(this),d=b.index();b.addClass("layui-layer-tabnow").siblings().removeClass("layui-layer-tabnow"),c.eq(d).show().siblings().hide()})}},a))},layer.photos=function(a,c,d){function e(a,b,c){var d=new Image;d.onload=function(){d.onload=null,b(d)},d.onerror=function(a){d.onload=null,c(a)},d.src=a}var f={};if(a=a||{},a.photos){var g=a.photos.constructor===Object,h=g?a.photos:{},i=h.data||[],j=h.start||0;if(f.imgIndex=j+1,g){if(0===i.length)return void layer.msg("&#x6CA1;&#x6709;&#x56FE;&#x7247;")}else{var k=$(a.photos),l=k.find(a.img||"img");if(0===l.length)return;if(c||k.find(h.img||"img").each(function(b){var c=$(this);i.push({alt:c.attr("alt"),pid:c.attr("layer-pid"),src:c.attr("layer-src")||c.attr("src"),thumb:c.attr("src")}),c.on("click",function(){layer.photos($.extend(a,{photos:{start:b,data:i,tab:a.tab},full:a.full}),!0)})}),!c)return}f.imgprev=function(a){f.imgIndex--,f.imgIndex<1&&(f.imgIndex=i.length),f.tabimg(a)},f.imgnext=function(a){f.imgIndex++,f.imgIndex>i.length&&(f.imgIndex=1),f.tabimg(a)},f.keyup=function(a){if(!f.end){var b=a.keyCode;a.preventDefault(),37===b?f.imgprev(!0):39===b?f.imgnext(!0):27===b&&layer.close(f.index)}},f.tabimg=function(b){h.start=f.imgIndex-1,layer.close(f.index),layer.photos(a,!0,b)},f.event=function(){f.bigimg.hover(function(){f.imgsee.show()},function(){f.imgsee.hide()}),f.bigimg.find(".layui-layer-imgprev").on("click",function(a){a.preventDefault(),f.imgprev()}),f.bigimg.find(".layui-layer-imgnext").on("click",function(a){a.preventDefault(),f.imgnext()}),$(document).on("keyup",f.keyup)},f.loadi=layer.load(1,{shade:"shade"in a?!1:.9,scrollbar:!1}),e(i[j].src,function(c){layer.close(f.loadi),f.index=layer.open($.extend({type:1,area:function(){var b=[c.width,c.height],d=[$(window).width()-100,$(window).height()-100];return!a.full&&b[0]>d[0]&&(b[0]=d[0],b[1]=b[0]*d[1]/b[0]),[b[0]+"px",b[1]+"px"]}(),title:!1,shade:.9,shadeClose:!0,closeBtn:!1,move:".layui-layer-phimg img",moveType:1,scrollbar:!1,moveOut:!0,shift:5*Math.random()|0,skin:"layui-layer-photos"+b("photos"),content:'<div class="layui-layer-phimg"><img src="'+i[j].src+'" alt="'+(i[j].alt||"")+'" layer-pid="'+i[j].pid+'"><div class="layui-layer-imgsee"><span class="layui-layer-imguide"><a href="javascript:;" class="layui-layer-iconext layui-layer-imgprev"></a><a href="javascript:;" class="layui-layer-iconext layui-layer-imgnext"></a></span><div class="layui-layer-imgbar" style="display:'+(d?"block":"")+'"><span class="layui-layer-imgtit"><a href="javascript:;">'+(i[j].alt||"")+"</a><em>"+f.imgIndex+"/"+i.length+"</em></span></div></div></div>",success:function(b,c){f.bigimg=b.find(".layui-layer-phimg"),f.imgsee=b.find(".layui-layer-imguide,.layui-layer-imgbar"),f.event(b),a.tab&&a.tab(i[j],b)},end:function(){f.end=!0,$(document).off("keyup",f.keyup)}},a))},function(){layer.close(f.loadi),layer.msg("&#x5F53;&#x524D;&#x56FE;&#x7247;&#x5730;&#x5740;&#x5F02;&#x5E38;",{time:2e3},function(){i.length>1&&f.imgnext(!0)})})}}}();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,73 @@
/**
@Name laydate 核心样式
@Author贤心
@Sitehttp://sentsin.com/layui/laydate
**/
html{_background-image:url(about:blank); _background-attachment:fixed;}
.laydate_body .laydate_box, .laydate_body .laydate_box *{margin:0; padding:0;}
.laydate-icon,
.laydate-icon-default,
.laydate-icon-danlan,
.laydate-icon-dahong,
.laydate-icon-molv{height:22px; line-height:22px; padding-right:20px; border:1px solid #C6C6C6; background-repeat:no-repeat; background-position:right center; background-color:#fff; outline:0;}
.laydate-icon-default{ background-image:url(../skins/default/icon.png)}
.laydate-icon-danlan{border:1px solid #B1D2EC; background-image:url(../skins/danlan/icon.png)}
.laydate-icon-dahong{background-image:url(../skins/dahong/icon.png)}
.laydate-icon-molv{background-image:url(../skins/molv/icon.png)}
.laydate_body .laydate_box{width:240px; font:12px '\5B8B\4F53'; z-index:99999999; *margin:-2px 0 0 -2px; *overflow:hidden; _margin:0; _position:absolute!important; background-color:#fff;}
.laydate_body .laydate_box li{list-style:none;}
.laydate_body .laydate_box .laydate_void{cursor:text!important;}
.laydate_body .laydate_box a, .laydate_body .laydate_box a:hover{text-decoration:none; blr:expression(this.onFocus=this.blur()); cursor:pointer;}
.laydate_body .laydate_box a:hover{text-decoration:none;}
.laydate_body .laydate_box cite, .laydate_body .laydate_box label{position:absolute; width:0; height:0; border-width:5px; border-style:dashed; border-color:transparent; overflow:hidden; cursor:pointer;}
.laydate_body .laydate_box .laydate_yms, .laydate_body .laydate_box .laydate_time{display:none;}
.laydate_body .laydate_box .laydate_show{display:block;}
.laydate_body .laydate_box input{outline:0; font-size:14px; background-color:#fff;}
.laydate_body .laydate_top{position:relative; height:26px; padding:5px; *width:100%; z-index:99;}
.laydate_body .laydate_ym{position:relative; float:left; height:24px; cursor:pointer;}
.laydate_body .laydate_ym input{float:left; height:24px; line-height:24px; text-align:center; border:none; cursor:pointer;}
.laydate_body .laydate_ym .laydate_yms{position:absolute; left: -1px; top: 24px; height:181px;}
.laydate_body .laydate_y{width:121px; margin-right:2px;}
.laydate_body .laydate_y input{width:64px; margin-right:15px;}
.laydate_body .laydate_y .laydate_yms{width:121px; text-align:center;}
.laydate_body .laydate_y .laydate_yms a{position:relative; display:block; height:20px;}
.laydate_body .laydate_y .laydate_yms ul{height:139px; padding:0; *overflow:hidden;}
.laydate_body .laydate_y .laydate_yms ul li{float:left; width:60px; height:20px; line-height: 20px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
.laydate_body .laydate_m{width:99px;}
.laydate_body .laydate_m .laydate_yms{width:99px; padding:0;}
.laydate_body .laydate_m input{width:42px; margin-right:15px;}
.laydate_body .laydate_m .laydate_yms span{display:block; float:left; width:42px; margin: 5px 0 0 5px; line-height:24px; text-align:center; _display:inline;}
.laydate_body .laydate_choose{display:block; float:left; position:relative; width:20px; height:24px;}
.laydate_body .laydate_choose cite, .laydate_body .laydate_tab cite{left:50%; top:50%;}
.laydate_body .laydate_chtop cite{margin:-7px 0 0 -5px; border-bottom-style:solid;}
.laydate_body .laydate_chdown cite, .laydate_body .laydate_ym label{top:50%; margin:-2px 0 0 -5px; border-top-style:solid;}
.laydate_body .laydate_chprev cite{margin:-5px 0 0 -7px;}
.laydate_body .laydate_chnext cite{margin:-5px 0 0 -2px;}
.laydate_body .laydate_ym label{right:28px;}
.laydate_body .laydate_table{ width:230px; margin:0 5px; border-collapse:collapse; border-spacing:0px; }
.laydate_body .laydate_table td{width:31px; height:19px; line-height:19px; text-align: center; cursor:pointer; font-size: 12px;}
.laydate_body .laydate_table thead{height:22px; line-height:22px;}
.laydate_body .laydate_table thead th{font-weight:400; font-size:12px; text-align:center;}
.laydate_body .laydate_bottom{position:relative; height:22px; line-height:20px; padding:5px; font-size:12px;}
.laydate_body .laydate_bottom #laydate_hms{position: relative; z-index: 1; float:left; }
.laydate_body .laydate_time{ position:absolute; left:5px; bottom: 26px; width:129px; height:125px; *overflow:hidden;}
.laydate_body .laydate_time .laydate_hmsno{ padding:5px 0 0 5px;}
.laydate_body .laydate_time .laydate_hmsno span{display:block; float:left; width:24px; height:19px; line-height:19px; text-align:center; cursor:pointer; *margin-bottom:-5px;}
.laydate_body .laydate_time1{width:228px; height:154px;}
.laydate_body .laydate_time1 .laydate_hmsno{padding: 6px 0 0 8px;}
.laydate_body .laydate_time1 .laydate_hmsno span{width:21px; height:20px; line-height:20px;}
.laydate_body .laydate_msg{left:49px; bottom:67px; width:141px; height:auto; overflow: hidden;}
.laydate_body .laydate_msg p{padding:5px 10px;}
.laydate_body .laydate_bottom li{float:left; height:20px; line-height:20px; border-right:none; font-weight:900;}
.laydate_body .laydate_bottom .laydate_sj{width:33px; text-align:center; font-weight:400;}
.laydate_body .laydate_bottom input{float:left; width:21px; height:20px; line-height:20px; border:none; text-align:center; cursor:pointer; font-size:12px; font-weight:400;}
.laydate_body .laydate_bottom .laydte_hsmtex{height:20px; line-height:20px; text-align:center;}
.laydate_body .laydate_bottom .laydte_hsmtex span{position:absolute; width:20px; top:0; right:0px; cursor:pointer;}
.laydate_body .laydate_bottom .laydte_hsmtex span:hover{font-size:14px;}
.laydate_body .laydate_bottom .laydate_btn{position:absolute; right:5px; top:5px;}
.laydate_body .laydate_bottom .laydate_btn a{float:left; height:20px; padding:0 6px; _padding:0 5px;}
.laydate_body .laydate_bottom .laydate_v{position:absolute; left:10px; top:6px; font-family:Courier; z-index:0;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,8 @@
/*!
@Name: layer拓展样式
@Date: 2012.12.13
@Author: 贤心
@blog: sentsin.com
*/.layui-layer-imgbar,.layui-layer-imgtit a,.layui-layer-tab .layui-layer-title span{text-overflow:ellipsis;white-space:nowrap}.layui-layer-iconext{background:url(default/icon-ext.png) no-repeat}html #layui_layer_skinlayerextcss{display:none;position:absolute;width:1989px}.layui-layer-prompt .layui-layer-input{display:block;width:220px;height:30px;margin:0 auto;line-height:30px;padding:0 5px;border:1px solid #ccc;box-shadow:1px 1px 5px rgba(0,0,0,.1) inset;color:#333}.layui-layer-prompt textarea.layui-layer-input{width:300px;height:100px;line-height:20px}.layui-layer-tab{box-shadow:1px 1px 50px rgba(0,0,0,.4)}.layui-layer-tab .layui-layer-title{padding-left:0;border-bottom:1px solid #ccc;background-color:#eee;overflow:visible}.layui-layer-tab .layui-layer-title span{position:relative;float:left;min-width:80px;max-width:260px;padding:0 20px;text-align:center;cursor:default;overflow:hidden}.layui-layer-tab .layui-layer-title span.layui-layer-tabnow{height:43px;border-left:1px solid #ccc;border-right:1px solid #ccc;background-color:#fff;z-index:10}.layui-layer-tab .layui-layer-title span:first-child{border-left:none}.layui-layer-tabmain{line-height:24px;clear:both}.layui-layer-tabmain .layui-layer-tabli{display:none}.layui-layer-tabmain .layui-layer-tabli.xubox_tab_layer{display:block}.xubox_tabclose{position:absolute;right:10px;top:5px;cursor:pointer}.layui-layer-photos{-webkit-animation-duration:1s;animation-duration:1s;}.layui-layer-photos .layui-layer-content{overflow:hidden;text-align:center}.layui-layer-photos .layui-layer-phimg img{position:relative;width:100%;display:inline-block;*display:inline;*zoom:1;vertical-align:top}.layui-layer-imgbar,.layui-layer-imguide{display:none}.layui-layer-imgnext,.layui-layer-imgprev{position:absolute;top:50%;width:27px;_width:44px;height:44px;margin-top:-22px;outline:0;blr:expression(this.onFocus=this.blur())}.layui-layer-imgprev{left:10px;background-position:-5px -5px;_background-position:-70px -5px}.layui-layer-imgprev:hover{background-position:-33px -5px;_background-position:-120px -5px}.layui-layer-imgnext{right:10px;_right:8px;background-position:-5px -50px;_background-position:-70px -50px}.layui-layer-imgnext:hover{background-position:-33px -50px;_background-position:-120px -50px}.layui-layer-imgbar{position:absolute;left:0;bottom:0;width:100%;height:32px;line-height:32px;background-color:rgba(0,0,0,.8);background-color:#000\9;filter:Alpha(opacity=80);color:#fff;overflow:hidden;font-size:0}.layui-layer-imgtit *{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:12px}.layui-layer-imgtit a{max-width:65%;overflow:hidden;color:#fff}.layui-layer-imgtit a:hover{color:#fff;text-decoration:underline}.layui-layer-imgtit em{padding-left:10px;font-style:normal}

View File

@@ -0,0 +1,33 @@
/*!
laypage默认样式
*/
.laypage_main{font-size:0; clear:both; color:#666;}
.laypage_main *{display:inline-block; vertical-align: top; font-size:12px;}
.laypage_main a{height:26px; line-height:26px; text-decoration:none; color:#666;}
.laypage_main a, .laypage_main span{margin:0 3px 6px; padding:0 10px;}
.laypage_main span{height:26px; line-height:26px;}
.laypage_main input, .laypage_main button{ border:1px solid #ccc; background-color:#fff;}
.laypage_main input{width:40px; height:26px; line-height:26px; margin:0 5px; padding:0 5px;}
.laypage_main button{height:28px; line-height:28px; margin-left:5px; padding:0 10px; color:#666;}
/* 默认皮肤 */
.laypageskin_default a{border:1px solid #ccc; background-color:#fff;}
.laypageskin_default span{height:28px; line-height:28px; color:#999; }
.laypageskin_default .laypage_curr{font-weight:700; color:#666;}
/* 墨绿 */
.laypageskin_molv a, .laypageskin_molv span{padding:0 12px; border-radius:2px;}
.laypageskin_molv a{ background-color:#f1eff0; }
.laypageskin_molv .laypage_curr{background-color:#00AA91; color:#fff;}
.laypageskin_molv input{height:24px; line-height:24px;}
.laypageskin_molv button{height:26px; line-height:26px;}
/* 雅黑 */
.laypageskin_yahei{color:#333}
.laypageskin_yahei a, .laypageskin_yahei span{padding:0 13px; border-radius:2px; color:#333}
.laypageskin_yahei .laypage_curr{background-color:#333; color:#fff;}
/* 一般用于信息流加载 */
.laypageskin_flow{text-align:center;}
.laypageskin_flow .page_nomore{color:#999}

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

View File

@@ -0,0 +1,58 @@
/**
@Name laydate皮肤大红
@Author贤心
@Sitehttp://sentsin.com/layui/laydate
**/
.laydate-icon{border:1px solid #ccc; background-image:url(icon.png)}
.laydate_body .laydate_bottom #laydate_hms,
.laydate_body .laydate_time{border:1px solid #ccc;}
.laydate_body .laydate_box,
.laydate_body .laydate_time{box-shadow: 2px 2px 5px rgba(0,0,0,.1);}
.laydate_body .laydate_box{border-top:none; border-bottom:none; background-color:#fff; color:#333;}
.laydate_body .laydate_box input{background:none!important; color:#fff;}
.laydate_body .laydate_box .laydate_void{color:#ccc!important;}
.laydate_body .laydate_box a, .laydate_body .laydate_box a:hover{color:#333;}
.laydate_body .laydate_box a:hover{color:#666;}
.laydate_body .laydate_click{background-color:#F32043!important; color:#fff!important;}
.laydate_body .laydate_top{border-top:1px solid #D91600; background-color:#D91600}
.laydate_body .laydate_ym{border:1px solid #D91600; background-color:#D91600;}
.laydate_body .laydate_ym .laydate_yms{border:1px solid #D91600; background-color:#D91600; color:#fff;}
.laydate_body .laydate_y .laydate_yms a{border-bottom:1px solid #D91600;}
.laydate_body .laydate_y .laydate_yms .laydate_chdown{border-top:1px solid #D91600; border-bottom:none;}
.laydate_body .laydate_choose{border-left:1px solid #D91600;}
.laydate_body .laydate_chprev{border-left:none; border-right:1px solid #D91600;}
.laydate_body .laydate_choose:hover,
.laydate_body .laydate_y .laydate_yms a:hover{background-color:#F54766;}
.laydate_body .laydate_chtop cite{border-bottom-color:#fff;}
.laydate_body .laydate_chdown cite, .laydate_body .laydate_ym label{border-top-color:#fff;}
.laydate_body .laydate_chprev cite{border-right-style:solid; border-right-color:#fff;}
.laydate_body .laydate_chnext cite{border-left-style:solid; border-left-color:#fff;}
.laydate_body .laydate_table{width: 240px!important; margin: 0!important; border:1px solid #ccc; border-top:none; border-bottom:none;}
.laydate_body .laydate_table td{border:none; height:21px!important; line-height:21px!important; background-color:#fff; color:#333;}
.laydate_body .laydate_table .laydate_nothis{color:#999;}
.laydate_body .laydate_table thead{border-bottom:1px solid #ccc; height:21px!important; line-height:21px!important;}
.laydate_body .laydate_table thead th{}
.laydate_body .laydate_bottom{border:1px solid #ccc; border-top:none;}
.laydate_body .laydate_bottom #laydate_hms{background-color:#fff;}
.laydate_body .laydate_time{background-color:#fff;}
.laydate_body .laydate_time1{width: 226px!important; height: 152px!important;}
.laydate_body .laydate_bottom .laydate_sj{width:31px!important; border-right:1px solid #ccc; background-color:#fff;}
.laydate_body .laydate_bottom input{background-color:#fff; color:#333;}
.laydate_body .laydate_bottom .laydte_hsmtex{border-bottom:1px solid #ccc;}
.laydate_body .laydate_bottom .laydate_btn{border-right:1px solid #ccc;}
.laydate_body .laydate_bottom .laydate_v{color:#999}
.laydate_body .laydate_bottom .laydate_btn a{border: 1px solid #ccc; border-right:none; background-color:#fff;}
.laydate_body .laydate_bottom .laydate_btn a:hover{background-color:#F6F6F6; color:#333;}
.laydate_body .laydate_m .laydate_yms span:hover,
.laydate_body .laydate_time .laydate_hmsno span:hover,
.laydate_body .laydate_y .laydate_yms ul li:hover,
.laydate_body .laydate_table td:hover{background-color:#F54766; color:#fff;}

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

View File

@@ -0,0 +1,68 @@
/**
@Name laydate皮肤默认
@Author贤心
@Sitehttp://sentsin.com/layui/laydate
**/
.laydate-icon{border:1px solid #C6C6C6; background-image:url(icon.png)}
.laydate_body .laydate_box,
.laydate_body .laydate_ym,
.laydate_body .laydate_ym .laydate_yms,
.laydate_body .laydate_table,
.laydate_body .laydate_table td,
.laydate_body .laydate_bottom #laydate_hms,
.laydate_body .laydate_time,
.laydate_body .laydate_bottom .laydate_btn a{border:1px solid #ccc;}
.laydate_body .laydate_y .laydate_yms a,
.laydate_body .laydate_choose,
.laydate_body .laydate_table thead,
.laydate_body .laydate_bottom .laydte_hsmtex{background-color:#F6F6F6;}
.laydate_body .laydate_box,
.laydate_body .laydate_ym .laydate_yms,
.laydate_body .laydate_time{box-shadow: 2px 2px 5px rgba(0,0,0,.1);}
.laydate_body .laydate_box{border-top:none; border-bottom:none; background-color:#fff; color:#333;}
.laydate_body .laydate_box input{color:#333;}
.laydate_body .laydate_box .laydate_void{color:#ccc!important; /*text-decoration:line-through;*/}
.laydate_body .laydate_box .laydate_void:hover{background-color:#fff!important}
.laydate_body .laydate_box a, .laydate_body .laydate_box a:hover{color:#333;}
.laydate_body .laydate_box a:hover{color:#666;}
.laydate_body .laydate_click{background-color:#eee!important;}
.laydate_body .laydate_top{border-top:1px solid #C6C6C6;}
.laydate_body .laydate_ym .laydate_yms{border:1px solid #C6C6C6; background-color:#fff;}
.laydate_body .laydate_y .laydate_yms a{border-bottom:1px solid #C6C6C6;}
.laydate_body .laydate_y .laydate_yms .laydate_chdown{border-top:1px solid #C6C6C6; border-bottom:none;}
.laydate_body .laydate_choose{border-left:1px solid #C6C6C6;}
.laydate_body .laydate_chprev{border-left:none; border-right:1px solid #C6C6C6;}
.laydate_body .laydate_choose:hover,
.laydate_body .laydate_y .laydate_yms a:hover{background-color:#fff;}
.laydate_body .laydate_chtop cite{border-bottom-color:#666;}
.laydate_body .laydate_chdown cite, .laydate_body .laydate_ym label{border-top-color:#666;}
.laydate_body .laydate_chprev cite{border-right-style:solid; border-right-color:#666;}
.laydate_body .laydate_chnext cite{border-left-style:solid; border-left-color:#666;}
.laydate_body .laydate_table td{border:none; height:21px!important; line-height:21px!important; background-color:#fff;}
.laydate_body .laydate_table .laydate_nothis{color:#999;}
.laydate_body .laydate_table thead{height:21px!important; line-height:21px!important;}
.laydate_body .laydate_table thead th{border-bottom:1px solid #ccc;}
.laydate_body .laydate_bottom{border-bottom:1px solid #C6C6C6;}
.laydate_body .laydate_bottom #laydate_hms{background-color:#fff;}
.laydate_body .laydate_time{background-color:#fff;}
.laydate_body .laydate_bottom .laydate_sj{border-right:1px solid #C6C6C6; background-color:#F6F6F6;}
.laydate_body .laydate_bottom input{background-color:#fff;}
.laydate_body .laydate_bottom .laydte_hsmtex{border-bottom:1px solid #C6C6C6;}
.laydate_body .laydate_bottom .laydate_btn{border-right:1px solid #C6C6C6;}
.laydate_body .laydate_bottom .laydate_v{color:#999}
.laydate_body .laydate_bottom .laydate_btn a{border-right:none; background-color:#F6F6F6;}
.laydate_body .laydate_bottom .laydate_btn a:hover{color:#000; background-color:#fff;}
.laydate_body .laydate_m .laydate_yms span:hover,
.laydate_body .laydate_y .laydate_yms ul li:hover,
.laydate_body .laydate_table td:hover,
.laydate_body .laydate_time .laydate_hmsno span:hover{background-color:#F3F3F3}

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

View File

@@ -0,0 +1,59 @@
/**
@Name laydate皮肤墨绿
@Author贤心
@Sitehttp://sentsin.com/layui/laydate
**/
.laydate-icon{border:1px solid #ccc; background-image:url(icon.png)}
.laydate_body .laydate_bottom #laydate_hms,
.laydate_body .laydate_time{border:1px solid #ccc;}
.laydate_body .laydate_box,
.laydate_body .laydate_ym .laydate_yms,
.laydate_body .laydate_time{box-shadow: 2px 2px 5px rgba(0,0,0,.1);}
.laydate_body .laydate_box{border-top:none; border-bottom:none; background-color:#fff; color:#00625A;}
.laydate_body .laydate_box input{background:none!important; color:#fff;}
.laydate_body .laydate_box .laydate_void{color:#00E8D7!important;}
.laydate_body .laydate_box a, .laydate_body .laydate_box a:hover{color:#00625A;}
.laydate_body .laydate_box a:hover{color:#666;}
.laydate_body .laydate_click{background-color:#009F95!important; color:#fff!important;}
.laydate_body .laydate_top{border-top:1px solid #009F95; background-color:#009F95}
.laydate_body .laydate_ym{border:1px solid #009F95; background-color:#009F95;}
.laydate_body .laydate_ym .laydate_yms{border:1px solid #009F95; background-color:#009F95; color:#fff;}
.laydate_body .laydate_y .laydate_yms a{border-bottom:1px solid #009F95;}
.laydate_body .laydate_y .laydate_yms .laydate_chdown{border-top:1px solid #009F95; border-bottom:none;}
.laydate_body .laydate_choose{border-left:1px solid #009F95;}
.laydate_body .laydate_chprev{border-left:none; border-right:1px solid #009F95;}
.laydate_body .laydate_choose:hover,
.laydate_body .laydate_y .laydate_yms a:hover{background-color:#00C1B3;}
.laydate_body .laydate_chtop cite{border-bottom-color:#fff;}
.laydate_body .laydate_chdown cite, .laydate_body .laydate_ym label{border-top-color:#fff;}
.laydate_body .laydate_chprev cite{border-right-style:solid; border-right-color:#fff;}
.laydate_body .laydate_chnext cite{border-left-style:solid; border-left-color:#fff;}
.laydate_body .laydate_table{width: 240px!important; margin: 0!important; border:1px solid #ccc; border-top:none; border-bottom:none;}
.laydate_body .laydate_table td{border:none; height:21px!important; line-height:21px!important; background-color:#fff; color:#00625A;}
.laydate_body .laydate_table .laydate_nothis{color:#999;}
.laydate_body .laydate_table thead{border-bottom:1px solid #ccc; height:21px!important; line-height:21px!important;}
.laydate_body .laydate_table thead th{}
.laydate_body .laydate_bottom{border:1px solid #ccc; border-top:none;}
.laydate_body .laydate_bottom #laydate_hms{background-color:#fff;}
.laydate_body .laydate_time{background-color:#fff;}
.laydate_body .laydate_time1{width: 226px!important; height: 152px!important;}
.laydate_body .laydate_bottom .laydate_sj{width:31px!important; border-right:1px solid #ccc; background-color:#fff;}
.laydate_body .laydate_bottom input{background-color:#fff; color:#00625A;}
.laydate_body .laydate_bottom .laydte_hsmtex{border-bottom:1px solid #ccc;}
.laydate_body .laydate_bottom .laydate_btn{border-right:1px solid #ccc;}
.laydate_body .laydate_bottom .laydate_v{color:#999}
.laydate_body .laydate_bottom .laydate_btn a{border: 1px solid #ccc; border-right:none; background-color:#fff;}
.laydate_body .laydate_bottom .laydate_btn a:hover{background-color:#F6F6F6; color:#00625A;}
.laydate_body .laydate_m .laydate_yms span:hover,
.laydate_body .laydate_time .laydate_hmsno span:hover,
.laydate_body .laydate_y .laydate_yms ul li:hover,
.laydate_body .laydate_table td:hover{background-color:#00C1B3; color:#fff;}

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 701 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 B

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More