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,9 @@
/* 清除浏览器默认样式的css代码 */
body,ul,input,li,a,p{
margin: 0;
padding: 0;
border: none;
outline: none;
list-style: none;
text-decoration: none;
}

View File

@@ -0,0 +1,67 @@
.header {
position: fixed;
top: 0;
width: 100%;
height: .9rem;
display: flex;
border-bottom: 0.01rem solid #e9e9e9;
justify-content: space-between;
align-items: center;
padding: 0 0.26rem;
box-sizing: border-box;
background: #fff;
}
.header i {
color: #010101;
}
.header .title{
font-family: PingFang-SC-Bold;
font-size: 0.34rem;
color: #010101;
}
.content {
margin-top: .9rem;
}
.info{
padding-left: 0.33rem;
}
.info li {
display: flex;
justify-content: space-between;
align-items: center;
height: 1.11rem;
padding-right: 0.35rem;
box-sizing: border-box;
border-bottom: 0.01rem solid #e9e9e9;
}
.info li .info_title {
font-family: PingFang-SC-Medium;
font-size: 0.32rem;
color: #000000;
}
.info li .info_con {
display: flex;
align-items: baseline;
}
.info li .info_con img {
width: 0.64rem;
height: 0.64rem;
border-radius: 100%;
margin-right: 0.15rem;
}
.info li .info_con i {
color: #bfbfbf;
font-size: .26rem;
}
.info li .info_con .info_text {
font-size: 0.28rem;
color: #969696;
}
.info li:first-child .info_con {
align-items: center !important;
}
.info li:last-child .info_con .info_text {
color: #c4c4c4;
}

View File

@@ -0,0 +1,265 @@
body {
display: flex;
flex-direction: column;
height: 100vh;
font-size: 0;
}
.content {
background: url("../img/back.png");
background-size: contain;
flex: 1;
position: relative;
}
.content .zz {
width: 100%;
height: 100%;
background: #00000073;
position: absolute;
}
.follow {
position: absolute;
top: 0.3rem;
display: flex;
width: 100%;
justify-content: space-between;
padding: 0 0.37rem;
box-sizing: border-box;
align-items: center;
}
.follow img {
width: 0.42rem;
height: 0.42rem;
}
.follow ul {
display: flex;
}
.follow ul li {
font-size: 0.3rem;
color: #fefefe;
margin-right: 0.25rem;
}
.follow ul li:last-child {
margin-right: 0;
}
.follow .active {
position: relative;
}
.follow .active::after{
position: absolute;
content: "";
width: 0.35rem;
height: 0.02rem;
background-color: #ffffff;
box-shadow: 0rem 0.02rem 0.02rem 0rem
rgba(12, 0, 255, 0.35);
border-radius: 0.01rem;
left: 50%;
transform: translateX(-50%);
bottom: -0.1rem;
}
.user_info {
position: absolute;
right: 0.19rem;
bottom: 0.14rem;
display: flex;
flex-direction: column;
align-items: center;
}
.user_info .head {
width: 0.96rem;
height: 0.97rem;
position: relative;
}
.user_info .head img:first-child{
border-radius: 100%;
width: 100%;
height: 100%;
border: solid 0.03rem #ffffff;
box-sizing: border-box;
}
.user_info .head img:last-child{
width: 0.34rem;
height: 0.33rem;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: -0.23rem;
}
.user_info ul {
margin-top: 0.33rem;
}
.user_info ul li {
display: flex;
flex-direction: column;
align-items: center
}
.user_info ul li:nth-child(1){
margin-bottom: 0.36rem;
}
.user_info ul li:nth-child(2){
margin-bottom: 0.27rem;
}
.user_info ul li:nth-child(3){
margin-bottom: 0.32rem;
}
.user_info ul li:nth-child(1) img,
.user_info ul li:nth-child(2) img {
margin-bottom: 0.09rem;
}
.user_info ul li:nth-child(3) img {
margin-bottom: 0.17rem;
}
.user_info ul li:nth-child(4) img {
margin-bottom: 0.15rem;
}
.user_info ul li img{
width: 0.68rem;
height: 0.63rem;
}
.user_info ul li .text{
font-size: 0.2rem;
color: #ffffff;
}
.shop_info {
position: absolute;
left: 0.3rem;
bottom: 0.13rem;
}
.shop_info .shop_title {
display: flex;
align-items: center;
margin-bottom: 0.22rem;
}
.shop_info .shop_title img {
width: 0.28rem;
height: 0.26rem;
margin-right: 0.1rem;
}
.shop_info .shop_title p {
font-family: PingFangSC-Regular;
font-size: 0.26rem;
color: #ffc600;
}
.shop_info .shop_item {
position: relative;
width: 5.85rem;
height: 1.68rem;
background-color: #ffffff;
display: flex;
padding: 0.1rem 0.09rem;
box-sizing: border-box;
}
.shop_info .shop_item .item_text .text_t{
font-family: PingFang-SC-Bold;
font-size: 0.28rem;
color: #333333;
margin-bottom: 0.2rem;
margin-top: 0.12rem;
}
.shop_info .shop_item .item_text .text_price{
display: flex;
align-items: center;
margin-bottom: 0.13rem;
}
.shop_info .shop_item .item_text .text_price > span{
font-family: PingFang-SC-Medium;
font-size: 0.28rem;
color: #333333;
margin-right: 0.03rem;
}
.shop_info .shop_item .item_text .text_price .jx {
width: 0.6rem;
height: 0.24rem;
background-color: #ea4e3d;
border-radius: 0.12rem;
display: flex;
align-items: center;
justify-content: center;
}
.shop_info .shop_item .item_text .text_price .jx span {
font-family: PingFang-SC-Regular;
font-size: 0.2rem;
zoom: 0.7;
color: #fffefe;
}
.shop_info .shop_item .item_text .text_nus{
font-family: PingFang-SC-Medium;
font-size: 0.2rem;
color: #626262;
zoom: 0.8;
}
.shop_info .shop_item img:first-child {
width: 1.48rem;
height: 1.48rem;
margin-right: 0.15rem;
}
.shop_info .shop_item img:last-child {
width: 0.46rem;
height: 0.46rem;
position: absolute;
right: 0.34rem;
bottom: 0.17rem;
}
.shop_info .shop_music {
display: flex;
align-items: center;
margin-top: 0.29rem;
}
.shop_info .shop_music img {
width: 0.27rem;
height: 0.28rem;
margin-right: 0.13rem;
}
.shop_info .shop_music p {
font-family: PingFangSC-Regular;
font-size: 0.24rem;
color: #ffffff;
}
.footer {
height: 1rem;
background-color: #000000;
display: flex;
justify-content: space-between;
padding-left: 0.39rem;
padding-right: 0.54rem;
box-sizing: border-box;
}
.footer li {
display: flex;
align-items: center;
}
.footer li a {
font-family: AdobeHeitiStd-Regular;
font-size: 0.24rem;
color: #ffffff;
}
.footer .active {
position: relative;
}
.footer .active a {
font-size: 0.3rem;
color: #ffffff;
}
.footer .active::after {
content: "";
position: absolute;
left: 50%;
transform: translateX(-50%);
width: 0.51rem;
height: 0.03rem;
background-color: #ffffff;
border-radius: 0.015rem;
bottom: 0.05rem;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 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: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -0,0 +1,71 @@
<!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 type="text/javascript">
(function (w, d) {
function setSize() {
// 获取屏幕的宽度 375px
var screenWidth = d.documentElement.clientWidth;
// 根据规则计算 html 的font-size数值
var currentFontSize = screenWidth * 100 / 750;
// 修改html上的font-size
d.documentElement.style.fontSize = currentFontSize + 'px';
}
w.addEventListener('resize', setSize);
w.addEventListener('pageShow', setSize)
w.addEventListener('DOMContentLoaded', setSize)
})(window, document)
</script>
<link rel="stylesheet" href="https://at.alicdn.com/t/c/font_3887737_w1f3515pit9.css">
<link rel="stylesheet" href="./css/clear.css">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<div class="header">
<i class="iconfont icon-zhankai_back-copy"></i>
<div class="title">编辑个人资料</div>
<div></div>
</div>
<div class="content">
<ul class="info">
<li>
<div class="info_title">头像</div>
<div class="info_con">
<img src="https://upload.jianshu.io/users/upload_avatars/301940/189d69dd-af7c-4290-9e2c-89e98acf3603.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/96/h/96/format/webp" alt="">
<i class="iconfont icon-zhankai"></i>
</div>
</li>
<li>
<div class="info_title">昵称</div>
<div class="info_con">
<div class="info_text">小许</div>
<i class="iconfont icon-zhankai"></i>
</div>
</li>
<li>
<div class="info_title">用户ID</div>
<div class="info_con">
<div class="info_text">11221122</div>
<i class="iconfont icon-zhankai"></i>
</div>
</li>
<li>
<div class="info_title">个人介绍</div>
<div class="info_con">
<div class="info_text">填写个人资料更容易获得关注</div>
<i class="iconfont icon-zhankai"></i>
</div>
</li>
</ul>
</div>
<div class="footer"></div>
</body>
</html>

View File

@@ -0,0 +1,113 @@
<!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 type="text/javascript">
(function (w, d) {
function setSize() {
// 获取屏幕的宽度 375px
var screenWidth = d.documentElement.clientWidth;
// 根据规则计算 html 的font-size数值
var currentFontSize = screenWidth * 100 / 750;
// 修改html上的font-size
d.documentElement.style.fontSize = currentFontSize + 'px';
}
w.addEventListener('resize', setSize);
w.addEventListener('pageShow', setSize)
w.addEventListener('DOMContentLoaded', setSize)
})(window, document)
</script>
<link rel="stylesheet" href="./css/clear.css">
<link rel="stylesheet" href="./css/video.css">
</head>
<body>
<div class="content">
<div class="zz"></div>
<div class="follow">
<img src="./img/sao.png" alt="">
<ul>
<li class="active">推荐</li>
<li>关注</li>
<li>直播</li>
</ul>
<img src="./img/search.png" alt="">
</div>
<div class="user_info">
<div class="head">
<img src="./img/4832198.png" alt="">
<img src="./img/plus.png" alt="">
</div>
<ul>
<li>
<img src="./img/xin.png" alt="">
<div class="text">71.1W</div>
</li>
<li>
<img src="./img/share.png" alt="">
<div class="text">分享</div>
</li>
<li>
<img src="./img/comment.png" alt="">
<div class="text">评论</div>
</li>
<li>
<img src="./img/carbox.png" alt="">
<div class="text">购物袋</div>
</li>
</ul>
</div>
<div class="shop_info">
<div class="shop_title">
<img src="./img/shop_icon.png" alt="">
<p>美林美妆合肥店 >7KM</p>
</div>
<div class="shop_item">
<img src="./img/4832198.png" alt="">
<div class="item_text">
<div class="text_t">夏季网纱半身裙中长款纱</div>
<div class="text_price">
<span>¥68.00</span>
<div class="jx">
<span>精选</span>
</div>
</div>
<div class="text_nus">已卖1020</div>
</div>
<img src="./img/cars.png" alt="">
</div>
<div class="shop_music">
<img src="./img/shop_music.png" alt="">
<p>你像花儿一样美(DJ)版</p>
</div>
</div>
</div>
<ul class="footer">
<li class="active">
<a href="">首页</a>
</li>
<li>
<a href="">好友</a>
</li>
<li>
<a href="">圈子</a>
</li>
<li>
<a href="">购物车</a>
</li>
<li>
<a href="">我的</a>
</li>
</ul>
</body>
</html>

View File

@@ -0,0 +1,17 @@
冯凯
1(133)
1(126)
1(5)
韩孟雪
1(64)
1(116)
1(124)
薛涛
1(46)
1(131)
1(3)