移动端购房工具--汇率计算的实现

先来看看效果

技术分享图片

技术分享图片

技术分享图片

技术分享图片

html:

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="format-detection" content="telephone=no,email=no" />
<title>汇率换算</title>
<link rel="stylesheet" type="text/css" href="resource/css/hl/hl.css"/>
<script>
!function(a,b){function c(){var b=f.getBoundingClientRect().width;b/i>540&&(b=540*i);var c=b/10;f.style.fontSize=c+"px",k.rem=a.rem=c}var d,e=a.document,f=e.documentElement,g=e.querySelector(‘meta[name="viewport"]‘),h=e.querySelector(‘meta[name="flexible"]‘),i=0,j=0,k=b.flexible||(b.flexible={});if(g){console.warn("将根据已有的meta标签来设置缩放比例");var l=g.getAttribute("content").match(/initial\-scale=([\d\.]+)/);l&&(j=parseFloat(l[1]),i=parseInt(1/j))}else if(h){var m=h.getAttribute("content");if(m){var n=m.match(/initial\-dpr=([\d\.]+)/),o=m.match(/maximum\-dpr=([\d\.]+)/);n&&(i=parseFloat(n[1]),j=parseFloat((1/i).toFixed(2))),o&&(i=parseFloat(o[1]),j=parseFloat((1/i).toFixed(2)))}}if(!i&&!j){var p=(a.navigator.appVersion.match(/android/gi),a.navigator.appVersion.match(/iphone/gi)),q=a.devicePixelRatio;i=p?q>=3&&(!i||i>=3)?3:q>=2&&(!i||i>=2)?2:1:1,j=1/i}if(f.setAttribute("data-dpr",i),!g)if(g=e.createElement("meta"),g.setAttribute("name","viewport"),g.setAttribute("content","initial-scale="+j+", maximum-scale="+j+", minimum-scale="+j+", user-scalable=no"),f.firstElementChild)f.firstElementChild.appendChild(g);else{var r=e.createElement("div");r.appendChild(g),e.write(r.innerHTML)}a.addEventListener("resize",function(){clearTimeout(d),d=setTimeout(c,300)},!1),a.addEventListener("pageshow",function(a){a.persisted&&(clearTimeout(d),d=setTimeout(c,300))},!1),"complete"===e.readyState?e.body.style.fontSize=12*i+"px":e.addEventListener("DOMContentLoaded",function(){e.body.style.fontSize=12*i+"px"},!1),c(),k.dpr=a.dpr=i,k.refreshRem=c,k.rem2px=function(a){var b=parseFloat(a)*this.rem;return"string"==typeof a&&a.match(/rem$/)&&(b+="px"),b},k.px2rem=function(a){var b=parseFloat(a)/this.rem;return"string"==typeof a&&a.match(/px$/)&&(b+="rem"),b}}(window,window.lib||(window.lib={}));
</script>
<script src="resource/js/lib/jquery.min.js" type="text/javascript"></script>
<script src="resource/js/lib/scroll-probe.js" type="text/javascript"></script>
</head>
<body>
<!--header start-->
<header class="trade-header">
<section class="header-wrap">
<a href="javascript:void(history.back());" class="wap-back"></a>
<p>汇率换算</p>
<!--<a href="income.html" class="header-trade">链接</a>-->
</section>
</header>
<!--header end-->
<div class="wrap">
<div class="hl-item">
<div class="hl-select-up bzhl">
<button>
<div class="hl-countryname">
马来西亚林吉特㎡ YR
</div>
<div class="hl-jiantou">></div>
</button>
</div>
<input type="number" id="bzh-input" class="input" value="1" autofocus="autofocus"/>
<span class="input-delico"></span>
</div>

<div class="hl-item">
<div class="hl-select-up zhl">
<button>
<div class="hl-countryname">
人名币CNY
</div>
<div class="hl-jiantou">></div>
</button>
</div>
<input type="number" id="zh-input" class="input"/>
<span class="input-delico"></span>
</div>
<div class="hl-tips">
数据仅供参考,更新时间:<span>2017-02-25</span>
</div>
<button class="hl-button" id="hl-submit" disabled="disabled">确认</button>
</div>
<!--页面 end-->
<div class="select-wrap">
<div class="hl-search">
<div class="hl-search-input-wrap">
<span class="hl-search-ico"></span>
<input type="text" placeholder="输入货币名称,币种缩写" class="hl-search-input"/>
<span class="hl-search-input-delico"></span>
</div>
<button class="hl-qx">取消</button>
</div>
<div class="hb-item-title-fixed"></div>
<div class="seachResout"></div>
<div class="nodata">
没有找到"<span class="nodataval"></span>"相关结果
</div>
<div class="silder" id="wrapper">
<div class="scroll" id="Scroll">

</div>
</div>

</div>
<!--<div class="mask"></div>-->
<script src="resource/js/lib/url.js" type="text/javascript"></script>
<script src="resource/js/hl/hl.js" type="text/javascript"></script>

</body>
</html>

css:

@charset "UTF-8";
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;
-webkit-tap-highlight-color: transparent; }

*:not(input, textarea) {
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none; }

html, body, ul, ol, li, dl, dt, dd, p, h1, h2, h3, h4, h5, h6, a, img, th, td, form, fieldset, iframe, object, pre, code, legend, blockquote {
margin: 0;
padding: 0;
border: 0;
outline: 0; }

html, body {
width: 100%;
height: 100%; }

html {
color: #000;
background: #fff;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%; }

body {
word-wrap: break-word; }

body, button, input, select, textarea {
font: 400 12px/1.5 ‘PingFang SC‘, ‘HelveticaLight‘, ‘Helvetica Neue‘, ‘Microsoft Yahei‘,‘Heiti SC‘, tahoma,arial,sans-serif; }

ol, ul, li {
list-style: none; }

table {
border-collapse: collapse;
border-spacing: 0; }

a {
color: #333;
text-decoration: none;
border: none;
outline: none; }

a:hover {
text-decoration: none; }

img {
border: none;
vertical-align: middle; }

button,
input[type=button],
input[type=submit],
input[type=text] {
cursor: pointer;
outline: none;
-webkit-appearance: none;
appearance: none; }

input:focus {
outline: none; }

button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0; }

h1, h2, h3, h4, h5, h6 {
font-size: 100%; }

/* clear float */
.clearfix:after {
display: block;
content: "";
height: 0;
clear: both;
visibility: hidden; }

.clearfix {
zoom: 1; }

/*表单*/
input, textarea {
-webkit-appearance: none;
appearance: none;
border-radius: 0; }

button {
border: none; }

/*缩放1px为0.5px*/
.trade-header {
position: fixed;
left: 0;
top: 0;
border-bottom: 1px solid #ddd;
background: #fff;
width: 100%;
height: 1.16rem;
z-index: 99; }

.header-wrap {
position: relative; }
.header-wrap .wap-back {
position: absolute;
top: 0;
left: 0.32rem;
display: block;
width: 0.306666rem;
height: 0.573333rem;
background: url(../../images/htj-back.png) no-repeat;
background-size: contain; }
.header-wrap p {
margin-top: 0.293333rem;
text-align: center;
font-size: 0.453333rem;
color: #4c566c; }
.header-wrap .header-trade {
position: absolute;
top: 0;
right: 0.32rem;
margin-top: 0;
font-size: 0.4rem; }

.select-wrap {
position: fixed;
width: 100%;
height: 100%;
top: 100%;
left: 0;
background-color: #f7f9ff;
padding-top: 1.16rem;
transition: all .6s; }

.hl-search-input {
outline: none;
border: 0;
padding: 0.213333rem 0; }

.hl-search-input-wrap {
width: 8.24rem;
border: 1px solid #d3d6de;
border-radius: 1.066666rem;
margin: 0.266666rem 0;
display: flex;
align-items: center;
justify-content: center;
position: relative;
padding: 0 0.266666rem;
overflow: hidden; }
.hl-search-input-wrap .hl-search-ico {
flex: 0 0 0 0.346666rem;
background: url(../../images/Search-Icon.png) no-repeat;
width: 0.346666rem;
height: 0.346666rem;
background-size: 100% 100%; }
.hl-search-input-wrap .hl-search-input {
width: 100%;
text-indent: 0.133333rem; }
.hl-search-input-wrap .hl-search-input-delico {
background: url(../../images/close.png) no-repeat;
width: 0.44rem;
height: 0.44rem;
position: absolute;
background-size: 100% 100%;
right: 0.266666rem;
top: 50%;
margin-top: -0.22rem;
visibility: hidden; }
.hl-search-input-wrap .del-show {
visibility: visible; }

.hl-search {
display: flex;
align-items: center;
justify-content: center;
background-color: #fff; }

.hl-qx {
font-size: 0.4rem;
color: #4c566c;
background-color: transparent;
outline: none;
border: 0;
width: 1.13333rem;
padding: 0; }

.silder {
width: 100%;
height: 100%;
overflow: hidden;
background-color: #fff; }
.silder .scroll {
padding-bottom: 58px; }

.hb-item-title-wrap {
height: 0.506666rem;
width: 100%; }

.hb-item-title {
padding: 0 0.266666rem;
background-color: #f7f9ff;
font-size: 0.32rem;
color: #949aa7;
height: 0.506666rem;
line-height: 0.506666rem; }

.hb-item-title-fixed {
padding: 0 0.266666rem;
position: fixed;
top: 2.633333rem;
height: 0.506666rem;
line-height: 0.506666rem;
left: 0;
width: 100%;
color: #c8a663;
background-color: #fff;
border-bottom: 1px solid #e5e5e5;
z-index: 20;
box-sizing: border-box;
display: none; }

.hb-item-select {
padding: 0.4rem 0.266666rem;
border-bottom: 1px solid #e5e5e5;
font-size: 0.426666rem;
color: #262b36; }

.seachResout {
display: none;
background-color: #fff; }

.seachResout-item {
padding: 0.4rem 0.266666rem;
border-bottom: 1px solid #e5e5e5;
font-size: 0.426666rem;
color: #262b36; }

.nodata {
display: none;
padding: 1.386666rem 0;
width: 100%;
font-size: 0.426666rem;
color: #262b36;
text-align: center; }

.sildernav {
width: 0.666666rem;
position: fixed;
top: 3.3rem;
right: 0.166666rem;
z-index: 20;
text-align: center;
display: none; }
.sildernav a {
font-size: 0.32rem;
color: #949aa7;
display: block;
width: 0.4rem;
height: 0.4rem;
border-radius: 0.4rem;
text-align: center;
line-height: 0.4rem; }
.sildernav .nowitem {
background-color: #c8a663;
color: #fff; }

.sildernav-inner {
position: relative; }

.letter {
position: absolute;
width: 1.653333rem;
height: 1.373333rem;
background: url(../../images/qipao.png);
background-size: 100% 100%;
right: 0.866666rem;
top: -0.5rem;
opacity: 0;
text-align: center;
line-height: 1.373333rem;
color: #fff;
font-size: 0.746666rem;
box-sizing: border-box;
padding-right: 0.133333rem; }

.wrap {
width: 100%;
height: 100%;
background-color: #f7f9ff;
padding-top: 1.16rem; }

.hl-item {
width: 100%;
padding: 0.4rem;
background-color: #fff;
border-bottom: 1px solid #e5e5e5;
position: relative; }

.hl-select-up {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 0.373333rem;
color: #262b36;
width: 4.6rem;
border: 1px solid #999;
border-radius: 0.133333rem;
box-sizing: border-box;
padding: 0.213333rem 0.266666rem; }
.hl-select-up button {
width: 100%;
height: 100%;
outline: none;
border: 0;
background-color: transparent;
display: flex;
align-items: center;
justify-content: space-between; }

.input {
width: 100%;
outline: none;
border: 0;
padding: 0.186666rem;
margin: 0.4rem 0;
font-size: 0.613333rem;
color: #262b36; }

.hl-tips {
font-size: 0.266666rem;
color: #999;
text-align: center;
margin-top: 0.32rem; }

.hl-button {
width: 8.773333rem;
height: 1.2rem;
border-radius: 0.133333rem;
outline: none;
border: 0;
font-size: 0.453333rem;
color: #fff;
margin: 0 auto;
display: block;
margin-top: 1.093333rem;
background-color: #366bca;
visibility: hidden; }

.hl-button[disabled] {
background-color: #d3d6de; }

.input-delico {
background: url(../../images/close.png) no-repeat;
width: 0.44rem;
height: 0.44rem;
position: absolute;
background-size: 100% 100%;
right: 0.266666rem;
top: 50%;
margin-top: 0.2rem;
display: none; }

/*# sourceMappingURL=hl.css.map */

js:

$(function(){
var myScroll;
var strChineseFirstPY = "YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXF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YFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY";
var oMultiDiff={"19969":"DZ","19975":"WM","19988":"QJ","20048":"YL","20056":"SC","20060":"NM","20094":"QG","20127":"QJ","20167":"QC","20193":"YG","20250":"KH","20256":"ZC","20282":"SC","20285":"QJG","20291":"TD","20314":"YD","20340":"NE","20375":"TD","20389":"YJ","20391":"CZ","20415":"PB","20446":"YS","20447":"SQ","20504":"TC","20608":"KG","20854":"QJ","20857":"ZC","20911":"PF","20504":"TC","20608":"KG","20854":"QJ","20857":"ZC","20911":"PF","20985":"AW","21032":"PB","21048":"XQ","21049":"SC","21089":"YS","21119":"JC","21242":"SB","21273":"SC","21305":"YP","21306":"QO","21330":"ZC","21333":"SDC","21345":"QK","21378":"CA","21397":"SC","21414":"XS","21442":"SC","21477":"JG","21480":"TD","21484":"ZS","21494":"YX","21505":"YX","21512":"HG","21523":"XH","21537":"PB","21542":"PF","21549":"KH","21571":"E","21574":"DA","21588":"TD","21589":"O","21618":"ZC","21621":"KHA","21632":"ZJ","21654":"KG","21679":"LKG","21683":"KH","21710":"A","21719":"YH","21734":"WOE","21769":"A","21780":"WN","21804":"XH","21834":"A","21899":"ZD","21903":"RN","21908":"WO","21939":"ZC","21956":"SA","21964":"YA","21970":"TD","22003":"A","22031":"JG","22040":"XS","22060":"ZC","22066":"ZC","22079":"MH","22129":"XJ","22179":"XA","22237":"NJ","22244":"TD","22280":"JQ","22300":"YH","22313":"XW","22331":"YQ","22343":"YJ","22351":"PH","22395":"DC","22412":"TD","22484":"PB","22500":"PB","22534":"ZD","22549":"DH","22561":"PB","22612":"TD","22771":"KQ","22831":"HB","22841":"JG","22855":"QJ","22865":"XQ","23013":"ML","23081":"WM","23487":"SX","23558":"QJ","23561":"YW","23586":"YW","23614":"YW","23615":"SN","23631":"PB","23646":"ZS","23663":"ZT","23673":"YG","23762":"TD","23769":"ZS","23780":"QJ","23884":"QK","24055":"XH","24113":"DC","24162":"ZC","24191":"GA","24273":"QJ","24324":"NL","24377":"TD","24378":"QJ","24439":"PF","24554":"ZS","24683":"TD","24694":"WE","24733":"LK","24925":"TN","25094":"ZG","25100":"XQ","25103":"XH","25153":"PB","25170":"PB","25179":"KG","25203":"PB","25240":"ZS","25282":"FB","25303":"NA","25324":"KG","25341":"ZY","25373":"WZ","25375":"XJ","25384":"A","25457":"A","25528":"SD","25530":"SC","25552":"TD","25774":"ZC","25874":"ZC","26044":"YW","26080":"WM","26292":"PB","26333":"PB","26355":"ZY","26366":"CZ","26397":"ZC","26399":"QJ","26415":"ZS","26451":"SB","26526":"ZC","26552":"JG","26561":"TD","26588":"JG","26597":"CZ","26629":"ZS","26638":"YL","26646":"XQ","26653":"KG","26657":"XJ","26727":"HG","26894":"ZC","26937":"ZS","26946":"ZC","26999":"KJ","27099":"KJ","27449":"YQ","27481":"XS","27542":"ZS","27663":"ZS","27748":"TS","27784":"SC","27788":"ZD","27795":"TD","27812":"O","27850":"PB","27852":"MB","27895":"SL","27898":"PL","27973":"QJ","27981":"KH","27986":"HX","27994":"XJ","28044":"YC","28065":"WG","28177":"SM","28267":"QJ","28291":"KH","28337":"ZQ","28463":"TL","28548":"DC","28601":"TD","28689":"PB","28805":"JG","28820":"QG","28846":"PB","28952":"TD","28975":"ZC","29100":"A","29325":"QJ","29575":"SL","29602":"FB","30010":"TD","30044":"CX","30058":"PF","30091":"YSP","30111":"YN","30229":"XJ","30427":"SC","30465":"SX","30631":"YQ","30655":"QJ","30684":"QJG","30707":"SD","30729":"XH","30796":"LG","30917":"PB","31074":"NM","31085":"JZ","31109":"SC","31181":"ZC","31192":"MLB","31293":"JQ","31400":"YX","31584":"YJ","31896":"ZN","31909":"ZY","31995":"XJ","32321":"PF","32327":"ZY","32418":"HG","32420":"XQ","32421":"HG","32438":"LG","32473":"GJ","32488":"TD","32521":"QJ","32527":"PB","32562":"ZSQ","32564":"JZ","32735":"ZD","32793":"PB","33071":"PF","33098":"XL","33100":"YA","33152":"PB","33261":"CX","33324":"BP","33333":"TD","33406":"YA","33426":"WM","33432":"PB","33445":"JG","33486":"ZN","33493":"TS","33507":"QJ","33540":"QJ","33544":"ZC","33564":"XQ","33617":"YT","33632":"QJ","33636":"XH","33637":"YX","33694":"WG","33705":"PF","33728":"YW","33882":"SR","34067":"WM","34074":"YW","34121":"QJ","34255":"ZC","34259":"XL","34425":"JH","34430":"XH","34485":"KH","34503":"YS","34532":"HG","34552":"XS","34558":"YE","34593":"ZL","34660":"YQ","34892":"XH","34928":"SC","34999":"QJ","35048":"PB","35059":"SC","35098":"ZC","35203":"TQ","35265":"JX","35299":"JX","35782":"SZ","35828":"YS","35830":"E","35843":"TD","35895":"YG","35977":"MH","36158":"JG","36228":"QJ","36426":"XQ","36466":"DC","36710":"JC","36711":"ZYG","36767":"PB","36866":"SK","36951":"YW","37034":"YX","37063":"XH","37218":"ZC","37325":"ZC","38063":"PB","38079":"TD","38085":"QY","38107":"DC","38116":"TD","38123":"YD","38224":"HG","38241":"XTC","38271":"ZC","38415":"YE","38426":"KH","38461":"YD","38463":"AE","38466":"PB","38477":"XJ","38518":"YT","38551":"WK","38585":"ZC","38704":"XS","38739":"LJ","38761":"GJ","38808":"SQ","39048":"JG","39049":"XJ","39052":"HG","39076":"CZ","39271":"XT","39534":"TD","39552":"TD","39584":"PB","39647":"SB","39730":"LG","39748":"TPB","40109":"ZQ","40479":"ND","40516":"HG","40536":"HG","40583":"QJ","40765":"YQ","40784":"QJ","40840":"YK","40863":"QJG"};
function makePy(str) {
if (typeof(str) != "string") throw new Error( - 1, "函数makePy需要字符串类型参数!");
var arrResult = new Array();
for (var i = 0,
len = str.length; i < len; i++) {
var ch = str.charAt(i);
arrResult.push(checkCh(ch));
}
return mkRslt(arrResult);
}
function checkCh(ch) {
var uni = ch.charCodeAt(0);
if (uni > 40869 || uni < 19968) return ch;
return (oMultiDiff[uni] ? oMultiDiff[uni] : (strChineseFirstPY.charAt(uni - 19968)));
}
function mkRslt(arr) {
var arrRslt = [""];
for (var i = 0,len = arr.length; i < len; i++) {
var str = arr[i];
var strlen = str.length;
if (strlen == 1) {
for (var k = 0; k < arrRslt.length; k++) {
arrRslt[k] += str;
}
} else {
var tmpArr = arrRslt.slice(0);
arrRslt = [];
for (k = 0; k < strlen; k++) {
var tmp = tmpArr.slice(0);
for (var j = 0; j < tmp.length; j++) {
tmp[j] += str.charAt(k);
}
arrRslt = arrRslt.concat(tmp);
}
}
}
return arrRslt;
}
function addDom(code,data){
var item = $(‘<div class="hb-item"></div>‘);
item.attr("id",code);
var itemTitlewrap = $(‘<div class="hb-item-title-wrap"></div>‘);
var itemTitle = $(‘<div class="hb-item-title">‘+code+‘</div>‘);
itemTitle.appendTo(itemTitlewrap);
itemTitlewrap.appendTo(item);
for(var i = 0; i < data.length; i++){
var dataitem = data[i];
var itemSelect = $(‘<div class="hb-item-select">‘+dataitem.currencyName +"(" + dataitem.currencyNo +")"+‘</div>‘);
itemSelect.attr("RelativeValues",dataitem.exchangeRate);
itemSelect.attr("countryname", dataitem.currencyName);
itemSelect.attr("currencyNo", dataitem.currencyNo);
itemSelect.appendTo(item);
}
item.appendTo($("#Scroll"));


}
$(".input").on("input",function(e){
var val = $(this).val();
if(val==0){
$(this).val(val.substring(0,1));
return false;
}
if(val.indexOf(".") != -1){
valArr = val.split(".");
if(valArr[1].length > 4){
valArr[1] = valArr[1].substring(0,4);
val = valArr.join(".");
}
}
$(this).val(val);
})
var letter = $("<div class=‘letter‘></div>");
var CodeArr = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];
function addSilderNav(){
var silderNav = $("<div class=‘sildernav‘></div>");
var silderNavInner = $("<div class=‘sildernav-inner‘></div>");
for(var i=0; i < CodeArr.length;i++){
var _a = $(‘<a></a>‘);
_a.on("touchstart",function(){
anchorJump(this)
});
_a.text(CodeArr[i]);
_a.attr("name",CodeArr[i]);

_a.appendTo(silderNavInner);

}
silderNavInner.appendTo(silderNav);
letter.appendTo(silderNavInner);
silderNav.appendTo($(".select-wrap"));
silderNavInner.on("touchmove",function(){
move();

})
silderNavInner.on("touchend",function(){
touchEnd()
})
}
addSilderNav();
function anchorJump(n){
var text = $(n).text();
if (text.length < 2) {
var id = ‘#‘ + text;
$(‘.letter‘).text(text)
$(‘.letter‘).css({‘opacity‘:‘ 1‘})
if($(id).length == 0){
return false;
}
myScroll.scrollToElement(document.querySelector(id),10);
}
}
function move() {
event.preventDefault();
var dom = document.elementFromPoint(event.changedTouches[0].clientX,event.changedTouches[0].clientY);
if(dom.tagName != "A"){
return false;
}
$(dom).siblings().removeClass("nowitem");
$(dom).addClass("nowitem");
anchorJump(dom);
console.log($(dom).position().top)
$(".letter").offset({
"top":($(dom).position().top+106)
});
myScroll.refresh();
}
function touchEnd() {
var opcityNum = 1;
$(".sildernav").find("a").removeClass("nowitem");
myScroll.refresh();
setInterval(function () {
opcityNum -= 0.1;

if (opcityNum > 0) {
$(‘.letter‘).css({‘opacity‘: opcityNum});
myScroll.refresh();
} else {
clearInterval();
}
},50)
}
function addData(data){
for(var i = 0;i < CodeArr.length; i++){
var codePy = CodeArr[i];
var itemArr = data[codePy];
if(itemArr.length != 0){
addDom(codePy,itemArr);
}
}
}
var ajaxUrl = _url+"/hwfclist/curlist.htm";

var DataObj = {};
var allData = [];
$.ajax({
type: "get",
url: ajaxUrl,
async: true,
dataType: "jsonp",
jsonp: "callback",
jsonpCallback: "success_jsonpCallback",
crossDomain: true,
success: function(data) {
allData = data;
for(var j = 0; j < CodeArr.length; j++){
var code = CodeArr[j];
var codeItemArr = [];
for(var i = 0; i < data.length; i++) {
var CurrencyName = data[i].currencyName;
var CurrencyNo = data[i].currencyNo;
if(CurrencyNo == "CNY"){
$(".zhl").attr("currencyno",CurrencyNo);
$(".zhl").attr("relativevalues",data[i].exchangeRate);
$(".zhl").find(".hl-countryname").text(CurrencyName+" "+CurrencyNo);
}
if(CurrencyNo == "USD"){
$(".bzhl").attr("currencyno",CurrencyNo);
$(".bzhl").attr("relativevalues",data[i].exchangeRate);
$(".bzhl").find(".hl-countryname").text(CurrencyName+" "+CurrencyNo);
}

var firstCode = CurrencyName.substring(0,1);
var codePy = makePy(firstCode);
if(codePy[0] == code){
codeItemArr.push(data[i]);
}
}
DataObj[code] = codeItemArr;
}
addData(DataObj);
myScroll = new IScroll(‘#wrapper‘, {
mouseWheel: true,
click: true,
tap: true,
scrollY: true,
probeType: 2,
preventDefault: false
});
$(".hb-item-select").click(function(){
pageSelectdom.attr("relativevalues",$(this).attr("relativevalues"));
pageSelectdom.attr("currencyno",$(this).attr("currencyno"));
pageSelectdom.find(".hl-countryname").text($(this).attr("countryname")+" "+$(this).attr("currencyno"))
colseSelect();
$(".sildernav").hide(600);
nowInput = pageSelectdom.next("input");
pageSelectdom="";
$(".hb-item-title-fixed").hide();
$("#hl-submit").trigger("click");
});
myScroll.on("scroll",function(){
$(".hb-item-title-fixed").show();
var domArr = $(".hb-item");
for(var i=0;i<domArr.length;i++){
var dom = $(domArr[i]);
var top = dom.position().top;
var H = -(dom.height());
if(top >= 0 && top <=100){
$(".sildernav a").removeClass("nowitem");
$(".sildernav a[name=‘"+dom.attr("id")+"‘]").addClass("nowitem");
$(".hb-item-title-fixed").text(dom.attr("id"));
}
}
if(this.y >= 0){
$(".sildernav a").removeClass("nowitem");
$(".hb-item-title-fixed").hide();
}
});
myScroll.on("scrollEnd",function(){
$(".hb-item-title-fixed").show();
var domArr = $(".hb-item");
for(var i=0;i<domArr.length;i++){
var dom = $(domArr[i]);
var top = dom.position().top;
var H = -(dom.height());
if(top >= 0 && top <=100){
$(".sildernav a").removeClass("nowitem");
$(".sildernav a[name=‘"+dom.attr("id")+"‘]").addClass("nowitem");
$(".hb-item-title-fixed").text(dom.attr("id"));
}
}
if(this.y >= 0){
$(".sildernav a").removeClass("nowitem");
$(".hb-item-title-fixed").hide();
}
});
$("#hl-submit").trigger("click");
$("#bzh-input").trigger("click");


},
error: function(err) {
alert("系统错误请稍后再试");
}
});
$("#bzh-input").on("click",function(){
setTimeout(function(){
$("#bzh-input").focus();
},200)
})
var pageSelectdom = "";
function colseSelect(){
$(".select-wrap").css("top","100%");
}
function showSelect(){
$(".select-wrap").css("top","0");
}
$(".hl-search-input").on("keyup",function(){

});
$(".hl-qx").on("touchend",function(){
colseSelect();
$(".sildernav").hide(600);
pageSelectdom="";
$(".hb-item-title-fixed").hide();
$(".hl-search-input").val("");
showList();
$(".nodata").hide();
$(".sildernav").hide();
$(".hl-search-input-delico").removeClass("del-show");
});

$(".hl-select-up").on("touchend",function(){
showSelect();
$(".sildernav").show(600);
pageSelectdom = $(this);
});


//查询模块
function hideList(){
$("#wrapper").hide();
$(".sildernav").hide();
}
function showList(){
$("#wrapper").show();
$(".sildernav").show();
}
function addSearchItem(dataitem){
var searchItem = $(‘<div class="seachResout-item">‘+dataitem.currencyName +"(" + dataitem.currencyNo +")"+‘</div>‘);
searchItem.attr("RelativeValues",dataitem.exchangeRate);
searchItem.attr("countryname", dataitem.currencyName);
searchItem.attr("currencyNo", dataitem.currencyNo);
searchItem.appendTo($(".seachResout"));
$(".seachResout .seachResout-item").click(function(){

if(pageSelectdom=="")return false;
pageSelectdom.attr("relativevalues",$(this).attr("relativevalues"));
pageSelectdom.attr("currencyno",$(this).attr("currencyno"));
pageSelectdom.find(".hl-countryname").text($(this).attr("countryname")+" "+$(this).attr("currencyno"))
colseSelect();

$(".hl-search-input").val("");
showList();
$(".seachResout").hide();
$(".hl-search-input-delico").removeClass("del-show");
nowInput = pageSelectdom.next("input");
pageSelectdom="";
$("#hl-submit").trigger("click");
$(".sildernav").hide();
});
}
function searchZH(txt){
for(var i = 0;i<allData.length; i++){
var dataitem = allData[i];
var cName = dataitem.currencyName;
if(cName.indexOf(txt) != -1){
addSearchItem(dataitem);
}
}
}
function searchEH(txt){
txt = txt.toUpperCase();
for(var i = 0;i<allData.length; i++){
var dataitem = allData[i];
var cName = dataitem.currencyNo;
if(cName.indexOf(txt) != -1){
addSearchItem(dataitem);
}
}
}
document.querySelector(".hl-search-input").addEventListener("compositionend",function(){
$(".nodata").find("span").text("");
$(".nodata").hide();
var val = $(this).val();
$(".seachResout-item").remove();
if (escape(val).indexOf(‘%u‘) != -1) {
searchZH(val);
} else {
searchEH(val);
}
if($(".seachResout-item").length == 0){
$(".nodata").find("span").text(val);
$(".nodata").show()
}
})
$(".hl-search-input").on("input",function(){
$(".nodata").find("span").text("");
$(".nodata").hide();
var val = $(this).val();
$(".hb-item-title-fixed").hide();
if(val.length==0){
showList();
$(".seachResout").hide();
$(".hl-search-input-delico").removeClass("del-show");
if($(".hb-item-title-fixed").text()!=""){
$(".hb-item-title-fixed").show();
}

return false;
}
hideList();
$(".seachResout").show();
$(".hl-search-input-delico").addClass("del-show");
if (escape(val).indexOf(‘%u‘) != -1) {
//searchZH(val);
} else {
$(".seachResout-item").remove();
searchEH(val);
}
if($(".seachResout-item").length == 0){
$(".nodata").find("span").text(val);
$(".nodata").show();
}
})
$(".hl-search-input-delico").on("touchend",function(){
$(".nodata").find("span").text("");
$(".nodata").hide();
$(".hl-search-input").val("");
showList();
$(".seachResout").hide();
$(".hl-search-input-delico").removClass("del-show");
$(".hl-search-input").focus();
});

//页面输入框处理
var nowInput = null;
$(".input").on("input",function(){
nowInput = $(this);
var val = $(this).val();
if(val.length > 13){
$(this).val(val.substring(0,13));
}
var index = $(".input").index($(this));
$(this).next(".input-delico").show();
if(val.length == 0){
$(this).next(".input-delico").hide();
$(".input").removeAttr("readonly");
$("#hl-submit").attr("disabled","disabled");
return false;
}
if(val.substring(0,1) == 0){
$(this).val(val.substring(0,1));
}
if(index == 0){
$($(".input").get(1)).attr("readonly","readonly");
}
if(index == 1){
$($(".input").get(0)).attr("readonly","readonly");
}
$("#hl-submit").removeAttr("disabled");
$("#hl-submit").trigger("click");
});
$(".input").blur(function(){
$(this).next(".input-delico").hide();
});
$(".input").focus(function(){
var val = $(this).val();
if(val.length!= 0){
$(this).next(".input-delico").show();
}

});
$(".input").on("change",function(){
var index = $(".input").index($(this));
var val = $(this).val();
if(index == 0){
if(val != 1){
$(this).next(".input-delico").show();
}else{
$(this).next(".input-delico").hide();
}
}
if(index == 1){
if(val != ""){
$(this).next(".input-delico").show();
}else{
$(this).next(".input-delico").hide();
}
}

});
$(".input-delico").on("touchend",function(){
$(this).hide();
$(this).prev(".input").val("");
$(this).prev(".input").focus();
$("#hl-submit").attr("disabled","disabled");
$(".input").removeAttr("readonly");
});

$("#hl-submit").click(function(){
var up = $("#bzh-input").val();
var down = $("#zh-input").val();
var bzhl = $(".bzhl").attr("RelativeValues");
var zhl = $(".zhl").attr("RelativeValues");
if(nowInput!=null){
$(".input").removeAttr("readonly");
}
if(nowInput==null){
nowInput = $("#bzh-input");
};
var index = $(".input").index($(nowInput));
if(index == 0){
$("#zh-input").val((up*(bzhl/zhl)).toFixed(4));
}
if(index == 1){
$("#bzh-input").val((down*(zhl/bzhl)).toFixed(4));
}
});

document.addEventListener(‘touchmove‘, function(e) {
e.preventDefault();
}, false);
})

url.js

var str = location.href;
var durl=/http:\/\/([^\/]+)\//i;
domain = str.match(durl);
var _url = domain[0] //全局路径
_url = _url.substring(0,_url.length-1);
_url = "http://www.haitoujia.com/";

 

文章来自:https://www.cnblogs.com/wangkdeblogs/p/8462390.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3