-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(input): add tips/mouseenter/mouseleave/paste to input (#305)
* feat(input): add tips/mouseenter/mouseleave/paste to input Co-authored-by: chaishi <yaoyanhuoyi@qq.com>
- Loading branch information
Showing
12 changed files
with
331 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
<template> | ||
<div class="tdesign-demo-block-column" style="max-width: 500px"> | ||
<t-input default-value="成功状态" /> | ||
<t-input status="success" default-value="成功状态" /> | ||
<t-input status="warning" default-value="警告状态" /> | ||
<t-input status="error" default-value="错误状态" /> | ||
<br /> | ||
<t-input default-value="普通状态" tips="这是普通文本提示" /> | ||
<t-input status="success" default-value="成功状态" tips="校验通过文本提示" /> | ||
<t-input status="warning" default-value="警告状态" tips="校验不通过文本提示" /> | ||
<t-input status="error" default-value="错误状态" tips="校验存在严重问题文本提示" /> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.