WebRoot/admin/goods/goodsDetailQian.jsp
(完整代码) 2KB<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK"%>
<%
String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
<meta http-equiv="description" content="This is my page" />
<link rel="stylesheet" type="text/css" href="<%=path %>/css/base.css" />
<script language="javascript">
function buy1()
{
<s:if test="#session.user==null">
alert("请先登录");
</s:if>
<s:else>
document.buy.submit();
</s:else>
}
</script>
</head>
<body leftmargin="8" topmargin="8" background='<%=path %>/img/allbg.gif'>
<form action="<%=path %>/addToCart.action" method="post" name="buy">
<table width="100%" border="0" cellpadding="3" cellspacing="3">
<tr>
<td align="left"><img width="200" height="160" src="<%=path %>/${requestScope.goods.goodsPic }" style="border:1px solid #ccc; padding:3px;"/></td>
</tr>
<tr>
<td align="left">名称:${requestScope.goods.goodsName }</td>
</tr>
<tr>
<td align="left">价格:${requestScope.goods.goodsShichangjia }</td>
</tr>
<tr>
<td align="left">数量:<input type="text" name="quantity" value="1" size="8" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"/></td>
</tr>
<tr>
<td align="left">
<input type="hidden" name="goodsId" value="<s:property value="#request.goods.goodsId"/>"/>
<input type="button" value="点击订购" onclick="buy1()" style="width: 100px;height: 26px;"/>
</td>
</tr>
</table>
</form>
</body>
</html>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。