Skip to content

Commit

Permalink
feat: new input (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccccpj authored and anlyyao committed Apr 7, 2023
1 parent 2604955 commit 68a14f3
Show file tree
Hide file tree
Showing 27 changed files with 2,461 additions and 1,909 deletions.
132 changes: 56 additions & 76 deletions src/cascader/__test__/__snapshots__/demo.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,33 @@ exports[`Cascader > Cascader baseVue demo works fine 1`] = `
>
<div
class="t-cell t-cell--middle t-cell--bordered t-input t-input--size-small"
class="t-input t-input--layout-horizontal t-input--size-small"
>
<div
class="t-cell__left"
class="t-input__wrap--prefix"
>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__title"
>
<div
class="t-input--label"
class="t-input__icon--prefix"
>
<!--v-if-->
</div>
<div
class="t-input__label"
>
地址
</div>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__note"
class="t-input__wrap"
>
<div
class="t-input__wrap"
class="t-input__content t-input--default"
>
<input
autocomplete="Off"
class="t-input__control"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="选择地址"
Expand All @@ -45,11 +41,10 @@ exports[`Cascader > Cascader baseVue demo works fine 1`] = `
/>
<!--v-if-->
<!--v-if-->
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--teleport start-->
<div
Expand Down Expand Up @@ -267,37 +262,33 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
<div
class="t-cell t-cell--middle t-cell--bordered t-input t-input--size-small"
class="t-input t-input--layout-horizontal t-input--size-small"
>
<div
class="t-cell__left"
class="t-input__wrap--prefix"
>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__title"
>
<div
class="t-input--label"
class="t-input__icon--prefix"
>
<!--v-if-->
</div>
<div
class="t-input__label"
>
地址
</div>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__note"
class="t-input__wrap"
>
<div
class="t-input__wrap"
class="t-input__content t-input--default"
>
<input
autocomplete="Off"
class="t-input__control"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="选择地址"
Expand All @@ -306,11 +297,10 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
/>
<!--v-if-->
<!--v-if-->
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--teleport start-->
<div
Expand Down Expand Up @@ -514,37 +504,33 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
<div
class="t-cell t-cell--middle t-cell--bordered t-input t-input--size-small"
class="t-input t-input--layout-horizontal t-input--size-small"
>
<div
class="t-cell__left"
class="t-input__wrap--prefix"
>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__title"
>
<div
class="t-input--label"
class="t-input__icon--prefix"
>
<!--v-if-->
</div>
<div
class="t-input__label"
>
地址
</div>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__note"
class="t-input__wrap"
>
<div
class="t-input__wrap"
class="t-input__content t-input--default"
>
<input
autocomplete="Off"
class="t-input__control"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="选择地址"
Expand All @@ -553,11 +539,10 @@ exports[`Cascader > Cascader mobileVue demo works fine 1`] = `
/>
<!--v-if-->
<!--v-if-->
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--teleport start-->
<div
Expand Down Expand Up @@ -747,37 +732,33 @@ exports[`Cascader > Cascader statusVue demo works fine 1`] = `
>
<div
class="t-cell t-cell--middle t-cell--bordered t-input t-input--size-small"
class="t-input t-input--layout-horizontal t-input--size-small"
>
<div
class="t-cell__left"
class="t-input__wrap--prefix"
>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__title"
>
<div
class="t-input--label"
class="t-input__icon--prefix"
>
<!--v-if-->
</div>
<div
class="t-input__label"
>
地址
</div>
<!--v-if-->
<!--v-if-->
</div>
<div
class="t-cell__note"
class="t-input__wrap"
>
<div
class="t-input__wrap"
class="t-input__content t-input--default"
>
<input
autocomplete="Off"
class="t-input__control"
class="t-input__control t-input--default"
maxlength="-1"
name=""
placeholder="选择地址"
Expand All @@ -786,11 +767,10 @@ exports[`Cascader > Cascader statusVue demo works fine 1`] = `
/>
<!--v-if-->
<!--v-if-->
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--v-if-->
</div>
<!--teleport start-->
<div
Expand Down
Loading

0 comments on commit 68a14f3

Please sign in to comment.