Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
fxPark
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-04-15 10:16:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2c721d982fc0afd602b7641921d789cbe729985a
2c721d98
1 parent
264fdbef
fix 首页图片长按屏蔽
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
src/components/danmaku.vue
src/views/fxPark/index.vue
src/components/danmaku.vue
View file @
2c721d9
<!--
* @Date: 2024-04-10 14:16:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-04-1
3 10:40:09
* @LastEditTime: 2024-04-1
5 10:07:31
* @FilePath: /fxPark/src/components/danmaku.vue
* @Description: 弹幕组件
-->
...
...
@@ -91,6 +91,7 @@ onMounted(async () => {
border-radius: 14px;
margin-top: 1rem;
font-size: 0.95rem;
color: #FFF;
}
}
</style>
...
...
src/views/fxPark/index.vue
View file @
2c721d9
<!--
* @Date: 2024-04-07 10:15:55
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-04-15
09:51:47
* @LastEditTime: 2024-04-15
10:05:02
* @FilePath: /fxPark/src/views/fxPark/index.vue
* @Description: 首页
-->
...
...
@@ -221,8 +221,18 @@ const onCloseDanmu = () => { // 弹幕开关
</script>
<style lang="less" scoped>
* { // 屏蔽图片长按
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.fxPark-page {
position: relative;
img, :deep(.van-icon__image) { // 屏蔽图片长按
pointer-events: none;
}
.quick-entrance-wrapper {
position: absolute;
right: 0;
...
...
Please
register
or
login
to post a comment