🐛 个人中心 微信/QQ展示问题修复

🐛 个人中心 微信/QQ展示问题修复
This commit is contained in:
ronger 2021-12-09 20:56:10 +08:00
parent 81df3387ca
commit 5f62f94d1c

View File

@ -32,18 +32,34 @@
</g> </g>
</svg> </svg>
</el-link> </el-link>
<el-link v-if="userExtend.weixin" class="user-link" title="微信" :underline="false" :href="userExtend.weixin"> <el-popover
<svg width="24" height="24"> v-if="userExtend.weixin"
<g :fill="'#' + wechat.hex"> placement="top-start"
<path :d="wechat.path"></path> title="微信号"
</g> width="200"
</svg> trigger="hover"
</el-link> :content="userExtend.weixin">
<el-link v-if="userExtend.qq" class="user-link" title="QQ" :underline="false" :href="userExtend.qq"> <el-link slot="reference" class="user-link" :underline="false">
<svg width="24" height="24"> <svg width="24" height="24">
<path :d="tencentqq.path"></path> <g :fill="'#' + wechat.hex">
</svg> <path :d="wechat.path"></path>
</el-link> </g>
</svg>
</el-link>
</el-popover>
<el-popover
v-if="userExtend.qq"
placement="top-start"
title="QQ 号"
width="200"
trigger="hover"
:content="userExtend.qq">
<el-link slot="reference" class="user-link" :underline="false">
<svg width="24" height="24">
<path :d="tencentqq.path"></path>
</svg>
</el-link>
</el-popover>
</div> </div>
<div v-if="oauth"> <div v-if="oauth">
<div v-if="oauth.idUser !== user.idUser"> <div v-if="oauth.idUser !== user.idUser">