first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
/* 专门用来清除标签的默认样式的 */
li {
list-style: none; /* 清除li标签的小圆点 */
}
a {
text-decoration: none; /* 清除a标签的下划线 */
}
body,ul,p,h1,h2,h3,h4,h5,h6{
margin: 0;
padding: 0;
}
input {
outline: none;
}

View File

@@ -0,0 +1,96 @@
.header {
width: 100%;
height: 0.9rem;
top: 0;
left: 0;
position: fixed;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 0.42rem;
box-sizing: border-box;
z-index: 999;
}
.header img {
width: 0.15rem;
height: 0.29rem;
}
.header p {
font-size: 0.34rem;
color: #333333;
}
.header div {
width: 0.15rem;
height: 0.29rem;
}
.content {
margin-top: 0.9rem;
}
.content_top {
display: flex;
position: relative;
justify-content: center;
}
.content_top img {
width: 0.27rem;
height: 0.28rem;
position: absolute;
left: 0.68rem;
top: 0.14rem;
}
.content_top input {
width: 6.9rem;
height: 0.56rem;
background-color: #f0f0f0;
border-radius: 0.28rem;
border: solid 0.01rem #d5d5d5;
padding-left: 0.87rem;
box-sizing: border-box;
}
.content_mid {
display: flex;
justify-content: space-between;
padding: 0.34rem 0.59rem 0.24rem 0.66rem;
}
.mid_one,.mid_two,.mid_the,.mid_four {
font-size: 0.24rem;
}
.mid_one {
color: #ff7b41;
}
.mid_the img {
width: 0.15rem;
height: 0.19rem;
}
.mid_four img {
width: 0.18rem;
height: 0.23rem;
}
.content_bottom {
display: flex;
flex-wrap: wrap;
padding-left: 0.25rem;
}
.content_bottom li {
width: 3.4rem;
height: 5rem;
background-color: #ffffff;
border-radius: 0.1rem;
margin-right: 0.19rem;
margin-bottom: 0.48rem;
}
.content_bottom img {
width: 3.46rem;
height: 3.46rem;
}
.bottom_list {
font-size: 0.24rem;
color: #3f3f3f;
margin: 0.19rem 0.27rem 0.26rem 0.13rem
}
.bottom_nums {
font-size: 0.28rem;
color: #ff7b41;
margin-left: 0.13rem;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/clear.css">
<link rel="stylesheet" href="./css/public.css">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<div class="header">
<img src="./img/left.png" alt="">
<p>商品列表</p>
<div></div>
</div>
<div class="content">
<div class="content_top">
<img src="./img/ser.png" alt="">
<input type="text" placeholder="搜索">
</div>
<ul class="content_mid">
<li class="mid_one">最新</li>
<li class="mid_two">销量</li>
<li class="mid_the">
<span>价格</span>
<img src="./img/top.png" alt="">
</li>
<li class="mid_four">
<span>筛选</span>
<img src="./img/share.png" alt="">
</li>
</ul>
<ul class="content_bottom">
<li>
<img src="./img/shop.png" alt="">
<p class="bottom_list">女鞋小白鞋女鞋小白鞋女鞋小白鞋女鞋小白鞋</p>
<p class="bottom_nums">50积分</p>
</li>
<li>
<img src="./img/shop.png" alt="">
<p class="bottom_list">女鞋小白鞋女鞋小白鞋女鞋小白鞋女鞋小白鞋</p>
<p class="bottom_nums">50积分</p>
</li>
<li>
<img src="./img/shop.png" alt="">
<p class="bottom_list">女鞋小白鞋女鞋小白鞋女鞋小白鞋女鞋小白鞋</p>
<p class="bottom_nums">50积分</p>
</li>
<li>
<img src="./img/shop.png" alt="">
<p class="bottom_list">女鞋小白鞋女鞋小白鞋女鞋小白鞋女鞋小白鞋</p>
<p class="bottom_nums">50积分</p>
</li>
</ul>
</div>
<div class="footer"></div>
</body>
<script src="./js/rem.js"></script>
</html>

View File

@@ -0,0 +1,11 @@
window.onload = function () {
getRem(750, 100)
};
window.onresize = function () {
getRem(750, 100)
};
function getRem(pwidth, prem) {
var html = document.getElementsByTagName("html")[0];
var oWidth = document.body.clientWidth || document.documentElement.clientWidth;
html.style.fontSize = oWidth / pwidth * prem + "px";
}