feat:更新侧边导航,修改密码等
This commit is contained in:
@@ -8,8 +8,8 @@
|
||||
<div v-else>
|
||||
<!-- 未加入时显示按钮 -->
|
||||
<div v-if="!hasJoined" class="login-button-container">
|
||||
<el-button type="primary" size="large" round plain @click="joinWhiteboard">
|
||||
加入互动画板
|
||||
<el-button type="primary" size="large" link @click="joinWhiteboard">
|
||||
正在进入互动画板。。。
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
@@ -113,6 +113,7 @@ onMounted(async () => {
|
||||
} catch (err) {
|
||||
console.warn("⚠️ 用户信息校验失败:", err);
|
||||
}
|
||||
joinWhiteboard()
|
||||
});
|
||||
|
||||
onUnmounted(() => {
|
||||
@@ -144,6 +145,7 @@ onUnmounted(() => {
|
||||
.whiteboard-wrapper {
|
||||
position: relative;
|
||||
width: 72vw;
|
||||
height: 69vh; /* 或者适当的高度 */
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -162,7 +164,7 @@ onUnmounted(() => {
|
||||
.toolbox {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 10px;
|
||||
left: 2vw;
|
||||
transform: translateY(-50%);
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user