feat: maidian
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
/>
|
||||
</view>
|
||||
<view class="status-info">
|
||||
<view class="status-title">当前正在使用</view>
|
||||
<view class="status-title">头像效果预览</view>
|
||||
<view class="decor-name">
|
||||
<text class="star-icon">✪</text>
|
||||
<text>{{ currentAvatar.decorName || "金马贺岁挂饰" }}</text>
|
||||
@@ -93,6 +93,7 @@ import { onPullDownRefresh, onReachBottom } from "@dcloudio/uni-app";
|
||||
import { getMyAvatar, userAvatarChange } from "@/api/mine.js";
|
||||
import { useUserStore } from "@/stores/user";
|
||||
import NavBar from "@/components/NavBar/NavBar.vue";
|
||||
import { trackRecord } from "@/utils/common.js";
|
||||
|
||||
const userStore = useUserStore();
|
||||
const list = ref([]);
|
||||
@@ -115,6 +116,10 @@ const names = [
|
||||
|
||||
onMounted(() => {
|
||||
fetchList(true);
|
||||
trackRecord({
|
||||
eventName: "avatar_record_page_visit",
|
||||
eventType: `visit`,
|
||||
});
|
||||
});
|
||||
|
||||
onPullDownRefresh(() => {
|
||||
@@ -174,6 +179,7 @@ const changeUserAvatar = async (imageUrl) => {
|
||||
title: "头像更换成功",
|
||||
icon: "success",
|
||||
});
|
||||
// userStore.fetchUserInfo();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user