整理

上级 f2f10630
<template>
<div>
<el-container>
<!-- <el-header style="text-align: right; font-size: 12px">
<i class="el-icon-refresh header-button-item" @click="refreshPage"></i>
<el-dropdown>
<i class="el-icon-setting header-button-item"></i>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>新增</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
<a
href="http://qinyingjie.top/"
target="_blank"
class="header-button-item"
>kwan</a
>
</el-header> -->
<el-main>
<el-form :inline="true" :model="formInline" class="demo-form-inline">
<el-form-item label="问题">
......
<template>
<div
class="layout-header-container d-flex justify-content-between align-items-center p-3"
>
<div class="layout-header-container d-flex justify-content-between align-items-center p-3">
<!-- 左侧 logo 和 标题区域 -->
<div class="layout-header-left d-flex align-items-center user-select-none">
<!-- logo -->
<img class="layout-header-left-img" src="../../assets/kwan.png" alt="" />
<img class="layout-header-left-img" src="../../assets/kwan.png" alt=""/>
<!-- 标题 -->
<h4 class="layout-header-left-title ml-3">kwan的解忧杂货铺</h4>
</div>
<a href="http://qinyingjie.top/" target="_blank" class="header-button-item"
>kwan</a
>
<!-- 右侧按钮区域 -->
<div class="layout-header-right">
<button type="button" class="btn btn-light" @click="logout">
<el-row>
<el-col :inline="true" :span="24">
<el-button class="el-button-header" type="success" round @click="myHome">
我的主页
</el-button>
<el-button class="el-button-header" type="primary" round @click="logout">
退出登录
</button>
</div>
</el-button>
</el-col>
</el-row>
</div>
</template>
......@@ -31,6 +30,12 @@ export default {
// 2. 跳转到登录页面
this.$router.push("/login");
},
myHome() {
// 新页面打开
window.open("http://qinyingjie.top/");
// 当前页面打开
// window.location.href = "http://qinyingjie.top/";
},
},
};
</script>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册