html 5を利用して都市の位置づけを行います!aqi指数の取得


<html><head>
<meta charset="utf-8">

<meta name="viewport" content="width=320, initial-scale=1.0,maximum-scale=1.0, user-scalable=0">	
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="icon" href="http://xxx.xxx.com/basic/hpAct/img/iphone/common/hp.ico" type="image/x-icon">
<link rel="Shortcut Icon" href="http://xxx.xxx.com/basic/hpAct/img/iphone/common/hp.ico">
<link href="http://xxx.xxx.com/basic/hpAct/img/iphone/common/hp.png" rel="apple-touch-icon-precomposed">

	<script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script><script type="text/javascript">
		var _gaq = _gaq || [];
		_gaq.push([ '_setAccount', 'UA-29240412-2' ]);
		_gaq.push([ '_setDomainName', '99wuxian.com' ]);
		_gaq.push([ '_trackPageview' ]);

		(function() {
			var ga = document.createElement('script');
			ga.type = 'text/javascript';
			ga.async = true;
			ga.src = ('https:' == document.location.protocol ? 'https://ssl'
					: 'http://www')
					+ '.google-analytics.com/ga.js';
			var s = document.getElementsByTagName('script')[0];
			s.parentNode.insertBefore(ga, s);
		})();
	</script>


<link href="http://xxx.xxx.com/basic/wap/css/source/iphone/channel/channel_default.css" rel="stylesheet" type="text/css">
<link href="http://xxx.xxx.com/basic/hpAct/css/source/iphone/show/show_default.css" rel="stylesheet" type="text/css">
<link href="http://xxx.xxx.com/basic/wap/css/source/iphone/channel/channel_iicbc.css" rel="stylesheet" type="text/css">
<link href="http://xxx.xxx.com/basic/hpAct/css/source/iphone/show/show_iicbc.css" rel="stylesheet" type="text/css">
<script>
	var wapProtocolHttpsDomain='https://xxx.xxx.com.com/act';
	var wapProtocolHttpDomain='http://xxx.xxx.com.com/act';
	var wapAppLocation='http://xxx.xxx.com.com/wap';
	var projectImageUrl='http://xxx.xxx.com/basic/hpAct';
	var commonStaticUrl='http://xxx.xxx.com/basic/wap';
	var commonImageUrl='http://xxx.xxx.com/drift/mall';
	var wapJsMinFolder='source';
</script>


<title></title></head>
<body>
<div class="icbc-never-bottom">
<!--        -->
 <div class="com-info icbc-sider com-relative">
  <ul class="com-dis-table com-width100 reductions">
   <li class="com-dis-tablecell com-width33">
    <div class="com-block">
     <span id="area"><font id="show_data" class="com-font-size14">
	  
	</font><i class="icbc-ico ico-position4 com-margin-left4 com-ico"></i></span>
     <div class="com-none" id="city-ul">
     <ul class="com-absolute city-item" id="city-item">
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_AH" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_BJ" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_CQ" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_DL" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_FJ" data-branchname="  (    )" data-subcount="">
				<font>  (    )</font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_GS" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_GD" data-branchname="  (    )" data-subcount="">
				<font>  (    )</font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_GX" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom item-actived" data-value="ICBCCategory_GZ" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_HN" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_HEB" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_HEN" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_HUB" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_HUN" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_JL" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_JS" data-branchname="  (    )" data-subcount="true">
				<font>  (    )</font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_JX" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_NMG" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_HLJ" data-branchname="   " data-subcount="true">
				<font>   </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_NB" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_NX" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_QD" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_QH" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_SD" data-branchname="  (    )" data-subcount="true">
				<font>  (    )</font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_SX" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_SHX" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_SH" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_SHZ" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_SC" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_SUZ" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_TJ" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_XM" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_XJ" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_YN" data-branchname="  " data-subcount="">
				<font>  </font>
			 </li>
		
			<li class="item-1nd item-border-bottom " data-value="ICBCCategory_ZJ" data-branchname="  (    )" data-subcount="">
				<font>  (    )</font>
			 </li>
		
      </ul>
      <ul class="com-absolute city-item city-item-2nd" id="city-item-2nd">
		
      </ul>
      </div>
    </div>
   </li>
   <li class="com-dis-tablecell com-text-right com-width34 com-font-red1" id="aqi_show_data"><i class="com-margin-right5"><img src="http://xxx.xxx.com/basic/hpAct/img/iphone/show/cloud.png" width="22" height="12"></i>      :40</li>
  </ul>
  
  <input type="hidden" name="bigActCode" id="bigActCode" value="icbc2014">
  <input type="hidden" name="userId" id="userId" value="">
  <input type="hidden" name="branchCode" id="branchCode" value="ICBCCategory_GZ">
  <input type="hidden" name="stageCode" id="stageCode" value="icbc-201407">
  <input type="hidden" name="subBranchCode" id="subBranchCode" value="ICBCCategory_GZ">
  <input type="hidden" name="integralFlag" id="integralFlag" value="false">
 </div>    
<!--            -->
<div class="com-info">
 <ul id="branch_app_list">
 
 
 	<li class="com-inlineblock  com-width100 com-margin-bottom10" style="text-align:center;color:gray;font-weight:bold;font-size: 15px;line-height: 20px;height: 20px;margin: 20px auto;">  ,          !</li>
 
 </ul>
</div>
<!--      -->
 <div class="reductions icbc-tab com-border-top">
  <ul class="com-dis-table com-width100 com-padding-bottom10 com-dis-table-black">
   <li class="com-dis-tablecell com-text-center border-right"><a href="/act/patRule.do" class="com-block">
<!--   <i class="icbc-ico ico-position3 com-ico"></i>-->
   <font class="com-inlineblock com-margin-left4"><img src="http://xxx.xxx.com/basic/hpAct/img/iphone/show/text.gif" width="75" height="17"></font></a></li>
   
	   	<li class="com-dis-tablecell com-text-center border-right"><a href="/act/searchIntegral.do" class="com-block">
<!--	   	<i class="icbc-ico ico-position1 com-ico"></i>-->
	   	<font class="com-inlineblock com-margin-left4"><img src="http://xxx.xxx.com/basic/hpAct/img/iphone/show/jpl.png" width="75" height="17"></font></a></li>
	  
   <li class="com-dis-tablecell com-text-center"><a href="https://xxx.xxx.com.com/wap/myaccount/transRecordDetail.do?pageSizeIphone=20" class="com-block">
<!--   <i class="icbc-ico ico-position2 com-ico"></i>-->
   <font class="com-inlineblock com-margin-left4"><img src="http://xxx.xxx.com/basic/hpAct/img/iphone/show/ddcx.png" width="75" height="17"></font></a></li>
  </ul>
</div>   
<!--         -->
    <div class="icbc-footer-push"><!--     --></div>  
</div>



	<div id="single_app_puzzle_bottom">
	
	<section class="puzzle module20"><div class="new_bottom_nav"><div class="bottom_text_item" name="puzzle_login_no"><a href="/wap/myaccount/loginPage.do">  </a></div><div class="bottom_text_item" name="puzzle_login_no"><a href="/wap/myaccount/regPage.do?mark1=1">  </a></div><div class="bottom_text_item" name="puzzle_login_no"><a href="/wap/99HelpCenter.do?typeCode=HELP_99&amp;indexCode=iicbc">  </a></div><div class="bottom_text_item" name="puzzle_login_yes" style="display:none"><a href="/wap/myaccount/goToMySftPage.do">    </a></div><div class="bottom_text_item" name="puzzle_login_yes" style="display:none"><a href="/wap/logout.do">  </a></div><div class="bottom_text_item" name="puzzle_login_yes" style="display:none"><a href="/wap/99HelpCenter.do?typeCode=HELP_99&amp;indexCode=iicbc">  </a></div></div></section></div>
<script src="http://xxx.xxx.com/basic/wap/js/source/plugs/sea/sea.js" charset="utf-8"></script>

<script type="text/javascript">
	var commonImageUrl="http://xxx.xxx.com/basic/hpAct/mall/hpdownload/";
	var projectImageUrl="http://xxx.xxx.com/basic/hpAct";
	
	seajs.use("http://xxx.xxx.com/basic/wap/js/source/iphone/puzzle/puzzle_top_bottom_act.js",function(puzzle){
		//alert(puzzle);
		puzzle.getTopAndBottom("http://xxx.xxx.com.com","iicbc","","","");
	});
</script>

<!--      -->
<div class="com-absolute icbc-idex-pic com-none" id="firstinfo" style="null;display:block">
 <div class="com-relative">
  <img src="http://xxx.xxx.com/basic/hpAct/img/iphone/show/icbc-index-fu.png" width="100%">
  <p class="com-width100 com-block com-text-center"><button class="com-btn-common icbc-btn-color" onclick="document.getElementById('firstinfo').style.display='none'">   </button></p>
 </div> 
</div>
<!--      -->

<div class="group-window" id="find" style="display:none;">
 
 </div>

<!--
      sea.js     
-->
<script src="http://xxx.xxx.com/basic/wap/js/source/plugs/sea/sea.js"></script>
<script src="http://xxx.xxx.com/basic/hpAct/js/source/iphone/show/show.config.js"></script> 
<script>
seajs.use("http://xxx.xxx.com/basic/hpAct/js/source/iphone/show/show.index.js");
</script>

<script>
	document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
		WeixinJSBridge.call('hideOptionMenu');
	});
</script>


</body></html>
 /********************************/ /**** update:2013-6-9 19:10 ****/ //             /**** by: wangyong ****/ /********************************/ define(function(require, exports, module) { //start require("hpcommon"); if(typeof(HPcommon) =="undefined"){ var loading_fail_obj = document.createElement("div"); loading_fail_obj.className = "com-load-fail"; loading_fail_obj.innerHTML = "<span class=\"com-load-text\">    ,   <ul class=\"com-load-ul\"><li onclick=\"window.location.reload()\">  </li><li onclick=\"document.getElementsByClassName('com-load-fail')[0].parentNode.removeChild(document.getElementsByClassName('com-load-fail')[0])\">  </li></ul></span>"; document.body.appendChild(loading_fail_obj); } var hpcom = new HPcommon(); //       //     var search_obj = hpcom.$("#position"), search_info_obj = hpcom.$("#potion-info"), search_li = hpcom.$(".hotel-search")[0], myposition_nums = 0, address_url = "",address_lat,address_lon,cache = window.localStorage,city_obj,date_obj,cache_keyword="act_show_act_list_index"; cacheCookie=new showCookie(); if(!cache){ cache=window.sessionStorage; } var hoteljs = function(){ }; hoteljs.prototype = { //[  ]   button_prev: function(i){ if(!i) i=1; else i=0-i; history.go(i); }, loaded: function(){ //button,li     hpcom.goUrl(); //  active hpcom.onActive(); //select   //hpcom.onSelect(); //      var firstinfo_obj = hpcom.$("#firstinfo"); if(firstinfo_obj) { if(!cacheCookie.getItem(cache_keyword)) cacheCookie.setItem(cache_keyword,0,24); else cacheCookie.setItem(cache_keyword,(cacheCookie.getItem(cache_keyword)*1+1*1),24); if(cacheCookie.getItem(cache_keyword)==0) hpcom.show(firstinfo_obj); }; /*var branchCode=hpcom.$("#branchCode"); if(branchCode){ branchCode.onchange=function(){ var bigActCode=hpcom.$("#bigActCode"); var branchCode=hpcom.$("#branchCode"); getSubBranchs(bigActCode.value,branchCode.value); }; } var subBranchCode=hpcom.$("#subBranchCode"); if(subBranchCode){ subBranchCode.onchange=function(){ var bigActCode=hpcom.$("#bigActCode"); var branchCode=hpcom.$("#branchCode"); var subBranchCode=hpcom.$("#subBranchCode"); var stage=hpcom.$("#stageCode"); getBranchActLists(bigActCode,branchCode,subBranchCode,stage); }; }*/ // var area_obj = hpcom.$("#area"), item_2nd = hpcom.$("#city-item-2nd"), city_obj = hpcom.$("#city-ul"), city_li_obj = city_obj.getElementsByTagName("li"), city_li_len = city_li_obj.length; area_obj.onclick = function(){ if(city_obj.style.display == "block") hpcom.hide(city_obj); else{ hpcom.show(city_obj); for(var i=0;i<city_li_len;i++){ city_li_obj[i].onclick = function(){ if(this.className.indexOf("item-actived")<0){ hpcom.$(".item-actived")[0].className = "item-1nd item-border-bottom"; this.className += " item-actived"; item_2nd.innerHTML = "<li class=\"com-text-center\"><Br><br>   </li>"; var bigActCode="",branchCode=this.getAttribute("data-value"); var bigActCode_obj=hpcom.$("#bigActCode"); if(bigActCode_obj){ bigActCode=bigActCode_obj.value; } var branchCode_obj=hpcom.$("#branchCode"); if(branchCode_obj){ branchCode_obj.value=branchCode; } var data_subcount=this.getAttribute("data-subcount"); if(data_subcount=="true"){ item_2nd.style.display="block"; getSubBranchs(bigActCode,branchCode); }else{ item_2nd.style.display="none"; /*var branchName=this.getAttribute("data-branchName"); var subBranch_txt="<li class=\"item-2nd item-2nd-ico\" data-value=\""+branchCode+"\" data-branchName=\""+branchName+"\">"+branchName+"</li>"; if(item_2nd){ item_2nd.innerHTML =subBranch_txt; //      addSubBranchEventListener(item_2nd); }*/ //this.onclick=function(){ //       htmldemo.closecity(); showMessage("       ..."); var show_data=hpcom.$("#show_data"); if(show_data){ branchName=this.getAttribute("data-branchName"); show_data.innerHTML=branchName; //showWeather(branchName); } var bigActCode="",branchCode=this.getAttribute("data-value"),subBranchCode=branchCode,stageCode=""; var bigActCode_obj=hpcom.$("#bigActCode"); if(bigActCode_obj){ bigActCode=bigActCode_obj.value; } var stageCode_obj=hpcom.$("#stageCode"); if(stageCode_obj){ stageCode=stageCode_obj.value; } var subBranchCode_obj=hpcom.$("#subBranchCode"); if(subBranchCode_obj){ subBranchCode_obj.value=subBranchCode; } getBranchActLists(bigActCode,branchCode,subBranchCode,stageCode); //}; } /*data(); function data(){ //var get_data = citydata(); //       if(get_data) item_2nd.innerHTML = get_data; else item_2nd.innerHTML = "<li class=\"com-text-center\" onclick=\"data()\"><Br><br>    ,      </li>"; };*/ }; }; }; }; }; var userId=hpcom.$("#userId"); if(userId&&parseInt(userId.value)>0){ //return; }else{ var get_pos=""; if(cacheCookie){ get_pos=cacheCookie.getItem("act_show_get_pos"); } if(get_pos&&get_pos!=""&&parseInt(get_pos)>0){ return; }else{ getPosition(); } } var show_data=hpcom.$("#show_data"); if(show_data){ var cityName=show_data.innerHTML; showWeather(cityName); } }, closecity: function(){ //hpcom.$("#set-data").innerHTML = e.innerHTML; hpcom.hide(hpcom.$("#city-ul")); } };//over /**        */ function getSubBranchs(bigActCode,branchCode){ var item_2nd = hpcom.$("#city-item-2nd"); if(item_2nd){ item_2nd.innerHTML =""; } require.async("jquery",function(){ var params={"bigActCode":bigActCode,"branchCode":branchCode}; var url=wapProtocolHttpDomain+"/icbcShowSubBranch.do"; $.ajax({ url:url, data:params, type:"post", dataType:"jsonp", jsonp:"jsonpcallback", success:function(msg){ // alert(msg); if(msg){ // alert(msg); var status=msg.status; if(status=='success'){ var icbcSubBranchBeans=msg.icbcSubBranchBeans; var subBranch_txt="" if(icbcSubBranchBeans){ for(var i=0,len=icbcSubBranchBeans.length;i<len;i++){ subBranch_txt+="<li class=\"item-2nd item-2nd-ico\" data-value=\""+icbcSubBranchBeans[i].subBranchCode+"\" data-branchName=\""+icbcSubBranchBeans[i].subBranchName+"\">"+icbcSubBranchBeans[i].subBranchName+"</li>"; } if(item_2nd){ item_2nd.innerHTML =subBranch_txt; //      addSubBranchEventListener(item_2nd); } }else{ if(item_2nd){ item_2nd.innerHTML = "<li class=\"com-text-center\" onclick=\"getSubBranchs('"+bigActCode+"','"+branchCode+"')\"><br/><br>    ,      </li>"; } } }else{ if(item_2nd){ item_2nd.innerHTML = "<li class=\"com-text-center\" onclick=\"getSubBranchs('"+bigActCode+"','"+branchCode+"')\"><br/><br>    ,      </li>"; } } }else{ if(item_2nd){ item_2nd.innerHTML = "<li class=\"com-text-center\" onclick=\"getSubBranchs('"+bigActCode+"','"+branchCode+"')\"><br/><br>    ,      </li>"; } } }, error:function(msg){ var item_2nd = hpcom.$("#city-item-2nd"); if(item_2nd){ item_2nd.innerHTML = "<li class=\"com-text-center\" onclick=\"getSubBranchs('"+bigActCode+"','"+branchCode+"')\"><br/><br>    ,      </li>"; } } }); }); } function addSubBranchEventListener(obj){ if(obj){ var subBranch_objs = obj.getElementsByTagName("li"); for(var i=0,len=subBranch_objs.length;i<len;i++){ subBranch_objs[i].onclick=function(){ //       htmldemo.closecity(); showMessage("       ..."); var show_data=hpcom.$("#show_data"); if(show_data){ branchName=this.getAttribute("data-branchName"); show_data.innerHTML=branchName; //showWeather(branchName); } var bigActCode="",branchCode="",subBranchCode=this.getAttribute("data-value"),stageCode=""; var bigActCode_obj=hpcom.$("#bigActCode"); if(bigActCode_obj){ bigActCode=bigActCode_obj.value; } var branchCode_obj=hpcom.$("#branchCode"); if(branchCode_obj){ branchCode=branchCode_obj.value; } var stageCode_obj=hpcom.$("#stageCode"); if(stageCode_obj){ stageCode=stageCode_obj.value; } var subBranchCode_obj=hpcom.$("#subBranchCode"); if(subBranchCode_obj){ subBranchCode_obj.value=subBranchCode; } getBranchActLists(bigActCode,branchCode,subBranchCode,stageCode); }; } } } function resolveBranchActLists(msg,branch_app_list,noActText){ var status=msg.status; if(status=="success"){ var icbcStageActListBeans=msg.icbcStageActListBeans; if(icbcStageActListBeans&&icbcStageActListBeans.length>0){ var act_list_txt=""; for(var i=0,len=icbcStageActListBeans.length;i<len;i++){ if(icbcStageActListBeans[i].appCode=='seckill'){ //<!--  --> act_list_txt+="<li class=\"com-inlineblock com-width100 com-margin-bottom10\"><a href=\""+wapProtocolHttpDomain+"/queryscProductccb.do?appCode="+icbcStageActListBeans[i].actCode+"\"><img src=\""+projectImageUrl+"/img/iphone/show/list05.png\" width=\"100%\"></a></li>"; }else if(icbcStageActListBeans[i].appCode=='mklottery'){ //<!--  --> //if(act_show_clientType=="ICBC-WC"){ act_list_txt+=" <li class=\"com-inlineblock com-width100 com-margin-bottom10\"><a href=\""+wapAppLocation+"/luckyDraw.do?aid="+icbcStageActListBeans[i].actCode+"\"><img src=\""+projectImageUrl+"/img/iphone/show/list01.png\" width=\"100%\"></a></li>"; //}else{ //act_list_txt+=" <li class=\"com-inlineblock com-width100 com-margin-bottom10\"><a href=\"javascript:void(0)\"><img src=\""+projectImageUrl+"/img/iphone/show/list01.png\" width=\"100%\"></a></li>"; //} }else if(icbcStageActListBeans[i].appCode == 'dutch'){ //<!--   --> act_list_txt+="<li class=\"com-inlineblock com-width100 com-margin-bottom10\"><a href=\""+wapProtocolHttpDomain+"/dagplist.do?ac="+icbcStageActListBeans[i].actCode+"\"><img src=\""+projectImageUrl+"/img/iphone/show/list02.png\" width=\"100%\"></a></li>"; }else if(icbcStageActListBeans[i].appCode=='auction'){ //<!--   --> act_list_txt+="<li class=\"com-inlineblock com-width100 com-margin-bottom10\"><a href=\""+wapProtocolHttpDomain+"/branchActMdseList.do?ac="+icbcStageActListBeans[i].actCode+"&bCode="+icbcStageActListBeans[i].subBranchCode+"&cCode="+icbcStageActListBeans[i].id+"&qCode="+icbcStageActListBeans[i].stageCode+"\"><img src=\""+projectImageUrl+"/img/iphone/show/list04.png\" width=\"100%\"></a></li>"; }else if(icbcStageActListBeans[i].appCode=='gather'){ //<!--   --> act_list_txt+="<li class=\"com-inlineblock com-width100 com-margin-bottom10\"><a href=\"#\"><img src=\""+projectImageUrl+"/img/iphone/show/list03.png\" width=\"100%\"></a></li>"; } } if(branch_app_list){ branch_app_list.innerHTML=act_list_txt; } }else{ //showMessage("       "); if(branch_app_list){ branch_app_list.innerHTML=noActText; } } }else{ //showMessage("       "); if(branch_app_list){ branch_app_list.innerHTML=noActText; } } } function getBranchActLists(bigActCode,branchCode,subBranchCode,stageCode){ var sesseionCache=null; //var sesseionCache=window.sessionStorage; var branch_app_list=hpcom.$("#branch_app_list"); var noActText="<li class=\"com-inlineblock com-width100 com-margin-bottom10\" style=\"text-align:center;color:gray;font-weight:bold;font-size: 15px;line-height: 20px;height: 20px;margin: 20px auto;\">  ,          !</li>"; if(sesseionCache){ var branchActListContent=sesseionCache.getItem("act_show_act_list_"+bigActCode+branchCode+subBranchCode+stageCode); if(branchActListContent&&branchActListContent!=""){ var msg=JSON.parse(branchActListContent); resolveBranchActLists(msg,branch_app_list,noActText); return; } } if(branch_app_list){ branch_app_list.innerHTML=""; } if(show_data){ showWeather(show_data.innerHTML); } require.async("jquery",function(){ var params={"bigActCode":bigActCode,"branchCode":branchCode,"subBranchCode":subBranchCode,"stageCode":stageCode}; var url=wapProtocolHttpDomain+"/icbcShowActList.do"; $.ajax({ url:url, data:params, type:"post", dataType:"jsonp", jsonp:"jsonpcallback", success:function(msg){ if(msg){ if(sesseionCache){ var branchActListContent=JSON.stringify(msg); sesseionCache.setItem("act_show_act_list_"+bigActCode+branchCode+subBranchCode+stageCode,branchActListContent); } resolveBranchActLists(msg,branch_app_list,noActText); }else{ //showMessage("       "); if(branch_app_list){ branch_app_list.innerHTML=noActText; } } //htmldemo.closecity(); }, error:function(msg){ //showMessage(msg,"error"); //showMessage("       "); if(branch_app_list){ branch_app_list.innerHTML=noActText; } htmldemo.closecity(); } }); }); } //          function getPosition(){ if (window.navigator.geolocation) { var options = { enableHighAccuracy: true, }; window.navigator.geolocation.getCurrentPosition(handleSuccess, handleError, options); } else { showMessage("    ",2); } } /** *          */ function handleSuccess(position) { showMessage("<img src=\""+commonStaticUrl+"/img/iphone/common/loading.gif\" style=\"vertical-align: middle;\"/>&nbsp;    ...",2); //       var x = position.coords.latitude; var y = position.coords.longitude; //  Baidu Geocoding API var url = "http://api.map.baidu.com/geocoder/v2/?ak=C93b5178d7a8ebdb830b9b557abce78b&callback=renderReverse&location="+x+","+y+"&output=json&pois=0"; require.async("jquery",function(){ $.ajax({type: "GET", dataType: "jsonp", url: url, success: function (json) { if (json == null || typeof (json) == "undefined") { return; } if (json.status != "0") { return; } if(json.result){ var address=json.result.addressComponent; //  var provinceName = address.province; //  var cityName = address.city; //  //var district = address.district; provinceName = provinceName.replace(' ', ''); cityName = cityName.replace(' ', ''); provinceName = provinceName.replace(' ', ''); var branchCodes=document.querySelectorAll("#city-item > li"); var subBranchCodes=document.querySelectorAll("#city-item-2nd > li"); var branchCode="",subBranchCode="",stageCode=hpcom.$("#stageCode").value,bigActCode=hpcom.$("#bigActCode").value; if(branchCodes){ for(var i=0,len=branchCodes.length;i<len;i++){ branchCodes[i].className="item-1nd item-border-bottom"; if(branchCodes[i].innerHTML.indexOf(provinceName)>-1){ branchCodes[i].className="item-1nd item-border-bottom item-actived"; branchCode=branchCodes[i].getAttribute("data-value"); var data_subcount=branchCodes[i].getAttribute("data-subcount"); if(data_subcount=="true"){ getSubBranchs(bigActCode,branchCode); }else{ subBranchCode=branchCode; //alert(cityName); var subBranch_txt="<li class=\"item-2nd item-2nd-ico\" data-value=\""+branchCode+"\" data-branchName=\""+cityName+"\">"+cityName+"</li>"; var item_2nd = hpcom.$("#city-item-2nd"); if(item_2nd){ item_2nd.innerHTML =subBranch_txt; //      addSubBranchEventListener(item_2nd); } var show_data=hpcom.$("#show_data"); if(show_data){ show_data.innerHTML=cityName; //showWeather(cityName); } } break; } } } //alert(subBranchCode); if(subBranchCode==""){ if(subBranchCodes){ for(var i=0,len=subBranchCodes.length;i<len;i++){ var branchName=subBranchCodes[i].getAttribute("data-branchName"); //alert(branchName); if(cityName.indexOf(branchName)>-1){ subBranchCode=subBranchCodes[i].getAttribute("data-value"); var show_data=hpcom.$("#show_data"); if(show_data){ show_data.innerHTML=branchName; //showWeather(branchName); } break; } } } } //alert(subBranchCode); //           getBranchActLists(bigActCode,branchCode,subBranchCode,stageCode); if(cacheCookie){ cacheCookie.setItem("act_show_get_pos",1,24); } } }, error: function (msg) { //showMessage("      ,       "); } }); }); } function showCookie(){ this.getItem=function(key){ return getCookie(key); }; this.setItem=function(key,value,hour){ addCookie(key,value,hour); }; } function getCookie(objName){//       cookie   var arrStr = document.cookie.split("; "); for(var i = 0;i < arrStr.length;i ++){ var temp = arrStr[i].split("="); if(temp[0] == objName) return unescape(temp[1]); } } function addCookie(objName,objValue,objHours){ //  cookie var str = objName + "=" + escape(objValue); if(objHours > 0){ //         ,      cookie     var date = new Date(); var ms = objHours*3600*1000; date.setTime(date.getTime() + ms); str += "; expires=" + date.toGMTString(); } document.cookie = str; } function showMessage(msg,type){ /*var find=hpcom.$("#find"); if(find){ var showMsg="<div class=\"group-window-cont\"><p class=\"com-font-color6\">"+msg+"</p>"; showMsg+="<div class=\"com-hidden com-margin-top20 \" style=\"text-align: center;\">"; showMsg+="<button type=\"button\" id=\"show_submit_btn\" class=\"group-window-btn com-width48\">  </button></div></div>"; find.innerHTML=showMsg; find.style.display="block"; var show_submit_btn=hpcom.$("#show_submit_btn"); if(show_submit_btn){ show_submit_btn.onclick=function(){ find.style.display="none"; } } }*/ if(!type){ type=2; } require.async("alert",function(){ new PointOut(msg,type); }); } function handleError(error){ showMessage("    ",2); //showMessage("      ,       ","info"); } //    AQI function showWeather(cityName){ var act_show="act_show_"; require.async("jquery",function(){ var index=cityName.indexOf("("); if(index<0){ index=cityName.indexOf("("); } if(index>-1){ cityName=cityName.substring(0,index); } cityName=$.trim(cityName); if(cache){ var aqi=cache.getItem(act_show+cityName); if(aqi&&aqi!=""){ showWeatherDiv(aqi); return; } } require.async("./city_weather_json",function(){ if(city_weather_json){ //alert(cityName); var cityId=city_weather_json[cityName]; //(cityId); var url="http://www.pm25.in/api/querys/pm2_5.json?city="+cityId+"&token=UtzrAKmb7zS43bZ51kb3&stations=no"; $.ajax({type: "GET", dataType:"jsonp", url: url, success: function (msg) { //alert(msg); if(msg){ var error=msg.error; if(!error){ var aqi=msg[0].aqi; showWeatherDiv(aqi); if(cache){ cache.setItem(act_show+cityName,aqi); } } } }, error: function (msg) { } }); } }); }); } function showWeatherDiv(msg){ var aqi_show_data=hpcom.$("#aqi_show_data"); if(aqi_show_data){ //alert(msg[0].aqi); aqi_show_data.innerHTML="    AQI  :"+msg; } } //     require.async("alert",function(){}); //     seajs.use("style.alert"); //     var htmldemo = new hoteljs(); banner(); setTimeout(function(){htmldemo.loaded()},0); //           (    ) function banner(){ var blockswitching_obj = hpcom.$("#commonbannerpics"); if(blockswitching_obj){ require("swipeview.blockswitching"); //    (    ,      ) var uedobj2nd = new BlockSwitching(); uedobj2nd.config("commonbannerpics","commonbannerpicsnums",3000,false); //      (    ,      ) //     over blockswitching_obj.style.height = hpcom.winSize(1)*260/640+"px"; }; }; //     over window.htmldemo = htmldemo; module.exports = htmldemo; });
 city_weather_json.js
var city_weather_json={"  ":"beijing","  ":"shanghai","  ":"tianjin","  ":"chongqing"
,"  ":"xianggan","  ":"aomen"
,"   ":"haerbin","   ":"haerbin","    ":"qiqihaer","   ":"mudanjiang","  ":"daqing","  ":"yichun","   ":"shuangyashan","  ":"hegang","  ":"jixi","   ":"jiamusi","   ":"qitaihe","  ":"heihe","  ":"suihua","    ":"daxinganling"
,"  ":"changchun","  ":"changchun","  ":"yanji","  ":"jilin","  ":"baishan","  ":"baicheng","  ":"siping","  ":"songyuan","  ":"liaoyuang","  ":"daan","  ":"tonghua"  
,"  ":"shenyang","  ":"shenyang","  ":"dalian","   ":"huludao","  ":"panjin","  ":"benxi","  ":"fushun","  ":"tieling","  ":"liaoyang","  ":"yingkou","  ":"buxin","  ":"chanyang","  ":"jinzhou","  ":"dandong","  ":"anshan"
,"   ":"huhehaote","  ":"huhehaote","    ":"huhehaote","    ":"hulunbeer","    ":"xilinhaote","  ":"baotou","  ":"chifeng","   ":"hailaer","  ":"wuhai","    ":"eerduosi","  ":"tongliao"
,"  ":"shijiazhuang","   ":"shijiazhuang","  ":"tangshan","   ":"zhangjiakou","  ":"langfang","  ":"xingtai","  ":"handan","  ":"cangzhou","  ":"hengshui","  ":"chengde","  ":"baoding","   ":"qinhuangdao"
,"  ":"zhengzhou","  ":"zhengzhou","  ":"kaifeng","  ":"luoyan","   ":"pingdingshan","  ":"jiaozuo","  ":"hebi","  ":"xinxiang","  ":"anyang","  ":"puyang","  ":"xuchang","  ":"luohe","   ":"sanmenxia","  ":"nanyang","  ":"shangqiu","  ":"xinyang","  ":"zhoukou","   ":"zhumadian"
,"  ":"yinchuan","  ":"yinchuan","  ":"guyuan","  ":"zhongwei","   ":"shizuishan","  ":"wuzhong"
,"  ":"xining","  ":"xining","  ":"haibei","  ":"haixi","  ":"huangnan","  ":"guoluo","  ":"yushu","  ":"haidong","  ":"hainang"
,"  ":"wuhan","  ":"wuhan","  ":"yichang","  ":"huanggang","  ":"enshi","  ":"jingzhou","   ":"shennongjia","  ":"shiyan","  ":"weining","  ":"xiangyang","  ":"xiaogan","  ":"suizhou","  ":"huangshi","  ":"jinmen","  ":"ezhou"
,"  ":"changsha","  ":"changsha","  ":"shaoyang","  ":"changde","  ":"chengzhou","  ":"jishou","  ":"zhuzhou","  ":"loudi","  ":"xiangtan","  ":"yiyang","  ":"yongzhou","  ":"yueyang","  ":"hengyang","  ":"huaihua","  ":"shaoshan","   ":"zhangjiajie"
,"  ":"hangzhou","  ":"hangzhou","  ":"huzhou","  ":"jinhua","  ":"ningbo","  ":"lishui","  ":"shaoxing","  ":"quzhou","  ":"jiaxing","  ":"taizhou","  ":"zhoushan","  ":"weizhou"	
,"  ":"nanchang","  ":"nanchang","  ":"pingxiang","  ":"jiujiang","  ":"shangrao","  ":"fuzhou","  ":"jian","  ":"yintang","  ":"yichun","  ":"xinyu","   ":"jingdezhen","  ":"ganzhou"
,"  ":"fuzhou","  ":"fuzhou","  ":"xiamen","  ":"longyan","  ":"nanping","  ":"ningde","  ":"putian","  ":"quanzhou","  ":"sanming","  ":"zhangzhou"
,"  ":"guiyang","  ":"guiyang","  ":"anshun","  ":"chishui","  ":"zuiyi","  ":"tongren","   ":"liupanshui","  ":"bijie","  ":"kaili","  ":"duyun"
,"  ":"haikou","  ":"haikou","  ":"sanya","  ":"danzhou","  ":"qiongshan","  ":"tongza","  ":"wenchang"	
,"  ":"wulumuqi","    ":"wulumuqi","   ":"aletai","   ":"akesu","  ":"changji","  ":"hami","  ":"hetian","  ":"kashi","    ":"kelamayi","   ":"shihezi","  ":"tacheng","   ":"kuerle","   ":"tulufan","  ":"yining"
,"  ":"lasa","  ":"lasa","  ":"ali","  ":"changdu","  ":"naqu","   ":"rikaze","  ":"shannan","  ":"linzhi"
,"  ":"taibei","  ":"taibei","  ":"gaoxiong"	
,"  ":"kunming","  ":"kunming","  ":"baoshan","  ":"chuxiong","  ":"dehong","  ":"honghe","  ":"lincang","  ":"nujiang","  ":"qujing","  ":"simao","  ":"wenshan","  ":"yuxi","  ":"zhaotong","  ":"lijiang","  ":"dali"
,"  ":"jinan","  ":"jinan","  ":"qingdao","  ":"zibo","  ":"weihai","  ":"qufu","  ":"linyi","  ":"yantai","  ":"zaozhuang","  ":"liaocheng","  ":"jining","  ":"heze","  ":"taian","  ":"rizhao","  ":"dongying","  ":"dezhou","  ":"binzhou","  ":"laiwu","  ":"weifang"
,"  ":"taiyuan","  ":"taiyuan","  ":"yangquan","  ":"jincheng","  ":"jinzhong","  ":"linfen","  ":"yuncheng","  ":"changzhi","  ":"shuozhou","  ":"xinzhou","  ":"datong","  ":"lvliang"
,"  ":"nanjing","  ":"nanjing","  ":"suzhou","  ":"kunshan","  ":"nantong","  ":"taicang","  ":"wuxian","  ":"xuzhou","  ":"yixing","  ":"zhenjiang","  ":"huaian","  ":"changshu","  ":"yancheng","  ":"taizhou","  ":"wuxi","   ":"lianyungang","  ":"yangzhou","  ":"changzhou","  ":"suqian"
,"  ":"hefei","  ":"hefei","  ":"chaohu","  ":"bengbu","  ":"anqing","  ":"luan","  ":"xuzhou","   ":"maanshan","  ":"fuyang","  ":"xuancheng","  ":"tongling","  ":"huaibei","  ":"wuhu","  ":"haozhou","  ":"suzhou","  ":"huainan","  ":"chizhou"
,"  ":"xian","  ":"xian","  ":"hancheng","  ":"ankang","  ":"hangzhong","  ":"baoji","  ":"xianyang","  ":"yulin","  ":"weinan","  ":"shangluo","  ":"tongchuan","  ":"yanan"
,"  ":"lanzhou","  ":"lanzhou","  ":"baiyin","  ":"qingyang","  ":"jiuquan","  ":"tianshui","  ":"wuwei","  ":"zhangye","  ":"gansu","  ":"linxia","  ":"pingliang","  ":"dingxi","  ":"jinchang"
,"  ":"chengdu","  ":"chengdu","  ":"luzhou","  ":"neijiang","  ":"liangshan","  ":"aba","  ":"bazhong","  ":"guangyuan","  ":"yueshan","  ":"mianyang","  ":"deyan","   ":"panzhihua","  ":"yaan","  ":"yibin","  ":"zigong","   ":"ganzizhou","  ":"dazhou","  ":"ziyang","  ":"guangan","  ":"suining","  ":"meishan","  ":"nanchong"
,"  ":"guangzhou","  ":"guangzhou","  ":"shenzhen","  ":"chaozhou","  ":"shaoguan","  ":"zhanjiang","  ":"huizhou","  ":"qingyuan","  ":"dongguan","  ":"jiangmen","  ":"maomin","  ":"zhaoqing","  ":"shanwei","  ":"heyuan","  ":"jieyang","  ":"meizhou","  ":"zhongshan","  ":"deqing","  ":"yangjiang","  ":"yunfu","  ":"zhuhai","  ":"shantou","  ":"foshan"
,"  ":"nanning","  ":"nanning","  ":"guilin","  ":"yangshuo","  ":"liuzhou","  ":"wuzhou","  ":"yulin","  ":"guiping","  ":"hezhou","  ":"qinzhou","  ":"guigang","   ":"fangchenggang","  ":"baise","  ":"beihai","  ":"hechi","  ":"laibin","  ":"chongzhuo"
};

/*
var city_weather_json={"  ":"101010100","  ":"101020100","  ":"101030100","  ":"101040100"
,"  ":"101320101","  ":"101330101"
,"   ":"101050101","   ":"101050101","    ":"101050201","   ":"101050301","  ":"101050901","  ":"101050801","   ":"101051301","  ":"101051201","  ":"101051101","   ":"101050401","   ":"101051002","  ":"101050601","  ":"101050501","    ":"101050701"
,"  ":"101060101","  ":"101060101","  ":"101060301","  ":"101060201","  ":"101060901","  ":"101060601","  ":"101060401","  ":"101060801","  ":"101060701","  ":"101060603","  ":"101060501"  
,"  ":"101070101","  ":"101070101","  ":"101070201","   ":"101071401","  ":"101071301","  ":"101070501","  ":"101070401","  ":"101071101","  ":"101071001","  ":"101070801","  ":"101070901","  ":"101071201","  ":"101070701","  ":"101070601","  ":"101070301"
,"   ":"101080101","    ":"101080101","    ":"101081000","    ":"101080901","  ":"101080201","  ":"101080601","   ":"101081001","  ":"101080301","    ":"101080701","  ":"101080501"
,"  ":"101090101","   ":"101090101","  ":"101090501","   ":"101090301","  ":"101090601","  ":"101090901","  ":"101091001","  ":"101090701","  ":"101090801","  ":"101090402","  ":"101090201","   ":"101091101"
,"  ":"101180101","  ":"101180101","  ":"101180801","  ":"101180901","   ":"101180501","  ":"101181101","  ":"101181201","  ":"101180301","  ":"101180201","  ":"101181301","  ":"101180401","  ":"101181501","   ":"101181701","  ":"101180701","  ":"101181001","  ":"101180601","  ":"101181401","   ":"101181601"
,"  ":"101170101","  ":"101170101","  ":"101170401","  ":"101170501","   ":"101170201","  ":"101170301"
,"  ":"101150101","  ":"101150101","  ":"101150801","  ":"101150701","  ":"101150301","  ":"101150501","  ":"101150601","  ":"101150201","  ":"101150401"
,"  ":"101200101","  ":"101200101","  ":"101200901","  ":"101200501","  ":"101201001","  ":"101200801","   ":"101201201","  ":"101201101","  ":"101200701","  ":"101200201","  ""101200401","  ":"101201301","  ":"101200601","  ":"101201401","  ":"101200301"
,"  ":"101250101","  ":"101250101","  ":"101250901","  ":"101250601","  ":"101250501","  ":"101251501","  ":"101250301","  ":"101250801","  ":"101250201","  ":"101250701","  ":"101251401","  ":"101251001","  ":"101250401","  ":"101251201","  ":"101250202","   ":"101251101"
,"  ":"101210101","  ":"101210101","  ":"101210201","  ":"101210901","  ":"101210401","  ":"101210801","  ":"101210501","  ":"101211001","  ":"101210301","  ":"101210601","  ":"101211101","  ":"101210701"	
,"  ":"101240101","  ":"101240101","  ":"101240901","  ":"101240201","  ":"101240301","  ":"101240401","  ":"101240601","  ":"101241101","  ":"101240501","  ":"101241001","   ":"101240801","  ":"101240701"
,"  ":"101230101","  ":"101230101","  ":"101230201","  ":"101230701","  ":"101230901","  ":"101230301","  ":"101230401","  ":"101230501","  ":"101230801","  ":"101230601"
,"  ":"101260101","  ":"101260101","  ":"101260301","  ":"101260208","  ":"101260201","  ":"101260601","   ":"101260801","  ":"101260701","  ":"101260501","  ":"101260401"
,"  ":"101310101","  ":"101310101","  ":"101310201","  ":"101310205","  ":"101310102","  ":"101310222","  ":"101310212"	
,"  ":"101130101","    ":"101130101","   ":"101131401","   ":"101130801","  ":"101130401","  ":"101131201","  ":"101131301","  ":"101130901","    ":"101130201","   ":"101130301","  ":"101131101","   ":"101130601","   ":"101130501","  ":"101131001"
,"  ":"101140101","  ":"101140101","  ":"101140701","  ":"101140501","  ":"101140601","   ":"101140201","  ":"101140301","  ":"101140401"
,"  ":"101340102","  ":"101340102","  ":"101340201"	
,"  ":"101290101","  ":"101290101","  ":"101290501","  ":"101290801","  ":"101291501","  ":"101290301","  ":"101291101","  ":"101291201","  ":"101290401","  ":"101290901","  ":"101290601","  ":"101290701","  ":"101291001","  ":"101291401","  ":"101290201"
,"  ":"101120101","  ":"101120101","  ":"101120201","  ":"101120301","  ":"101121301","  ":"101120710","  ":"101120901","  ":"101120501","  ":"101121401","  ":"101121701","  ":"101120701","  ":"101121001","  ":"101120801","  ":"101121501","  ":"101121201","  ":"101120401","  ":"101121101","  ":"101121601","  ":"101120601"
,"  ":"101100101","  ":"101100101","  ":"101100301","  ":"101100601","  ":"101100401","  ":"101100701","  ":"101100801","  ":"101100501","  ":"101100901","  ":"101101001","  ":"101100201","  ":"101101101"
,"  ":"101190101","  ":"101190101","  ":"101190401","  ":"101190404","  ":"101190501","  ":"101190408","  ":"101190406","  ":"101190801","  ":"101190203","  ":"101190301","  ":"101190901","  ":"101190402","  ":"101190701","  ":"101191201","  ":"101190201","   ":"101191001","  ":"101190601","  ":"101191101","  ":"101191301"
,"  ":"101220101","  ":"101220101","  ":"101221601","  ":"101220201","  ":"101220601","  ":"101221501","  ":"101221101","   ":"101220501","  ":"101220801","  ":"101221401","  ":"101221301","  ":"101221201","  ":"101220301","  ":"101220901","  ":"101220701","  ":"101220401","  ":"101221701"
,"  ":"101110101","  ":"101110101","  ":"101110510","  ":"101110701","  ":"101110801","  ":"101110901","  ":"101110200","  ":"101110401","  ":"101110501","  ":"101110601","  ":"101111001","  ":"101110300"
,"  ":"101160101","  ":"101160101","  ":"101161301","  ":"101160401","  ":"101160801","  ":"101160901","  ":"101160501","  ":"101160701","  ":"101050204","  ":"101161101","  ":"101160301","  ":"101160201","  ":"101160601"
,"  ":"101270101","  ":"101270101","  ":"101271001","  ":"101271201","  ":"101271601","  ":"101271901","  ":"101270901","  ":"101272101","  ":"101271401","  ":"101270401","  ":"101272001","   ":"101270201","  ":"101271701","  ":"101271101","  ":"101270301","   ":"101271801","  ":"101270601","  ":"101271301","  ":"101270801","  ":"101270701","  ":"101271501","  ":"101270501"
,"  ":"101280101","  ":"101280101","  ":"101280601","  ":"101281501","  ":"101280201","  ":"101281001","  ":"101280301","  ":"101281301","  ":"101281601","  ":"101281101","  ":"101282001","  ":"101280901","  ":"101282101","  ":"101281201","  ":"101281901","  ":"101280401","  ":"101281701","  ":"101280905","  ":"101281801","  ":"101281401","  ":"101280701","  ":"101280501","  ":"101280800"
,"  ":"101300101","  ":"101300101","  ":"101300501","  ":"101300510","  ":"101300301","  ":"101300601","  ":"101300901","  ":"101300802","  ":"101300701","  ":"101301101","  ":"101300801","   ":"101301401","  ":"101301001","  ":"101301301","  ":"101301201","  ":"101300401","  ":"101300201"
};
                    :
http://www.weather.com.cn/data/sk/101010100.html
http://www.weather.com.cn/data/cityinfo/101010100.html
http://m.weather.com.cn/data/101010100.html
             。  url  101010100     ,          。         ,              。     ,            101230101。
       url:http://m.weather.com.cn/data/101230101.html    ,     json     ,    :
{"weatherinfo":{"city":"  ","city_en":"fuzhou","date_y":"2012 5 14 ","date":"","week":"   ","fchh":"08","cityid":"101230101","temp1":"29℃~23℃","temp2":"26℃~20℃","temp3":"24℃~20℃","temp4":"25℃~20℃","temp5":"24℃~21℃","temp6":"25℃~22℃","tempF1":"84.2℉~73.4℉","tempF2":"78.8℉~68℉","tempF3":"75.2℉~68℉","tempF4":"77℉~68℉","tempF5":"75.2℉~69.8℉","tempF6":"77℉~71.6℉","weather1":"     ","weather2":"     ","weather3":"  ","weather4":"  ","weather5":"     ","weather6":"     ","img1":"3","img2":"8","img3":"8","img4":"7","img5":"7","img6":"99","img7":"7","img8":"99","img9":"7","img10":"3","img11":"3","img12":"7","img_single":"3","img_title1":"  ","img_title2":"  ","img_title3":"  ","img_title4":"  ","img_title5":"  ","img_title6":"  ","img_title7":"  ","img_title8":"  ","img_title9":"  ","img_title10":"  ","img_title11":"  ","img_title12":"  ","img_title_single":"  ","wind1":"  ","wind2":"  ","wind3":"  ","wind4":"  ","wind5":"  ","wind6":"  ","fx1":"  ","fx2":"  ","fl1":"  3 ","fl2":"  3 ","fl3":"  3 ","fl4":"  3 ","fl5":"  3 ","fl6":"  3 ","index":" ","index_d":"    ,     、  、   、T      。              。","index48":" ","index48_d":"   ,                。             、     。","index_uv":" ","index48_uv":"  ","index_xc":"  ","index_tr":"  ","index_co":"    ","st1":"27","st2":"21","st3":"24","st4":"18","st5":"22","st6":"18","index_cl":"   ","index_ls":"    ","index_ag":"   "}}
*/