deploy: auto commit repo-root changes 2026-06-22 01:20:41
This commit is contained in:
@@ -33,47 +33,24 @@
|
||||
:scroll-into-view="activeTab === 'schedule' ? scheduleScrollIntoView : ''">
|
||||
<block v-if="activeTab === 'live'">
|
||||
<view v-if="liveCards.length" class="worldcup-live-grid">
|
||||
<view
|
||||
v-for="live in liveCards"
|
||||
:key="`live-${live.live_id}`"
|
||||
class="worldcup-live-card"
|
||||
@tap="goMatchDetail(live)"
|
||||
>
|
||||
<view class="worldcup-live-card__top">
|
||||
<text class="worldcup-live-card__badge">直播</text>
|
||||
<text class="worldcup-live-card__count">{{ liveStatusText(live) }}</text>
|
||||
</view>
|
||||
|
||||
<view class="worldcup-live-card__player-wrap" @tap.stop>
|
||||
<video
|
||||
:id="`worldcup-live-${live.live_id}`"
|
||||
class="worldcup-live-card__player"
|
||||
:src="live.play_url"
|
||||
:poster="live.home_icon || live.away_icon || ''"
|
||||
:autoplay="true"
|
||||
:muted="true"
|
||||
:controls="!hideLiveCardControlsOnAndroid"
|
||||
<view v-for="live in liveCards" :key="`live-${live.live_id}`" class="worldcup-live-card"
|
||||
@tap="goMatchDetail(live)">
|
||||
<view class="worldcup-live-card__player-wrap">
|
||||
<video :id="`worldcup-live-${live.live_id}`" class="worldcup-live-card__player"
|
||||
:src="live.play_url" :poster="live.home_icon || live.away_icon || ''" :autoplay="true"
|
||||
:muted="true" :controls="!hideLiveCardControlsOnAndroid"
|
||||
:show-play-btn="!hideLiveCardControlsOnAndroid"
|
||||
:show-fullscreen-btn="!hideLiveCardControlsOnAndroid"
|
||||
object-fit="cover"
|
||||
/>
|
||||
:show-fullscreen-btn="!hideLiveCardControlsOnAndroid" object-fit="cover" />
|
||||
</view>
|
||||
|
||||
<view class="worldcup-live-card__teams">
|
||||
<text class="worldcup-live-card__team">{{ live.home_team }}</text>
|
||||
<text class="worldcup-live-card__vs">VS</text>
|
||||
<text class="worldcup-live-card__team">{{ live.away_team }}</text>
|
||||
<text class="worldcup-live-card__line">{{ liveLineTitle(live) }}</text>
|
||||
</view>
|
||||
|
||||
<view class="worldcup-live-card__meta">
|
||||
<text>{{ matchMetaText(live, 0) }}</text>
|
||||
<text>{{ formatMatchTime(live.match_time) }}</text>
|
||||
</view>
|
||||
|
||||
<view class="worldcup-live-card__footer">
|
||||
<text class="worldcup-live-card__line">{{ liveLineTitle(live) }}</text>
|
||||
<text class="worldcup-live-card__switch">进入详情</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-else class="worldcup-empty">
|
||||
@@ -154,9 +131,9 @@
|
||||
<view class="bracket-stage__card" @tap="goMatchDetail(match)">
|
||||
<view class="bracket-stage__time">
|
||||
<text class="bracket-stage__clock">{{ formatMatchTime(match.match_time)
|
||||
}}</text>
|
||||
}}</text>
|
||||
<text class="bracket-stage__date">{{ formatBracketDate(match.match_time)
|
||||
}}</text>
|
||||
}}</text>
|
||||
</view>
|
||||
<view class="bracket-stage__divider"></view>
|
||||
<view class="bracket-stage__teams">
|
||||
@@ -194,9 +171,9 @@
|
||||
<view class="bracket-stage__card" @tap="goMatchDetail(match)">
|
||||
<view class="bracket-stage__time">
|
||||
<text class="bracket-stage__clock">{{ formatMatchTime(match.match_time)
|
||||
}}</text>
|
||||
}}</text>
|
||||
<text class="bracket-stage__date">{{ formatBracketDate(match.match_time)
|
||||
}}</text>
|
||||
}}</text>
|
||||
</view>
|
||||
<view class="bracket-stage__divider"></view>
|
||||
<view class="bracket-stage__teams">
|
||||
@@ -999,8 +976,7 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
.worldcup-live-card__top,
|
||||
.worldcup-live-card__meta,
|
||||
.worldcup-live-card__footer {
|
||||
.worldcup-live-card__meta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -1030,40 +1006,20 @@ onMounted(() => {
|
||||
.worldcup-live-card__teams {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8rpx;
|
||||
justify-content: flex-start;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.worldcup-live-card__team {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-size: 24rpx;
|
||||
font-weight: 600;
|
||||
color: #0f172a;
|
||||
text-align: center;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.worldcup-live-card__vs {
|
||||
flex-shrink: 0;
|
||||
font-size: 22rpx;
|
||||
color: #94a3b8;
|
||||
}
|
||||
|
||||
.worldcup-live-card__line {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
font-size: 22rpx;
|
||||
font-size: 24rpx;
|
||||
font-weight: 600;
|
||||
color: #1e293b;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.worldcup-live-card__switch {
|
||||
flex-shrink: 0;
|
||||
color: #3552ff;
|
||||
font-size: 22rpx;
|
||||
font-weight: 600;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.wc-match-card {
|
||||
|
||||
Reference in New Issue
Block a user