hookehuyr

fix 首页图片长按屏蔽

<!--
* @Date: 2024-04-10 14:16:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-04-13 10:40:09
* @LastEditTime: 2024-04-15 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>
......
<!--
* @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;
......