Commit 7a76d31d by fengzhaoyu

MOD:增加了没有分类和没有菜品的情况

parent 103a8eab
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
<mapping directory="F:" vcs="Git" />
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
......@@ -45,6 +45,9 @@ li {
text-align: center;
line-height: 64px;
border-right: 5px solid #ffffff;
overflow: hidden;
white-space:nowrap;
text-overflow:ellipsis;
}
/*点菜*/
.menu {
......@@ -257,4 +260,50 @@ li {
left: 50%;
margin-left: -172px;
cursor: pointer;
}
\ No newline at end of file
}
/*左侧没有分类*/
.noCategory {
width: 100%;
position: relative;
}
.noCategory img {
width: 179px;
height: 152px;
position: absolute;
top: 236px;
left: 50%;
margin-left: -89px;
}
.noCategory p {
position: absolute;
top: 408px;
width: 100%;
text-align: center;
color: #999999;
font-size: 14px;
}
/*没有菜品*/
.noProduct {
width: 100%;
position: relative;
}
.noProduct img {
width: 179px;
height: 152px;
position: absolute;
top: 236px;
left: 50%;
margin-left: -89px;
}
.noProduct p {
position: absolute;
top: 408px;
width: 179px;
left: 50%;
margin-left: -95px;
text-align: center;
color: #999999;
font-size: 14px;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment