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

save

parent 51db2590
......@@ -47,9 +47,15 @@
export default {
filters: {
timeToDay(value) {
if (!value) {
return ''
}
return value.split(' ')[0]
},
timeToTime(value) {
if (!value) {
return ''
}
return value.split(' ')[1]
},
},
......
......@@ -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-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 v-if="index === 0" class="version">{{ `1.0.043` }}</div>
<div v-if="index === 0" class="version">{{ `1.0.044` }}</div>
</div>
</div>
</div>
......
......@@ -88,7 +88,7 @@ export default {
if (process.env.NODE_ENV === 'development') {
// return
}
if ((innerWidth < 800 && innerWidth < innerHeight) || (isMobile && innerWidth < innerHeight)) {
if ((innerWidth < 1024 && innerWidth < innerHeight) || (isMobile && innerWidth < innerHeight)) {
this.initMobileSceen()
this.isMoblie = true
} else {
......
......@@ -440,9 +440,10 @@ export default {
<style lang="scss" scoped>
.block {
position: absolute;
position: fixed;
bottom: 0;
width: 100%;
z-index: 99999;
}
.option-block {
position: absolute;
......
<template>
<div>
<div class="jackpot">
<div style="z-index: 0; position: relative; height: 100%;">
<div class="jackpot" style="z-index: -2;">
<Jackpot v-if="!hideHeader"/>
</div>
<Background/>
<div :class="{is_mobile: is_mobile, 'hide-header': hideHeader, }" class="player">
<Background style="z-index: -3;"/>
<div :class="{is_mobile: is_mobile, 'hide-header': hideHeader, }" class="player" style="z-index: -1;">
<div ref="livePlay" class="live-play">
<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">
......@@ -24,7 +24,7 @@
<AudioCtrl />
</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>
</template>
......@@ -218,6 +218,7 @@ export default {
left: 220px;
top: 20px;
position: relative;
z-index: 1;
.live-play {
width: 536px;
height: 368px;
......
......@@ -63,8 +63,7 @@ export const getters = {
is_mobile(state) {
let is_mobile = false
const { innerWidth, innerHeight, } = state
const minWidth = 800
const minWidth = 1024
if (innerWidth < minWidth || innerHeight < minWidth) {
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