|
@@ -177,6 +177,9 @@ const handleSetUserInfo=()=>{
|
|
|
router.push('/user/setinfo')
|
|
|
}
|
|
|
|
|
|
+// 我的收藏
|
|
|
+let showCollect=ref(false)
|
|
|
+
|
|
|
|
|
|
</script>
|
|
|
|
|
@@ -188,12 +191,12 @@ const handleSetUserInfo=()=>{
|
|
|
</div>
|
|
|
<div class="flex-col-center userinfo-wrap">
|
|
|
<!-- 我的收藏 -->
|
|
|
- <el-popover trigger="click" :width="460" popper-style="box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;">
|
|
|
+ <el-popover trigger="click" @show="showCollect=true" @hide="showCollect=false" :width="460" popper-style="box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;">
|
|
|
<template #reference>
|
|
|
<img v-if="userInfo" style="width:26px;height:25px;margin-right:21px;position: relative;top:-2px" src="@/assets/icon-start.png" alt="">
|
|
|
</template>
|
|
|
<template #default>
|
|
|
- <MyCollect/>
|
|
|
+ <MyCollect :show="showCollect"/>
|
|
|
</template>
|
|
|
</el-popover>
|
|
|
<!-- 消息 -->
|