|
|
@@ -4,10 +4,12 @@
|
|
|
<!-- 标题部分 -->
|
|
|
<div class="top-box">
|
|
|
<div class="top-left-box">
|
|
|
- <div class="top-left-inner-box" @click="goToHomePage">
|
|
|
+ <div class="top-left-inner-box" >
|
|
|
<!-- 左侧返回图标 -->
|
|
|
- <el-icon class="left-icon"><ArrowLeftBold /></el-icon>
|
|
|
- <span class="left-text">首页</span>
|
|
|
+ <div class="left-content-wrapper" @click="goToHomePage">
|
|
|
+ <el-icon class="left-icon"><ArrowLeftBold /></el-icon>
|
|
|
+ <span class="left-text">首页</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="top-center-box">
|
|
|
@@ -323,6 +325,10 @@ const goToHomePage = () => {
|
|
|
.top-left-inner-box{
|
|
|
display: flex;
|
|
|
align-items: center; /* 垂直居中对齐 */
|
|
|
+ .left-content-wrapper{
|
|
|
+ display: flex;
|
|
|
+ align-items: center; /* 保持内部元素垂直居中 */
|
|
|
+ }
|
|
|
.left-icon{
|
|
|
font-size: rpx(14);
|
|
|
color: white;
|