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,18 @@
body,ul,li,p,h1,h2,h3,h4,h5,h6 {
margin: 0;
padding: 0;
}
li {
list-style: none;
}
a {
text-decoration: none;
}
input {
outline: none;
border: none;
padding: 0;
}

View File

@@ -0,0 +1,265 @@
/*顶部*/
/*顶部菜单*/
.header{
height: 4.91rem;
background-color: #909090;
font-size: 0;
}
.header_top{
display: flex;
align-items: center;
justify-content:space-between;
padding:0.38rem 0.3rem;
box-sizing: border-box;
position: fixed;
z-index: 999;
top: 0;
right: 0;
left: 0;
width: 100%;
background-color: #909090;
}
.header_top img{
width: 0.19rem;
height: 0.34rem;
}
.header_top span{
font-size: 0.34rem;
color: #ffffff;
}
.header_top .kong{
width: 0.19rem;
height: 0.34rem;
}
/*头像*/
.user{
width: 5.99rem;
text-align: center;
padding-left: 0.74rem;
padding-right: 0.77rem;
padding-top: 1.27rem;
}
.user_p{
width: 100%;
position: relative;
}
.user_p img{
width: 1.09rem;
height: 1.09rem;
border-radius: 100%;
}
.user_p span{
font-size: 0.2rem;
color: #fd4a75;
background-color: #ffe0e8;
border-radius: 0.03rem;
border: solid 0.01rem #fd4a75;
position: absolute;
left: 50%;
bottom: -0.16rem;
transform: translateX(-50%);
}
.user p{
padding-top: 0.24rem;
font-size: 0.24rem;
color: #ffffff;
padding-bottom: 0.38rem;
}
.user .xian{
width: 5.99rem;
height: 0.03rem;
background-color: #7e7e7e;
}
.xiaoshou{
display: flex;
justify-content: space-evenly;
margin-top: 0.43rem;
}
.xiaoshou li{
text-align: center;
}
.xiaoshou li p{
font-size: 0.34rem;
color: #ffffff;
}
.xiaoshou li span{
font-size: 0.24rem;
color: #ffffff;
}
/*底部*/
.footer{
width: 7.5rem;
height: 0.96rem;
background-color: #4799ee;
font-size: 0;
display: flex;
align-items:center;
justify-content:center;
position: fixed;
bottom: 0;
z-index: 999;
}
.footer span{
font-size: 0.34rem;
color: #ffffff;
}
/*中间*/
.content{
font-size: 0;
margin-bottom: 0.96rem;
}
/*中间_顶部*/
.content_top{
display: flex;
justify-content:space-between;
margin-top: 0.38rem;
margin-left: 0.5rem;
margin-right: 0.23rem;
margin-bottom: 0.58rem;
}
.content_top span{
font-size: 0.28rem;
color: #333333;
}
.content_top_right{
display: flex;
align-items: center;
}
.content_top_right span{
font-size: 0.24rem;
color: #5b6e95;
margin-right: 0.25rem;
}
.content_top_right img{
width: 0.15rem;
height: 0.27rem;
}
/*图片*/
.photo{}
.pgoto_1{
display: flex;
overflow-x: overlay;
}
.pgoto_1 li{
position: relative;
flex-shrink: 0;
margin-right: 0.21rem;
}
.pgoto_1 li:first-child{
margin-left: 0.24rem;
}
.pgoto_1 img{
width: 2rem;
height: 2rem;
}
.shadow{
background: url(../img/yy.png);/*阴影*/
width: 2rem;
height: 0.61rem;
display: flex;
align-items: center;
position: absolute;
bottom: 0;
left: 0;
}
.shadow span{
font-size: 0.24rem;
color: #ffffff;
}
/*横条*/
.horizontal_1{
width: 7.5rem;
height: 1.02rem;
background-color: #efeff4;
box-shadow: 0rem 0.05rem 0.095rem 0.005rem
rgba(141, 141, 141, 0.25);
opacity: 0.5;
margin-top: 0.33rem;
display: flex;
align-items: center;
justify-content: space-around;
}
.horizontal_1 li{
text-align: center;
position: relative;
}
.horizontal_1 li::after{
content: "";
width: 0.01rem;
height: 0.46rem;
background-color: #dbdbdb;
position: absolute;
right: -0.72rem;
top: 0.18rem;
}
.horizontal_1 li:last-child::after{
content: none;
}
.horizontal_1 .top_1{
font-size: 0.34rem;
color: #000;
font-weight: 600;
}
.horizontal_1 .top_2{
font-size: 0.28rem;
color: #7e7e7e;
}
/*图片部分*/
.shop{
display: flex;
flex-wrap:wrap;
}
.shop li{
margin-left: 0.24rem;
padding-top: 0.32rem;
}
.tupian{
position: relative;
}
.tupian img{
width: 3.39rem;
height: 4.68rem;
}
.yinying{
background: url(../img/yy2.png);
width: 3.39rem;
height: 0.61rem;
opacity: 0.8;
position: absolute;
bottom: 0;
left: 0;
display: flex;
align-items:flex-end;
padding-left: 0.1rem;
box-sizing: border-box;
}
.yinying span {/*在span里面加阴影*/
font-size: 0.24rem;
color: #ffffff;
}
.shop_1{
font-size: 0.28rem;
color: #2b2b2b;
margin-top: 0.2rem;
}
.shop_2{
font-size: 0.24rem;
color: #7d7d7d;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,172 @@
<!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>
<script src="./js/rem.js"></script>
<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">
<div class="header_top"><!--顶部菜单-->
<img src="./img/jiantou.png" alt="">
<span>新手体验店</span>
<span class="kong"></span>
</div>
<div class="user"><!--头像-->
<div class="user_p"><!--图片-->
<img src="./img/user.png" alt="">
<span>6年店</span>
</div>
<p>东莞:厂家直供一层30号</p>
<div class="xian"></div>
</div>
<ul class="xiaoshou">
<li>
<p>49.12元</p>
<span>均价</span>
</li>
<li>
<p>5757</p>
<span>出货量</span>
</li>
<li>
<p>2.09万家</p>
<span>供货店主</span>
</li>
<li>
<p>1191</p>
<span>客流量</span>
</li>
</ul>
</div>
<div class="content">
<div class="content_top"><!--上半部分-->
<span>Ta的生意圈</span>
<div class="content_top_right">
<span>200动态</span>
<img src="./img/right.png" alt="">
</div>
</div>
<div class="photo"><!--图片部分-->
<ul class="pgoto_1">
<li>
<img src="./img/tp.png" alt="">
<div class="shadow"><!--阴影-->
<span>1</span>
</div>
</li>
<li>
<img src="./img/tp.png" alt="">
<div class="shadow"><!--阴影-->
<span>1</span>
</div>
</li>
<li>
<img src="./img/tp.png" alt="">
<div class="shadow"><!--阴影-->
<span>1</span>
</div>
</li>
<li>
<img src="./img/tp.png" alt="">
<div class="shadow"><!--阴影-->
<span>1</span>
</div>
</li>
<li>
<img src="./img/tp.png" alt="">
<div class="shadow"><!--阴影-->
<span>1</span>
</div>
</li>
</ul>
</div>
<div class="horizontal"><!--横条-->
<ul class="horizontal_1">
<li>
<p class="top_1">全部</p>
<p class="top_2">32</p>
</li>
<li>
<p class="top_1">新品</p>
<p class="top_2">32</p>
</li>
<li>
<p class="top_1">爆款</p>
<p class="top_2">0</p>
</li>
</ul>
</div>
<ul class="shop">
<li>
<div class="tupian"><!--图片部分-->
<img class="" src="./img/shop.png" alt="">
<div class="yinying">
<span>春季女装雪纺春季女装雪纺…</span>
</div>
</div>
<p class="shop_1">¥36.00-45.00</p>
<p class="shop_2">20/03/14</p>
</li>
<li>
<div class="tupian"><!--图片部分-->
<img class="" src="./img/shop.png" alt="">
<div class="yinying">
<span>春季女装雪纺春季女装雪纺…</span>
</div>
</div>
<p class="shop_1">¥36.00-45.00</p>
<p class="shop_2">20/03/14</p>
</li>
<li>
<div class="tupian"><!--图片部分-->
<img class="" src="./img/shop.png" alt="">
<div class="yinying">
<span>春季女装雪纺春季女装雪纺…</span>
</div>
</div>
<p class="shop_1">¥36.00-45.00</p>
<p class="shop_2">20/03/14</p>
</li>
<li>
<div class="tupian"><!--图片部分-->
<img class="" src="./img/shop.png" alt="">
<div class="yinying">
<span>春季女装雪纺春季女装雪纺…</span>
</div>
</div>
<p class="shop_1">¥36.00-45.00</p>
<p class="shop_2">20/03/14</p>
</li>
<li>
<div class="tupian"><!--图片部分-->
<img class="" src="./img/shop.png" alt="">
<div class="yinying">
<span>春季女装雪纺春季女装雪纺…</span>
</div>
</div>
<p class="shop_1">¥36.00-45.00</p>
<p class="shop_2">20/03/14</p>
</li>
<li>
<div class="tupian"><!--图片部分-->
<img class="" src="./img/shop.png" alt="">
<div class="yinying">
<span>春季女装雪纺春季女装雪纺…</span>
</div>
</div>
<p class="shop_1">¥36.00-45.00</p>
<p class="shop_2">20/03/14</p>
</li>
</ul>
</div>
<div class="footer">
<span>推广店铺二维码</span>
</div>
</body>
</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";
}