fix: index page
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user