更新密码找回uniapp

This commit is contained in:
hero920103 committed 2026-11-16 17:22:50 +08:00
1 parent 7f9a66da0f
commit 3fdda89833
1304 files changed
+3503 -26132

No files matched your search

+5 -25
View File
@@ -1,5 +1,3 @@
// reset.less - 现代 CSS 样式重置
// 统一盒模型为 border-box
*,
*::before,
*::after {
@@ -8,31 +6,25 @@
padding: 0;
}
// 基础字体与颜色设置
html {
// 基础字体大小 (1rem = 16px)
font-size: 16px;
// 平滑滚动
scroll-behavior: smooth;
height: 100%;
width: 100%;
}
body {
// 继承父级字体设置
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 1rem;
line-height: 1.5; // 舒适行高
color: #333; // 基础文本色
// background-color: #fff; // 基础背景色
-webkit-text-size-adjust: 100%; // 防止iOS横屏字体放大
line-height: 1.5;
color: #333;
-webkit-text-size-adjust: 100%;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
// 移除默认边框
img,
iframe,
embed,
@@ -41,7 +33,6 @@ video {
border: 0;
}
// 图片与媒体元素自适应
img,
svg,
video,
@@ -55,23 +46,20 @@ object {
height: auto;
}
// 表格重置
table {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
}
// 列表样式重置
ul,
ol,
li {
list-style: none;
}
// 文本元素重置
a {
color: inherit; // 继承父级颜色
color: inherit;
text-decoration: none;
background-color: transparent;
}
@@ -81,7 +69,6 @@ a:focus {
outline: none;
}
// 标题元素重置
h1,
h2,
h3,
@@ -93,7 +80,6 @@ h6 {
margin: 0;
}
// 表单元素重置
button,
input,
optgroup,
@@ -119,7 +105,6 @@ select {
text-transform: none;
}
// 按钮样式重置
button,
[type="button"],
[type="reset"],
@@ -136,7 +121,6 @@ button::-moz-focus-inner,
padding: 0;
}
// 输入框聚焦样式
input:focus,
select:focus,
textarea:focus,
@@ -144,13 +128,11 @@ button:focus {
outline: none;
}
// 文本区域不允许拖拽调整大小
textarea {
overflow: auto;
resize: vertical; // 仅允许垂直调整
resize: vertical;
}
// 移除占位符默认样式
::-webkit-input-placeholder {
color: #999;
opacity: 1;
@@ -171,14 +153,12 @@ textarea {
opacity: 1;
}
// 清除浮动
.clearfix::after {
content: "";
display: table;
clear: both;
}
// 隐藏元素(屏幕阅读器可见)
.sr-only {
position: absolute;
width: 1px;