# Toast 提示

{% embed url="<https://h5ui.io/example/toast.html>" %}

## **轻提示**

<div align="left"><figure><img src="/files/sR2d92zMYMWtwGrmX5Nh" alt="" width="375"><figcaption></figcaption></figure></div>

```html
<div class="h5ui-toast" id="toast-default">
    <div class="h5ui-toast_backdrop"></div>
    <div class="h5ui-toast_dialog">
        <div class="h5ui-toast_content">
            <span>验证码已发送</span>
        </div>
    </div>
</div>
```

## 等待提示

<div align="left"><figure><img src="/files/nWNpb3gyoKYNaz0TOyfi" alt="" width="375"><figcaption></figcaption></figure></div>

```html
<div class="h5ui-toast h5ui-toast_loading" id="toast-loading">
    <div class="h5ui-toast_backdrop"></div>
    <div class="h5ui-toast_dialog">
        <div class="h5ui-toast_content">
            <span>
                <div class="h5ui-toast_loading_icon">
                    <div class="loading-icon-leaf loading-icon-leaf_0"></div>
                    <div class="loading-icon-leaf loading-icon-leaf_1"></div>
                    <div class="loading-icon-leaf loading-icon-leaf_2"></div>
                    <div class="loading-icon-leaf loading-icon-leaf_3"></div>
                    <div class="loading-icon-leaf loading-icon-leaf_4"></div>
                    <div class="loading-icon-leaf loading-icon-leaf_5"></div>
                    <div class="loading-icon-leaf loading-icon-leaf_6"></div>
                    <div class="loading-icon-leaf loading-icon-leaf_7"></div>
                    <div class="loading-icon-leaf loading-icon-leaf_8"></div>
                    <div class="loading-icon-leaf loading-icon-leaf_9"></div>
                    <div class="loading-icon-leaf loading-icon-leaf_10"></div>
                    <div class="loading-icon-leaf loading-icon-leaf_11"></div>
                </div>
                加载中
            </span>
        </div>
    </div>
</div>
```

## **成功提示**

<div align="left"><figure><img src="/files/7TFleStjwxSp5G1yJh4g" alt="" width="375"><figcaption></figcaption></figure></div>

```html
<div class="h5ui-toast h5ui-toast_success" id="toast-success">
    <div class="h5ui-toast_backdrop"></div>
    <div class="h5ui-toast_dialog">
        <div class="h5ui-toast_content">
            <span><i class="h5ui-toast_success_icon"></i>已完成</span>
        </div>
    </div>
</div>
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.h5ui.io/toast.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
