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

test

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