feat(排行榜): 取消小时榜
This commit is contained in:
parent
3f25844d4d
commit
2f4478c7f4
@ -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'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user