feat(排行榜): 取消小时榜

This commit is contained in:
hzj 2025-11-21 12:09:03 +08:00
parent 3f25844d4d
commit 2f4478c7f4

View File

@ -70,13 +70,13 @@
" "
:style="{ border, background }" :style="{ border, background }"
> >
<div <!-- <div
class="tag" class="tag"
:class="{ tagActive: selectedTimeTab == 'Hourly' }" :class="{ tagActive: selectedTimeTab == 'Hourly' }"
@click="changeDateType('Hourly')" @click="changeDateType('Hourly')"
> >
Hourly Hourly
</div> </div> -->
<div <div
class="tag" class="tag"
:class="{ tagActive: selectedTimeTab == 'Daily' }" :class="{ tagActive: selectedTimeTab == 'Daily' }"
@ -322,11 +322,11 @@ const images = Object.fromEntries(
const isInAppEnvironment = ref(false) // APP const isInAppEnvironment = ref(false) // APP
const rankingType = ref(route.query.first || 'Wealth') // const rankingType = ref(route.query.first || 'Wealth') //
const selectedTimeTab = ref('Hourly') // const selectedTimeTab = ref('Daily') //
// //
const params_type = ref('GIFTS_SEND') // const params_type = ref('GIFTS_SEND') //
const params_dateType = ref('HOUR') // const params_dateType = ref('DAY') //
const totalRanking = ref({}) const totalRanking = ref({})
const showRanking = ref([]) const showRanking = ref([])
@ -353,8 +353,8 @@ const changeType = (type) => {
if (rankingType.value != type) { if (rankingType.value != type) {
console.log('改变rankingType') console.log('改变rankingType')
rankingType.value = type rankingType.value = type
selectedTimeTab.value = 'Hourly' selectedTimeTab.value = 'Daily'
params_dateType.value = 'HOUR' params_dateType.value = 'DAY'
if (type == 'Wealth') { if (type == 'Wealth') {
params_type.value = 'GIFTS_SEND' params_type.value = 'GIFTS_SEND'