后台jsp classNew.jspITeye - AG环亚娱乐集团

后台jsp classNew.jspITeye

2019-01-13 15:59:42 | 作者: 雨珍 | 标签: 微软,雅黑,新增 | 浏览: 2576

 %@ page language="java" import="java.util.*" pageEncoding="utf-8"% 
 %@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"% 
 String path = request.getContextPath();
 String basePath = request.getScheme() + "://"
 + request.getServerName() + ":" + request.getServerPort()
 + path + "/";
 !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" 
 html 
 head 
 base href=" %=basePath% " 
 title /title 
 link rel="stylesheet" href="admin/css/basic.css" type="text/css" / 
 link rel="stylesheet" href="admin/css/news.css" type="text/css" / 
 /head 
 body 
 div 
 table cellpadding="0" cellspacing="0" 
 td colspan="3" 创立分类 /td 
 /tr 
 form action="classNew" method="get" 
 td 新增分类 /td 
 td input type="text" name="productsClassify" / 
 /td 
 td input type="submit" value="新增分类" / 
 /td 
 /tr 
 /form 
 form action="classNew" method="get" 
 td 新增品牌 /td 
 select name="productsClassifyId" 
 c:forEach var="item" items="${pcList }" varStatus="i" 
 option value="${item.products_classify_id }" c:if test="${item.products_classify_id eq 1 }" selected="selected" /c:if ${item.products_classify_content } /option 
 /c:forEach 
 /select 
 nbsp; nbsp; input type="text" name="productsBrand" / 
 /td 
 td input type="submit" value="新增品牌" / 
 /td 
 /tr 
 /form 
 /table 
 /div 
 /body 
 /html 

 

/* CSS Document */
/*公共款式*/
*{ margin:0; padding:0; font-size: 12px;}
body{ font-family:"宋体"; color:#666; font-size:12px; background:#fff;}
a{ color:#484848; text-decoration:none;}
a:hover{ color:#f60; text-decoration:none;}
a img{ border:none;}
.f_l{ float:left;}
.f_r{ float:right;}
span{ display:block;}
i{ font-style:normal;}
em{ font-style:normal;}
ul li{ list-style-type:none;}
.c{ clear:both;}

 

/* CSS Document */
.submit{ background:#f7661f; color:#fff; text-align:center; width:108px; height:21px; line-height:21px; border:none; border-radius:3px; font-family:"Arial";}
.submit:hover{ background:#ff971c;}
.submit2{ background:#f7661f; color:#fff; text-align:center; width:76px; height:21px; line-height:21px; border:none; border-radius:3px; font-family:"Arial";}
.submit2:hover{ background:#ff971c;}
.fillIn{ width:800px; margin:80px auto 0 auto;}
.fillIn table{ width:100%; border-top:1px solid #ccc; border-left:1px solid #ccc;}
.fillIn table td{ height:21px; text-align:center; border-bottom:1px solid #ccc; border-right:1px solid #ccc;}
.fillIn table .explain td{ background:#f4f4f4; font-family:"微软雅黑"; color:#333; font-weight:bold;}
.fillIn table .item .key{ background:#436da8; color:#fff; font-family:"微软雅黑"; width:180px; text-align:right; padding-right:10px;}
.fillIn table .item .value{ color:#333; font-family:"微软雅黑";}
.fillIn table .item .value input{ color:#c00; border:none; width:280px; font-family:"微软雅黑";}
.fillIn table .item .value select{ color:#c00; border:none; font-family:"微软雅黑";}
.fillIn table .item .value select option{ color:#c00; border:none; font-family:"微软雅黑";}
.fillIn table .item .prompt{ width:300px; text-align:left; padding-left:10px; color:#333; font-family:"微软雅黑";}
.fillIn table .update td{ height:28px; padding-right:10px;}

 

效果图:

 

 

 

 

 

 

 

 

 

 

 

 

 

版权声明
本文来源于网络,版权归原作者所有,其内容与观点不代表AG环亚娱乐集团立场。转载文章仅为传播更有价值的信息,如采编人员采编有误或者版权原因,请与我们联系,我们核实后立即修改或删除。

猜您喜欢的文章