<!--{include file="<!--{$oetplpath}-->widget/block_header.tpl"}--> 
<body>
<!--{assign var="baidu_map_key" value="<!--{$config.baidumap_key}-->"}-->
<!--{if empty($baidu_map_key)}-->
<!--{assign var="baidu_map_key" value="d9jat2VxBFnIEWKGs2NaxAowYXDvlzal"}-->
<!--{/if}-->
<!--{if $config.https == '1'}-->
<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=<!--{$baidu_map_key}-->"></script>
<!--{else}-->
<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=<!--{$baidu_map_key}-->"></script>
<!--{/if}-->
<script src="<!--{$urlpath}-->tpl/static/map/oelove.map.js"></script>
<div class="oe_map_wrap p15">
	<div class="clearfix">
		<div class="oe_map_search mb20 fz0 fl">
      <input type="text" name="maplocation" id="maplocation" placeholder="搜索地点、城市、街道" class="oeui_input inline_block fz16 w200" style="height:46px;"/>
      <span class="cursor bg_main color_f plr15 inline_block t_center" f="but_search_map_location" style="height: 46px;"><i class="iconfont icon-sousuo1 color_f fz20" style="line-height: 46px;"></i></span>
			<input type="hidden" name="maplng" id="maplng" value="<!--{$login.info.maplng}-->" />
			<input type="hidden" name="maplat" id="maplat" value="<!--{$login.info.maplat}-->" />
		</div>
		
		<span class="fr cursor bg_main color_f br3 plr20 fz16" id="but_save_setmap" f="but_save_setmap" style="height: 46px;line-height: 46px;">完成</span>
    
		<div class="map_tips">
			<span class="triangle"></span>
      <label class="close cursor" f="but_close_maptips">&times;</label>
      拖动地图上浮动的标志定位到您所在区域，点完成即可。
    </div>
    
	</div>
  <div class="pa rb bg_tran_5 color_f z1000 plr10">
    经度：<label id="maplng_tips"><!--{$login.info.maplng}--></label>&nbsp;&nbsp;
    纬度：<label id="maplat_tips"><!--{$login.info.maplat}--></label>
  </div>
  <div id="oe_map" style="margin:0 auto;height:510px;">
  
  </div>
</div>
<script type="text/javascript">
$(function(){
    //回调初始化地图
    _initOEmap();
    
    //回车搜索地区....
    $(document).keydown(function(event){
        if (event.keyCode == 13){
            _searchMap();
        }
    });

});
</script>

<!--{include file="<!--{$uctplpath}-->widget/block_footer_oeui.tpl"}-->
<script src="<!--{$userskin}-->js/map.js?spm=<!--{$time}-->"></script>
</body>
</html>
  