fix: index page

This commit is contained in:
zzc
2026-02-28 09:45:26 +08:00
parent bd3185aac3
commit 3964d33e31
2 changed files with 5 additions and 4 deletions

View File

@@ -124,7 +124,7 @@
</template>
<script setup>
import { ref, onMounted } from "vue";
import { ref } from "vue";
import { onLoad, onShareAppMessage, onShareTimeline } from "@dcloudio/uni-app";
import { getPageDetail } from "@/api/system.js";
import { getAvatarRecommendList } from "@/api/avatar.js";

View File

@@ -68,7 +68,7 @@
style="margin-right: 4rpx"
/>
<text>{{
signInfo.isSignedToday ? "已开启今日好运" : "签到抽取好运"
signInfo.isSignedToday ? "今日好运已开启" : "签到抽取好运"
}}</text>
</button>
</block>
@@ -242,13 +242,14 @@
</template>
<script setup>
import { ref, onMounted, computed } from "vue";
import { ref, computed } from "vue";
import { getStatusBarHeight } from "@/utils/system";
import {
onShareAppMessage,
onShareTimeline,
onShow,
onPullDownRefresh,
onLoad,
} from "@dcloudio/uni-app";
import { useUserStore } from "@/stores/user";
import {
@@ -383,7 +384,7 @@ const sceneList = ref([
const wallpaperList = ref([]);
const avatarList = ref([]);
onMounted(() => {
onLoad(() => {
fetchUserSingInfo(); // 获取用户签到信息
fetchHomeData();
fetchSpecialTopic();