From 265dabc1916432f4288bf3f3314d2db6eda36cd8 Mon Sep 17 00:00:00 2001 From: Teng <461587751@qq.com> Date: Thu, 17 Apr 2025 17:18:37 +0800 Subject: [PATCH] leilei --- component/public/game/joystick.vue | 26 +- component/public/game/skill.vue | 26 +- component/public/game/skilmove.vue | 88 ++ component/public/game/skilmovedelete.vue | 81 ++ component/rightItemssecond/index.css | 2 +- component/rightItemssecond/index.vue | 3 +- component/rightItemssecondnew/index.css | 100 ++- component/rightItemssecondnew/index.vue | 509 +++++++---- pages/Nursing/index.vue | 2 +- static/index/movemode/arrow11.png | Bin 0 -> 3620 bytes static/index/movemode/bdownicon.png | Bin 0 -> 1253 bytes static/index/movemode/bj.png | Bin 0 -> 7496 bytes static/index/movemode/blefticon.png | Bin 0 -> 1279 bytes static/index/movemode/brighticon.png | Bin 0 -> 1257 bytes static/index/movemode/bupicon.png | Bin 0 -> 1247 bytes static/index/movemode/target.png | Bin 0 -> 5097 bytes static/index/movemode/targetcheng.png | Bin 0 -> 4181 bytes unpackage/dist/dev/app-plus/app-service.js | 795 ++++++++++++++---- .../dist/dev/app-plus/pages/Nursing/index.css | 167 +++- .../static/index/movemode/arrow11.png | Bin 0 -> 3620 bytes .../static/index/movemode/bdownicon.png | Bin 0 -> 1253 bytes .../dev/app-plus/static/index/movemode/bj.png | Bin 0 -> 7496 bytes .../static/index/movemode/blefticon.png | Bin 0 -> 1279 bytes .../static/index/movemode/brighticon.png | Bin 0 -> 1257 bytes .../static/index/movemode/bupicon.png | Bin 0 -> 1247 bytes .../app-plus/static/index/movemode/target.png | Bin 0 -> 5097 bytes .../static/index/movemode/targetcheng.png | Bin 0 -> 4181 bytes 27 files changed, 1397 insertions(+), 402 deletions(-) create mode 100644 component/public/game/skilmove.vue create mode 100644 component/public/game/skilmovedelete.vue create mode 100644 static/index/movemode/arrow11.png create mode 100644 static/index/movemode/bdownicon.png create mode 100644 static/index/movemode/bj.png create mode 100644 static/index/movemode/blefticon.png create mode 100644 static/index/movemode/brighticon.png create mode 100644 static/index/movemode/bupicon.png create mode 100644 static/index/movemode/target.png create mode 100644 static/index/movemode/targetcheng.png create mode 100644 unpackage/dist/dev/app-plus/static/index/movemode/arrow11.png create mode 100644 unpackage/dist/dev/app-plus/static/index/movemode/bdownicon.png create mode 100644 unpackage/dist/dev/app-plus/static/index/movemode/bj.png create mode 100644 unpackage/dist/dev/app-plus/static/index/movemode/blefticon.png create mode 100644 unpackage/dist/dev/app-plus/static/index/movemode/brighticon.png create mode 100644 unpackage/dist/dev/app-plus/static/index/movemode/bupicon.png create mode 100644 unpackage/dist/dev/app-plus/static/index/movemode/target.png create mode 100644 unpackage/dist/dev/app-plus/static/index/movemode/targetcheng.png diff --git a/component/public/game/joystick.vue b/component/public/game/joystick.vue index 86bb0ab..825fd07 100644 --- a/component/public/game/joystick.vue +++ b/component/public/game/joystick.vue @@ -25,20 +25,20 @@ import { reactive } from 'vue' const emit = defineEmits(['movecard']) const icons = reactive({ - up: '/static/index/movemode/upicon.png', - right: '/static/index/movemode/righticon.png', - down: '/static/index/movemode/downicon.png', - left: '/static/index/movemode/lefticon.png' + up: '/static/index/movemode/bupicon.png', + right: '/static/index/movemode/brighticon.png', + down: '/static/index/movemode/bdownicon.png', + left: '/static/index/movemode/blefticon.png' }) function handleClick(key, dir) { - icons[key] = `/static/index/movemode/blue${key}icon.png` + // icons[key] = `/static/index/movemode/blue${key}icon.png` emit('movecard', dir) // 延迟一点时间再恢复图标(视觉反馈) - setTimeout(() => { - icons[key] = `/static/index/movemode/${key}icon.png` - }, 150) + // setTimeout(() => { + // icons[key] = `/static/index/movemode/${key}icon.png` + // }, 150) } @@ -46,11 +46,15 @@ function handleClick(key, dir) { .move-circle { position: absolute; bottom: 300rpx; - left: -200rpx; + left: 0; width: 350rpx; height: 350rpx; - border-radius: 50%; - background-color: rgba(127, 127, 127, 0.3); + // border-radius: 50%; + background-image: url('/static/index/movemode/bj.png'); + background-size: cover; + background-position: center; + background-repeat: no-repeat; + // background-color: rgba(127, 127, 127, 0.3); z-index: 9999; } .container-img { diff --git a/component/public/game/skill.vue b/component/public/game/skill.vue index c811668..fd84b84 100644 --- a/component/public/game/skill.vue +++ b/component/public/game/skill.vue @@ -1,6 +1,9 @@