Commit f9ae2548 authored by 毛线's avatar 毛线

save

parent d1f86742
......@@ -39,7 +39,7 @@
<!-- 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 v-audio class="auto">
......@@ -120,6 +120,11 @@ export default {
btnList2() {
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() {
let isAuto = false
......@@ -169,7 +174,8 @@ export default {
this.network().upPoint({ type: 2 })
},
play: () => {
this.network().button({ buttonValue: 2 })
const { playBtn } = this
this.network().button({ buttonValue: playBtn.buttonValue })
},
player: ({ x16, y16 }) => {
this.network().touch({ x: x16, y: y16 })
......@@ -379,15 +385,15 @@ export default {
.play-btn {
position: absolute;
right: 108px;
bottom: 26px;
right: 94px;
top: 10px;
overflow: visible;
width: 90px;
height: 90px;
width: 112px;
img {
width: 100%;
user-select: none;
pointer-events: none;
display: block;
}
}
.auto {
......
......@@ -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/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/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"
]
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