third commit

master
xiaohongkang 5 years ago
parent 9ac138d669
commit 6cf2a3cbe5

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="masterDetails">
<states>
<state key="ProjectJDKs.UI">
<settings>
<last-edited>1.8</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states>
</component>
</project>

@ -0,0 +1,201 @@
*{
-webkit-box-sizing: border-box;
box-sizing: border-box;
/*background: rgba(0,0,0,.1);*/
-webkit-box-sizing: background 200ms ;
-o-transition: background 200ms ;
transition: background 200ms;/*改变页面中颜色变换时间*/
}
.container{
display: block;
max-width:1080px;
margin:0 auto;
}
body{
font-size: 14px;
color: #444;
background: #f9f9f9;
line-height: 1.7;
}
a{
text-decoration: none;/*下划线去掉*/
}
img{
display: block;
max-width: 100%;
}
.fl{
float: left;
}
.fr{
float:right;
}
.clear-float:after,
.clear-float:before{
content:"";
display: block;
clear: both;
}
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9{
display: block;
position: relative;
min-height: 1px;
float: left;
}
.col-1{
width: 10%;
}
.col-2{
width: 20%;
}
.col-3{
width: 30%;
}
.col-4{
width: 40%;
}
.col-5{
width: 50%;
}
.col-6{
width: 60%;
}
.col-7{
width: 70%;
}
.col-8{
width: 80%;
}
.col-9{
width: 90%;
}
.top-nav{
background: #eee;
}
.top-nav .item{
display: inline-block;
padding: 6px 10px;
color: #666;
}
.top-nav .item:hover{
color: #333;
}
.header{
padding: 20px 0px;
}
.header .logo{
font-size: 30px;
}
.header .search-bar{
border: 2px solid #dd128b;
background: #dd182b;
}
.header .search-bar input,
.header .search-bar button{
float: left;
border: 0;
padding: 10px;
outline: 0;
}
.header .search-bar input{
width: 80%;
}
.header .search-bar input:focus{ /*在输入时的一点点投影*/
-webkit-box-shadow: inset 0 0 2px 2px rgba(0,0,0,.3);
box-shadow: inset 0 0 2px 2px rgba(0,0,0,.3);
}
.header .search-bar button{
width: 20%;
background: #dd182b;
color: #fff;
}
.header .search-bar button:hover{
background: #ce1829;
}
.header .cart{
text-align: center;
}
.header .cart a{
float: right;
padding: 10px;
background: #fff;
border: 2px solid #eee;
width: 60%;
color: #dd182b;
}
.main-promote{
background: #eee;
}
.main-promote .cat{
background: #6e6568;
color: #fff;
}
.main-promote .cat .item{
padding: 14px 20px;
}
.main-promote .cat .item:hover{
background: rgba(0,0,0,.2);
}
.main-promote .info{
padding: 10px;
background: #fff;
color: #888;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.main-promote .info .avatar{
width: 50px;
height: 50px;
background: #aaa;
border-radius: 50%;
float: left;
margin-right: 10px;
}
.main-promote .info > *{
margin-bottom: 10px;
}
.cat-promote .title:before{
content: "";
display: inline-block;
vertical-align: middle;
width: 5px;
height: 22px;
background: #dd182b;
margin-right: 10px;
}
.cat-promote .title{
font-size: 22px;
}
.cat-promote .item{
padding:5px;
}
.cat-promote .card{
height: 300px;
background: #ccc;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.footer{
text-align: center;
padding:30px 0;
color: #999;
}
.footer a{
color: #999;
}

@ -0,0 +1,91 @@
*{
-webkit-box-sizing: border-box;
box-sizing: border-box;
/*background: rgba(0,0,0,.1);*/
-webkit-box-sizing: background 200ms ;
-o-transition: background 200ms ;
transition: background 200ms;/*改变页面中颜色变换时间*/
}
.container{
display: block;
max-width:1080px;
margin:0 auto;
}
body{
font-size: 14px;
color: #444;
background: #f9f9f9;
line-height: 1.7;
}
a{
text-decoration: none;/*下划线去掉*/
}
img{
display: block;
max-width: 100%;
}
.fl{
float: left;
}
.fr{
float:right;
}
.clear-float:after,
.clear-float:before{
content:"";
display: block;
clear: both;
}
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9{
display: block;
position: relative;
min-height: 1px;
float: left;
}
.col-1{
width: 10%;
}
.col-2{
width: 20%;
}
.col-3{
width: 30%;
}
.col-4{
width: 40%;
}
.col-5{
width: 50%;
}
.col-6{
width: 60%;
}
.col-7{
width: 70%;
}
.col-8{
width: 80%;
}
.col-9{
width: 90%;
}
.top-nav{
background: #eee;
}
.top-nav .item{
display: inline-block;
padding: 6px 10px;
color: #666;
}
.top-nav .item:hover{
color: #333;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/表严肃电商实战.iml" filepath="$PROJECT_DIR$/表严肃电商实战.iml" />
</modules>
</component>
</project>

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>产品介绍</title>
<link rel="stylesheet" href="https://cdn.bootcss.com/normalize/8.0.1/normalize.min.css">
<link rel="stylesheet" href="./css/p-i.css">
</head>
<body>
<div class="top-nav">
<div class="container clear-float">
<div class="fl">
<a class="item" href="#">首页</a>
</div>
<div class="fr">
<a class="item" href="#">购物车</a>
<a class="item" href="#">我的订单</a>
<a class="item" href="#">收藏夹</a>
<a class="item" href="#">登录</a>
<a class="item" href="#">注册</a>
</div>
</div>
</div>
</body>
</html>

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ChangeListManager">
<list default="true" id="b87591de-7be0-4a4b-814e-981141b98cc7" name="Default Changelist" comment="" />
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="FileTemplateManagerImpl">
<option name="RECENT_TEMPLATES">
<list>
<option value="HTML File" />
</list>
</option>
</component>
<component name="ProjectId" id="1VdXTDYzhEe8Ivkf2RA2SeH1jNC" />
<component name="PropertiesComponent">
<property name="DefaultHtmlFileTemplate" value="HTML File" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$/../ds-master" />
</component>
<component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS">
<recent name="D:\Desktop\肖洪康\表严肃电商实战\.idea\img" />
</key>
<key name="CopyFile.RECENT_KEYS">
<recent name="D:\Desktop\肖洪康\表严肃电商实战\.idea\img" />
</key>
</component>
<component name="RunDashboard">
<option name="ruleStates">
<list>
<RuleState>
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
</RuleState>
<RuleState>
<option name="name" value="StatusDashboardGroupingRule" />
</RuleState>
</list>
</option>
</component>
<component name="SvnConfiguration">
<configuration />
</component>
<component name="TaskManager">
<task active="true" id="Default" summary="Default task">
<changelist id="b87591de-7be0-4a4b-814e-981141b98cc7" name="Default Changelist" comment="" />
<created>1577583950774</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1577583950774</updated>
<workItem from="1577583954769" duration="2932000" />
<workItem from="1577667109167" duration="6934000" />
<workItem from="1577693991676" duration="2861000" />
<workItem from="1577708550281" duration="9121000" />
<workItem from="1577753212648" duration="10566000" />
</task>
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="1" />
</component>
</project>

@ -0,0 +1,179 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>闲书网</title>
<link rel="stylesheet" href="https://cdn.bootcss.com/normalize/8.0.1/normalize.min.css">
<link rel="stylesheet" href="./.idea/css/main.css">
</head>
<body>
<div class="top-nav">
<div class="container clear-float">
<div class="fl">
<a class="item" href="#">首页</a>
</div>
<div class="fr">
<a class="item" href="#">购物车</a>
<a class="item" href="#">我的订单</a>
<a class="item" href="#">收藏夹</a>
<a class="item" href="#">登录</a>
<a class="item" href="#">注册</a>
</div>
</div>
</div>
<div class="header clear-float">
<div class="container">
<div class="col-2 logo">
<!-- <img src="./.idea/img/未标题-1.jpg">-->
闲书网
</div>
<div class="col-5 search-bar">
<input type="text">
<button>搜索</button>
</div>
<div class="col-3 cart">
<a href="#">我的购物车</a>
</div>
</div>
</div>
<div class="main-promote clear-float">
<div class="container">
<div class="col-2 cat">
<div class="item">item / item</div>
<div class="item">item / item</div>
<div class="item">item / item</div>
<div class="item">item / item</div>
<div class="item">item / item</div>
</div>
<div class="col-6">
<div class="slider">
<img src=".idea/img/slider_01.png">
</div>
<div class="sub-promote">
<div class="col-5">
<img src=".idea/img/slider_02.png">
</div>
<div class="col-5">
<img src=".idea/img/slider_03.png">
</div>
</div>
</div>
<div class="col-2 info" >
<div class="auth clear-float">
<div class="avatar"></div>
你好,欢迎剁手~
</div>
<div class="anno">
<div class="title"> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;公告</div>
<div class="content">
闲书网目前仅处于测试阶段,很多功能尚未完善,会在后续版本中逐步完善~
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="cat-promote clear-float">
<div class="title" >五折专区</div>
<div class="content">
<div class="col-2 item">
<div class="card">
</div>
</div>
<div class="col-3 item">
<div class="card">
</div>
</div>
<div class="col-2 item">
<div class="card">
</div>
</div>
<div class="col-3 item">
<div class="card">
</div>
</div>
</div>
</div>
<div class="cat-promote clear-float">
<div class="title" >必读经典</div>
<div class="content">
<div class="col-2 item">
<div class="card">
</div>
</div>
<div class="col-3 item">
<div class="card">
</div>
</div>
<div class="col-2 item">
<div class="card">
</div>
</div>
<div class="col-3 item">
<div class="card">
</div>
</div>
</div>
</div>
<div class="cat-promote clear-float">
<div class="title" >9.9元包邮</div>
<div class="content">
<div class="col-2 item">
<div class="card">
</div>
</div>
<div class="col-3 item">
<div class="card">
</div>
</div>
<div class="col-2 item">
<div class="card">
</div>
</div>
<div class="col-3 item">
<div class="card">
</div>
</div>
</div>
</div>
</div>
<div class="footer clear-float">
<div class="container">
<div >
@闲书网
</div>
<a href="#">关于我们</a>
</div>
</div>
</body>
</html>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
Loading…
Cancel
Save