Commit 1c907ca7 authored by 毛线's avatar 毛线

test

parent 9afa03dd
...@@ -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.016` }}</div> <div v-if="index === 0" class="version">{{ `1.0.017` }}</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -124,21 +124,21 @@ export default { ...@@ -124,21 +124,21 @@ export default {
playStyle: () => { playStyle: () => {
const { is_mobile, hideHeader } = this const { is_mobile, hideHeader } = this
const imgWidth = 560 // 图片原本宽度 const imgWidth = 560 // 图片原本宽度
const pt = 1.6 const pt = 18
const px = 1.1 const px = 18
const pb = 0.84 const pb = 12
const width = this.$refs?.livePlay?.offsetWidth || 0 const width = this.$refs?.livePlay?.offsetWidth || 0
let spt = pt let spt = pt
let spb = pb let spb = pb
let spx = px let spx = px
let padding = '1.6rem 1.1rem 0.84rem' let padding = '16px 11px 8px'
if (is_mobile || hideHeader) { if (is_mobile || hideHeader) {
spt = pt * width / imgWidth spt = pt * width / imgWidth
spb = pb * width / imgWidth spb = pb * width / imgWidth
spx = px * width / imgWidth spx = px * width / imgWidth
} }
padding = `${spt}rem ${spx}rem ${spb}rem` padding = `${spt}px ${spx}px ${spb}px`
console.log('padding', padding) console.log('padding', padding)
const style = { const style = {
padding, padding,
...@@ -301,8 +301,8 @@ export default { ...@@ -301,8 +301,8 @@ export default {
&.is_mobile { &.is_mobile {
.live-play { .live-play {
width: 660px; width: 620px;
height: 428px; height: 438px;
} }
.right-player { .right-player {
/* display: none; */ /* display: none; */
...@@ -314,7 +314,7 @@ export default { ...@@ -314,7 +314,7 @@ export default {
&.hide-header { &.hide-header {
left: 168px; left: 168px;
.live-play { .live-play {
width: 750px; width: 700px;
height: 500px; height: 500px;
} }
.right-player { .right-player {
......
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