zoukankan      html  css  js  c++  java
  • "警告提示"组件:<alert> —— 快应用组件库H-UI

    <import name="alert" src="../Common/ui/h-ui/feedback/c_alert"></import>
    <template>
        <div class="container">
            <alert title="An alert info"></alert>
        </div>
    </template>
    
    <style lang="less">
        @import '../Common/styles/container.less';
    </style>
    

    <import name="alert" src="../Common/ui/h-ui/feedback/c_alert"></import>
    <template>
        <div class="container">
            <alert title="An alert info" type="info"></alert>
            <alert title="An alert info" type="warning"></alert>
            <alert title="An alert info" type="danger"></alert>
            <alert title="An alert info" type="success"></alert>
        </div>
    </template>
    
    <style lang="less">
        @import '../Common/styles/container.less';
    </style>
    

    <import name="alert" src="../Common/ui/h-ui/feedback/c_alert"></import>
    <template>
        <div class="container">
            <alert title="An alert info" type="info" content="Some description about alert component"></alert>
            <alert title="An alert info" type="warning" content="Some description about alert component"></alert>
            <alert title="An alert info" type="danger" content="Some description about alert component"></alert>
            <alert title="An alert info" type="success" content="Some description about alert component"></alert>
        </div>
    </template>
    
    <style lang="less">
        @import '../Common/styles/container.less';
    </style>
    

    <import name="alert" src="../Common/ui/h-ui/feedback/c_alert"></import>
    <template>
        <div class="container">
            <alert title="An alert info" remove="true"></alert>
            <alert title="An alert info" content="Some description about alert component" remove="true"></alert>
        </div>
    </template>
    
    <style lang="less">
        @import '../Common/styles/container.less';
    </style>
    

    扫码体验

  • 相关阅读:
    机器学习
    octave安装使用
    学习pytorch
    安装Pytorch
    下载软件的好地方
    python 内置模块time timedate random
    关于git
    python软件目录结构规范
    python 内置参数
    test
  • 原文地址:https://www.cnblogs.com/cloud-dev/p/jing-gao-ti-shizu-jianltalertgt--kuai-ying-yong-zu.html
Copyright © 2011-2022 走看看