• "步骤条组件"组件:<steps> —— 快应用组件库H-UI


    <import name="steps" src="../Common/ui/h-ui/advance/c_steps"></import>
    <template>
        <div class="container">
            <steps></steps>
        </div>
    </template>
    
    <style lang="less">
        @import '../Common/styles/container.less';
    </style>
    

    <import name="steps" src="../Common/ui/h-ui/advance/c_steps"></import>
    <template>
        <div class="container">
            <steps num="2"></steps>
            <steps num="4"></steps>
        </div>
    </template>
    
    <style lang="less">
        @import '../Common/styles/container.less';
    </style>
    

    <import name="steps" src="../Common/ui/h-ui/advance/c_steps"></import>
    <template>
        <div class="container">
            <steps num="4" current="1"></steps>
            <steps num="4" current="2"></steps>
        </div>
    </template>
    
    <style lang="less">
        @import '../Common/styles/container.less';
    </style>
    

    <import name="steps" src="../Common/ui/h-ui/advance/c_steps"></import>
    <template>
        <div class="container">
            <steps num="4" current="1" status="error"></steps>
            <steps num="4" current="3" status="success"></steps>
        </div>
    </template>
    
    <style lang="less">
        @import '../Common/styles/container.less';
    </style>
    

    <import name="steps" src="../Common/ui/h-ui/advance/c_steps"></import>
    <template>
        <div class="container">
            <steps data="{{data}}"></steps>
        </div>
    </template>
    
    <style lang="less">
        @import '../Common/styles/container.less';
    </style>
    
    <script>
        export default {
            private: {
                data: [
                    { title: '选择商品' },
                    { title: '确定订单' },
                    { title: '支付金额' }
                ]
            }
        }
    </script>
    

    <import name="steps" src="../Common/ui/h-ui/advance/c_steps"></import>
    <template>
        <div class="container">
            <steps data="{{data}}"></steps>
        </div>
    </template>
    
    <style lang="less">
        @import '../Common/styles/container.less';
    </style>
    
    <script>
        export default {
            private: {
                data: [
                    { title: '选择商品', content: '这里是额外的信息,最多两行' },
                    { title: '确定订单', content: '这里是额外的信息,最多两行' },
                    { title: '支付金额', content: '这里是额外的信息,最多两行' }
                ]
            }
        }
    </script>
    

    <import name="steps" src="../Common/ui/h-ui/advance/c_steps"></import>
    <template>
        <div class="container">
            <steps data="{{data}}"></steps>
            <steps data="{{data}}" current="1"></steps>
        </div>
    </template>
    
    <style lang="less">
        @import '../Common/styles/container.less';
    </style>
    
    <script>
        export default {
            private: {
                data: [
                    { title: '选择商品', content: '这里是额外的信息,最多两行',type: 'gift' },
                    { title: '确定订单', content: '这里是额外的信息,最多两行',type: 'shopping-cart' },
                    { title: '支付金额', content: '这里是额外的信息,最多两行',type: 'money' }
                ]
            }
        }
    </script>
    

    扫码体验

  • 相关阅读:
    【BZOJ5298】【CQOI2018】交错序列(矩阵快速幂优化dp)
    【BZOJ5297】【CQOI2018】社交网络(有向图生成树计数)
    【BZOJ5296】【CQOI2018】破解D-H协议(BSGS)
    【BZOJ1185】【HNOI2007】最小矩形覆盖(凸包+旋转卡壳)
    【BZOJ1069】【SCOI2007】—最大土地面积(凸包+旋转卡壳)
    【BZOJ2300】【HAOI2011】—防线修建(set维护动态凸包)
    【POJ1912】【Ceoi2002】—A highway and the seven dwarfs(凸包)
    【BZOJ1043】【HAOI2008】—下落的圆盘(圆的并集)
    node-多进程
    Node-RESTful
  • 原文地址:https://www.cnblogs.com/cloud-dev/p/bu-zhou-tiao-zu-jianzu-jianltstepsgt--kuai-ying-yo.html
Copyright © 2020-2023  润新知