diff --git a/component/public/newgame/arrowkeys.vue b/component/public/newgame/arrowkeys.vue index dc7c659..c31810a 100644 --- a/component/public/newgame/arrowkeys.vue +++ b/component/public/newgame/arrowkeys.vue @@ -1,246 +1,236 @@ \ No newline at end of file +.click-box-target .image-photo { + transform: none; + transition: transform 0.18s ease, filter 0.18s ease; + filter: none; +} + diff --git a/component/public/specialDrawer.vue b/component/public/specialDrawer.vue index 92d4cf2..274cf54 100644 --- a/component/public/specialDrawer.vue +++ b/component/public/specialDrawer.vue @@ -74,8 +74,6 @@ // 打开/关闭 function openDrawer() { isVisible.value = true - // const optionSub = uni.getSubNVueById('optionSub') - // optionSub.show('fade-in') emit('open') } @@ -90,8 +88,6 @@ }else{ openDrawer() } - // isVisible.value = !isVisible.value - rotate180() } defineExpose({ @@ -119,21 +115,9 @@ const halfPx = screenWidth.value * (props.widNumber / 100) / 2 if (currentOffset.value > halfPx) { closeDrawer() - rotate180() } currentOffset.value = 0 } - - // 半圆旋转 - const angle = ref(0) - const boxStyle = computed(() => ({ - transform: `rotate(${angle.value}deg)`, - transition: 'transform 0.6s ease' - })) - - function rotate180() { - angle.value += 180 - }