diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..485dee6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea diff --git a/css/my-common.min.css b/css/my-common.min.css new file mode 100644 index 0000000..c7a1b38 --- /dev/null +++ b/css/my-common.min.css @@ -0,0 +1,1551 @@ +.ui-btn, +a { + text-decoration: none +} + +a, +abbr, +acronym, +address, +applet, +article, +aside, +audio, +b, +big, +blockquote, +body, +canvas, +caption, +center, +cite, +code, +dd, +del, +details, +dfn, +div, +dl, +dt, +em, +fieldset, +figcaption, +figure, +footer, +form, +h1, +h2, +h3, +h4, +h5, +h6, +header, +hgroup, +html, +i, +iframe, +img, +ins, +kbd, +label, +legend, +li, +mark, +menu, +nav, +object, +ol, +p, +pre, +q, +s, +samp, +section, +small, +span, +strike, +strong, +sub, +summary, +sup, +table, +tbody, +td, +tfoot, +th, +thead, +time, +tr, +tt, +u, +ul, +var, +video { + margin: 0; + padding: 0; + border: 0; + outline: 0; + font: inherit; + vertical-align: baseline +} + +body, +div, +fieldset, +form, +h1, +h2, +h3, +h4, +h5, +h6, +html, +p { + -webkit-text-size-adjust: none +} + +a { + color: #018dd7 +} + +li, +ol, +ul { + list-style: none +} + +h1, +h2, +h3 { + font-weight: 700; + text-shadow: 0 1px 0 rgba(255, 255, 255, .38) +} + +h1 { + font-size: 20px +} + +h2 { + padding: 0 0 10px; + font-size: 18px +} + +.ui-bar, +h3 { + font-size: 16px +} + +hr { + margin-bottom: 15px; + height: 0; + overflow: hidden; + border-top: 1px solid #dedede; + border-bottom: 1px solid #fff +} + +hr.wide { + height: 20px; + margin: 10px 0; + background-color: #f0f0f0; + border-top: solid 1px #e0e0e0; + border-bottom: solid 1px #e0e0e0; + border-left: none; + border-right: none +} + +strong { + font-weight: 700 +} + +.hide { + display: none +} + +.fl { + float: left +} + +.fr { + float: right +} + +.ui-bar { + height: 35px; + padding: 0 10px; + position: relative; + display: -ms-flexbox; + display: flex; + font-weight: 700; + border-top: 1px solid #c2c2c2; + border-bottom: 1px solid #c2c2c2; + box-shadow: 0 1px 0 #fff inset; + background: -webkit-gradient(linear, 0 0, 0 100%, from(#f1f1f1), to(#e1e1e1)); + text-align: center +} + +.ui-bar .left, +.ui-bar .right { + position: absolute; + height: 35px; + top: 0; + vertical-align: middle +} + +.ui-bar .left { + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-box-align: center; + -ms-flex-align: center; + left: 5px +} + +.ui-bar .right { + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-box-align: center; + -ms-flex-align: center; + right: 10px +} + +.ui-bar .title { + height: 35px; + display: -webkit-box; + -ms-flex: 1; + flex: 1; + -webkit-box-pack: center; + -webkit-box-align: center; + -ms-flex-align: center +} + +.ui-bar[skin~=title] { + height: 40px; + padding: 0; + -webkit-box-shadow: 0 1px 0 #229bdf inset; + border-top: 1px solid #46bfff; + border-bottom: 1px solid #0062a0; + background: -webkit-gradient(linear, 0 0, 0 100%, from(#229bdf), to(#008cd7)) +} + +.ui-bar[skin~=title] .left, +.ui-bar[skin~=title] .right, +.ui-bar[skin~=title] .title { + height: 40px +} + +.ui-bar[skin~=title] .title { + color: #fff; + font-size: 20px; + text-shadow: 1px 1px 0 rgba(0, 0, 0, .38) +} + +.ui-bar[skin~=title] .back-icon { + display: block; + width: 24px; + height: 24px; + margin-top: 4px; + background-image: url(../img/icon_back.png); + background-repeat: no-repeat; + background-size: contain +} + +.ui-bar-fixed, +.ui-bar-fixed-bottom { + position: fixed; + width: 100%; + left: 0; + z-index: 100 +} + +.ui-bar[skin~=title] .back-text { + color: #fff; + font-size: 20px +} + +.ui-bar[skin~=title][skin~=red] { + -webkit-box-shadow: 0 1px 0 #bd0100 inset; + border-top: 1px solid #e12524; + border-bottom: 1px solid #a20000; + background: -webkit-gradient(linear, 0 0, 0 100%, from(#bc0100), to(#a20000)) +} + +.ui-bar[skin~=warning] { + color: #fff; + font-size: 16px; + -webkit-box-shadow: none; + border-top: 1px solid #c00; + border-bottom: 1px solid #c00; + background: #c00 +} + +.ui-bar[skin~=tab] { + padding: 0 +} + +.ui-bar[skin~=tab] .item { + text-align: center; + border-right: 1px solid #d7d7d7 +} + +.ui-bar[skin~=tab] .item.active, +.ui-bar[skin~=tab] .item.hover { + box-shadow: inset 0 1px 5px #9c9c9c; + background: #d5d4d4 +} + +.ui-bar .bar-item, +.ui-bar>.item { + box-flex: 1; + display: -webkit-box; + -webkit-box-pack: center; + -webkit-box-align: center +} + +.ui-bar-fixed { + top: 0 +} + +.ui-bar-fixed-bottom { + bottom: 0 +} + +.ui-bar-occupied { + z-index: 99 +} + +.ui-list { + display: block; + text-align: left +} + +.ui-list .list-item { + padding: 10px; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: center; + -webkit-box-align: center; + -ms-flex-align: center; + box-shadow: 0 1px 0 #FFF inset; + border-top: 1px solid #eee +} + +.ui-list .list-item:last-child { + border-bottom: 1px solid #eee +} + +.ui-list .list-item.bt0 { + border-top: 0 +} + +.ui-list .list-item.bm0 { + border-bottom: 0 +} + +.ui-list .list-item.hover { + background-color: #e3e3e3 +} + +.ui-list .list-item.hover:not(.static) { + background: #e3e3e3 +} + +.ui-list .list-item.hover:after { + color: #fff +} + +.ui-list .list-item p { + padding-bottom: 0 +} + +.ui-list .list-item .detail { + box-flex: 1; + display: block; + word-wrap: break-word; + word-break: normal +} + +.ui-list .list-item .detail .title { + padding-bottom: 5px; + display: block; + color: #333; + font-size: 16px; + font-weight: 700 +} + +.ui-list .list-item .detail .atc-title { + display: block; + margin: 0; + color: #018dd7; + font-size: 14px; + font-weight: 700; + line-height: 33px +} + +.ui-list .list-item .detail .atc-title.ellipsis { + text-overflow: ellipsis; + white-space: nowrap; + overflow: hidden +} + +.ui-list .list-item .detail .top-ad-title { + display: block; + color: #F36; + font-size: 16px; + font-weight: 700 +} + +.ui-list .list-item .detail .ad-title { + display: block; + padding: 0; + color: #333; + font-size: 16px; + font-weight: 700 +} + +.ui-list .list-item .detail .desc { + display: block; + font-size: 12px; + color: #666 +} + +.ui-list .list-item .face { + width: 40px; + height: 40px; + margin-right: 10px; + overflow: hidden; + text-align: center; + line-height: 40px; + border: 1px solid #e7e7e7; + background-color: #fff +} + +.ui-list .list-item .face img { + max-width: 40px; + max-height: 40px; + vertical-align: middle +} + +.ui-list .list-item i { + display: none +} + +.ui-list table { + width: 100% +} + +.ui-list table th { + font-weight: 700 +} + +.ui-list table td, +.ui-list table th { + padding: 10px; + border: 1px solid #ccc; + background-color: #fff +} + +.ui-btn { + width: 74px; + height: 34px; + display: inline-block; + overflow: hidden; + vertical-align: middle; + text-align: center; + line-height: 34px; + color: #fff; + font-size: 16px; + font-weight: 700; + text-shadow: 0 1px 0 rgba(0, 0, 0, .38); + border-radius: 4px; + border: 1px solid; + cursor: pointer; +} + +.ui-btn[skin~=mini] { + width: auto; + padding: 0 8px +} + +.ui-btn[skin~=back]:after, +.ui-btn[skin~=back]:before { + width: 15px; + display: inline-block; + top: 0; + content: " "; + height: 34px +} + +.ui-btn[skin~=nav] { + top: 0 +} + +.ui-btn[skin~=back] { + cursor: pointer; + position: relative; + overflow: visible; + left: 10px; + background: -webkit-gradient(linear, 0 0, 0 100%, from(#229bdf), to(#008cd7)); + background-size: auto 34px; + border: 0 +} + +.ui-btn[skin~=back]:before { + overflow: hidden; + position: absolute; + left: -10px; + background: url(../images/back_btn_default_0.png) no-repeat; + background-size: auto 34px +} + +.ui-btn[skin~=back]:after { + overflow: hidden; + position: absolute; + right: -10px; + background: url(../images/back_btn_default_2.png) no-repeat; + background-size: auto 34px +} + +.ui-btn[skin~=full] { + width: 100%; + height: 34px; + line-height: 34px; + margin-left: -2px; + font-size: 18px +} + +.ui-btn[skin~=blue] { + border-color: #0369aa; + border-radius: 4px; + box-shadow: 0 1px 0 #40c1ff inset; + background: #26a7ef; + background: -webkit-gradient(linear, 0 0, 0 100%, from(#26a7ef), to(#018cd7)) +} + +.ui-btn[skin~=blue].active, +.ui-btn[skin~=blue].hover { + border-color: #0062a0; + box-shadow: none; + background: #0170b5 +} + +.ui-btn[skin~=yellow] { + border-color: #df7000; + box-shadow: 0 1px 0 #ffc31a inset; + background: -webkit-gradient(linear, 0 0, 0 100%, from(#faa800), to(#f37b00)) +} + +.ui-btn[skin~=yellow].active, +.ui-btn[skin~=yellow].hover { + border-color: #f37b00; + -webkit-box-shadow: none; + background: #e97600 +} + +.ui-select .value-bar, +.ui-text, +.ui-text .filed-error, +[view] { + background-color: #fff +} + +.ui-text { + width: 96%; + margin: 2px 5px; + height: 28px; + display: block; + display: box; + display: -webkit-box; + -webkit-box-align: center; + box-flex: 1; + font-size: 100%; + border: 0; + vertical-align: middle; + line-height: inherit +} + +.ui-text input::-webkit-input-placeholder, +.ui-text::-webkit-input-placeholder { + color: #666; + font-size: 16px +} + +.ui-text input { + display: block; + -webkit-appearance: none; + width: 100%; + height: 30px; + line-height: 1; + margin: 0; + padding: 0; + box-flex: 1; + border-radius: 0; + border: 0; + vertical-align: middle; + font-size: 100% +} + +.ui-text:after { + position: absolute; + color: #666; + content: attr(data-tail); + right: 10px; + top: 8px +} + +.rate-text:before { + position: absolute; + left: 5px; + top: 5px; + color: #666; + content: "=" +} + +textarea.ui-text { + border: 0; + min-height: 2em +} + +.ui-text { + position: relative +} + +.ui-text .filed-error { + width: 100%; + height: 32px; + display: none; + position: absolute; + left: 0; + top: -40px; + font-size: 12px; + line-height: 32px; + text-align: center; + color: red; + border-radius: 5px; + border: 1px solid red +} + +.ui-text .filed-error:after { + content: ""; + display: inline-block; + position: absolute; + bottom: -5px; + left: 50%; + margin-left: -6px; + overflow: hidden; + width: 8px; + height: 8px; + -webkit-transform: rotate(45deg); + background: #fff; + border-bottom: 1px solid red; + border-right: 1px solid red +} + +.ui-select, +.ui-select .value-bar { + line-height: 32px; + margin: 0; + position: relative +} + +.ui-select { + width: 100%; + height: 32px; + padding: 0; + display: -webkit-box; + display: box; + box-flex: 1; + font-size: 16px +} + +.ui-select .value-bar { + width: 100%; + height: 35px; + text-indent: 8px; + font-size: 14px; + color: #333; + border: 1px solid #c7c7c7 +} + +.ui-select .value-bar[data-value] { + color: #333 +} + +.ui-select .value-bar:after { + position: absolute; + right: .5em; + top: 0; + content: "下"; + font-family: m-dai361-icon; + font-size: .8em; + color: #000 +} + +.ui-select select { + width: 100%; + height: 100%; + -webkit-appearance: none; + font-size: 16px; + position: absolute; + left: 0; + top: 0; + opacity: 0; + filter: alpha(opacity=0) +} + +@font-face { + font-family: m-dai361-icon; + format('truetype'); + font-weight: 400; + font-style: normal +} + +[data-icon]:after, +[data-icon]:before, +[skin*=i-]:after, +[skin*=i-]:before, +i { + position: relative; + top: -2px; + vertical-align: middle; + display: inline-block; + font-family: m-dai361-icon; + text-decoration: none +} + +[skin~=i-home]:before, +[skin~=nav]:before { + content: "房" +} + +[data-icon=">"]:after { + width: 32px; + margin: 0 -10px 0 15px; + display: block; + content: ">"; + color: #999; + font-size: 32px +} + +[view] { + width: 100%; + overflow: auto; + position: relative; + display: none +} + +[view]:first-child { + display: block +} + +[doc~=red] { + color: red +} + +[doc~=desc] { + color: #666 +} + +[doc~=tail] { + color: #999 +} + +[doc~="14"] { + font-size: 14px +} + +[doc~="16"] { + font-size: 16px +} + +[wrap~=h5] { + padding-left: 5px; + padding-right: 5px +} + +[wrap~=h10] { + padding-left: 10px; + padding-right: 10px +} + +[wrap~=h15] { + padding-left: 15px; + padding-right: 15px +} + +[wrap~=h20] { + padding-left: 20px; + padding-right: 20px +} + +[wrap~=v5] { + padding-top: 5px; + padding-bottom: 5px +} + +[wrap~=v10] { + padding-top: 10px; + padding-bottom: 10px +} + +[wrap~=v15] { + padding-top: 15px; + padding-bottom: 15px +} + +[wrap~=v20] { + padding-top: 20px; + padding-bottom: 20px +} + +[wrap~=v30] { + padding-top: 30px; + padding-bottom: 30px +} + +[wrap~=r5] { + margin-right: 5px +} + +[wrap~=r10] { + margin-right: 10px +} + +[wrap~=l5] { + margin-left: 5px +} + +[wrap~=l10] { + margin-left: 10px +} + +[wrap~=l15] { + margin-left: 15px +} + +[wrap~=l20] { + margin-left: 20px +} + +[wrap~=l50] { + margin-left: 50px +} + +[wrap~=t5] { + margin-top: 5px +} + +[wrap~=t10] { + margin-top: 10px +} + +[wrap~=t15] { + margin-top: 15px +} + +[wrap~=b5] { + margin-bottom: 5px +} + +[wrap~=b10] { + margin-bottom: 10px +} + +[wrap~=b15] { + margin-bottom: 15px +} + +[wrap~=b20] { + margin-bottom: 20px +} + +[wrap~=hide] { + display: none +} + +.article-22-module { + border-bottom: 5px solid #f0f0f0; + border-width: 5px 0; + height: 101px +} + +.article-22-module ul { + display: inline-block; + width: 100% +} + +.article-22-module ul li { + float: left; + display: table-cell; + width: 45%; + height: 50px; + text-align: center; + padding: 0 1% 0 3% +} + +.article-22-module ul li.border1 { + border-right: #e5e5e5 solid 1px; + border-bottom: #e5e5e5 solid 1px +} + +.article-22-module ul li.border2 { + border-bottom: #e5e5e5 solid 1px +} + +.article-22-module ul li.border3 { + border-right: #e5e5e5 solid 1px +} + +.article-22-module ul li a { + display: table; + width: 100%; + height: 100%; + text-align: left +} + +.article-22-module ul li a p { + display: table-cell; + vertical-align: middle; + font-size: 14px; + font-weight: 700; + color: #666 +} + +.article-22-module ul li.text1 a p { + color: #018dd7 +} + +.article-22-module ul li.text2 a p { + color: #e285ab +} + +.MiniWrap { + overflow: hidden +} + +.black { + color: #333 +} + +.core-ad-module { + border: 10px solid #f0f0f0; + border-width: 10px 0 +} + +.core-ad-module .ui-list { + background: #fff +} + +.core-ad-module .list-item { + border: 1px solid #ddd; + border-width: 1px 0 +} + +.face { + border: none +} + +.goto { + margin-left: -20px; + top: 2px +} + +.loan-apply-module { + border: 8px solid #f0f0f0; + border-width: 8px 0; + height: 77px +} + +.loan-apply-module ul { + display: inline-block; + width: 100% +} + +.loan-apply-module ul li { + float: left; + width: 33%; + text-align: center; + padding: 9px 0 +} + +.loan-apply-module ul li.border1 { + border-right: #e5e5e5 solid 1px; + border-bottom: #e5e5e5 solid 1px +} + +.loan-apply-module ul li.border2 { + border-bottom: #e5e5e5 solid 1px +} + +.loan-apply-module ul li.border3 { + border-right: #e5e5e5 solid 1px +} + +.loan-apply-module ul li a { + display: inline-block; + width: 100%; + line-height: 20px; + font-size: 14px; + font-weight: 700; + color: #666 +} + +.loan-apply-module ul li.text1 a { + color: #f69 +} + +.loan-apply-module ul li.text2 a { + color: #999 +} + +.loan-search-module { + display: block; + padding: 5px; + background: #f0f0f0 +} + +.loan-search-module .search-bar { + display: -webkit-box; + display: box; + width: 100% +} + +.loan-search-module .loan-input-wrap { + position: relative; + display: block; + width: 31%; + font-size: 1.125rem +} + +.loan-search-module .loan-term { + margin-left: 3% +} + +.loan-search-module .loan-input-wrap:before { + display: block; + color: #999; + position: absolute; + right: 5px; + top: 8px; + z-index: 9 +} + +.loan-search-module .loan-limit:before { + content: "万" +} + +.loan-search-module .loan-term:before { + content: "月" +} + +.loan-search-module .loan-input, +.loan-search-module .search-btn { + margin: 0; + padding: 0; + height: 35px; + line-height: 35px; + overflow: hidden; + border: 0; + border-radius: 6px; + font-size: 1.125rem +} + +.loan-search-module .loan-input { + position: relative; + padding-left: .5rem; + width: 100%; + color: #333; + background: #fff +} + +.loan-search-module .search-btn { + -webkit-appearance: none; + display: block; + width: 30%; + margin-left: 5%; + color: #fff; + background: #fd8007 +} + +.loan-search-module .warning { + width: 100%; + height: 20px; + line-height: 20px; + font-size: 14px; + font-weight: 700; + color: #F69; + display: none +} + +.loan-category-module { + border-top: 5px solid #f0f0f0; + border-bottom: 5px solid #f0f0f0; + border-width: 5px 0; + height: 35px +} + +.loan-category-module.bt0, +.nav-content-block .nav-channel-module.bt0 { + border-top: 0 +} + +.loan-category-module.double-ul ul:first-child, +.nav-content-block .nav-channel-module.double-ul ul:first-child, +.nav-content-block .nav-tool-module ul li.border2 { + border-bottom: #e5e5e5 solid 1px +} + +.loan-category-module.double-ul { + height: 70px +} + +.loan-category-module ul { + float: left; + display: inline-block; + width: 100% +} + +.loan-category-module ul li { + float: left; + width: 24%; + text-align: center; + padding: 7px 0; + border-right: #e5e5e5 solid 1px +} + +.loan-category-module ul li a { + display: inline-block; + width: 100%; + line-height: 21px; + font-size: 14px; + font-weight: 700; + color: #666 +} + +.nav-cover-layer { + position: fixed; + width: 100%; + height: 100%; + background: #000; + opacity: .5; + left: 0; + top: 0; + z-index: 9900 +} + +.nav-content-block { + position: fixed; + width: 100%; + height: 360px; + left: 0; + top: 0; + background: #f0f0f0; + font-size: 18px; + z-index: 9999; + overflow: hidden +} + +.nav-content-block .nav-tool-module { + height: 39px +} + +.nav-content-block .nav-tool-module.double-ul { + height: 77px +} + +.nav-content-block .nav-tool-module ul { + display: inline-block; + width: 100% +} + +.nav-content-block .nav-tool-module ul li { + float: left; + width: 33%; + text-align: center; + padding: 9px 0 +} + +.nav-content-block .nav-tool-module ul li.border1 { + border-right: #e5e5e5 solid 1px; + border-bottom: #e5e5e5 solid 1px +} + +.nav-content-block .nav-tool-module ul li.border3 { + border-right: #e5e5e5 solid 1px +} + +.nav-content-block .nav-tool-module ul li a { + display: inline-block; + width: 100%; + line-height: 20px; + font-size: 14px; + font-weight: 700; + color: #666 +} + +.nav-content-block .nav-tool-module ul li.text1 a { + color: #018dd7 +} + +.nav-content-block .nav-channel-module { + height: 35px +} + +.nav-content-block .nav-channel-module.double-ul { + height: 70px +} + +.nav-content-block .nav-channel-module ul { + float: left; + display: inline-block; + width: 100% +} + +.nav-content-block .nav-channel-module ul li { + float: left; + width: 24%; + text-align: center; + padding: 7px 0; + border-right: #e5e5e5 solid 1px +} + +.nav-content-block .nav-channel-module ul li a { + display: inline-block; + width: 100%; + line-height: 21px; + font-size: 14px; + font-weight: 700; + color: #018dd7 +} + +.nav-content-block .loan-search-module .loan-term { + margin-left: 1% +} + +.nav-content-block .loan-search-module .loan-input-wrap { + width: 32%; + font-size: 18px +} + +.nav-content-block .loan-search-module .loan-input, +.nav-content-block .loan-search-module .search-btn { + font-size: 18px +} + +.nav-content-block .loan-category-module { + background: #fff; + border-width: 5px 0; + border-bottom: 5px solid #f0f0f0; + border-top: 3px solid #f0f0f0 +} + +.nav-content-block .loan-category-module ul li { + height: 21px; + line-height: 21px +} + +.nav-content-block .loan-apply-module { + background: #fff; + border: 5px solid #f0f0f0; + border-width: 5px 0 +} + +.nav-content-block .nav-tool-module { + background: #fff; + border: 5px solid #f0f0f0; + border-width: 5px 0; + border-top: 8px solid #f0f0f0 +} + +.nav-content-block .nav-channel-module { + background: #fff; + border-width: 5px 0; + border-bottom: 5px solid #f0f0f0; + border-top: 3px solid #f0f0f0 +} + +.h5-loan-ad { + position: fixed; + display: block; + bottom: 0; + left: 0; + z-index: 20; + width: 100%; + height: 52px; + background: #333; + font-family: Microsoft YaHei +} + +.h5-loan-ad .h5-logo { + position: absolute; + left: 10px; + height: 48px; + width: 36px; + margin-top: 2px; + overflow: hidden +} + +.h5-loan-ad .h5-logo span.img { + display: inline-block; + vertical-align: bottom; + height: 34px; + width: 34px; + border: 1px solid #333; + border-radius: 5px; + background: url(http://m.dai361.com/img/loan_h5ad_logo.png) no-repeat; + background-size: 34px 34px; + -webkit-background-size: 34px 34px +} + +.h5-loan-ad .h5-logo span.txt { + float: left; + display: inline-block; + height: 12px; + line-height: 12px; + width: 36px; + text-align: center; + font-size: 12px; + font-weight: 700; + color: #f6f6f6 +} + +.header, +.side { + display: none +} + +.h5-loan-ad .h5-intro { + position: absolute; + left: 16%; + height: 42px; + margin-top: 5px; + font-size: 16px; + color: #f6f6f6; + text-align: left +} + +.h5-loan-ad .h5-intro span { + color: #ff82ab +} + +.h5-loan-ad .h5-intro p { + margin: 0; + height: 21px; + line-height: 21px; + font-size: 16px +} + +.h5-loan-ad .h5-view { + pointer-events: auto; + position: absolute; + right: 0; + bottom: 0; + height: 52px; + line-height: 52px; + width: 18%; + background: #FF8C00; + text-align: center; + font-size: 18px; + font-weight: 700; + color: #f1f1f1 +} + +.main_content, +.main_content p { + line-height: 1.5 +} + +.header .logo { + border: none; + outline: 0 +} + +.container { + width: 100%; + margin: 0 auto +} + +.footer { + text-align: center; + padding: 20px 0; + font-size: 14px +} + +.main_content { + font-size: 14px; + padding: 10px; + color: #555 +} + +.echo_content { + border: 1px solid #eee; + border-radius: 4px; + min-height: 600px +} + +.echo_content .title { + padding: 30px 10px 5px; + font-size: 14px +} + +.echo_content .info { + padding: 0 10px; + font-size: 12px; + color: #666 +} + +.tags { + padding: 20px 0 +} + +.tags a { + margin-right: 8px +} + +.log_nav:after { + content: ''; + display: block; + clear: both +} + +.log_nav .next, +.log_nav .prev { + display: block +} + +.banner { + display: none +} + +@media (min-width:768px) { + + .echo_log_ui_bar, + .ui-bar[skin~=title] .title .right { + display: none + } + + .ui-bar[skin~=title] { + background: #eee; + border-top: 0; + border-bottom: 0; + /* -webkit-box-shadow: none; */ + padding-bottom: 5px; + + + -webkit-box-shadow: 0 1px 0 #229bdf inset; + border-top: 1px solid #46bfff; + border-bottom: 1px solid #0062a0; + background: -webkit-gradient(linear, 0 0, 0 100%, from(#229bdf), to(#008cd7)); + } + + .ui-bar[skin~=title] .title { + color: #fff; + text-shadow: none; + line-height: 45px + } + + .header { + display: block; + padding: 16px 0 + } + + .container { + width:75%; + min-width: 1200px; + } + + .calculator { + float: left; + width: 70%; + margin-right: 15px + } + + .calculator:after, + .container:after, + .side:after { + content: ''; + display: block; + overflow: hidden; + clear: both + } + + .switch-tabs { + padding: 15px 0 + } + + #data_detail_bar { + position: relative + } + + .ui-list .list-item i { + display: none + } + + .banner, + .side { + display: block; + padding: 16px; + -webkit-box-shadow:0 1px 3px rgba(0,0,0,.3); + box-shadow:0 1px 3px rgba(0,0,0,.3); + } + + .side { + width: 25%; + float: right + } + + .side h3.title { + padding: 20px 10px + } + + .side .links { + padding: 10px + } + + .side .links a { + width: 50%; + float: left; + font-size: 14px; + margin: 5px 0; + height: 1.5em; + line-height: 1.5em; + overflow: hidden + } + + .echo_content .title { + text-align: center; + font-size: 18px + } + + .main_content { + padding: 20px + } + + .echo_content .info { + text-align: center + } + + .log_nav .prev { + float: left + } + + .log_nav .next { + float: right + } + + .banner { + width: 100%; + margin-bottom: 10px + } + + .side .ui-list .list-item { + -ms-flex-align: left; + -webkit-box-align: left + } + + #PAF_atc_recmd_mod, + #business_atc_recmd_mod, + #repay_atc_recmd_mod { + display: none !important + } +} diff --git a/css/my-houseloan.min.css b/css/my-houseloan.min.css new file mode 100644 index 0000000..fc2df33 --- /dev/null +++ b/css/my-houseloan.min.css @@ -0,0 +1 @@ +i,textarea{vertical-align:middle}.data-table,table{border-collapse:collapse}.calculator,.result-list li,.switch-tabs li,.switch-tabs ul,.view-more{overflow:hidden}article,aside,details,figcaption,figure,footer,header,menu,nav,section{display:block}body,html{width:100%;overflow-x:hidden}body{font-family:Helvetica,Arial,sans-serif;font-size:14px;color:#333}body *{tap-highlight-color:rgba(0,0,0,0)}blockquote,q{quotes:none}textarea{width:100%}blockquote:after,blockquote:before,q:after,q:before{content:''}ins{text-decoration:none}del{text-decoration:line-through}table{border:0}button{margin:0;padding:0;font-size:100%;line-height:1}h3{font-size:14px}p{font-size:12px;line-height:1.2}.switch-tabs{padding:10px 16px;position:relative;z-index:999}.switch-tabs ul{height:28px;line-height:28px;border-radius:5px;border:1px solid #ccc;display:-ms-flexbox;display:flex;width:100%;background:#fff}.big-switch-tabs ul{height:32px;line-height:32px}.switch-tabs li:first-child{border:none;margin:0}.switch-tabs .select-tab{background:url(../images/switch_tabs_point.png);box-shadow:inset 0 0 3px rgba(0,0,0,.1)}.switch-tabs li{text-align:center;border-left:1px solid #ccc;-ms-flex:1;flex:1;-webkit-flex:1;-moz-box-flex:1;-webkit-box-flex:1}.switch-tabs .select-tab a{color:#477eda;font-weight:700;display:block}.switch-tabs li a{color:#000;font-size:14px;display:block}.calbtn-wrap{margin-top:0}.mod-tit p{color:#333;font-size:14px;font-weight:700}.relate{margin:15px 12px}.relate h3{color:#333;font-size:16px;margin:10px 0 5px}.relate ul li{display:inline-block;line-height:20px;width:49%}.relate ul li a{color:#018dd7}.calc-result{padding-bottom:20px}.result-list li{border-bottom:solid 1px #e0e0e0;padding:0 10px}.result-list .group-tit{font-size:14px;background:#dde3ff;height:36px;line-height:36px}.result-list li .item-name{float:left;font-size:16px;line-height:44px;width:50%}.result-list li .item-value{color:#999;float:right;font-size:16px;line-height:44px;padding-right:20px;text-align:right;width:40%}.result-list li p{clear:both;color:#999;font-size:12px;line-height:20px;position:relative;top:-8px}.recal-btn{margin-top:15px}.view-more{padding:5px;margin-bottom:0;border-bottom:1px solid #cfcfcf;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-box-align:center;-webkit-box-shadow:0 1px 0 #FFF inset}.view-more p{padding-bottom:0}.view-more.hover{background-color:#e3e3e3}.view-more .detail{-ms-flex:1;flex:1;display:block;word-wrap:break-word;word-break:normal}.view-more .detail .txt{display:block;color:#888;font-size:14px;font-weight:700;line-height:38.4px}.wid2{padding:0 1px}.mtop5{margin-top:5px}.mtop10{margin-top:10px}.clear{clear:both}.data-table{width:100%;display:table;max-width:100%;background-color:transparent;border-spacing:0}.data-table tbody>tr>td,.data-table thead>tr>th{padding:7px 4px;line-height:1.428571429;vertical-align:top;border-bottom:1px solid #d2d2d2;color:#3d3d3d;font-size:14px}.data-table thead>tr>th{padding:10px 4px;vertical-align:bottom;color:#777;border-bottom:1px solid #ddd;text-align:center}.table-striped>tbody>tr:nth-child(odd)>td,.table-striped>tbody>tr:nth-child(odd)>th{color:#E285AB;background-color:#f9f9f9}.table-striped>tbody>tr:nth-child(even)>td,.table-striped>tbody>tr:nth-child(even)>th{color:#299bd1}.data-container .group-tit{font-size:14px;background:#dde3ff;height:36px;line-height:36px}.data-container div.group-tit{border-bottom:solid 1px #e0e0e0;padding:0 10px;overflow:hidden}.field-wrap{min-height:50px;display:-ms-flexbox;display:flex;-webkit-box-align:center}.field-wrap label{display:block;width:30%}.filed-wrap label{height:34px;padding:0 8px;display:inline-block;line-height:34px;text-align:left;border-radius:5px}.filed-wrap label:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.filed-wrap label:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.field-wrap .field{width:65%;-ms-flex:1;flex:1;box-flex:1}.field-wrap .long-field{width:35%}.field-wrap .short-field{width:25%;margin-left:3%}.field-wrap .mid-field{width:32%}.field .ui-text{margin:0;width:100%}.field .ui-text input{border:1px solid #c1c1c1;height:35px;line-height:1;text-indent:.5em}.use-help,.use-help p{line-height:14px}.field .rate-text input{text-indent:1em}.field .repay-method{width:100%}.field .ad-link{float:right;color:#F69;font-weight:700;text-decoration:underline}.use-help p{font-size:12px;color:#666;margin:6px 0 6px 10px} \ No newline at end of file diff --git a/images/favicon.png b/images/favicon.png new file mode 100644 index 0000000..66158d8 Binary files /dev/null and b/images/favicon.png differ diff --git a/images/logo.png b/images/logo.png new file mode 100644 index 0000000..6b80fc4 Binary files /dev/null and b/images/logo.png differ diff --git a/images/switch_tabs_point.png b/images/switch_tabs_point.png new file mode 100644 index 0000000..b8c40a3 Binary files /dev/null and b/images/switch_tabs_point.png differ diff --git a/images/web-2.jpg b/images/web-2.jpg new file mode 100644 index 0000000..4cfcc37 Binary files /dev/null and b/images/web-2.jpg differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..dca6b17 --- /dev/null +++ b/index.html @@ -0,0 +1,540 @@ + + + + + 房贷计算器_房贷利率计算器 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+
+
+
+ + 房贷计算器2023 +
+ +
+
+
+ +
+
    +
  • + +
    +
    +
    +
    +
  • + +
  • + +
    +
    +
    + 20年(240期) + +
    + +
    +
    +
  • +
  • + +
    +
    +
    + 最新基准利率 + +
    + +
    +
    +
    +
    +
    + 无折扣 + +
    + +
    +
    +
  • +
  • + +
    +
    +
    +
    +
  • + +
  • + +
    + +
    +
    + +
    +
  • +
+
+ 计 算 +
+
+
+
+

+ 买房是人生中的大事,选择合适的房贷是关键。房贷计算器官网开发的房贷计算器2023是一款非常受欢迎的工具,每天超过88万人使用它来计算和咨询房屋贷款,包括提前还款计算器和公积金贷款计算器。无论您是想要了解房贷利率、首付比例、贷款期限等,房贷计算器都能为您提供详细的数据和计算结果。此外,如果您在线咨询贷款时遇到任何问题或疑虑,也可以使用贷款计算器进行详细咨询和了解。总之,选择合适的房贷产品,根据自己的实际情况选择最合适的还款方式,合理规划自己的财务,是买房前必须要做的一项重要准备工作。

+
+ + +
+
+
+
+

计算结果

+
+ 返回 +
+
+ +
+
    +
  • 还款数据摘要
  • +
  • +
    商贷利息
    +
    +
  • +
  • +
    公积金利息
    +
    +
  • +
  • +
    利息总额
    +
    +
  • +
  • +
    累计还款总额
    +
    +
  • +
  • +
    每月月供
    +
    +
  • +
  • +
    最高月付利息
    +
    +
  • +
+
+
还款数据明细
+ + + + + + + + + + + +
期次偿还本息偿还利息偿还本金剩余本金
+
+
+

查看更多数据...

+
+ +
+
+
+
+
    +
  • 还款数据摘要
  • +
  • +
    商贷利息
    +
    +
  • +
  • +
    公积金利息
    +
    +
  • +
  • +
    利息总额
    +
    +
  • +
  • +
    累计还款总额
    +
    +
  • +
  • +
    最高月供
    +
    +
  • +
  • +
    最高月付利息
    +
    +
  • +
+
+
还款数据明细
+ + + + + + + + + + + +
期次偿还本息偿还利息偿还本金剩余本金
+
+
+

查看更多数据...

+
+ +
+
+
+ +
+
+

+ 2023买房计算月供当然是用房贷计算器官网开发的房贷计算器最新2023,每天超过1611万人在线计算和咨询房屋贷款,包括提前还款计算器和公积金贷款计算器.房贷计算,就用贷款计算器最新2023、房贷计算器2023、公积金贷款计算器。

+
+ +
+
+
+
+

数据明细

+
+ 返回 +
+
+
+
+
+ + + + + + + + + + + +
期次偿还本息偿还利息偿还本金剩余本金
+
+
+ + + + + + + + + + + +
期次偿还本息偿还利息偿还本金剩余本金
+
+
+
+
+

房贷常识

+ + +

友情链接

+ +
+ +
+ + + diff --git a/js/common_tpl.js b/js/common_tpl.js new file mode 100644 index 0000000..6cd54c4 --- /dev/null +++ b/js/common_tpl.js @@ -0,0 +1,118 @@ +function focusEle(ele){ + try {document.getElementById(ele).focus();} + catch(e){} +} +function updateEle(ele,content){ + document.getElementById(ele).innerHTML = content; +} +function timestamp(){ + return new Date().getTime(); +} +var XMLHttp = { + _objPool: [], + _getInstance: function () { + for (var i = 0; i < this._objPool.length; i ++) { + if (this._objPool[i].readyState == 0 || this._objPool[i].readyState == 4) { + return this._objPool[i]; + } + } + this._objPool[this._objPool.length] = this._createObj(); + return this._objPool[this._objPool.length - 1]; + }, + _createObj: function(){ + if (window.XMLHttpRequest){ + var objXMLHttp = new XMLHttpRequest(); + } else { + var MSXML = ['MSXML2.XMLHTTP.5.0', 'MSXML2.XMLHTTP.4.0', 'MSXML2.XMLHTTP.3.0', 'MSXML2.XMLHTTP', 'Microsoft.XMLHTTP']; + for(var n = 0; n < MSXML.length; n ++){ + try{ + var objXMLHttp = new ActiveXObject(MSXML[n]); + break; + }catch(e){} + } + } + if (objXMLHttp.readyState == null){ + objXMLHttp.readyState = 0; + objXMLHttp.addEventListener('load',function(){ + objXMLHttp.readyState = 4; + if (typeof objXMLHttp.onreadystatechange == "function") { + objXMLHttp.onreadystatechange(); + } + }, false); + } + return objXMLHttp; + }, + sendReq: function(method, url, data, callback){ + var objXMLHttp = this._getInstance(); + with(objXMLHttp){ + try { + if (url.indexOf("?") > 0) { + url += "&randnum=" + Math.random(); + } else { + url += "?randnum=" + Math.random(); + } + open(method, url, true); + setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8'); + send(data); + onreadystatechange = function () { + if (objXMLHttp.readyState == 4 && (objXMLHttp.status == 200 || objXMLHttp.status == 304)) { + callback(objXMLHttp); + } + } + } catch(e) { + alert('emria:error'); + } + } + } +}; +function sendinfo(url,node){ + updateEle(node,"
加载中...
"); + XMLHttp.sendReq('GET',url,'',function(obj){updateEle(node,obj.responseText);}); +} +function loadr(url,tid){ + url = url+"&stamp="+timestamp(); + var r=document.getElementById("r_"+tid); + var rp=document.getElementById("rp_"+tid); + if (r.style.display=="block"){ + r.style.display="none"; + rp.style.display="none"; + } else { + r.style.display="block"; + r.innerHTML = '加载中...'; + XMLHttp.sendReq('GET',url,'',function(obj){r.innerHTML = obj.responseText;rp.style.display="block";}); + } +} +function reply(url,tid){ + var rtext=document.getElementById("rtext_"+tid).value; + var rname=document.getElementById("rname_"+tid).value; + var rcode=document.getElementById("rcode_"+tid).value; + var rmsg=document.getElementById("rmsg_"+tid); + var rn=document.getElementById("rn_"+tid); + var r=document.getElementById("r_"+tid); + var data = "r="+rtext+"&rname="+rname+"&rcode="+rcode+"&tid="+tid; + XMLHttp.sendReq('POST',url,data,function(obj){ + if(obj.responseText == 'err1'){rmsg.innerHTML = '(回复长度需在140个字内)'; + }else if(obj.responseText == 'err2'){rmsg.innerHTML = '(昵称不能为空)'; + }else if(obj.responseText == 'err3'){rmsg.innerHTML = '(验证码错误)'; + }else if(obj.responseText == 'err4'){rmsg.innerHTML = '(不允许使用该昵称)'; + }else if(obj.responseText == 'err5'){rmsg.innerHTML = '(已存在该回复)'; + }else if(obj.responseText == 'err0'){rmsg.innerHTML = '(禁止回复)'; + }else if(obj.responseText == 'succ1'){rmsg.innerHTML = '(回复成功,等待管理员审核)'; + }else{r.innerHTML += obj.responseText;rn.innerHTML = Number(rn.innerHTML)+1;rmsg.innerHTML=''}}); +} +function re(tid, rp){ + var rtext=document.getElementById("rtext_"+tid).value = rp; + focusEle("rtext_"+tid); +} +function commentReply(pid,c){ + var response = document.getElementById('comment-post'); + document.getElementById('comment-pid').value = pid; + document.getElementById('cancel-reply').style.display = ''; + c.parentNode.parentNode.appendChild(response); +} +function cancelReply(){ + var commentPlace = document.getElementById('comment-place'),response = document.getElementById('comment-post'); + document.getElementById('comment-pid').value = 0; + document.getElementById('cancel-reply').style.display = 'none'; + commentPlace.appendChild(response); +} \ No newline at end of file diff --git a/js/houseloan_calculator.js b/js/houseloan_calculator.js new file mode 100644 index 0000000..5a72de0 --- /dev/null +++ b/js/houseloan_calculator.js @@ -0,0 +1,325 @@ +var businessShortRateArr6 = [5.1, 5.35, 5.6, 5.85, 6.1, 5.85, 5.6, 5.6, 5.35, 5.1, 4.85, 4.6, 3.45], + businessShortRateArr12 = [5.56, 5.81, 6.06, 6.31, 6.56, 6.31, 6, 5.6, 5.35, 5.1, 4.85, 4.6, 3.45], + businessShortRateArr36 = [5.6, 5.85, 6.1, 6.4, 6.65, 6.4, 6.15, 6, 5.75, 5.5, 5.25, 5, 3.45], + businessShortRateArr60 = [5.96, 6.22, 6.45, 6.65, 6.9, 6.65, 6.4, 6, 5.75, 5.5, 5.25, 5, 4.2], + businessLongRateArr = [6.14, 6.4, 6.6, 6.8, 7.05, 6.8, 6.55, 6.15, 5.9, 5.65, 5.4, 5.15, 4.2], + PAFShortRateArr = [3.5, 3.75, 4, 4.2, 4.45, 4.2, 4, 3.75, 3.5, 3.25, 3, 2.75, 2.75], + PAFLongRateArr = [4.05, + 4.3, 4.5, 4.7, 4.45, 4.7, 4.5, 4.25, 4, 3.75, 3.5, 3.25, 3.25 + ], + loanType = 0, + loanPeriods = 240, + businessPeriodType = 4, + PAFPeriodType = 1, + businessRateType = 12, + PAFRateType = 12, + businessDiscount = 1, + showResultTabID = 1, + simpleDataTableMaxLines = 10, + BLinkStatus = 0; +$(function() { + $("#business_calc").on("click", function() { + 0 <= $(this).attr("class").indexOf("normal-tab") && ($(this).removeClass("normal-tab").addClass("select-tab").siblings(".tab").removeClass("select-tab").addClass("normal-tab"), $("#business_sum_line").show(), $("#business_rate_select_line").show(), $("#business_rate_value_line").show(), $("#PAF_sum_line").hide(), $("#PAF_rate_line").hide(), $("#business_interest_total_debx").hide(), $("#PAF_interest_total_debx").hide(), $("#business_interest_total_debj").hide(), + $("#PAF_interest_total_debj").hide(), $("#business_atc_recmd_mod").show(), $("#PAF_atc_recmd_mod").hide(), loanType = 0) + }); + $("#PAF_calc").on("click", function() { + 0 <= $(this).attr("class").indexOf("normal-tab") && ($(this).removeClass("normal-tab").addClass("select-tab").siblings(".tab").removeClass("select-tab").addClass("normal-tab"), $("#PAF_sum_line").show(), $("#PAF_rate_line").show(), $("#business_sum_line").hide(), $("#business_rate_select_line").hide(), $("#business_rate_value_line").hide(), $("#business_interest_total_debx").hide(), + $("#PAF_interest_total_debx").hide(), $("#business_interest_total_debj").hide(), $("#PAF_interest_total_debj").hide(), $("#PAF_atc_recmd_mod").show(), $("#business_atc_recmd_mod").hide(), loanType = 1) + }); + $("#mix_calc").on("click", function() { + 0 <= $(this).attr("class").indexOf("normal-tab") && ($(this).removeClass("normal-tab").addClass("select-tab").siblings(".tab").removeClass("select-tab").addClass("normal-tab"), $("#business_sum_line").show(), $("#business_rate_select_line").show(), $("#business_rate_value_line").show(), + $("#PAF_sum_line").show(), $("#PAF_rate_line").show(), $("#business_interest_total_debx").show(), $("#PAF_interest_total_debx").show(), $("#business_interest_total_debj").show(), $("#PAF_interest_total_debj").show(), $("#business_atc_recmd_mod").show(), $("#PAF_atc_recmd_mod").hide(), loanType = 2) + }); + $(".result-tab").on("click", function() { + if (0 <= $(this).attr("class").indexOf("normal-tab")) { + $(this).removeClass("normal-tab").addClass("select-tab").siblings(".result-tab").removeClass("select-tab").addClass("normal-tab"); + var a = $(this).attr("tab-id"); + $("#result_data_" + a).show().siblings(".result-data").hide(); + showResultTabID = parseInt(a) + } + }); + $("#loan_period_select").on("change", function() { + var a = parseInt($(this).val()); + 0 == a ? (loanPeriods = 6, PAFPeriodType = businessPeriodType = 0) : 1 == a ? (loanPeriods = 12 * a, businessPeriodType = 1, PAFPeriodType = 0) : 3 >= a ? (loanPeriods = 12 * a, businessPeriodType = 2, PAFPeriodType = 0) : 5 >= a ? (loanPeriods = 12 * a, businessPeriodType = 3, PAFPeriodType = 0) : (loanPeriods = 12 * a, businessPeriodType = 4, PAFPeriodType = 1); + $("#loan_period_select_bar").text($(this).find("option:selected").text()); + $("#loan_period_select_bar").val($(this).val()); + "auto" == $("#business_rate_select").attr("input-method") && businessRateUpdate(); + "auto" == $("#PAF_rate_select").attr("input-method") && PAFRateUpdate() + }); + $("#business_rate_select").on("change", function() { + var a = $(this).val(); + businessRateType = a; + $("#business_rate_select_bar").text($(this).find("option:selected").text()); + $("#business_rate_select_bar").val($(this).val()); - 1 == a ? ($("#business_discount_field").hide(), $("#business_rate_select_field").removeClass("long-field"), + $("#business_rate").val(""), $(this).attr("input-method", "hand")) : 0 <= a && ("hand" == $(this).attr("input-method") && ($("#business_rate_select_field").addClass("long-field"), $("#business_discount_field").show(), $(this).attr("input-method", "auto")), businessRateUpdate()) + }); + $("#business_discount").on("change", function() { + businessDiscount = parseFloat($(this).find("option:selected").attr("data-discount")); + $("#business_discount_bar").text($(this).find("option:selected").text()); + $("#business_discount_bar").attr("data-discount", + $(this).find("option:selected").attr("data-discount")); + businessRateUpdate() + }); + $("#PAF_rate_select").on("change", function() { + var a = $(this).val(); + PAFRateType = a; + $("#PAF_rate_select_bar").text($(this).find("option:selected").text()); + $("#PAF_rate_select_bar").val($(this).val()); - 1 == a ? ($("#PAF_rate").val(""), $(this).attr("input-method", "hand")) : 0 <= a && ("hand" == $(this).attr("input-method") && $(this).attr("input-method", "auto"), PAFRateUpdate()) + }); + $("#calculate").on("click", function() { + userInputCheck() && (calculate(), + window.scrollTo("0", "0"), $("[view=calc_input]").hide(), $("[view=calc_result]").show()) + }); + $("#recalculate").on("click", function() { + window.scrollTo("0", "0"); + $("[view=calc_result]").hide(); + $("[view=calc_input]").show() + }); + $(".view-more").on("click", function() { + var a = $(this).attr("data-detail"); + $("#data_detail_" + a).show().siblings(".data-container").hide(); + window.scrollTo("0", "0"); + $("[view=calc_result]").hide(); + $("[view=data_detail]").show(); + $("#data_detail_bar").show() + }); + $("#back_to_calc_input").on("click", + function() { + window.scrollTo("0", "0"); + $("[view=calc_result]").hide(); + $("[view=calc_input]").show() + }); + $("#back_to_calc_result").on("click", function() { + window.scrollTo("0", "0"); + $("#data_detail_bar").hide(); + $("[view=data_detail]").hide(); + $("[view=calc_result]").show() + }); + $('[ad-type="cpa"]').on("click", function() { + window.location.href = $(this).attr("ad-url") + }); + $('[link-type="A_Link"]').on("click", function() { + 0 == BLinkStatus && ($('[link-type="B_Link"]').each(function() { + $(this).attr("href", $(this).attr("href2")) + }), + BLinkStatus = 1) + }); + $('[link-type="B_Link"]').on("click", function() { + 0 == BLinkStatus && ($(this).addClass("clicked"), $('[link-type="B_Link"]:not(.clicked)').each(function() { + $(this).attr("href", $(this).attr("href2")) + }), BLinkStatus = 1) + }); + $(".loan-search-module #FormDaikuan").submit(function(a) { + var b = !0, + d = !0, + f = $.trim($('.loan-search-module input[name="loan_limit"]').val()), + c = $.trim($('.loan-search-module input[name="loan_term"]').val()), + g = $(".loan-search-module .warning"), + e = ""; + 0 == f.length ? (b = !1, e = "请输入贷款金额") : + (f = parseFloat(f), 0 == f ? (b = !1, e = "贷款金额不能为0") : 700 <= f && (b = !1, e = "贷款金额太大 请核对")); + 0 == c.length ? (d = !1, e += " 请输入贷款期限") : (c = parseInt(c), 0 == c ? (d = !1, e += " 贷款期限不能为0") : 120 < c && (d = !1, e += " 贷款期限不能超过10年")); + b && d ? (g.text(""), g.hide()) : (g.text(e), g.show(), a.preventDefault()) + }) +}); + +function businessRateUpdate() { + var a = 0; + 0 == businessPeriodType ? a = businessShortRateArr6[businessRateType] : 1 == businessPeriodType ? a = businessShortRateArr12[businessRateType] : 2 == businessPeriodType ? a = businessShortRateArr36[businessRateType] : 3 == businessPeriodType ? a = businessShortRateArr60[businessRateType] : 4 == businessPeriodType && (a = businessLongRateArr[businessRateType]); + a *= businessDiscount; + a = Math.round(100 * a) / 100; + $("#business_rate").val("" + a) +} + +function PAFRateUpdate() { + var a = 0; + 0 == PAFPeriodType ? a = PAFShortRateArr[PAFRateType] : 1 == PAFPeriodType && (a = PAFLongRateArr[PAFRateType]); + $("#PAF_rate").val("" + a) +} + +function userInputCheck() { + if (0 == loanType) { + var a = businessSumInputCheck(), + b = businessRateInputCheck(); + return a && b ? !0 : !1 + } + if (1 == loanType) { + var d = PAFSumInputCheck(), + f = PAFRateInputCheck(); + return d && f ? !0 : !1 + } + if (2 == loanType) return a = businessSumInputCheck(), b = businessRateInputCheck(), d = PAFSumInputCheck(), f = PAFRateInputCheck(), a && b && d && f ? !0 : !1 +} + +function businessSumInputCheck() { + var a = $.trim($("#business_sum").val()), + b = /^\d*[\.]?\d*$/; + if ("" != a && b.test(a)) return !0; + $("#business_sum").val("").focus(); + return !1 +} + +function businessRateInputCheck() { + var a = $.trim($("#business_rate").val()), + b = /^\d*[\.]?\d*$/; + if ("" != a && b.test(a)) return !0; + $("#business_rate").val("").focus(); + return !1 +} + +function PAFSumInputCheck() { + var a = $.trim($("#PAF_sum").val()), + b = /^\d*[\.]?\d*$/; + if ("" != a && b.test(a)) return !0; + $("#PAF_sum").val("").focus(); + return !1 +} + +function PAFRateInputCheck() { + var a = $.trim($("#PAF_rate").val()), + b = /^\d*[\.]?\d*$/; + if ("" != a && b.test(a)) return !0; + $("#PAF_rate").val("").focus(); + return !1 +} + +function calculate() { + calculate_debx(); + calculate_debj(); + var a = $('input[name="repayType"]:checked').val(); + $("#result_tab_" + a).removeClass("normal-tab").addClass("select-tab").siblings(".result-tab").removeClass("select-tab").addClass("normal-tab"); + $("#result_data_" + a).show().siblings(".result-data").hide(); + showResultTabID = a +} + +function calculate_debx() { + if (0 == loanType) var a = 1E4 * parseFloat($.trim($("#business_sum").val())), + b = parseFloat($.trim($("#business_rate").val())) / 1200, + a = calculate_debx_singleLoan(a, b); + else if (1 == loanType) a = 1E4 * parseFloat($.trim($("#PAF_sum").val())), b = parseFloat($.trim($("#PAF_rate").val())) / 1200, a = calculate_debx_singleLoan(a, b); + else if (2 == loanType) var a = 1E4 * parseFloat($.trim($("#business_sum").val())), + b = parseFloat($.trim($("#business_rate").val())) / 1200, + d = 1E4 * parseFloat($.trim($("#PAF_sum").val())), + f = parseFloat($.trim($("#PAF_rate").val())) / 1200, + a = calculate_debx_doubleLoan(a, b, d, f); + return a +} + +function calculate_debx_singleLoan(a, b) { + var d, f, c, g, e, j = a * loanPeriods * b * Math.pow(1 + b, loanPeriods) / (Math.pow(1 + b, loanPeriods) - 1) - a, + j = Math.round(100 * j) / 100; + d = Math.round(100 * (j + a)) / 100; + $("#interest_total_1").text(j + "元"); + $("#repay_total_1").text("" + d + "元"); + f = d / loanPeriods; + f = Math.round(100 * f) / 100; + var m = 0, + h = "", + i = ""; + for (d = 1; d <= loanPeriods; d++) c = a * b * (Math.pow(1 + b, loanPeriods) - Math.pow(1 + b, d - 1)) / (Math.pow(1 + b, loanPeriods) - 1), c = Math.round(100 * c) / 100, g = f - c, g = Math.round(100 * g) / 100, e = a * (Math.pow(1 + b, loanPeriods) - + Math.pow(1 + b, d)) / (Math.pow(1 + b, loanPeriods) - 1), e = Math.round(100 * e) / 100, h += "", h = h + "" + d + "", h = h + "" + f + "", h = h + "" + c + "", h = h + "" + g + "", h = h + "" + e + "", h += "", 1 == d && (m = c), d == simpleDataTableMaxLines && (i = h); + $("#standard_data_table_1").html("" + h); + "" == i && (i = h); + $("#simple_data_table_1").html("" + i); + $("#repay_monthly_1").text(f + "元"); + $("#interest_monthly_1").text(m + "元"); + return j +} + +function calculate_debx_doubleLoan(a, b, d, f) { + var c, g, e, j, m; + c = a * loanPeriods * b * Math.pow(1 + b, loanPeriods) / (Math.pow(1 + b, loanPeriods) - 1) - a; + c = Math.round(100 * c) / 100; + e = c + a; + g = d * loanPeriods * f * Math.pow(1 + f, loanPeriods) / (Math.pow(1 + f, loanPeriods) - 1) - d; + g = Math.round(100 * g) / 100; + j = g + d; + var h; + h = Math.round(100 * (c + g)) / 100; + e = Math.round(100 * (e + j)) / 100; + $("#business_interest_total_1").text(c + "元"); + $("#PAF_interest_total_1").text(g + "元"); + $("#interest_total_1").text(h + "元"); + $("#repay_total_1").text(e + "元"); + g = e / loanPeriods; + g = Math.round(100 * + g) / 100; + var i = 0, + k = "", + l = ""; + for (c = 1; c <= loanPeriods; c++) e = a * b * (Math.pow(1 + b, loanPeriods) - Math.pow(1 + b, c - 1)) / (Math.pow(1 + b, loanPeriods) - 1), e += d * f * (Math.pow(1 + f, loanPeriods) - Math.pow(1 + f, c - 1)) / (Math.pow(1 + f, loanPeriods) - 1), e = Math.round(100 * e) / 100, j = g - e, j = Math.round(100 * j) / 100, m = a * (Math.pow(1 + b, loanPeriods) - Math.pow(1 + b, c)) / (Math.pow(1 + b, loanPeriods) - 1), m += d * (Math.pow(1 + f, loanPeriods) - Math.pow(1 + f, c)) / (Math.pow(1 + f, loanPeriods) - 1), m = Math.round(100 * m) / 100, k += "", k = k + "" + c + "", k = k + "" + g + "", + k = k + "" + e + "", k = k + "" + j + "", k = k + "" + m + "", k += "", 1 == c && (i = e), c == simpleDataTableMaxLines && (l = k); + $("#standard_data_table_1").html("" + k); + "" == l && (l = k); + $("#simple_data_table_1").html("" + l); + $("#repay_monthly_1").text(g + "元"); + $("#interest_monthly_1").text(i + "元"); + return h +} + +function calculate_debj() { + if (0 == loanType) var a = 1E4 * parseFloat($.trim($("#business_sum").val())), + b = parseFloat($.trim($("#business_rate").val())) / 1200, + a = calculate_debj_singleLoan(a, b); + else if (1 == loanType) a = 1E4 * parseFloat($.trim($("#PAF_sum").val())), b = parseFloat($.trim($("#PAF_rate").val())) / 1200, a = calculate_debj_singleLoan(a, b); + else if (2 == loanType) var a = 1E4 * parseFloat($.trim($("#business_sum").val())), + b = parseFloat($.trim($("#business_rate").val())) / 1200, + d = 1E4 * parseFloat($.trim($("#PAF_sum").val())), + f = parseFloat($.trim($("#PAF_rate").val())) / 1200, + a = calculate_debj_doubleLoan(a, b, d, f); + return a +} + +function calculate_debj_singleLoan(a, b) { + var d, f, c, g, e, j = a * b * (loanPeriods + 1) / 2, + j = Math.round(100 * j) / 100; + d = Math.round(100 * (j + a)) / 100; + $("#interest_total_2").text("" + j + "元"); + $("#repay_total_2").text("" + d + "元"); + g = a / loanPeriods; + g = Math.round(100 * g) / 100; + var m = 0, + h = 0, + i = "", + k = ""; + for (d = 1; d <= loanPeriods; d++) c = a * b * (loanPeriods - d + 1) / loanPeriods, c = Math.round(100 * c) / 100, f = c + g, f = Math.round(100 * f) / 100, e = a * (loanPeriods - d) / loanPeriods, e = Math.round(100 * e) / 100, i += "", i = i + "" + d + "", i = i + "" + f + "", i = i + "" + + c + "", i = i + "" + g + "", i = i + "" + e + "", i += "", 1 == d && (m = f, h = c), d == simpleDataTableMaxLines && (k = i); + $("#standard_data_table_2").html("" + i); + "" == k && (k = i); + $("#simple_data_table_2").html("" + k); + $("#repay_monthly_2").text(m + "元"); + $("#interest_monthly_2").text(h + "元"); + return j +} + +function calculate_debj_doubleLoan(a, b, d, f) { + var c, g, e, j, m; + c = a * b * (loanPeriods + 1) / 2; + c = Math.round(100 * c) / 100; + e = c + a; + g = d * f * (loanPeriods + 1) / 2; + g = Math.round(100 * g) / 100; + j = g + d; + var h; + h = Math.round(100 * (c + g)) / 100; + e = Math.round(100 * (e + j)) / 100; + $("#business_interest_total_2").text(c + "元"); + $("#PAF_interest_total_2").text(g + "元"); + $("#interest_total_2").text(h + "元"); + $("#repay_total_2").text(e + "元"); + j = (a + d) / loanPeriods; + j = Math.round(100 * j) / 100; + var i = 0, + k = 0, + l = "", + n = ""; + for (c = 1; c <= loanPeriods; c++) e = a * b * (loanPeriods - c + 1) / loanPeriods, + e += d * f * (loanPeriods - c + 1) / loanPeriods, e = Math.round(100 * e) / 100, g = e + j, g = Math.round(100 * g) / 100, m = a * (loanPeriods - c) / loanPeriods, m += d * (loanPeriods - c) / loanPeriods, m = Math.round(100 * m) / 100, l += "", l = l + "" + c + "", l = l + "" + g + "", l = l + "" + e + "", l = l + "" + j + "", l = l + "" + m + "", l += "", 1 == c && (i = g, k = e), c == simpleDataTableMaxLines && (n = l); + $("#standard_data_table_2").html("" + l); + "" == n && (n = l); + $("#simple_data_table_2").html("" + n); + $("#repay_monthly_2").text(i + "元"); + $("#interest_monthly_2").text(k + + "元"); + return h +}; \ No newline at end of file diff --git a/js/zepto.min.js b/js/zepto.min.js new file mode 100644 index 0000000..ba8ebf9 --- /dev/null +++ b/js/zepto.min.js @@ -0,0 +1,3 @@ +// Zepto 1.1.4 (generated with Zepto Builder) - zepto event ajax form ie data detect deferred callbacks assets touch selector stack fx_methods fx - zeptojs.com/license +var Zepto=function(){function t(t){return null==t?t+"":H[U.call(t)]||"object"}function e(e){return"function"==t(e)}function n(t){return null!=t&&t==t.window}function i(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function r(e){return"object"==t(e)}function o(t){return r(t)&&!n(t)&&Object.getPrototypeOf(t)==Object.prototype}function a(t){return"number"==typeof t.length}function s(t){return N.call(t,function(t){return null!=t})}function u(t){return t.length>0?E.fn.concat.apply([],t):t}function c(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function l(t){return t in k?k[t]:k[t]=RegExp("(^|\\s)"+t+"(\\s|$)")}function f(t,e){return"number"!=typeof e||Z[c(t)]?e:e+"px"}function h(t){var e,n;return M[t]||(e=A.createElement(t),A.body.appendChild(e),n=getComputedStyle(e,"").getPropertyValue("display"),e.parentNode.removeChild(e),"none"==n&&(n="block"),M[t]=n),M[t]}function p(t){return"children"in t?O.call(t.children):E.map(t.childNodes,function(t){return 1==t.nodeType?t:x})}function d(t,e,n){for(T in e)n&&(o(e[T])||J(e[T]))?(o(e[T])&&!o(t[T])&&(t[T]={}),J(e[T])&&!J(t[T])&&(t[T]=[]),d(t[T],e[T],n)):e[T]!==x&&(t[T]=e[T])}function m(t,e){return null==e?E(t):E(t).filter(e)}function v(t,n,i,r){return e(n)?n.call(t,i,r):n}function g(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function y(t,e){var n=t.className||"",i=n&&n.baseVal!==x;return e===x?i?n.baseVal:n:(i?n.baseVal=e:t.className=e,x)}function b(t){var e;try{return t?"true"==t||("false"==t?!1:"null"==t?null:/^0/.test(t)||isNaN(e=Number(t))?/^[\[\{]/.test(t)?E.parseJSON(t):t:e):t}catch(n){return t}}function w(t,e){e(t);for(var n=0,i=t.childNodes.length;i>n;n++)w(t.childNodes[n],e)}var x,T,E,S,j,C,P=[],O=P.slice,N=P.filter,A=window.document,M={},k={},Z={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},_=/^\s*<(\w+|!)[^>]*>/,D=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,L=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,$=/^(?:body|html)$/i,R=/([A-Z])/g,F=["val","css","html","text","data","width","height","offset"],z=["after","prepend","before","append"],q=A.createElement("table"),I=A.createElement("tr"),W={tr:A.createElement("tbody"),tbody:q,thead:q,tfoot:q,td:I,th:I,"*":A.createElement("div")},B=/complete|loaded|interactive/,V=/^[\w-]*$/,H={},U=H.toString,X={},Y=A.createElement("div"),G={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},J=Array.isArray||function(t){return t instanceof Array};return X.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var i,r=t.parentNode,o=!r;return o&&(r=Y).appendChild(t),i=~X.qsa(r,e).indexOf(t),o&&Y.removeChild(t),i},j=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},C=function(t){return N.call(t,function(e,n){return t.indexOf(e)==n})},X.fragment=function(t,e,n){var i,r,a;return D.test(t)&&(i=E(A.createElement(RegExp.$1))),i||(t.replace&&(t=t.replace(L,"<$1>")),e===x&&(e=_.test(t)&&RegExp.$1),e in W||(e="*"),a=W[e],a.innerHTML=""+t,i=E.each(O.call(a.childNodes),function(){a.removeChild(this)})),o(n)&&(r=E(i),E.each(n,function(t,e){F.indexOf(t)>-1?r[t](e):r.attr(t,e)})),i},X.Z=function(t,e){return t=t||[],t.__proto__=E.fn,t.selector=e||"",t},X.isZ=function(t){return t instanceof X.Z},X.init=function(t,n){var i;if(!t)return X.Z();if("string"==typeof t)if(t=t.trim(),"<"==t[0]&&_.test(t))i=X.fragment(t,RegExp.$1,n),t=null;else{if(n!==x)return E(n).find(t);i=X.qsa(A,t)}else{if(e(t))return E(A).ready(t);if(X.isZ(t))return t;if(J(t))i=s(t);else if(r(t))i=[t],t=null;else if(_.test(t))i=X.fragment(t.trim(),RegExp.$1,n),t=null;else{if(n!==x)return E(n).find(t);i=X.qsa(A,t)}}return X.Z(i,t)},E=function(t,e){return X.init(t,e)},E.extend=function(t){var e,n=O.call(arguments,1);return"boolean"==typeof t&&(e=t,t=n.shift()),n.forEach(function(n){d(t,n,e)}),t},X.qsa=function(t,e){var n,r="#"==e[0],o=!r&&"."==e[0],a=r||o?e.slice(1):e,s=V.test(a);return i(t)&&s&&r?(n=t.getElementById(a))?[n]:[]:1!==t.nodeType&&9!==t.nodeType?[]:O.call(s&&!r?o?t.getElementsByClassName(a):t.getElementsByTagName(e):t.querySelectorAll(e))},E.contains=A.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},E.type=t,E.isFunction=e,E.isWindow=n,E.isArray=J,E.isPlainObject=o,E.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},E.inArray=function(t,e,n){return P.indexOf.call(e,t,n)},E.camelCase=j,E.trim=function(t){return null==t?"":String.prototype.trim.call(t)},E.uuid=0,E.support={},E.expr={},E.map=function(t,e){var n,i,r,o=[];if(a(t))for(i=0;t.length>i;i++)n=e(t[i],i),null!=n&&o.push(n);else for(r in t)n=e(t[r],r),null!=n&&o.push(n);return u(o)},E.each=function(t,e){var n,i;if(a(t)){for(n=0;t.length>n;n++)if(e.call(t[n],n,t[n])===!1)return t}else for(i in t)if(e.call(t[i],i,t[i])===!1)return t;return t},E.grep=function(t,e){return N.call(t,e)},window.JSON&&(E.parseJSON=JSON.parse),E.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){H["[object "+e+"]"]=e.toLowerCase()}),E.fn={forEach:P.forEach,reduce:P.reduce,push:P.push,sort:P.sort,indexOf:P.indexOf,concat:P.concat,map:function(t){return E(E.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return E(O.apply(this,arguments))},ready:function(t){return B.test(A.readyState)&&A.body?t(E):A.addEventListener("DOMContentLoaded",function(){t(E)},!1),this},get:function(t){return t===x?O.call(this):this[t>=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return P.every.call(this,function(e,n){return t.call(e,n,e)!==!1}),this},filter:function(t){return e(t)?this.not(this.not(t)):E(N.call(this,function(e){return X.matches(e,t)}))},add:function(t,e){return E(C(this.concat(E(t,e))))},is:function(t){return this.length>0&&X.matches(this[0],t)},not:function(t){var n=[];if(e(t)&&t.call!==x)this.each(function(e){t.call(this,e)||n.push(this)});else{var i="string"==typeof t?this.filter(t):a(t)&&e(t.item)?O.call(t):E(t);this.forEach(function(t){0>i.indexOf(t)&&n.push(t)})}return E(n)},has:function(t){return this.filter(function(){return r(t)?E.contains(this,t):E(this).find(t).size()})},eq:function(t){return-1===t?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!r(t)?t:E(t)},last:function(){var t=this[this.length-1];return t&&!r(t)?t:E(t)},find:function(t){var e,n=this;return e=t?"object"==typeof t?E(t).filter(function(){var t=this;return P.some.call(n,function(e){return E.contains(e,t)})}):1==this.length?E(X.qsa(this[0],t)):this.map(function(){return X.qsa(this,t)}):[]},closest:function(t,e){var n=this[0],r=!1;for("object"==typeof t&&(r=E(t));n&&!(r?r.indexOf(n)>=0:X.matches(n,t));)n=n!==e&&!i(n)&&n.parentNode;return E(n)},parents:function(t){for(var e=[],n=this;n.length>0;)n=E.map(n,function(t){return(t=t.parentNode)&&!i(t)&&0>e.indexOf(t)?(e.push(t),t):x});return m(e,t)},parent:function(t){return m(C(this.pluck("parentNode")),t)},children:function(t){return m(this.map(function(){return p(this)}),t)},contents:function(){return this.map(function(){return O.call(this.childNodes)})},siblings:function(t){return m(this.map(function(t,e){return N.call(p(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(t){return E.map(this,function(e){return e[t]})},show:function(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=h(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var n=e(t);if(this[0]&&!n)var i=E(t).get(0),r=i.parentNode||this.length>1;return this.each(function(e){E(this).wrapAll(n?t.call(this,e):r?i.cloneNode(!0):i)})},wrapAll:function(t){if(this[0]){E(this[0]).before(t=E(t));for(var e;(e=t.children()).length;)t=e.first();E(t).append(this)}return this},wrapInner:function(t){var n=e(t);return this.each(function(e){var i=E(this),r=i.contents(),o=n?t.call(this,e):t;r.length?r.wrapAll(o):i.append(o)})},unwrap:function(){return this.parent().each(function(){E(this).replaceWith(E(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(t){return this.each(function(){var e=E(this);(t===x?"none"==e.css("display"):t)?e.show():e.hide()})},prev:function(t){return E(this.pluck("previousElementSibling")).filter(t||"*")},next:function(t){return E(this.pluck("nextElementSibling")).filter(t||"*")},html:function(t){return 0 in arguments?this.each(function(e){var n=this.innerHTML;E(this).empty().append(v(this,t,e,n))}):0 in this?this[0].innerHTML:null},text:function(t){return 0 in arguments?this.each(function(e){var n=v(this,t,e,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this[0].textContent:null},attr:function(t,e){var n;return"string"!=typeof t||1 in arguments?this.each(function(n){if(1===this.nodeType)if(r(t))for(T in t)g(this,T,t[T]);else g(this,t,v(this,e,n,this.getAttribute(t)))}):this.length&&1===this[0].nodeType?!(n=this[0].getAttribute(t))&&t in this[0]?this[0][t]:n:x},removeAttr:function(t){return this.each(function(){1===this.nodeType&&g(this,t)})},prop:function(t,e){return t=G[t]||t,1 in arguments?this.each(function(n){this[t]=v(this,e,n,this[t])}):this[0]&&this[0][t]},data:function(t,e){var n="data-"+t.replace(R,"-$1").toLowerCase(),i=1 in arguments?this.attr(n,e):this.attr(n);return null!==i?b(i):x},val:function(t){return 0 in arguments?this.each(function(e){this.value=v(this,t,e,this.value)}):this[0]&&(this[0].multiple?E(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(t){if(t)return this.each(function(e){var n=E(this),i=v(this,t,e,n.offset()),r=n.offsetParent().offset(),o={top:i.top-r.top,left:i.left-r.left};"static"==n.css("position")&&(o.position="relative"),n.css(o)});if(!this.length)return null;var e=this[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function(e,n){if(2>arguments.length){var i=this[0],r=getComputedStyle(i,"");if(!i)return;if("string"==typeof e)return i.style[j(e)]||r.getPropertyValue(e);if(J(e)){var o={};return E.each(e,function(t,e){o[e]=i.style[j(e)]||r.getPropertyValue(e)}),o}}var a="";if("string"==t(e))n||0===n?a=c(e)+":"+f(e,n):this.each(function(){this.style.removeProperty(c(e))});else for(T in e)e[T]||0===e[T]?a+=c(T)+":"+f(T,e[T])+";":this.each(function(){this.style.removeProperty(c(T))});return this.each(function(){this.style.cssText+=";"+a})},index:function(t){return t?this.indexOf(E(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return t?P.some.call(this,function(t){return this.test(y(t))},l(t)):!1},addClass:function(t){return t?this.each(function(e){if("className"in this){S=[];var n=y(this),i=v(this,t,e,n);i.split(/\s+/g).forEach(function(t){E(this).hasClass(t)||S.push(t)},this),S.length&&y(this,n+(n?" ":"")+S.join(" "))}}):this},removeClass:function(t){return this.each(function(e){if("className"in this){if(t===x)return y(this,"");S=y(this),v(this,t,e,S).split(/\s+/g).forEach(function(t){S=S.replace(l(t)," ")}),y(this,S.trim())}})},toggleClass:function(t,e){return t?this.each(function(n){var i=E(this),r=v(this,t,n,y(this));r.split(/\s+/g).forEach(function(t){(e===x?!i.hasClass(t):e)?i.addClass(t):i.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var e="scrollTop"in this[0];return t===x?e?this[0].scrollTop:this[0].pageYOffset:this.each(e?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var e="scrollLeft"in this[0];return t===x?e?this[0].scrollLeft:this[0].pageXOffset:this.each(e?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),n=this.offset(),i=$.test(e[0].nodeName)?{top:0,left:0}:e.offset();return n.top-=parseFloat(E(t).css("margin-top"))||0,n.left-=parseFloat(E(t).css("margin-left"))||0,i.top+=parseFloat(E(e[0]).css("border-top-width"))||0,i.left+=parseFloat(E(e[0]).css("border-left-width"))||0,{top:n.top-i.top,left:n.left-i.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||A.body;t&&!$.test(t.nodeName)&&"static"==E(t).css("position");)t=t.offsetParent;return t})}},E.fn.detach=E.fn.remove,["width","height"].forEach(function(t){var e=t.replace(/./,function(t){return t[0].toUpperCase()});E.fn[t]=function(r){var o,a=this[0];return r===x?n(a)?a["inner"+e]:i(a)?a.documentElement["scroll"+e]:(o=this.offset())&&o[t]:this.each(function(e){a=E(this),a.css(t,v(this,r,e,a[t]()))})}}),z.forEach(function(e,n){var i=n%2;E.fn[e]=function(){var e,r,o=E.map(arguments,function(n){return e=t(n),"object"==e||"array"==e||null==n?n:X.fragment(n)}),a=this.length>1;return 1>o.length?this:this.each(function(t,e){r=i?e:e.parentNode,e=0==n?e.nextSibling:1==n?e.firstChild:2==n?e:null;var s=E.contains(A.documentElement,r);o.forEach(function(t){if(a)t=t.cloneNode(!0);else if(!r)return E(t).remove();r.insertBefore(t,e),s&&w(t,function(t){null==t.nodeName||"SCRIPT"!==t.nodeName.toUpperCase()||t.type&&"text/javascript"!==t.type||t.src||window.eval.call(window,t.innerHTML)})})})},E.fn[i?e+"To":"insert"+(n?"Before":"After")]=function(t){return E(t)[e](this),this}}),X.Z.prototype=E.fn,X.uniq=C,X.deserializeValue=b,E.zepto=X,E}();window.Zepto=Zepto,void 0===window.$&&(window.$=Zepto),function(t){function e(e,n,i){var r=t.Event(n);return t(e).trigger(r,i),!r.isDefaultPrevented()}function n(t,n,i,r){return t.global?e(n||y,i,r):void 0}function i(e){e.global&&0===t.active++&&n(e,null,"ajaxStart")}function r(e){e.global&&!--t.active&&n(e,null,"ajaxStop")}function o(t,e){var i=e.context;return e.beforeSend.call(i,t,e)===!1||n(e,i,"ajaxBeforeSend",[t,e])===!1?!1:(n(e,i,"ajaxSend",[t,e]),void 0)}function a(t,e,i,r){var o=i.context,a="success";i.success.call(o,t,a,e),r&&r.resolveWith(o,[t,a,e]),n(i,o,"ajaxSuccess",[e,i,t]),u(a,e,i)}function s(t,e,i,r,o){var a=r.context;r.error.call(a,i,e,t),o&&o.rejectWith(a,[i,e,t]),n(r,a,"ajaxError",[i,r,t||e]),u(e,i,r)}function u(t,e,i){var o=i.context;i.complete.call(o,e,t),n(i,o,"ajaxComplete",[e,i]),r(i)}function c(){}function l(t){return t&&(t=t.split(";",2)[0]),t&&(t==E?"html":t==T?"json":w.test(t)?"script":x.test(t)&&"xml")||"text"}function f(t,e){return""==e?t:(t+"&"+e).replace(/[&?]{1,2}/,"?")}function h(e){e.processData&&e.data&&"string"!=t.type(e.data)&&(e.data=t.param(e.data,e.traditional)),!e.data||e.type&&"GET"!=e.type.toUpperCase()||(e.url=f(e.url,e.data),e.data=void 0)}function p(e,n,i,r){return t.isFunction(n)&&(r=i,i=n,n=void 0),t.isFunction(i)||(r=i,i=void 0),{url:e,data:n,success:i,dataType:r}}function d(e,n,i,r){var o,a=t.isArray(n),s=t.isPlainObject(n);t.each(n,function(n,u){o=t.type(u),r&&(n=i?r:r+"["+(s||"object"==o||"array"==o?n:"")+"]"),!r&&a?e.add(u.name,u.value):"array"==o||!i&&"object"==o?d(e,u,i,n):e.add(n,u)})}var m,v,g=0,y=window.document,b=/)<[^<]*)*<\/script>/gi,w=/^(?:text|application)\/javascript/i,x=/^(?:text|application)\/xml/i,T="application/json",E="text/html",S=/^\s*$/;t.active=0,t.ajaxJSONP=function(e,n){if(!("type"in e))return t.ajax(e);var i,r,u=e.jsonpCallback,c=(t.isFunction(u)?u():u)||"jsonp"+ ++g,l=y.createElement("script"),f=window[c],h=function(e){t(l).triggerHandler("error",e||"abort")},p={abort:h};return n&&n.promise(p),t(l).on("load error",function(o,u){clearTimeout(r),t(l).off().remove(),"error"!=o.type&&i?a(i[0],p,e,n):s(null,u||"error",p,e,n),window[c]=f,i&&t.isFunction(f)&&f(i[0]),f=i=void 0}),o(p,e)===!1?(h("abort"),p):(window[c]=function(){i=arguments},l.src=e.url.replace(/\?(.+)=\?/,"?$1="+c),y.head.appendChild(l),e.timeout>0&&(r=setTimeout(function(){h("timeout")},e.timeout)),p)},t.ajaxSettings={type:"GET",beforeSend:c,success:c,error:c,complete:c,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:T,xml:"application/xml, text/xml",html:E,text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0},t.ajax=function(e){var n=t.extend({},e||{}),r=t.Deferred&&t.Deferred();for(m in t.ajaxSettings)void 0===n[m]&&(n[m]=t.ajaxSettings[m]);i(n),n.crossDomain||(n.crossDomain=/^([\w-]+:)?\/\/([^\/]+)/.test(n.url)&&RegExp.$2!=window.location.host),n.url||(n.url=""+window.location),h(n);var u=n.dataType,p=/\?.+=\?/.test(n.url);if(p&&(u="jsonp"),n.cache!==!1&&(e&&e.cache===!0||"script"!=u&&"jsonp"!=u)||(n.url=f(n.url,"_="+Date.now())),"jsonp"==u)return p||(n.url=f(n.url,n.jsonp?n.jsonp+"=?":n.jsonp===!1?"":"callback=?")),t.ajaxJSONP(n,r);var d,g=n.accepts[u],y={},b=function(t,e){y[t.toLowerCase()]=[t,e]},w=/^([\w-]+:)\/\//.test(n.url)?RegExp.$1:window.location.protocol,x=n.xhr(),T=x.setRequestHeader;if(r&&r.promise(x),n.crossDomain||b("X-Requested-With","XMLHttpRequest"),b("Accept",g||"*/*"),(g=n.mimeType||g)&&(g.indexOf(",")>-1&&(g=g.split(",",2)[0]),x.overrideMimeType&&x.overrideMimeType(g)),(n.contentType||n.contentType!==!1&&n.data&&"GET"!=n.type.toUpperCase())&&b("Content-Type",n.contentType||"application/x-www-form-urlencoded"),n.headers)for(v in n.headers)b(v,n.headers[v]);if(x.setRequestHeader=b,x.onreadystatechange=function(){if(4==x.readyState){x.onreadystatechange=c,clearTimeout(d);var e,i=!1;if(x.status>=200&&300>x.status||304==x.status||0==x.status&&"file:"==w){u=u||l(n.mimeType||x.getResponseHeader("content-type")),e=x.responseText;try{"script"==u?(1,eval)(e):"xml"==u?e=x.responseXML:"json"==u&&(e=S.test(e)?null:t.parseJSON(e))}catch(o){i=o}i?s(i,"parsererror",x,n,r):a(e,x,n,r)}else s(x.statusText||null,x.status?"error":"abort",x,n,r)}},o(x,n)===!1)return x.abort(),s(null,"abort",x,n,r),x;if(n.xhrFields)for(v in n.xhrFields)x[v]=n.xhrFields[v];var E="async"in n?n.async:!0;x.open(n.type,n.url,E,n.username,n.password);for(v in y)T.apply(x,y[v]);return n.timeout>0&&(d=setTimeout(function(){x.onreadystatechange=c,x.abort(),s(null,"timeout",x,n,r)},n.timeout)),x.send(n.data?n.data:null),x},t.get=function(){return t.ajax(p.apply(null,arguments))},t.post=function(){var e=p.apply(null,arguments);return e.type="POST",t.ajax(e)},t.getJSON=function(){var e=p.apply(null,arguments);return e.dataType="json",t.ajax(e)},t.fn.load=function(e,n,i){if(!this.length)return this;var r,o=this,a=e.split(/\s/),s=p(e,n,i),u=s.success;return a.length>1&&(s.url=a[0],r=a[1]),s.success=function(e){o.html(r?t("
").html(e.replace(b,"")).find(r):e),u&&u.apply(o,arguments)},t.ajax(s),this};var j=encodeURIComponent;t.param=function(t,e){var n=[];return n.add=function(t,e){this.push(j(t)+"="+j(e))},d(n,t,e),n.join("&").replace(/%20/g,"+")}}(Zepto),function(t){var e,n=[];t.fn.remove=function(){return this.each(function(){this.parentNode&&("IMG"===this.tagName&&(n.push(this),this.src="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=",e&&clearTimeout(e),e=setTimeout(function(){n=[]},6e4)),this.parentNode.removeChild(this))})}}(Zepto),function(t){t.Callbacks=function(e){e=t.extend({},e);var n,i,r,o,a,s,u=[],c=!e.once&&[],l=function(t){for(n=e.memory&&t,i=!0,s=o||0,o=0,a=u.length,r=!0;u&&a>s;++s)if(u[s].apply(t[0],t[1])===!1&&e.stopOnFalse){n=!1;break}r=!1,u&&(c?c.length&&l(c.shift()):n?u.length=0:f.disable())},f={add:function(){if(u){var i=u.length,s=function(n){t.each(n,function(t,n){"function"==typeof n?e.unique&&f.has(n)||u.push(n):n&&n.length&&"string"!=typeof n&&s(n)})};s(arguments),r?a=u.length:n&&(o=i,l(n))}return this},remove:function(){return u&&t.each(arguments,function(e,n){for(var i;(i=t.inArray(n,u,i))>-1;)u.splice(i,1),r&&(a>=i&&--a,s>=i&&--s)}),this},has:function(e){return!(!u||!(e?t.inArray(e,u)>-1:u.length))},empty:function(){return a=u.length=0,this},disable:function(){return u=c=n=void 0,this},disabled:function(){return!u},lock:function(){return c=void 0,n||f.disable(),this},locked:function(){return!c},fireWith:function(t,e){return!u||i&&!c||(e=e||[],e=[t,e.slice?e.slice():e],r?c.push(e):l(e)),this},fire:function(){return f.fireWith(this,arguments)},fired:function(){return!!i}};return f}}(Zepto),function(t){function e(e,i){var u=e[s],c=u&&r[u];if(void 0===i)return c||n(e);if(c){if(i in c)return c[i];var l=a(i);if(l in c)return c[l]}return o.call(t(e),i)}function n(e,n,o){var u=e[s]||(e[s]=++t.uuid),c=r[u]||(r[u]=i(e));return void 0!==n&&(c[a(n)]=o),c}function i(e){var n={};return t.each(e.attributes||u,function(e,i){0==i.name.indexOf("data-")&&(n[a(i.name.replace("data-",""))]=t.zepto.deserializeValue(i.value))}),n}var r={},o=t.fn.data,a=t.camelCase,s=t.expando="Zepto"+ +new Date,u=[];t.fn.data=function(i,r){return void 0===r?t.isPlainObject(i)?this.each(function(e,r){t.each(i,function(t,e){n(r,t,e)})}):0 in this?e(this[0],i):void 0:this.each(function(){n(this,i,r)})},t.fn.removeData=function(e){return"string"==typeof e&&(e=e.split(/\s+/)),this.each(function(){var n=this[s],i=n&&r[n];i&&t.each(e||i,function(t){delete i[e?a(this):t]})})},["remove","empty"].forEach(function(e){var n=t.fn[e];t.fn[e]=function(){var t=this.find("*");return"remove"===e&&(t=t.add(this)),t.removeData(),n.call(this)}})}(Zepto),function(t){function e(n){var i=[["resolve","done",t.Callbacks({once:1,memory:1}),"resolved"],["reject","fail",t.Callbacks({once:1,memory:1}),"rejected"],["notify","progress",t.Callbacks({memory:1})]],r="pending",o={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var n=arguments;return e(function(e){t.each(i,function(i,r){var s=t.isFunction(n[i])&&n[i];a[r[1]](function(){var n=s&&s.apply(this,arguments);if(n&&t.isFunction(n.promise))n.promise().done(e.resolve).fail(e.reject).progress(e.notify);else{var i=this===o?e.promise():this,a=s?[n]:arguments;e[r[0]+"With"](i,a)}})}),n=null}).promise()},promise:function(e){return null!=e?t.extend(e,o):o}},a={};return t.each(i,function(t,e){var n=e[2],s=e[3];o[e[1]]=n.add,s&&n.add(function(){r=s},i[1^t][2].disable,i[2][2].lock),a[e[0]]=function(){return a[e[0]+"With"](this===a?o:this,arguments),this},a[e[0]+"With"]=n.fireWith}),o.promise(a),n&&n.call(a,a),a}var n=Array.prototype.slice;t.when=function(i){var r,o,a,s=n.call(arguments),u=s.length,c=0,l=1!==u||i&&t.isFunction(i.promise)?u:0,f=1===l?i:e(),h=function(t,e,i){return function(o){e[t]=this,i[t]=arguments.length>1?n.call(arguments):o,i===r?f.notifyWith(e,i):--l||f.resolveWith(e,i)}};if(u>1)for(r=Array(u),o=Array(u),a=Array(u);u>c;++c)s[c]&&t.isFunction(s[c].promise)?s[c].promise().done(h(c,a,s)).fail(f.reject).progress(h(c,o,r)):--l;return l||f.resolveWith(a,s),f.promise()},t.Deferred=e}(Zepto),function(t){function e(t){var e=this.os={},n=this.browser={},i=t.match(/Web[kK]it[\/]{0,1}([\d.]+)/),r=t.match(/(Android);?[\s\/]+([\d.]+)?/),o=!!t.match(/\(Macintosh\; Intel /),a=t.match(/(iPad).*OS\s([\d_]+)/),s=t.match(/(iPod)(.*OS\s([\d_]+))?/),u=!a&&t.match(/(iPhone\sOS)\s([\d_]+)/),c=t.match(/(webOS|hpwOS)[\s\/]([\d.]+)/),l=t.match(/Windows Phone ([\d.]+)/),f=c&&t.match(/TouchPad/),h=t.match(/Kindle\/([\d.]+)/),p=t.match(/Silk\/([\d._]+)/),d=t.match(/(BlackBerry).*Version\/([\d.]+)/),m=t.match(/(BB10).*Version\/([\d.]+)/),v=t.match(/(RIM\sTablet\sOS)\s([\d.]+)/),g=t.match(/PlayBook/),y=t.match(/Chrome\/([\d.]+)/)||t.match(/CriOS\/([\d.]+)/),b=t.match(/Firefox\/([\d.]+)/),w=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/[\d](?=[^\?]+).*rv:([0-9.].)/),x=!y&&t.match(/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/),T=x||t.match(/Version\/([\d.]+)([^S](Safari)|[^M]*(Mobile)[^S]*(Safari))/);(n.webkit=!!i)&&(n.version=i[1]),r&&(e.android=!0,e.version=r[2]),u&&!s&&(e.ios=e.iphone=!0,e.version=u[2].replace(/_/g,".")),a&&(e.ios=e.ipad=!0,e.version=a[2].replace(/_/g,".")),s&&(e.ios=e.ipod=!0,e.version=s[3]?s[3].replace(/_/g,"."):null),l&&(e.wp=!0,e.version=l[1]),c&&(e.webos=!0,e.version=c[2]),f&&(e.touchpad=!0),d&&(e.blackberry=!0,e.version=d[2]),m&&(e.bb10=!0,e.version=m[2]),v&&(e.rimtabletos=!0,e.version=v[2]),g&&(n.playbook=!0),h&&(e.kindle=!0,e.version=h[1]),p&&(n.silk=!0,n.version=p[1]),!p&&e.android&&t.match(/Kindle Fire/)&&(n.silk=!0),y&&(n.chrome=!0,n.version=y[1]),b&&(n.firefox=!0,n.version=b[1]),w&&(n.ie=!0,n.version=w[1]),T&&(o||e.ios)&&(n.safari=!0,o&&(n.version=T[1])),x&&(n.webview=!0),e.tablet=!!(a||g||r&&!t.match(/Mobile/)||b&&t.match(/Tablet/)||w&&!t.match(/Phone/)&&t.match(/Touch/)),e.phone=!(e.tablet||e.ipod||!(r||u||c||d||m||y&&t.match(/Android/)||y&&t.match(/CriOS\/([\d.]+)/)||b&&t.match(/Mobile/)||w&&t.match(/Touch/)))}e.call(t,navigator.userAgent),t.__detect=e}(Zepto),function(t){function e(t){return t._zid||(t._zid=h++)}function n(t,n,o,a){if(n=i(n),n.ns)var s=r(n.ns);return(v[e(t)]||[]).filter(function(t){return!(!t||n.e&&t.e!=n.e||n.ns&&!s.test(t.ns)||o&&e(t.fn)!==e(o)||a&&t.sel!=a)})}function i(t){var e=(""+t).split(".");return{e:e[0],ns:e.slice(1).sort().join(" ")}}function r(t){return RegExp("(?:^| )"+t.replace(" "," .* ?")+"(?: |$)")}function o(t,e){return t.del&&!y&&t.e in b||!!e}function a(t){return w[t]||y&&b[t]||t}function s(n,r,s,u,l,h,p){var d=e(n),m=v[d]||(v[d]=[]);r.split(/\s/).forEach(function(e){if("ready"==e)return t(document).ready(s);var r=i(e);r.fn=s,r.sel=l,r.e in w&&(s=function(e){var n=e.relatedTarget;return!n||n!==this&&!t.contains(this,n)?r.fn.apply(this,arguments):f}),r.del=h;var d=h||s;r.proxy=function(t){if(t=c(t),!t.isImmediatePropagationStopped()){t.data=u;var e=d.apply(n,t._args==f?[t]:[t].concat(t._args));return e===!1&&(t.preventDefault(),t.stopPropagation()),e}},r.i=m.length,m.push(r),"addEventListener"in n&&n.addEventListener(a(r.e),r.proxy,o(r,p))})}function u(t,i,r,s,u){var c=e(t);(i||"").split(/\s/).forEach(function(e){n(t,e,r,s).forEach(function(e){delete v[c][e.i],"removeEventListener"in t&&t.removeEventListener(a(e.e),e.proxy,o(e,u))})})}function c(e,n){return(n||!e.isDefaultPrevented)&&(n||(n=e),t.each(S,function(t,i){var r=n[t];e[t]=function(){return this[i]=x,r&&r.apply(n,arguments)},e[i]=T}),(n.defaultPrevented!==f?n.defaultPrevented:"returnValue"in n?n.returnValue===!1:n.getPreventDefault&&n.getPreventDefault())&&(e.isDefaultPrevented=x)),e}function l(t){var e,n={originalEvent:t};for(e in t)E.test(e)||t[e]===f||(n[e]=t[e]);return c(n,t)}var f,h=1,p=Array.prototype.slice,d=t.isFunction,m=function(t){return"string"==typeof t},v={},g={},y="onfocusin"in window,b={focus:"focusin",blur:"focusout"},w={mouseenter:"mouseover",mouseleave:"mouseout"};g.click=g.mousedown=g.mouseup=g.mousemove="MouseEvents",t.event={add:s,remove:u},t.proxy=function(n,i){var r=2 in arguments&&p.call(arguments,2);if(d(n)){var o=function(){return n.apply(i,r?r.concat(p.call(arguments)):arguments)};return o._zid=e(n),o}if(m(i))return r?(r.unshift(n[i],n),t.proxy.apply(null,r)):t.proxy(n[i],n);throw new TypeError("expected function")},t.fn.bind=function(t,e,n){return this.on(t,e,n)},t.fn.unbind=function(t,e){return this.off(t,e)},t.fn.one=function(t,e,n,i){return this.on(t,e,n,i,1)};var x=function(){return!0},T=function(){return!1},E=/^([A-Z]|returnValue$|layer[XY]$)/,S={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};t.fn.delegate=function(t,e,n){return this.on(e,t,n)},t.fn.undelegate=function(t,e,n){return this.off(e,t,n)},t.fn.live=function(e,n){return t(document.body).delegate(this.selector,e,n),this},t.fn.die=function(e,n){return t(document.body).undelegate(this.selector,e,n),this},t.fn.on=function(e,n,i,r,o){var a,c,h=this;return e&&!m(e)?(t.each(e,function(t,e){h.on(t,n,i,e,o)}),h):(m(n)||d(r)||r===!1||(r=i,i=n,n=f),(d(i)||i===!1)&&(r=i,i=f),r===!1&&(r=T),h.each(function(h,d){o&&(a=function(t){return u(d,t.type,r),r.apply(this,arguments)}),n&&(c=function(e){var i,o=t(e.target).closest(n,d).get(0);return o&&o!==d?(i=t.extend(l(e),{currentTarget:o,liveFired:d}),(a||r).apply(o,[i].concat(p.call(arguments,1)))):f}),s(d,e,r,i,n,c||a)}))},t.fn.off=function(e,n,i){var r=this;return e&&!m(e)?(t.each(e,function(t,e){r.off(t,n,e)}),r):(m(n)||d(i)||i===!1||(i=n,n=f),i===!1&&(i=T),r.each(function(){u(this,e,i,n)}))},t.fn.trigger=function(e,n){return e=m(e)||t.isPlainObject(e)?t.Event(e):c(e),e._args=n,this.each(function(){"dispatchEvent"in this?this.dispatchEvent(e):t(this).triggerHandler(e,n)})},t.fn.triggerHandler=function(e,i){var r,o;return this.each(function(a,s){r=l(m(e)?t.Event(e):e),r._args=i,r.target=s,t.each(n(s,e.type||e),function(t,e){return o=e.proxy(r),r.isImmediatePropagationStopped()?!1:f})}),o},"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(e){t.fn[e]=function(t){return t?this.bind(e,t):this.trigger(e)}}),["focus","blur"].forEach(function(e){t.fn[e]=function(t){return t?this.bind(e,t):this.each(function(){try{this[e]()}catch(t){}}),this}}),t.Event=function(t,e){m(t)||(e=t,t=e.type);var n=document.createEvent(g[t]||"Events"),i=!0;if(e)for(var r in e)"bubbles"==r?i=!!e[r]:n[r]=e[r];return n.initEvent(t,i,!0),c(n)}}(Zepto),function(t){t.fn.serializeArray=function(){var e,n,i=[];return t([].slice.call(this.get(0).elements)).each(function(){e=t(this),n=e.attr("type"),this.name&&"fieldset"!=this.nodeName.toLowerCase()&&!this.disabled&&"submit"!=n&&"reset"!=n&&"button"!=n&&("radio"!=n&&"checkbox"!=n||this.checked)&&i.push({name:e.attr("name"),value:e.val()})}),i},t.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+"="+encodeURIComponent(e.value))}),t.join("&")},t.fn.submit=function(e){if(e)this.bind("submit",e);else if(this.length){var n=t.Event("submit");this.eq(0).trigger(n),n.isDefaultPrevented()||this.get(0).submit()}return this}}(Zepto),function(t,e){function n(t){return t.replace(/([a-z])([A-Z])/,"$1-$2").toLowerCase()}function i(t){return r?r+t:t.toLowerCase()}var r,o,a,s,u,c,l,f,h,p,d="",m={Webkit:"webkit",Moz:"",O:"o"},v=window.document,g=v.createElement("div"),y=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i,b={};t.each(m,function(t,n){return g.style[t+"TransitionProperty"]!==e?(d="-"+t.toLowerCase()+"-",r=n,!1):e}),o=d+"transform",b[a=d+"transition-property"]=b[s=d+"transition-duration"]=b[c=d+"transition-delay"]=b[u=d+"transition-timing-function"]=b[l=d+"animation-name"]=b[f=d+"animation-duration"]=b[p=d+"animation-delay"]=b[h=d+"animation-timing-function"]="",t.fx={off:r===e&&g.style.transitionProperty===e,speeds:{_default:400,fast:200,slow:600},cssPrefix:d,transitionEnd:i("TransitionEnd"),animationEnd:i("AnimationEnd")},t.fn.animate=function(n,i,r,o,a){return t.isFunction(i)&&(o=i,r=e,i=e),t.isFunction(r)&&(o=r,r=e),t.isPlainObject(i)&&(r=i.easing,o=i.complete,a=i.delay,i=i.duration),i&&(i=("number"==typeof i?i:t.fx.speeds[i]||t.fx.speeds._default)/1e3),a&&(a=parseFloat(a)/1e3),this.anim(n,i,r,o,a)},t.fn.anim=function(i,r,d,m,v){var g,w,x,T={},E="",S=this,j=t.fx.transitionEnd,C=!1;if(r===e&&(r=t.fx.speeds._default/1e3),v===e&&(v=0),t.fx.off&&(r=0),"string"==typeof i)T[l]=i,T[f]=r+"s",T[p]=v+"s",T[h]=d||"linear",j=t.fx.animationEnd;else{w=[];for(g in i)y.test(g)?E+=g+"("+i[g]+") ":(T[g]=i[g],w.push(n(g)));E&&(T[o]=E,w.push(o)),r>0&&"object"==typeof i&&(T[a]=w.join(", "),T[s]=r+"s",T[c]=v+"s",T[u]=d||"linear")}return x=function(n){if(n!==e){if(n.target!==n.currentTarget)return; +t(n.target).unbind(j,x)}else t(this).unbind(j,x);C=!0,t(this).css(b),m&&m.call(this)},r>0&&(this.bind(j,x),setTimeout(function(){C||x.call(S)},1e3*r+25)),this.size()&&this.get(0).clientLeft,this.css(T),0>=r&&setTimeout(function(){S.each(function(){x.call(this)})},0),this},g=null}(Zepto),function(t,e){function n(n,i,r,o,a){"function"!=typeof i||a||(a=i,i=e);var s={opacity:r};return o&&(s.scale=o,n.css(t.fx.cssPrefix+"transform-origin","0 0")),n.animate(s,i,null,a)}function i(e,i,r,o){return n(e,i,0,r,function(){a.call(t(this)),o&&o.call(this)})}var r=window.document,o=(r.documentElement,t.fn.show),a=t.fn.hide,s=t.fn.toggle;t.fn.show=function(t,i){return o.call(this),t===e?t=0:this.css("opacity",0),n(this,t,1,"1,1",i)},t.fn.hide=function(t,n){return t===e?a.call(this):i(this,t,"0,0",n)},t.fn.toggle=function(n,i){return n===e||"boolean"==typeof n?s.call(this,n):this.each(function(){var e=t(this);e["none"==e.css("display")?"show":"hide"](n,i)})},t.fn.fadeTo=function(t,e,i){return n(this,t,e,null,i)},t.fn.fadeIn=function(t,e){var n=this.css("opacity");return n>0?this.css("opacity",0):n=1,o.call(this).fadeTo(t,n,e)},t.fn.fadeOut=function(t,e){return i(this,t,null,e)},t.fn.fadeToggle=function(e,n){return this.each(function(){var i=t(this);i[0==i.css("opacity")||"none"==i.css("display")?"fadeIn":"fadeOut"](e,n)})}}(Zepto),function(t){"__proto__"in{}||t.extend(t.zepto,{Z:function(e,n){return e=e||[],t.extend(e,t.fn),e.selector=n||"",e.__Z=!0,e},isZ:function(e){return"array"===t.type(e)&&"__Z"in e}});try{getComputedStyle(void 0)}catch(e){var n=getComputedStyle;window.getComputedStyle=function(t){try{return n(t)}catch(e){return null}}}}(Zepto),function(t){function e(e){return e=t(e),!(!e.width()&&!e.height())&&"none"!==e.css("display")}function n(t,e){t=t.replace(/=#\]/g,'="#"]');var n,i,r=s.exec(t);if(r&&r[2]in a&&(n=a[r[2]],i=r[3],t=r[1],i)){var o=Number(i);i=isNaN(o)?i.replace(/^["']|["']$/g,""):o}return e(t,n,i)}var i=t.zepto,r=i.qsa,o=i.matches,a=t.expr[":"]={visible:function(){return e(this)?this:void 0},hidden:function(){return e(this)?void 0:this},selected:function(){return this.selected?this:void 0},checked:function(){return this.checked?this:void 0},parent:function(){return this.parentNode},first:function(t){return 0===t?this:void 0},last:function(t,e){return t===e.length-1?this:void 0},eq:function(t,e,n){return t===n?this:void 0},contains:function(e,n,i){return t(this).text().indexOf(i)>-1?this:void 0},has:function(t,e,n){return i.qsa(this,n).length?this:void 0}},s=RegExp("(.*):(\\w+)(?:\\(([^)]+)\\))?$\\s*"),u=/^\s*>/,c="Zepto"+ +new Date;i.qsa=function(e,o){return n(o,function(n,a,s){try{var l;!n&&a?n="*":u.test(n)&&(l=t(e).addClass(c),n="."+c+" "+n);var f=r(e,n)}catch(h){throw console.error("error performing selector: %o",o),h}finally{l&&l.removeClass(c)}return a?i.uniq(t.map(f,function(t,e){return a.call(t,e,f,s)})):f})},i.matches=function(t,e){return n(e,function(e,n,i){return!(e&&!o(t,e)||n&&n.call(t,null,i)!==t)})}}(Zepto),function(t){t.fn.end=function(){return this.prevObject||t()},t.fn.andSelf=function(){return this.add(this.prevObject||t())},"filter,add,not,eq,first,last,find,closest,parents,parent,children,siblings".split(",").forEach(function(e){var n=t.fn[e];t.fn[e]=function(){var t=n.apply(this,arguments);return t.prevObject=this,t}})}(Zepto),function(t){function e(t,e,n,i){return Math.abs(t-e)>=Math.abs(n-i)?t-e>0?"Left":"Right":n-i>0?"Up":"Down"}function n(){l=null,h.last&&(h.el.trigger("longTap"),h={})}function i(){l&&clearTimeout(l),l=null}function r(){s&&clearTimeout(s),u&&clearTimeout(u),c&&clearTimeout(c),l&&clearTimeout(l),s=u=c=l=null,h={}}function o(t){return("touch"==t.pointerType||t.pointerType==t.MSPOINTER_TYPE_TOUCH)&&t.isPrimary}function a(t,e){return t.type=="pointer"+e||t.type.toLowerCase()=="mspointer"+e}var s,u,c,l,f,h={},p=750;t(document).ready(function(){var d,m,v,g,y=0,b=0;"MSGesture"in window&&(f=new MSGesture,f.target=document.body),t(document).bind("MSGestureEnd",function(t){var e=t.velocityX>1?"Right":-1>t.velocityX?"Left":t.velocityY>1?"Down":-1>t.velocityY?"Up":null;e&&(h.el.trigger("swipe"),h.el.trigger("swipe"+e))}).on("touchstart MSPointerDown pointerdown",function(e){(!(g=a(e,"down"))||o(e))&&(v=g?e:e.touches[0],e.touches&&1===e.touches.length&&h.x2&&(h.x2=void 0,h.y2=void 0),d=Date.now(),m=d-(h.last||d),h.el=t("tagName"in v.target?v.target:v.target.parentNode),s&&clearTimeout(s),h.x1=v.pageX,h.y1=v.pageY,m>0&&250>=m&&(h.isDoubleTap=!0),h.last=d,l=setTimeout(n,p),f&&g&&f.addPointer(e.pointerId))}).on("touchmove MSPointerMove pointermove",function(t){(!(g=a(t,"move"))||o(t))&&(v=g?t:t.touches[0],i(),h.x2=v.pageX,h.y2=v.pageY,y+=Math.abs(h.x1-h.x2),b+=Math.abs(h.y1-h.y2))}).on("touchend MSPointerUp pointerup",function(n){(!(g=a(n,"up"))||o(n))&&(i(),h.x2&&Math.abs(h.x1-h.x2)>30||h.y2&&Math.abs(h.y1-h.y2)>30?c=setTimeout(function(){h.el.trigger("swipe"),h.el.trigger("swipe"+e(h.x1,h.x2,h.y1,h.y2)),h={}},0):"last"in h&&(30>y&&30>b?u=setTimeout(function(){var e=t.Event("tap");e.cancelTouch=r,h.el.trigger(e),h.isDoubleTap?(h.el&&h.el.trigger("doubleTap"),h={}):s=setTimeout(function(){s=null,h.el&&h.el.trigger("singleTap"),h={}},250)},0):h={}),y=b=0)}).on("touchcancel MSPointerCancel pointercancel",r),t(window).on("scroll",r)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(e){t.fn[e]=function(t){return this.on(e,t)}})}(Zepto); \ No newline at end of file diff --git a/post/1.html b/post/1.html new file mode 100644 index 0000000..8eeba18 --- /dev/null +++ b/post/1.html @@ -0,0 +1,108 @@ + + + + + 房贷计算器是房贷的辅助工具 + + + + + + + + + + + + +
+
+ +
+
+
+
+
+
+ + 房贷计算器是一种方便实用的软件 +
+ +
+
+
+
+
+

房贷计算器是一种方便实用的软件

+

+
+ 房贷计算器是一种方便实用的软件,可以帮助购房者快速计算房贷的利率、每月还款金额以及总还款金额等信息。在购房过程中,房贷计算器可以帮助购房者更好地了解房贷的情况,从而做出更明智的购房决策。 + +
+ 房贷计算器的优点有很多,以下是一些主要的方面: + +
+
+ 方便实用:房贷计算器只需要输入几个关键信息,如贷款金额、首付比例、还款期限等,就可以快速得到计算结果,非常方便实用。 +
+
+ 精准计算:房贷计算器可以精确地计算出每月的还款金额、总还款金额以及利息支出等重要信息,避免因误差而造成的误解。 +
+
+ 多种贷款类型:房贷计算器可以支持商业贷款、公积金贷款、组合贷款等多种类型的贷款,满足不同人群的需求。 +
+ +
+
+ +
+
+
+ + +
+ + + diff --git a/post/2.html b/post/2.html new file mode 100644 index 0000000..bc6563b --- /dev/null +++ b/post/2.html @@ -0,0 +1,105 @@ + + + + + 等额本金和等额本息是两种不同的房贷还款方式 + + + + + + + + + + + + +
+
+ +
+
+
+
+
+
+ + 等额本金和等额本息是两种不同的房贷还款方式 +
+ +
+
+
+
+
+

等额本金和等额本息是两种不同的房贷还款方式

+

+
+
+
+ 等额本金和等额本息是两种不同的房贷还款方式,各有优劣,需要根据自身实际情况选择12。 +
+
+ 等额本息是每月偿还相同的本息,简单计算公式为:每月还款金额=(贷款本金÷还款月数)+(本金-已归还本金累计额)×月利率。该方式适合收入稳定的家庭,前期还款压力较小,但利息支出总额相对较高。 +
+
+ 等额本金是每月偿还相同的本金和剩余利息,计算公式为:每月还款金额=(本金÷还款月数)+(本金×月利率)。该方式适合有一定资金实力,前期还款压力较大的家庭,因为利息支出总额相对较少。 +
+
+ 举例来说,假设房贷本金100万,贷款期限30年,贷款年利率4.9%,等额本金的利息是73.7万,等额本息的利息是91.06万,等额本金比等额本息少了17.36万利息,因此房贷选等额本金更划算。 + +
+
+ +
+
+
+ + +
+ + + diff --git a/post/3.html b/post/3.html new file mode 100644 index 0000000..93d5202 --- /dev/null +++ b/post/3.html @@ -0,0 +1,104 @@ + + + + + 公积金和住房补贴的区别 + + + + + + + + + + + + +
+
+ +
+
+
+
+
+
+ + 公积金和住房补贴的区别 +
+ +
+
+
+
+
+

公积金和住房补贴的区别

+

+
+ + 公积金和住房补贴的区别如下: + +

+ 对象范围不同:住房公积金的建立范围基本上是各单位的全体在职职工,离退休职工不建立。住房补贴的发放对象范围是各单位的无房职工和住房面积未达到其职级所对应的住房补贴面积标准的职工,包括离退休职工,是全体职工中的一部分职工。 +

+ + 构成不同:住房公积金是由职工个人从工资中扣缴和单位资助两部分构成。住房补贴是由单位单方面给予职工的资助,不需职工个人从工资中作扣缴。住房补贴是为了解决员工住房问题,住房公积金则是为了解决员工退休或者失去劳动能力以后居住问题。 +

+ + 额度不同:住房补贴由单位单方面给予职工资助,住房公积金由职工工资扣缴以及单位资助。住房补贴额为每平米补贴额乘以面积,住房公积金额为职工本人上年度月平均工资乘以缴存比例。 + +
+
+ +
+
+
+ + +
+ + + diff --git a/post/4.html b/post/4.html new file mode 100644 index 0000000..0c87aa0 --- /dev/null +++ b/post/4.html @@ -0,0 +1,106 @@ + + + + + 房贷没有及时偿还怎么办 + + + + + + + + + + + + +
+
+ +
+
+
+
+
+
+ + 房贷没有及时偿还怎么办 +
+ +
+
+
+
+
+

房贷没有及时偿还,可以尝试以下补救办法

+

+
+ + 房贷没有及时偿还,可以尝试以下补救办法: + +

+ 向银行申请暂停还款:如果因为一些原因导致家庭财务紧张,可以向银行申请暂停还款,不过这个暂停还款只能暂停几期。而且只是先暂停还本金,每个月的利息还是要给的。但是这种情况下也能稍微环节一下压力。趁这段时间,赶紧找工作,想办法开源,把房贷还上。 +

+ + 向银行申请延长借款期限:除了暂停还款以外,还可以申请延长还款期限。虽说这样利息成本就更高,但是分担到每个月的压力就少了很多。 +

+ + 向银行申请贷款展期:如果借款人因为一些不可抗力因素导致无法按时偿还贷款,可以向银行提出贷款展期申请。 +

+ + 及时补缴逾期款项:如果已经逾期了,应该及时将逾期款项补缴完毕,以避免进一步的损失。 +
+
+ +
+
+
+ + +
+ + +