deploy: auto commit repo-root changes 2026-07-13 13:26:55

This commit is contained in:
hajimi
2026-07-13 13:26:56 +08:00
parent 8ebe30a077
commit af8941e880
6 changed files with 435 additions and 7 deletions
+12 -2
View File
@@ -177,7 +177,7 @@
<!-- ====== 比赛数据 ====== -->
<scroll-view v-if="activeTab === 'data'" scroll-y class="detail-tab-scroll">
<!-- 赔率 -->
<view class="tab-card" v-if="match.home_odds > 0">
<view class="tab-card" v-if="showLegacyMatchOdds && match.home_odds > 0">
<view class="tab-card__title"><text>赔率信息</text></view>
<view class="match-odds">
<view class="match-odds__item">
@@ -235,11 +235,18 @@
</view>
</view>
</view> -->
<view v-if="match.status === 0 && !(match.home_odds > 0)" class="live-text__empty">
<view v-if="match.status === 0" class="live-text__empty">
<text>比赛尚未开始</text>
</view>
</scroll-view>
<!-- ====== 赔率 ====== -->
<scroll-view v-if="activeTab === 'odds'" scroll-y class="detail-tab-scroll">
<MatchOddsDetail :home-team="match.home_team" :away-team="match.away_team"
:match-time="match.match_time" :competition-id="match.competition_id"
:league-name="match.league_name" />
</scroll-view>
<!-- ====== 阵容 ====== -->
<scroll-view v-if="activeTab === 'lineup'" scroll-y class="detail-tab-scroll">
<view v-if="lineupList.length">
@@ -476,6 +483,7 @@
<script lang="ts" setup>
import { ref, computed, nextTick, onMounted, watch } from 'vue'
import MatchDetailHeader from '@/components/match-detail-header/match-detail-header.vue'
import MatchOddsDetail from '@/components/match-odds-detail/match-odds-detail.vue'
import SharePopup from '@/components/share-popup/share-popup.vue'
import GlobalPopup from '@/components/global-popup/global-popup.vue'
import { onLoad, onUnload } from '@dcloudio/uni-app'
@@ -540,10 +548,12 @@ const liveSourceText = computed(() => {
const tabList = [
{ key: 'live', label: '文字直播' },
{ key: 'data', label: '比赛数据' },
{ key: 'odds', label: '赔率' },
{ key: 'lineup', label: '阵容' },
{ key: 'recent', label: '近期战绩' },
{ key: 'ai', label: 'AI分析' },
]
const showLegacyMatchOdds = false
const activeTab = ref('live')
const lineupList = ref<any[]>([])
const homeStarters = computed(() => lineupList.value.filter((p: any) => p.team_side === 1 && p.is_starter === 1))