diff --git a/component/public/exit.vue b/component/public/exit.vue index 74c8b96..2e7b00a 100644 --- a/component/public/exit.vue +++ b/component/public/exit.vue @@ -13,7 +13,7 @@ 退出登录 - 确定要注销155******76账户吗 + 确定要注销130******31账户吗 @@ -53,8 +53,11 @@ } const go = () => { uni.setStorageSync('token', 1); - plus.runtime.quit(); + // plus.runtime.quit(); + uni.redirectTo({ + url: '/pages/login/login' + }); } diff --git a/component/public/game/joysticknew.vue b/component/public/game/joysticknew.vue index 1caecf6..e9df5ca 100644 --- a/component/public/game/joysticknew.vue +++ b/component/public/game/joysticknew.vue @@ -2,7 +2,7 @@ - + @@ -15,9 +15,9 @@ const props = defineProps({ /** * 水平位置,单位 rpx */ - left: { + right: { type: Number, - default: 0 + default: 200 }, /** * 垂直位置,单位 rpx @@ -42,7 +42,7 @@ let resetTimer: number | null = null // 计算容器样式 const containerStyle = computed(() => { const style: Record = { - left: `${props.left}rpx` + right: `${props.right}rpx` } if (props.top !== undefined) { style.top = `${props.top}rpx` @@ -84,21 +84,21 @@ function handleClick(dir: number) { .click-box-top { position: absolute; top: 0; - left: 100rpx; + right: 100rpx; width: 130rpx; height: 120rpx; } .click-box-bottom { position: absolute; bottom: 0; - left: 100rpx; + right: 100rpx; width: 130rpx; height: 120rpx; } -.click-box-left { +.click-box-right { position: absolute; bottom: 100rpx; - left: 0; + right: 0; width: 98rpx; height: 120rpx; } diff --git a/component/public/newgame/joysticknew.vue b/component/public/newgame/joysticknew.vue index e90e7af..4a1d920 100644 --- a/component/public/newgame/joysticknew.vue +++ b/component/public/newgame/joysticknew.vue @@ -1,27 +1,27 @@