更新密码找回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

-8
View File
@@ -1,8 +1,5 @@
(function () {
/*=====================================
Sticky
======================================= */
window.onscroll = function () {
var header_navbar = document.querySelector(".navbar-area");
var sticky = header_navbar.offsetTop;
@@ -13,9 +10,6 @@
header_navbar.classList.remove("sticky");
}
// show or hide the back-top-top button
var backToTo = document.querySelector(".scroll-top");
if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) {
backToTo.style.display = "flex";
@@ -24,7 +18,6 @@
}
};
// section menu active(仅处理页内锚点)
function onScroll(event) {
var sections = document.querySelectorAll('.page-scroll');
var scrollPos = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;
@@ -51,7 +44,6 @@
window.document.addEventListener('scroll', onScroll);
// 仅页内锚点(#xxx)平滑滚动;/news、/ 等路由链接正常跳转
var pageLink = document.querySelectorAll('.page-scroll');
pageLink.forEach(elem => {