Skip to content

Commit

Permalink
chore: 修改 demo 示例
Browse files Browse the repository at this point in the history
  • Loading branch information
RSS1102 committed Dec 16, 2024
1 parent 672783b commit a460058
Show file tree
Hide file tree
Showing 5 changed files with 446 additions and 392 deletions.
92 changes: 44 additions & 48 deletions src/navbar/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -730,40 +730,38 @@ exports[`Navbar > Navbar mobileVue demo works fine 1`] = `
>
<!---->
<div
data-v-6af0dffd=""
class="t-search"
>
<div
class="t-search"
class="t-search__input-box t-search__input-box--round"
>
<div
class="t-search__input-box t-search__input-box--round"
<svg
class="t-icon t-icon-search"
fill="none"
height="1em"
style="font-size: 24px;"
viewBox="0 0 24 24"
width="1em"
>
<svg
class="t-icon t-icon-search"
fill="none"
height="1em"
style="font-size: 24px;"
viewBox="0 0 24 24"
width="1em"
>
<path
d="M15.1 5.9a6.5 6.5 0 10-9.2 9.2 6.5 6.5 0 009.2-9.2zM4.49 4.5a8.5 8.5 0 0112.69 11.27l5.34 5.35-1.41 1.41-5.35-5.34A8.5 8.5 0 014.5 4.49z"
fill="currentColor"
/>
</svg>
<input
class="t-input__keyword"
maxlength="-1"
placeholder="搜索预设文案"
type="search"
<path
d="M15.1 5.9a6.5 6.5 0 10-9.2 9.2 6.5 6.5 0 009.2-9.2zM4.49 4.5a8.5 8.5 0 0112.69 11.27l5.34 5.35-1.41 1.41-5.35-5.34A8.5 8.5 0 014.5 4.49z"
fill="currentColor"
/>
<!---->
</div>
</svg>
<input
class="t-input__keyword"
maxlength="-1"
placeholder="搜索预设文案"
type="search"
/>
<!---->
</div>
<!---->
</div>
<!---->
<!---->
</div>
Expand Down Expand Up @@ -1293,40 +1291,38 @@ exports[`Navbar > Navbar searchVue demo works fine 1`] = `
>
<!---->
<div
data-v-6af0dffd=""
class="t-search"
>
<div
class="t-search"
class="t-search__input-box t-search__input-box--round"
>
<div
class="t-search__input-box t-search__input-box--round"
<svg
class="t-icon t-icon-search"
fill="none"
height="1em"
style="font-size: 24px;"
viewBox="0 0 24 24"
width="1em"
>
<svg
class="t-icon t-icon-search"
fill="none"
height="1em"
style="font-size: 24px;"
viewBox="0 0 24 24"
width="1em"
>
<path
d="M15.1 5.9a6.5 6.5 0 10-9.2 9.2 6.5 6.5 0 009.2-9.2zM4.49 4.5a8.5 8.5 0 0112.69 11.27l5.34 5.35-1.41 1.41-5.35-5.34A8.5 8.5 0 014.5 4.49z"
fill="currentColor"
/>
</svg>
<input
class="t-input__keyword"
maxlength="-1"
placeholder="搜索预设文案"
type="search"
<path
d="M15.1 5.9a6.5 6.5 0 10-9.2 9.2 6.5 6.5 0 009.2-9.2zM4.49 4.5a8.5 8.5 0 0112.69 11.27l5.34 5.35-1.41 1.41-5.35-5.34A8.5 8.5 0 014.5 4.49z"
fill="currentColor"
/>
<!---->
</div>
</svg>
<input
class="t-input__keyword"
maxlength="-1"
placeholder="搜索预设文案"
type="search"
/>
<!---->
</div>
<!---->
</div>
<!---->
<!---->
</div>
Expand Down
Loading

0 comments on commit a460058

Please sign in to comment.