Showing
1 changed file
with
9 additions
and
10 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-09-26 13:42:11 | 2 | * @Date: 2024-09-26 13:42:11 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-10-15 16:31:18 | 4 | + * @LastEditTime: 2024-10-15 16:53:54 |
| 5 | * @FilePath: /hager/src/components/common/hagerHeader.vue | 5 | * @FilePath: /hager/src/components/common/hagerHeader.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -18,31 +18,27 @@ | ... | @@ -18,31 +18,27 @@ |
| 18 | </el-col> | 18 | </el-col> |
| 19 | <el-col :sm="10" :md="10" :lg="10" :xl="10"> | 19 | <el-col :sm="10" :md="10" :lg="10" :xl="10"> |
| 20 | <el-row class="nav-right"> | 20 | <el-row class="nav-right"> |
| 21 | - <el-col> | 21 | + <el-col :span="24"> |
| 22 | <div class="search"> | 22 | <div class="search"> |
| 23 | - <i class="el-icon-search" style="color: #00477E; padding-right: 0.5rem;"></i> | 23 | + <i class="el-icon-search" style="color: #00477E;"></i> |
| 24 | <input placeholder="搜索" /> | 24 | <input placeholder="搜索" /> |
| 25 | </div> | 25 | </div> |
| 26 | </el-col> | 26 | </el-col> |
| 27 | </el-row> | 27 | </el-row> |
| 28 | </el-col> | 28 | </el-col> |
| 29 | <el-col :sm="8" :md="8" :lg="8" :xl="8"> | 29 | <el-col :sm="8" :md="8" :lg="8" :xl="8"> |
| 30 | - <el-row class="nav-right"> | 30 | + <div class="nav-right" style="float: right;"> |
| 31 | - <el-col :sm="3" :md="3" :lg="3" :xl="3"> | ||
| 32 | <div @click="goToWeb" class="tooltip"> | 31 | <div @click="goToWeb" class="tooltip"> |
| 33 | <el-tooltip class="item" effect="dark" content="国际站" placement="bottom"> | 32 | <el-tooltip class="item" effect="dark" content="国际站" placement="bottom"> |
| 34 | <i class=el-icon-orange style="font-size: 1.25rem;"></i> | 33 | <i class=el-icon-orange style="font-size: 1.25rem;"></i> |
| 35 | </el-tooltip> | 34 | </el-tooltip> |
| 36 | </div> | 35 | </div> |
| 37 | - </el-col> | ||
| 38 | - <el-col :sm="3" :md="3" :lg="3" :xl="3"> | ||
| 39 | <div @click="goToLogin" class="tooltip"> | 36 | <div @click="goToLogin" class="tooltip"> |
| 40 | <el-tooltip class="item" effect="dark" content="用户登录" placement="bottom"> | 37 | <el-tooltip class="item" effect="dark" content="用户登录" placement="bottom"> |
| 41 | <i class=el-icon-user style="font-size: 1.25rem;"></i> | 38 | <i class=el-icon-user style="font-size: 1.25rem;"></i> |
| 42 | </el-tooltip> | 39 | </el-tooltip> |
| 43 | </div> | 40 | </div> |
| 44 | - </el-col> | 41 | + </div> |
| 45 | - </el-row> | ||
| 46 | </el-col> | 42 | </el-col> |
| 47 | </el-row> | 43 | </el-row> |
| 48 | </el-col> | 44 | </el-col> |
| ... | @@ -543,10 +539,13 @@ export default { | ... | @@ -543,10 +539,13 @@ export default { |
| 543 | border: 1px solid #f5f5f5; | 539 | border: 1px solid #f5f5f5; |
| 544 | background-color: #e3f1f7; | 540 | background-color: #e3f1f7; |
| 545 | padding: 0.5rem 1rem; | 541 | padding: 0.5rem 1rem; |
| 542 | + overflow: hidden; | ||
| 543 | + width: 100%; | ||
| 546 | input { | 544 | input { |
| 547 | border: 0; | 545 | border: 0; |
| 548 | background-color: #E3F1F7; | 546 | background-color: #E3F1F7; |
| 549 | - width: 100%; | 547 | + margin-left: 0.5rem; |
| 548 | + width: calc(100% - 0.5rem); | ||
| 550 | &::placeholder { | 549 | &::placeholder { |
| 551 | color: #00477E; | 550 | color: #00477E; |
| 552 | } | 551 | } | ... | ... |
-
Please register or login to post a comment