| | |
| | | <script src="../js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script> |
| | | <link href="../js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" /> |
| | | <script src="../js/layui/layui.js?v={yun:}$config.cachecode{/yun}"></script> |
| | | <script src="../js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script> |
| | | <script src="../js/layui/custom_layer.js?v={yun:}$config.cachecode{/yun}"></script> |
| | | <script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}" type="text/javascript"></script> |
| | | <title>后台管理</title> |
| | | </head> |
| | |
| | | <input name="sy_webname" id="sy_webname" placeholder="请输入网站名称" autocomplete="off" class="layui-input" type="text" |
| | | value="{yun:}$config.sy_webname{/yun}" size="63" /> |
| | | </div> |
| | | <div class="layui-form-mid layui-word-aux">如:维特人才网</div> |
| | | <div class="layui-form-mid layui-word-aux">如:湖北丝路跨境贸易人才平台</div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">网站地址:</label> |
| | |
| | | <input name="sy_weburl" id="sy_weburl" placeholder="请输入网址地址" autocomplete="off" class="layui-input" type="text" |
| | | value="{yun:}$config.sy_weburl{/yun}" size="63" /> |
| | | </div> |
| | | <div class="layui-form-mid layui-word-aux">如:http://www.weitenet.com</div> |
| | | <div class="layui-form-mid layui-word-aux"></div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <label class="layui-form-label">网站开启:</label> |
| | |
| | | </div> |
| | | </div> |
| | | |
| | | <script src="{yun:}$config.mapurl{/yun}"></script> |
| | | <script src="{yun:}$config.sy_weburl{/yun}/js/map.js?v={yun:}$config.cachecode{/yun}"></script> |
| | | <!-- <script src="{yun:}$config.mapurl{/yun}"></script> --> |
| | | <!-- <script src="{yun:}$config.sy_weburl{/yun}/js/map.js?v={yun:}$config.cachecode{/yun}"></script> --> |
| | | <script> |
| | | layui.use(['layer', 'form'], function() { |
| | | var layer = layui.layer, |
| | |
| | | } |
| | | }); |
| | | |
| | | getmapnoshowcont('map_container', |
| | | "{yun:}if $config.map_x{/yun}{yun:}$config.map_x{/yun}{yun:}else{/yun}116.404{yun:}/if{/yun}", |
| | | "{yun:}if $config.map_y{/yun}{yun:}$config.map_y{/yun}{yun:}else{/yun}39.915{yun:}/if{/yun}", "map_x", "map_y"); |
| | | //地图默认缩放级别 |
| | | var map = new BMap.Map("map_container"); |
| | | // getmapnoshowcont('map_container', |
| | | // "{yun:}if $config.map_x{/yun}{yun:}$config.map_x{/yun}{yun:}else{/yun}116.404{yun:}/if{/yun}", |
| | | // "{yun:}if $config.map_y{/yun}{yun:}$config.map_y{/yun}{yun:}else{/yun}39.915{yun:}/if{/yun}", "map_x", "map_y"); |
| | | // //地图默认缩放级别 |
| | | // var map = new BMap.Map("map_container"); |
| | | |
| | | setLocation('map_container', |
| | | "{yun:}if $config.map_x{/yun}{yun:}$config.map_x{/yun}{yun:}else{/yun}116.404{yun:}/if{/yun}", |
| | | "{yun:}if $config.map_y{/yun}{yun:}$config.map_y{/yun}{yun:}else{/yun}39.915{yun:}/if{/yun}", "map_x", "map_y"); |
| | | // setLocation('map_container', |
| | | // "{yun:}if $config.map_x{/yun}{yun:}$config.map_x{/yun}{yun:}else{/yun}116.404{yun:}/if{/yun}", |
| | | // "{yun:}if $config.map_y{/yun}{yun:}$config.map_y{/yun}{yun:}else{/yun}39.915{yun:}/if{/yun}", "map_x", "map_y"); |
| | | |
| | | function setLocation(id, x, y, xid, yid) { |
| | | var data = get_map_config(); |