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,34 @@
/* 清除浏览器默认的css样式 */
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
p {
margin: 0;
padding: 0;
}
li {
list-style: none;
}
a {
text-decoration: none;
}
input,
button,
textarea {
outline: none;
border: none;
}
body {
font-size: 0px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -0,0 +1,105 @@
<!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="./rem.js"></script>
<link rel="stylesheet" href="./clear.css">
<style>
.header {
height: .9rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.header img {
width: 0.15rem;
height: 0.29rem;
margin-left: 0.35rem;
}
.header span {
font-weight: bold;
font-size: 0.34rem;
color: #1b1b1b;
margin-right: 0.35rem;
}
.content {
display: flex;
align-items: center;
margin-top: 1.85rem;
flex-direction: column;
}
.content img {
width: 1.6rem;
height: 2.04rem;
}
.content .text{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.content .text .conduct {
font-size: 0.34rem;
color: #2b2b2b;
margin-top: 0.52rem;
}
.content .text .handle {
font-size: 0.28rem;
color: #aaaaaa;
margin-top: 0.53rem;
}
.content .text .revoke {
width: 5.8rem;
height: 0.66rem;
background-color: #5697f4;
border-radius: 0.33rem;
font-size: 0.28rem;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
margin-top: 0.72rem;
}
</style>
</head>
<body>
<div class="header">
<img src="./img/left.png" alt="">
<span>退款进度</span>
<div></div>
</div>
<div class="content">
<img src="./img/zhong.png" alt="">
<div class="text">
<div class="conduct">259.98元,退款中</div>
<div class="handle">请耐心等待商家处理退款申请</div>
<div class="revoke">撤销申请</div>
</div>
</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";
}