开发区围栏对照

This commit is contained in:
majintao
2024-09-29 09:38:17 +08:00
parent 33ee1ac991
commit eb0e984811
2 changed files with 10 additions and 6 deletions
@@ -23,13 +23,14 @@
<#include "/common_js.ftl" />
<div class="row-fluid">
<div class="span7">
<div class="input-append">
<form id="form1">
<form id="form1">
<div class="input-append">
<#if developmentZone??>
<input id="id" name="id" type="hidden" value="${developmentZone.id!}"/>
</#if>
<div style="float: left">
<img id="myImage" src="${developmentZone.imgUrl}"/>
<img id="myImage" src="${developmentZone.imgUrl!'/path/to/default/image.jpg'}"/>
<#-- <img id="myImage" src="${developmentZone.imgUrl}"/>-->
<br/>
<input id="draw" type="button" value="画图"/>
<input id="line" type="button" value="串联" onclick="line"/>
@@ -45,17 +46,18 @@
<div>
<div>
<@d_city defaultValue="<#if developmentZone??>${developmentZone.cityName1!}</#if>" callback="changeCity" callbackField="display" name="cityDisplay" />
</div>
<input type="text" id="seaAddress"/>
<input type="button" id="btn_sea" value="查询"/>
<input id="saveOrUpdate" type="button" value="提交"/>
<input name="bdShape" id="bdShape" type="hidden"/>
</div>
<div id="allmap" style="height:900px;margin-left: -30px"></div>
</div>
</form>
</div>
</form>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$(document).ready(function () {
@@ -62,6 +62,8 @@
<td>${developmentZone.block!}</td>
</tr>
<tr>
<td>开发区图片</td>
<td><img id="myImage" src="${developmentZone.imgUrl!'/path/to/default/image.jpg'}"/></td>
<td colspan="2">
<div id="allmap" style="width:1024px;height:600px;"></div>
</td>