Commit 184885b1 authored by 毛线's avatar 毛线

save

parent 51db2590
...@@ -47,9 +47,15 @@ ...@@ -47,9 +47,15 @@
export default { export default {
filters: { filters: {
timeToDay(value) { timeToDay(value) {
if (!value) {
return ''
}
return value.split(' ')[0] return value.split(' ')[0]
}, },
timeToTime(value) { timeToTime(value) {
if (!value) {
return ''
}
return value.split(' ')[1] return value.split(' ')[1]
}, },
}, },
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<img v-if="tabIndex === index" class="tab-img" src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/Rounded%20Rectangle%2019.png" alt=""> <img v-if="tabIndex === index" class="tab-img" src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/Rounded%20Rectangle%2019.png" alt="">
<img v-else class="tab-img" src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/last_game%20%E6%8B%B7%E8%B4%9D%202.png" alt=""> <img v-else class="tab-img" src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/last_game%20%E6%8B%B7%E8%B4%9D%202.png" alt="">
<div class="text">{{ text }}</div> <div class="text">{{ text }}</div>
<div v-if="index === 0" class="version">{{ `1.0.043` }}</div> <div v-if="index === 0" class="version">{{ `1.0.044` }}</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
if (process.env.NODE_ENV === 'development') { if (process.env.NODE_ENV === 'development') {
// return // return
} }
if ((innerWidth < 800 && innerWidth < innerHeight) || (isMobile && innerWidth < innerHeight)) { if ((innerWidth < 1024 && innerWidth < innerHeight) || (isMobile && innerWidth < innerHeight)) {
this.initMobileSceen() this.initMobileSceen()
this.isMoblie = true this.isMoblie = true
} else { } else {
......
...@@ -440,9 +440,10 @@ export default { ...@@ -440,9 +440,10 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.block { .block {
position: absolute; position: fixed;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
z-index: 99999;
} }
.option-block { .option-block {
position: absolute; position: absolute;
......
<template> <template>
<div> <div style="z-index: 0; position: relative; height: 100%;">
<div class="jackpot"> <div class="jackpot" style="z-index: -2;">
<Jackpot v-if="!hideHeader"/> <Jackpot v-if="!hideHeader"/>
</div> </div>
<Background/> <Background style="z-index: -3;"/>
<div :class="{is_mobile: is_mobile, 'hide-header': hideHeader, }" class="player"> <div :class="{is_mobile: is_mobile, 'hide-header': hideHeader, }" class="player" style="z-index: -1;">
<div ref="livePlay" class="live-play"> <div ref="livePlay" class="live-play">
<div class="asset-number">EGM:{{ device ? device.assetNumber : '' }}</div> <div class="asset-number">EGM:{{ device ? device.assetNumber : '' }}</div>
<img src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/pic_02.png" alt="" class="bg"> <img src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/pic_02.png" alt="" class="bg">
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<AudioCtrl /> <AudioCtrl />
</div> --> </div> -->
<!-- 底部键盘 --> <!-- 底部键盘 -->
<Keyboard v-if="deviceButtonPanel.id" :id="id" :device-button-panel="deviceButtonPanel" /> <Keyboard v-if="deviceButtonPanel.id" :id="id" :device-button-panel="deviceButtonPanel" style="z-index: 3;"/>
</div> </div>
</template> </template>
...@@ -218,6 +218,7 @@ export default { ...@@ -218,6 +218,7 @@ export default {
left: 220px; left: 220px;
top: 20px; top: 20px;
position: relative; position: relative;
z-index: 1;
.live-play { .live-play {
width: 536px; width: 536px;
height: 368px; height: 368px;
......
...@@ -63,8 +63,7 @@ export const getters = { ...@@ -63,8 +63,7 @@ export const getters = {
is_mobile(state) { is_mobile(state) {
let is_mobile = false let is_mobile = false
const { innerWidth, innerHeight, } = state const { innerWidth, innerHeight, } = state
const minWidth = 800 const minWidth = 1024
if (innerWidth < minWidth || innerHeight < minWidth) { if (innerWidth < minWidth || innerHeight < minWidth) {
is_mobile = true is_mobile = true
} }
......
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