From c0654d82bdf2021af1af56fe56a16905f08f27fe Mon Sep 17 00:00:00 2001 From: anlyyao Date: Thu, 27 Jun 2024 19:26:10 +0800 Subject: [PATCH] fix: fix cr --- src/search/__test__/__snapshots__/demo.test.js.snap | 2 +- src/search/__test__/__snapshots__/index.test.js.snap | 4 ---- src/search/_example/base/index.wxml | 2 +- src/search/search.less | 8 ++++++++ src/search/search.wxml | 3 ++- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/search/__test__/__snapshots__/demo.test.js.snap b/src/search/__test__/__snapshots__/demo.test.js.snap index 26595e5fe..6d165ba4c 100644 --- a/src/search/__test__/__snapshots__/demo.test.js.snap +++ b/src/search/__test__/__snapshots__/demo.test.js.snap @@ -32,7 +32,7 @@ exports[`Search Search base demo works fine 1`] = ` class="example-search" > diff --git a/src/search/__test__/__snapshots__/index.test.js.snap b/src/search/__test__/__snapshots__/index.test.js.snap index 9371575aa..01d0fd3cc 100644 --- a/src/search/__test__/__snapshots__/index.test.js.snap +++ b/src/search/__test__/__snapshots__/index.test.js.snap @@ -64,10 +64,6 @@ exports[`search Props :base 1`] = ` - `; diff --git a/src/search/_example/base/index.wxml b/src/search/_example/base/index.wxml index e3e61c42c..6c1ae2827 100644 --- a/src/search/_example/base/index.wxml +++ b/src/search/_example/base/index.wxml @@ -3,5 +3,5 @@ - + diff --git a/src/search/search.less b/src/search/search.less index 2840677ae..279adb2d2 100644 --- a/src/search/search.less +++ b/src/search/search.less @@ -89,4 +89,12 @@ color: @brand-color; } } + + &__result-list &__result-item { + padding-left: 0; + + &::after { + left: 0; + } + } } diff --git a/src/search/search.wxml b/src/search/search.wxml index bb9ad6cca..45497dba3 100644 --- a/src/search/search.wxml +++ b/src/search/search.wxml @@ -1,4 +1,5 @@ + - +