target/Gotrip/admin/editProduct.jsp
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8" import="java.util.*"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@include file="../include/admin/adminHeader.jsp"%>
<%@include file="../include/admin/adminNavigator.jsp"%>
<title>编辑房源</title>
<script>
$(function() {
$("#editForm").submit(function() {
if (!checkEmpty("name", "房间名称"))
return false;
// if (!checkEmpty("subTitle", "小标题"))
// return false;
if (!checkNumber("orignalPrice", "原价格"))
return false;
if (!checkNumber("promotePrice", "优惠价格"))
return false;
if (!checkInt("stock", "剩余房间"))
return false;
return true;
});
});
</script>
<div class="workingArea">
<ol class="breadcrumb">
<li><a href="admin_category_list">所有分类</a></li>
<li><a href="admin_product_list?cid=${p.category.id}">${p.category.name}</a></li>
<li class="active">${p.name}</li>
<li class="active">编辑房间</li>
</ol>
<div class="panel panel-warning editDiv">
<div class="panel-heading">编辑房间</div>
<div class="panel-body">
<form method="post" id="editForm" action="admin_product_update">
<table class="editTable">
<tr>
<td>房间名称</td>
<td><input id="name" name="name" value="${p.name}"
type="text" class="form-control"></td>
</tr>
<tr>
<td>房间描述</td>
<td><input id="subTitle" name="subTitle" type="text"
value="${p.subTitle}"
class="form-control"></td>
</tr>
<tr>
<td>原价格</td>
<td><input id="orignalPrice" value="${p.orignalPrice}" name="orignalPrice" type="text"
class="form-control"></td>
</tr>
<tr>
<td>优惠价格</td>
<td><input id="promotePrice" value="${p.promotePrice}" name="promotePrice" type="text"
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
