Commit f9ae2548 authored by 毛线's avatar 毛线

save

parent d1f86742
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<!-- play --> <!-- play -->
<div class="play-btn btn" @click="click().play()"> <div class="play-btn btn" @click="click().play()">
<img v-audio src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/gameMore/play_button1.png" alt=""> <img v-audio :src="playBtn.buttonImgN | img" alt="">
</div> </div>
<!-- 自动下注 --> <!-- 自动下注 -->
<div v-audio class="auto"> <div v-audio class="auto">
...@@ -120,6 +120,11 @@ export default { ...@@ -120,6 +120,11 @@ export default {
btnList2() { btnList2() {
return this.btnList.filter(i => i.buttonName.includes('D')) return this.btnList.filter(i => i.buttonName.includes('D'))
}, },
// play按钮
playBtn() {
const btnList = this.btnList.filter(i => i.buttonName.includes('Play'))
return btnList.length ? btnList[0] : {}
},
// 是否在自动玩游戏 // 是否在自动玩游戏
isAuto() { isAuto() {
let isAuto = false let isAuto = false
...@@ -169,7 +174,8 @@ export default { ...@@ -169,7 +174,8 @@ export default {
this.network().upPoint({ type: 2 }) this.network().upPoint({ type: 2 })
}, },
play: () => { play: () => {
this.network().button({ buttonValue: 2 }) const { playBtn } = this
this.network().button({ buttonValue: playBtn.buttonValue })
}, },
player: ({ x16, y16 }) => { player: ({ x16, y16 }) => {
this.network().touch({ x: x16, y: y16 }) this.network().touch({ x: x16, y: y16 })
...@@ -379,15 +385,15 @@ export default { ...@@ -379,15 +385,15 @@ export default {
.play-btn { .play-btn {
position: absolute; position: absolute;
right: 108px; right: 94px;
bottom: 26px; top: 10px;
overflow: visible; overflow: visible;
width: 90px; width: 112px;
height: 90px;
img { img {
width: 100%; width: 100%;
user-select: none; user-select: none;
pointer-events: none; pointer-events: none;
display: block;
} }
} }
.auto { .auto {
......
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
"https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/mobileKeyboard/creditIn.png", "https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/mobileKeyboard/creditIn.png",
"https://kuawai.s3.ap-east-1.amazonaws.com/temp/game/auto-time-button.png", "https://kuawai.s3.ap-east-1.amazonaws.com/temp/game/auto-time-button.png",
"https://kuawai.s3.ap-east-1.amazonaws.com/temp/game/player1.png", "https://kuawai.s3.ap-east-1.amazonaws.com/temp/game/player1.png",
"https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/gameMore/play_button1.png", "https://kuawai.s3.ap-east-1.amazonaws.com/resource…s/second/Bottom%20Bar%20Background%20copy%203.png",
"https://kuawai.s3.ap-east-1.amazonaws.com/resource…s/second/Bottom%20Bar%20Background%20copy%202.png",
"https://kuawai.s3.ap-east-1.amazonaws.com/temp/game/player2.png" "https://kuawai.s3.ap-east-1.amazonaws.com/temp/game/player2.png"
] ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment