Marking.Template/Temp/GetUseImageMap.aspx

34 lines
1.3 KiB
Plaintext

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GetUseImageMap.aspx.cs" Inherits="Temp_GetUseImageMap" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<script src="../js/jquery-1.10.2.min.js"></script>
</head>
<body>
<input type="hidden" value="<%=TempID %>" id="TempID" />
<input type="hidden" value="<%=UserID %>" id="UserID" />
<input type="hidden" value="<%=tenant %>" id="tenant" />
<input type="hidden" value="<%=url %>" id="ImgUrl" />
<div style=" width:1920px; height:auto; text-align:center; overflow:hidden; margin:0 auto;">
<img id="loading" src="../img/111.gif" />
<img id="SelectImg" src="" style="width:100%;" />
</div>
<script>
$.post("TempDraw.aspx", { action: 1, rd: Math.random(), TempID: $("#TempID").val(), UserID: $("#UserID").val(), imgUrl: $("#ImgUrl").val(),tenant:$("#tenant").val() }, function (res) {
if (res == "-1") {
alert("无法定位");
}
else {
$("#loading").remove();
$("#SelectImg").attr("src", "data:image/jpg;base64," + res);
}
})
</script>
</body>
</html>