perf:优化首页交互
This commit is contained in:
@@ -215,7 +215,7 @@ const isPointFinished = ref(false);
|
|||||||
const friendList = ref([]);
|
const friendList = ref([]);
|
||||||
const isFriendFinished = ref(false);
|
const isFriendFinished = ref(false);
|
||||||
const themeList = ref([]);
|
const themeList = ref([]);
|
||||||
const isThemeFinished = ref([]);
|
const isThemeFinished = ref(false);
|
||||||
const allDiscussList = ref([]);
|
const allDiscussList = ref([]);
|
||||||
const isAllDiscussFinished = ref(false);
|
const isAllDiscussFinished = ref(false);
|
||||||
const userAnalyseInfo = ref({});
|
const userAnalyseInfo = ref({});
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="friend-box">
|
<div class="friend-box">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<div class="icon"><img :src="userImageSrc" alt="" /></div>
|
<UserInfoCard :userInfo="friendData" :iconUrl="userImageSrc" />
|
||||||
</div>
|
</div>
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<div class="top">
|
<div class="top">
|
||||||
@@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
<script setup name="RecommendFriend">
|
<script setup name="RecommendFriend">
|
||||||
import { defineProps, computed } from "vue";
|
import { defineProps, computed } from "vue";
|
||||||
|
import UserInfoCard from "@/components/UserInfoCard/index.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
friendData: {
|
friendData: {
|
||||||
|
|||||||
Reference in New Issue
Block a user