电商主页:
<%@pageimport="java.util.List"%>
<%@pagelanguage="java"contentType="text/html;charset=UTF-8"
pageEncoding="UTF-8"%>
<%@tagliburi="prefix="c"%>
<%@taglibprefix="fmt"uri="%>
DOCTYPEhtml>
varvTimer=setInterval(function(){
vartitle=document.title;
varbegin=title.substr(0,1);
varend=title.substr(1,title.length);
document.title=end+begin;
},1000)
*{
font-family:
微软雅黑;
}
ulli{
text-decoration:
none;
}
.list-content{
width:
1200px;
height:
300px;
}
.list-contentulliimg{
width:
120px;
height:
144px;
}
.list-contentulli{
width:
248px;
height:
298px;
text-align:
center;
list-style:
none;
border:
1pxsolid#ededed;
float:
left;
}
.list-contentulli:
hover{
opacity:
0.7;
}
.list-contentullih3{
color:
#43A200;
}
.list-contentullih4{
margin-top:
5px;
}
.desc{
color:
silver;
}
.shopcart{
//position:
relative;
margin-top:
-5px;
}
<%
Stringusername=request.getParameter("username");
if(username==null){
username=(String)session.getAttribute("username");
}
session.setAttribute("username",username);
%>
iftest="${username! =null}"> <%=username%>
if>
来到¥19.9生鲜商城
iftest="${username==null}">
if>
iftest="${username! =null}"> flag=out">
if>
username=${username}">首页|
copyright@ 2008-2022 冰豆网网站版权所有 经营许可证编号:鄂ICP备2022015515号-1