Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
水玉婷
ai-wechat
Commits
d9bbddfb
Commit
d9bbddfb
authored
Mar 17, 2026
by
水玉婷
Browse files
feat:去除标题以及滚动条样式
parent
87d7af4c
Changes
2
Hide whitespace changes
Inline
Side-by-side
index.html
View file @
d9bbddfb
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
>
<title></title>
<title>
​
</title>
<meta
name=
"format-detection"
content=
"telephone=no"
>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black"
>
...
...
src/views/components/style.less
View file @
d9bbddfb
...
...
@@ -45,11 +45,19 @@ body {
margin: 0;
box-sizing: border-box;
// 跨浏览器滚动条隐藏方案
// Webkit浏览器滚动条样式(Chrome, Safari, Edge)
&::-webkit-scrollbar {
width: 0px; // 垂直滚动条宽度
height: 0px; // 水平滚动条高度
}
// Firefox浏览器滚动条隐藏
scrollbar-width: none; // Firefox 64+
// IE/Edge旧版本兼容
-ms-overflow-style: none; // IE 10+
}
// 重置基础元素样式
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment