stye: 搜索布局更改
- 搜索的 margin 布局样式更改
This commit is contained in:
@@ -37,7 +37,9 @@ onUnmounted(() => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<!-- 广告区域 -->
|
<!-- 广告区域 -->
|
||||||
<image-slider :banners="banners" v-if="banners?.length > 0 && keyword" />
|
<div class="banner">
|
||||||
|
<image-slider :banners="banners" v-if="banners?.length > 0 && keyword" />
|
||||||
|
</div>
|
||||||
|
|
||||||
<section class="result" v-if="loading && searchKeyword">
|
<section class="result" v-if="loading && searchKeyword">
|
||||||
<!-- 我的任务区域 -->
|
<!-- 我的任务区域 -->
|
||||||
@@ -85,6 +87,10 @@ onUnmounted(() => {
|
|||||||
@extend %search-gradient;
|
@extend %search-gradient;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.banner {
|
||||||
|
padding: theme.$gap;
|
||||||
|
}
|
||||||
|
|
||||||
// 搜索结果外部布局
|
// 搜索结果外部布局
|
||||||
.result {
|
.result {
|
||||||
padding: theme.$gap;
|
padding: theme.$gap;
|
||||||
|
|||||||
@@ -65,14 +65,12 @@ async function handleDelHistory() {
|
|||||||
.title {
|
.title {
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
margin-bottom: 10px;
|
|
||||||
color: rgba(102, 102, 102, 1);
|
color: rgba(102, 102, 102, 1);
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-family: PingFangSC;
|
font-family: PingFangSC;
|
||||||
}
|
}
|
||||||
|
|
||||||
.recommend-container {
|
.recommend-container {
|
||||||
margin-top: 20px;
|
|
||||||
padding: 0 (theme.$gap * 2);
|
padding: 0 (theme.$gap * 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user