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