WebRoot/qiantai/goods/goodsDetailQian.jsp

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ page isELIgnored="false" %> 
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	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 href="<%=path %>/css/layout.css" type="text/css" rel="stylesheet" />
		
	    <script type="text/javascript">
           function buy1(goodsId)
           {
		       <c:if test="${sessionScope.zhuohao==null }">
				   alert("请先就座");
			   </c:if>
			   <c:if test="${sessionScope.zhuohao !=null }">
				   var url="<%=path %>/addToCart.action?goodsId="+goodsId;
		           window.location.href=url;
			   </c:if>
           }
	    </script>
	</head>

	<body>
		<jsp:include flush="true" page="/qiantai/inc/incTop.jsp"></jsp:include>
		<div class="page_row" >
			<div class="page_main_msg left">
			     <div class="left_row">
		              <div class="list pic_news" style="width: 950px;">
				          <div class="list_bar">&nbsp;</div>
				          <div class="list_content">
                              <div class="c1-body" align="left">
								  <div class="ctitle ctitle1"><s:property value="#request.goods.goodsName"/></div>
								  <div class="pbox" style="width: 95%">
								      <center><img src="<%=path %>/${requestScope.goods.goodsPic }" width="400" height="300" style="border: 0px;"/></center>
								  </div>
								  
								  <div class="pbox" style="width: 95%"><s:property value="#request.goods.goodsMiaoshu" escape="false"/></div> 
								  <div class="pbox" style="width: 95%">
								                  价格:<s:property value="#request.goods.goodsTejia" escape="false"/>
								  </div> 
								  <div class="pbox" style="width: 95%">
								      <input type="button" value="点餐" style="width: 120px;height: 30px" onclick="buy1(<s:property value="#request.goods.goodsId"/>)"/>
								  </div> 
						      </div>
						  </div>
					  </div>	
				      <div style="clear:both;"></div>
			     </div>
后面还有 8 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。