提交文件

This commit is contained in:
TOP糯米 2023-09-26 17:55:52 +08:00
commit 4fda2afe20
9 changed files with 234 additions and 0 deletions

10
css/reset.css Normal file
View File

@ -0,0 +1,10 @@
* {
padding: 0;
margin: 0;
}
ul {
list-style: none;
}
a {
text-decoration: none;
}

62
css/style.css Normal file
View File

@ -0,0 +1,62 @@
.header {
width: 100vw;
background-color: #010101;
}
.header .main {
max-width: 1366px;
height: 90px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.header .logo img {
max-height: 50px;
}
.header .menu .group {
display: flex;
}
.header .menu .item {
margin-left: 50px;
}
.header .menu .link {
font-size: 18px;
color: #FFFFFF;
}
.header .menu .link.active,
.header .menu .link:hover {
font-weight: bold;
}
.footer {
width: 100vw;
background-color: #343434;
}
.footer .main {
max-width: 1366px;
margin: 0 auto;
padding: 30px 0;
}
.footer .main .row:first-child {
margin-top: 0;
}
.footer .main .row {
font-size: 18px;
color: #FFFFFF;
text-align: center;
line-height: 20px;
margin-top: 20px;
}
.footer .main .tel {
display: inline-block;
width: 355px;
border: 2px solid #DDDDDD;
border-radius: 30px;
padding: 20px;
font-size: 24px;
}
.footer .main .icp {
color: #999999;
}
.footer .main .icp a {
color: unset;
}

81
css/style.less Normal file
View File

@ -0,0 +1,81 @@
@import 'var.less';
.header {
width: 100vw;
background-color: #010101;
.main {
max-width: @mw;
height: 90px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
}
.logo {
img {
max-height: 50px;
}
}
.menu {
.group {
display: flex;
}
.item {
margin-left: 50px;
}
.link {
font-size: 18px;
color: #FFFFFF;
}
.link.active,
.link:hover {
font-weight: bold;
}
}
}
.footer {
width: 100vw;
background-color: #343434;
.main {
max-width: @mw;
margin: 0 auto;
padding: 30px 0;
.row:first-child {
margin-top: 0;
}
.row {
font-size: 18px;
color: #FFFFFF;
text-align: center;
line-height: 20px;
margin-top: 20px;
}
.tel {
display: inline-block;
width: 355px;
border: 2px solid #DDDDDD;
border-radius: 30px;
padding: 20px;
font-size: 24px;
}
.icp {
color: #999999;
a {
color: unset;
}
}
}
}

1
css/var.less Normal file
View File

@ -0,0 +1 @@
@mw: 1366px;

BIN
images/logo-bottom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

BIN
images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

73
index.html Normal file
View File

@ -0,0 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>首页</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css">
<script src="libs/jquery.1.11.1.min.js"></script>
</head>
<body>
<div class="header">
<div class="main">
<div class="logo">
<a href="" target="_blank">
<img src="images/logo.png" alt="">
</a>
</div>
<div class="menu">
<ul class="group">
<li class="item">
<a class="link active" href="" target="_blank">首页</a>
</li>
<li class="item">
<a class="link" href="" target="_blank">关于左心房</a>
</li>
<li class="item">
<a class="link" href="" target="_blank">业务与介绍</a>
</li>
<li class="item">
<a class="link" href="" target="_blank">用户故事</a>
</li>
<li class="item">
<a class="link" href="" target="_blank">联系我们</a>
</li>
</ul>
</div>
</div>
</div>
<div class="container"></div>
<div class="footer">
<div class="main">
<div class="row">
<img class="logo-bottom" src="images/logo-bottom.png" />
</div>
<div class="row">
<p>公司名称:左心房企服(杭州)科技有限公司</p>
</div>
<div class="row">
<div class="tel">
<p>客服热线400-0707-091</p>
</div>
</div>
<div class="row">
<p>服务时间8:00 - 21:00</p>
</div>
<div class="row">
<p>地址杭州市西湖区西溪云起商务中心C座6楼</p>
</div>
<div class="row">
<div class="icp">
备案号:<a href="" target="_blank">浙ICP备2021038730号-1</a>
</div>
</div>
</div>
</div>
<script src="js/main.js"></script>
</body>
</html>

3
js/main.js Normal file
View File

@ -0,0 +1,3 @@
$(function () {
console.log('start')
})

4
libs/jquery.1.11.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long