计分本修改

This commit is contained in:
kron
2025-10-11 09:06:56 +08:00
parent fb0cf62ca0
commit 5bf3bbccdb
6 changed files with 155 additions and 30 deletions

View File

@@ -19,6 +19,10 @@ const props = defineProps({
type: Function,
default: null,
},
editMode: {
type: Boolean,
default: true,
},
});
const rect = ref({});
@@ -150,6 +154,7 @@ onMounted(async () => {
<template>
<view
:style="{ overflowY: editMode ? 'auto' : 'hidden' }"
class="container"
@tap="onClick"
@touchmove="onDrag"
@@ -231,7 +236,6 @@ onMounted(async () => {
width: 100vw;
height: 100vw;
overflow-x: hidden;
overflow-y: auto;
}
.container::-webkit-scrollbar {
width: 0;