deploy: auto commit repo-root changes 2026-06-21 22:05:33
This commit is contained in:
@@ -52,9 +52,9 @@
|
|||||||
:poster="live.home_icon || live.away_icon || ''"
|
:poster="live.home_icon || live.away_icon || ''"
|
||||||
:autoplay="true"
|
:autoplay="true"
|
||||||
:muted="true"
|
:muted="true"
|
||||||
:controls="true"
|
:controls="!hideLiveCardControlsOnAndroid"
|
||||||
:show-play-btn="true"
|
:show-play-btn="!hideLiveCardControlsOnAndroid"
|
||||||
:show-fullscreen-btn="true"
|
:show-fullscreen-btn="!hideLiveCardControlsOnAndroid"
|
||||||
object-fit="cover"
|
object-fit="cover"
|
||||||
/>
|
/>
|
||||||
</view>
|
</view>
|
||||||
@@ -303,6 +303,7 @@ const scheduleSort = ref<ScheduleSort>('time')
|
|||||||
const activeBracketTab = ref<BracketTabKey>(bracketTabs[0].key)
|
const activeBracketTab = ref<BracketTabKey>(bracketTabs[0].key)
|
||||||
const scheduleScrollIntoView = ref('')
|
const scheduleScrollIntoView = ref('')
|
||||||
const statusBarHeight = ref(0)
|
const statusBarHeight = ref(0)
|
||||||
|
const hideLiveCardControlsOnAndroid = ref(false)
|
||||||
const liveCards = ref<WorldCupLiveCardItem[]>([])
|
const liveCards = ref<WorldCupLiveCardItem[]>([])
|
||||||
const liveCardsLoaded = ref(false)
|
const liveCardsLoaded = ref(false)
|
||||||
|
|
||||||
@@ -521,6 +522,7 @@ const activeBracketPairs = computed(() => {
|
|||||||
|
|
||||||
const initLayout = () => {
|
const initLayout = () => {
|
||||||
const info = uni.getSystemInfoSync()
|
const info = uni.getSystemInfoSync()
|
||||||
|
hideLiveCardControlsOnAndroid.value = String(info.platform || '').toLowerCase() === 'android'
|
||||||
// #ifdef APP-PLUS || MP
|
// #ifdef APP-PLUS || MP
|
||||||
statusBarHeight.value = info.statusBarHeight || 44
|
statusBarHeight.value = info.statusBarHeight || 44
|
||||||
// #endif
|
// #endif
|
||||||
@@ -960,17 +962,21 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.worldcup-live-grid {
|
.worldcup-live-grid {
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
flex-wrap: wrap;
|
||||||
gap: 12rpx;
|
margin: 12rpx -6rpx 0;
|
||||||
padding-top: 12rpx;
|
padding-top: 12rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.worldcup-live-card {
|
.worldcup-live-card {
|
||||||
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 12rpx;
|
gap: 12rpx;
|
||||||
|
width: calc(50% - 12rpx);
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
margin: 0 6rpx 12rpx;
|
||||||
padding: 20rpx 18rpx;
|
padding: 20rpx 18rpx;
|
||||||
border-radius: 22rpx;
|
border-radius: 22rpx;
|
||||||
background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
|
background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
|
||||||
@@ -978,6 +984,7 @@ onMounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.worldcup-live-card__player-wrap {
|
.worldcup-live-card__player-wrap {
|
||||||
|
position: relative;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 210rpx;
|
height: 210rpx;
|
||||||
border-radius: 18rpx;
|
border-radius: 18rpx;
|
||||||
|
|||||||
@@ -77,7 +77,7 @@
|
|||||||
<view v-if="activeLivePlayUrl" class="live-entrance__player-wrap">
|
<view v-if="activeLivePlayUrl" class="live-entrance__player-wrap">
|
||||||
<video id="match-live-player" :key="activeLivePlayerKey" class="live-entrance__player"
|
<video id="match-live-player" :key="activeLivePlayerKey" class="live-entrance__player"
|
||||||
:src="activeLivePlayUrl" :poster="match.home_icon || match.away_icon || ''" :autoplay="true"
|
:src="activeLivePlayUrl" :poster="match.home_icon || match.away_icon || ''" :autoplay="true"
|
||||||
:controls="true" :show-play-btn="true" :show-center-play-btn="true"
|
:controls="true" :show-play-btn="true" :show-center-play-btn="true" :show-progress="false"
|
||||||
:show-fullscreen-btn="true" :page-gesture="true" object-fit="contain"
|
:show-fullscreen-btn="true" :page-gesture="true" object-fit="contain"
|
||||||
@play="handleLivePlayerPlay" @loadedmetadata="handleLivePlayerLoaded"
|
@play="handleLivePlayerPlay" @loadedmetadata="handleLivePlayerLoaded"
|
||||||
@waiting="handleLivePlayerWaiting" @error="handleLivePlayerError" />
|
@waiting="handleLivePlayerWaiting" @error="handleLivePlayerError" />
|
||||||
|
|||||||
Reference in New Issue
Block a user