fix: rank
This commit is contained in:
@@ -53,6 +53,13 @@ export const getRecommendList = async (page = 1) => {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const getRankList = async (scene) => {
|
||||||
|
return request({
|
||||||
|
url: `/api/blessing/rank/resource-list?scene=${scene}`,
|
||||||
|
method: "get",
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
export const msgCheckApi = async (content) => {
|
export const msgCheckApi = async (content) => {
|
||||||
return request({
|
return request({
|
||||||
url: "/api/common/msg-check?content=" + content,
|
url: "/api/common/msg-check?content=" + content,
|
||||||
|
|||||||
@@ -153,12 +153,12 @@
|
|||||||
<view class="title-left-decor"></view>
|
<view class="title-left-decor"></view>
|
||||||
<text class="section-title">排行榜单</text>
|
<text class="section-title">排行榜单</text>
|
||||||
<view class="rank-tabs-mini">
|
<view class="rank-tabs-mini">
|
||||||
<view
|
<!-- <view
|
||||||
class="rank-tab-mini"
|
class="rank-tab-mini"
|
||||||
:class="{ active: currentTab === 'all' }"
|
:class="{ active: currentTab === 'all' }"
|
||||||
@tap="switchTab('all')"
|
@tap="switchTab('all')"
|
||||||
>全部</view
|
>全部</view
|
||||||
>
|
> -->
|
||||||
<view
|
<view
|
||||||
class="rank-tab-mini"
|
class="rank-tab-mini"
|
||||||
:class="{ active: currentTab === 'wallpaper' }"
|
:class="{ active: currentTab === 'wallpaper' }"
|
||||||
@@ -311,7 +311,7 @@ const totalMonthDays = computed(() => {
|
|||||||
const date = new Date();
|
const date = new Date();
|
||||||
return new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate();
|
return new Date(date.getFullYear(), date.getMonth() + 1, 0).getDate();
|
||||||
}); // 当前月总天数
|
}); // 当前月总天数
|
||||||
const currentTab = ref("all");
|
const currentTab = ref("wallpaper");
|
||||||
|
|
||||||
// 模拟农历数据
|
// 模拟农历数据
|
||||||
const lunarDate = ref({
|
const lunarDate = ref({
|
||||||
|
|||||||
Reference in New Issue
Block a user