更新密码找回uniapp
This commit is contained in:
1 parent
7f9a66da0f
commit
3fdda89833
1304 files changed
+3503
-26132
No files matched your search
@@ -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 => {
|
||||
|
||||
Reference in new issue
Block a user