Skip to content

Commit

Permalink
style: 样式调整
Browse files Browse the repository at this point in the history
  • Loading branch information
baiwumm committed Jun 7, 2024
1 parent e9ec05e commit 544e582
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
4 changes: 0 additions & 4 deletions src/assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
--scrollbar-hover: rgba(255, 255, 255, .25);
}

.el-button+.el-button{
margin-left: 2px !important;
}

/* 修改滚动条样式 */
*::-webkit-scrollbar {
width: 5px;
Expand Down
19 changes: 8 additions & 11 deletions src/components/Footer/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@
* @Author: 白雾茫茫丶<baiwumm.com>
* @Date: 2024-05-30 13:52:19
* @LastEditors: 白雾茫茫丶<baiwumm.com>
* @LastEditTime: 2024-05-31 08:41:09
* @LastEditTime: 2024-06-07 10:44:24
* @Description: 底部布局
-->
<template>
<el-footer>
<el-divider style="margin: 12px 0">
<NuxtImg
src="/logo.svg"
alt="logo"
class="w-5"
/>
<NuxtImg src="/logo.svg" alt="logo" class="w-5" />
</el-divider>
<div class="flex justify-between items-center max-sm:flex-col">
<div class="flex items-center gap-0.5 max-sm:flex-col">
Expand All @@ -26,11 +22,7 @@
size="small"
>
<div class="flex items-center gap-2">
<NuxtImg
:src="`/${icon}`"
:alt="tip"
class="w-4"
/>
<NuxtImg :src="`/${icon}`" :alt="tip" class="w-4" />
{{ tip }}
</div>
</el-button>
Expand All @@ -52,3 +44,8 @@
<script setup lang="ts">
import { FooterSocial, FooterRecord } from '@/const'
</script>
<style scoped>
:deep(.el-button + .el-button) {
margin-left: 2px;
}
</style>
7 changes: 6 additions & 1 deletion src/components/Header/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: 白雾茫茫丶<baiwumm.com>
* @Date: 2024-04-10 16:25:21
* @LastEditors: 白雾茫茫丶<baiwumm.com>
* @LastEditTime: 2024-06-07 08:53:30
* @LastEditTime: 2024-06-07 10:38:05
* @Description: 顶部布局
-->
<template>
Expand Down Expand Up @@ -32,3 +32,8 @@
</div>
</el-header>
</template>
<style scoped>
:deep(.el-button + .el-button) {
margin-left: 2px;
}
</style>

0 comments on commit 544e582

Please sign in to comment.