feat: 新增个人页面跳转功能

This commit is contained in:
陈淳
2024-01-17 16:31:01 +08:00
parent 0d5c196f39
commit 98a4a2158a
17 changed files with 139 additions and 43 deletions

View File

@@ -34,7 +34,7 @@
</div>
<div class="info" v-if="!props.isSelf">
<el-tag class="ml-2" type="warning">V8</el-tag>
<el-tag class="ml-2" type="danger">会员</el-tag>
<el-tag class="ml-2" type="danger">核心</el-tag>
</div>
<el-button
v-if="props.showWatching"
@@ -73,6 +73,7 @@ const userInfo = reactive({
id: "",
level: "",
userLimit: "",
userName:""
});
const iconUrl = ref("/acquiesce.png");
const iconUrlHandler = (icon) => {
@@ -113,6 +114,7 @@ const Init = () => {
userInfo.money=props.userInfo.money;
userInfo.level = props.userInfo.level;
userInfo.userLimit = props.userInfo.userLimit;
userInfo.userName= props.userInfo.userName;
iconUrl.value = iconUrlHandler(userInfo.icon);
}