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,313 @@
body {
/* width: 100%;
background: url(./img/backgruod.png);
background-size: 100%; */
}
.header {
height: 0.9rem;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
position: fixed;
left: 0;
top: 0;
padding: 0 0.37rem;
box-sizing: border-box;
}
.header .header_l {
width: 0.42rem;
height: 0.42rem;
}
.header .header_c {
display: flex;
justify-content: flex-start;
}
.header .header_c li {
font-size: 0.3rem;
color: #fefefe;
text-shadow: 0.01rem 0.01rem white;
letter-spacing: 0.04rem;
}
.header_c .active{
position: relative;
}
.header_c .active::after{
content: "";
position: absolute;
height: 0.03rem;
width: 0.4rem;
background: white;
bottom: -0.12rem;
left: 50%;
transform: translateX(-50%);
}
.header .header_r {
width: 0.43rem;
height: 0.43rem;
}
.content {
position: relative;
height: calc(100vh - 1rem);
}
.content_img {
width: 100%;
height: calc(100vh - 1rem);
object-fit: cover;
}
.content .content_l {
position: absolute;
bottom: 0;
left: 0.3rem;
}
.content .content_l .address {
display: flex;
align-items: center;
}
.content .content_l .address img {
width: 0.28rem;
height: 0.26rem;
/* margin-left: 0.37rem; */
margin-right: 0.1rem;
}
.content .content_l .address .didian {
font-size: 0.26rem;
color: #ffc600;
}
.content .content_l .shopping {
display: flex;
justify-content: flex-start;
align-items: center;
background-color: #ffffff;
width: 5.85rem;
height: 1.68rem;
/* margin-left: 0.3rem; */
margin-top: 0.22rem;
}
.content .content_l .shopping img {
width: 1.48rem;
height: 1.48rem;
margin-left: 0.09rem;
}
.content .content_l .shopping .shopping_l {
margin-left: 0.15rem;
position: relative;
flex: 1;
}
.content .content_l .shopping .shopping_l .title{
font-size: 0.28rem;
color: #333333;
margin-top: 0.28rem;
}
.content .content_l .shopping .shopping_l .jiage{
display: flex;
justify-content: flex-start;
align-items: center;
margin-top: 0.18rem;
margin-bottom: 0.23rem;
}
.content .content_l .shopping .shopping_l .jiage span{
font-size: 0.28rem;
color: #333333;
}
.content .content_l .shopping .shopping_l .jiage .jingxuan{
font-size: 0.2rem;
color: #fffefe;
width: 0.6rem;
height: 0.24rem;
background-color: #ea4e3d;
border-radius: 0.12rem;
display: flex;
align-items: center;
justify-content: center;
margin-left: 0.03rem;
}
.content .content_l .shopping .shopping_l .sell {
font-size: 0.2rem;
color: #626262;
margin-bottom: 0.17rem;
}
.content .content_l .shopping .shopping_l .tubiao {
width: 0.46rem;
height: 0.46rem;
background-color: #333333;
border-radius: 100%;
position: absolute;
bottom: 0.17rem;
right: 0.34rem;
display: flex;
align-items: center;
}
.content .content_l .shopping .shopping_l .tubiao img {
width: 0.27rem;
height: 0.27rem;
}
.content .content_l .music {
display: flex;
align-items: center;
margin-top: 0.27rem;
}
.content .content_l .music img {
width: 0.27rem;
height: 0.28rem;
/* margin-left: 0.3rem; */
margin-right: 0.13rem;
}
.content .content_l .music .music_name{
font-size: 0.24rem;
color: #ffffff;
}
.content .content_r {
position: absolute;
z-index: 1;
bottom: 0.14rem;
right: 0.19rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-size: 0;
}
.content .content_r li {
font-size: 0.2rem;
color: #ffffff;
}
.content .content_r .touxiang {
display: flex;
justify-content: flex-end;
align-items: center;
position: relative;
}
.content .content_r .touxiang .tou {
width: 0.96rem;
height: 0.97rem;
border: 0.03rem solid #ffffff;
border-radius: 50%;
}
.content .content_r .touxiang .add {
width: 0.34rem;
height: 0.33rem;
border-radius: 50%;
background-color: #ea4e3d;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
right: 0.3rem;
bottom: -7px;
}
.content .content_r .touxiang .add img{
width: 0.23rem;
height: 0.23rem;
}
.content .content_r .dianzan {
text-align: center;
}
.content .content_r .dianzan img {
width: 0.68rem;
height: 0.63rem;
margin-top: 0.35rem;
}
.content .content_r .dianzan p {}
.content .content_r .share {
text-align: center;
}
.content .content_r .share img {
width: 0.67rem;
height: 0.8rem;
margin-bottom: 0.08rem;
margin-top: 0.2rem;
}
.content .content_r .share p {}
.content .content_r .pinglun {
text-align: center;
}
.content .content_r .pinglun img {
width: 0.7rem;
height: 0.7rem;
margin-top: 0.2rem;
}
.content .content_r .pinglun p {
margin-top: 0.13rem;
}
.content .content_r .shopping {
text-align: center;
}
.content .content_r .shopping img {
width: 0.61rem;
height: 0.61rem;
margin-top: 0.28rem;
}
.content .content_r .shopping p {
margin-top: 0.08rem;
}
.footer{
height: 1rem;
width: 100%;
position: fixed;
bottom: 0;
right: 0;
background-color: #141414;
display: flex;
align-items: center;
justify-content: space-between;
padding-left: 0.39rem;
padding-right: 0.54rem;
box-sizing: border-box;
z-index: 999;
}
.footer li {
font-size: 0.24rem;
color: #ffffff;
}
.footer .active{
font-size: 0.3rem;
color: #ffffff;
position: relative;
}
.footer .active::after{
content: "";
position: absolute;
height: 0.03rem;
width: 0.4rem;
background: white;
bottom: -0.12rem;
left: 50%;
transform: translateX(-50%);
}

View File

@@ -0,0 +1,93 @@
<!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>39</title>
<link rel="stylesheet" href="./clear.css">
<link rel="stylesheet" href="./public.css">
<link rel="stylesheet" href="./39.css">
<script src="./js/rem.js"></script>
</head>
<body>
<div class="header">
<img class="header_l" src="./img/sao.png" alt="">
<ul class="header_c">
<li class="active" >推荐</li>
<li>关注</li>
<li>直播</li>
</ul>
<img class="header_r" src="./img/search.png" alt="">
</div>
<div class="content">
<img class="content_img" src="./img/backgruod.png" alt="">
<div class="content_l">
<div class="address">
<img src="./img/shop.png" alt="">
<div class="didian"> 美林美妆合肥店 >7KM</div>
</div>
<div class="shopping">
<img src="./img/shangping.png" alt="">
<div class="shopping_l">
<div class="title">夏季网纱半身裙中长款纱……</div>
<div class="jiage">
<span>¥68.00</span>
<div class="jingxuan">精选</div>
</div>
<div class="sell">
已卖1020
</div>
<div class="tubiao">
<img src="./img/car.png" alt="">
</div>
</div>
</div>
<div class="music">
<img src="./img/music.png" alt="">
<div class="music_name">你像花儿一样美(DJ)版</div>
</div>
</div>
<ul class="content_r">
<li class="touxiang">
<img class="tou" src="./img/tou.png" alt="">
<div class="add">
<img src="./img/jia.png" alt="">
</div>
</li>>
<li class="dianzan">
<img src="./img/heart.png" alt="">
<p>71.1W</p>
</li>
<li class="share">
<img src="./img/share.png" alt="">
<p>分享</p>
</li>
<li class="pinglun">
<img src="./img/comment.png" alt="">
<p>评论</p>
</li>
<li class="shopping">
<img src="./img/shopping.png" alt="">
<p>购物袋</p>
</li>
</ul>
</div>
<ul class="footer">
<li class="active">
首页
</li>
<li>好友</li>
<li>圈子</li>
<li>购物车</li>
<li>我的</li>
</ul>
</body>
</html>

View File

@@ -0,0 +1,24 @@
/* 清除浏览器默认样式 */
body,h1,h2,h3,h4,h5,h6,ul,li,p {
margin: 0;
padding: 0;
}
html {
font-size: 0;
}
li {
list-style: none;
}
input {
border: none;
outline: none;
padding: 0;
}
a {
text-decoration: none;
color: #333;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 999 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

@@ -0,0 +1,12 @@
; (function (doc, win, undefined) {
var docEl = doc.documentElement,
resizeEvt = 'orientationchange' in win ? 'orientationchange' : 'resize',
recalc = function () {
var clientWidth = docEl.clientWidth;
if (clientWidth === undefined) return;
docEl.style.fontSize = 100 * (clientWidth / 750) + 'px';
};
if (doc.addEventListener === undefined) return;
win.addEventListener(resizeEvt, recalc, false);
doc.addEventListener('DOMContentLoaded', recalc, false)
})(document, window);

View File

@@ -0,0 +1,27 @@
/* 公共使用率高的css代码 */
.themeColor {
color: #969696;
}
.line::after {
content: " ";
position: absolute;
width: 100%;
bottom: 0;
height: 1px;
left: 0;
background: #cfcfcf;
}
@media screen and (-webkit-min-device-pixel-ratio: 2) {
.line::after {
transform: scaleY(0.5);
}
}
@media screen and (-webkit-min-device-pixel-ratio: 3) {
.line::after {
transform: scaleY(0.33);
}
}