Commit a8752a53 authored by 毛线's avatar 毛线

save

parent 0ea453bd
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<div> <div>
id: {{ data.id }} id: {{ data.id }}
</div> --> </div> -->
<div class="num-box"> <div :class="{ is_mobile: is_mobile, }" class="num-box">
<img src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/ic_ellipse_03.png" alt=""> <img src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/ic_ellipse_03.png" alt="">
<div class="num">{{ data.egmId }}</div> <div class="num">{{ data.egmId }}</div>
</div> </div>
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
</template> </template>
<script> <script>
import { mapGetters } from 'vuex'
import DeviceDialog from '@/components/dialog/device' import DeviceDialog from '@/components/dialog/device'
export default { export default {
components: { components: {
...@@ -71,6 +72,11 @@ export default { ...@@ -71,6 +72,11 @@ export default {
userImg, userImg,
} }
}, },
computed: {
...mapGetters([
'is_mobile',
]),
},
methods: { methods: {
click() { click() {
return { return {
...@@ -150,10 +156,21 @@ export default { ...@@ -150,10 +156,21 @@ export default {
} }
.num-box { .num-box {
position: absolute; position: absolute;
right: -12px;
bottom: -8px;
width: 60px;
height: 60px;
&.is_mobile {
right: -28px; right: -28px;
bottom: -20px; bottom: -20px;
width: 120px; width: 120px;
height: 120px; height: 120px;
.num {
margin-top: 42px;
font-size: 32px;
line-height: 38px;
}
}
img { img {
position: absolute; position: absolute;
top: 0; top: 0;
...@@ -165,9 +182,8 @@ export default { ...@@ -165,9 +182,8 @@ export default {
text-align: center; text-align: center;
position: relative; position: relative;
z-index: 1; z-index: 1;
margin-top: 42px; margin-top: 22px;
font-size: 32px; font-size: 14px;
line-height: 38px;
text-shadow: 0px 0px 6px black; text-shadow: 0px 0px 6px black;
} }
} }
......
...@@ -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.048` }}</div> <div v-if="index === 0" class="version">{{ `1.0.049` }}</div>
</div> </div>
</div> </div>
</div> </div>
......
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