最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

html直接引用vue和element-ui的方法

  發(fā)布時間:2020-09-02 09:33:44   作者:清風(fēng)半夜鳴蟬   我要評論
這篇文章主要介紹了html直接引用vue和element-ui的方法,本文通過實(shí)例代碼給大家介紹的非常詳細(xì),對大家的學(xué)習(xí)或工作具有一定的參考借鑒價值,需要的朋友可以參考下

代碼如下所示:

<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
</head>

<body>
    <div id="app">
        <el-button round @click="visible = true">圓角按鈕</el-button>
        <br>
        <el-dialog :visible.sync="visible" title="Hello world">
            <p>Try Element</p>
        </el-dialog>
        <br>

        <el-switch v-model="value1" active-text="按月付費(fèi)" inactive-text="按年付費(fèi)">
        </el-switch>
        <el-switch style="display: block" v-model="value2" active-color="#13ce66" inactive-color="#ff4949"
            active-text="按月付費(fèi)" inactive-text="按年付費(fèi)">
        </el-switch>

        <br>
        <el-time-picker is-range v-model="value1" range-separator="至" start-placeholder="開始時間" end-placeholder="結(jié)束時間"
            placeholder="選擇時間范圍">
        </el-time-picker>
        <el-time-picker is-range arrow-control v-model="value2" range-separator="至" start-placeholder="開始時間"
            end-placeholder="結(jié)束時間" placeholder="選擇時間范圍">
        </el-time-picker>
        <br>

        <el-progress type="circle" :percentage="0"></el-progress>
        <el-progress type="circle" :percentage="25"></el-progress>
        <el-progress type="circle" :percentage="100" status="success"></el-progress>
        <el-progress type="circle" :percentage="70" status="warning"></el-progress>
        <el-progress type="circle" :percentage="50" status="exception"></el-progress>
        <br>
        <el-row>
            <el-button icon="el-icon-search" circle></el-button>
            <el-button type="primary" icon="el-icon-edit" circle></el-button>
            <el-button type="success" icon="el-icon-check" circle></el-button>
            <el-button type="info" icon="el-icon-message" circle></el-button>
            <el-button type="warning" icon="el-icon-star-off" circle></el-button>
            <el-button type="danger" icon="el-icon-delete" circle></el-button>
        </el-row>
        <br>
        <el-steps :active="1" finish-status="success">
            <el-step title="已付款"></el-step>
            <el-step title="退款中"></el-step>
            <el-step title="已退款"></el-step>
            <el-step title="待結(jié)算"></el-step>
            <el-step title="已結(jié)算"></el-step>
        </el-steps>
    </div>
</body>
<script>
    new Vue({
        el: '#app',
        data: function () {
            return { visible: false }
        }
    })
</script>

</html>

效果如圖:

在這里插入圖片描述

總結(jié)

到此這篇關(guān)于html直接引用vue和element-ui的方法的文章就介紹到這了,更多相關(guān)html引用vue和element-ui內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持腳本之家!

相關(guān)文章

  • 一分鐘帶你體驗(yàn)html+vue+element-ui的絲滑

    本文通過實(shí)例代碼給大家介紹了html vue element-ui的相關(guān)知識,代碼簡單易懂,對大家的學(xué)習(xí)或工作具有一定的參考借鑒價值,需要的朋友參考下吧
    2020-12-22

最新評論

新兴县| 昭通市| 格尔木市| 河源市| 浑源县| 泰安市| 奎屯市| 扶余县| 依安县| 溧水县| 桐城市| 嘉义市| 吉水县| 内丘县| 湖口县| 嘉峪关市| 富顺县| 农安县| 九龙坡区| 凤凰县| 永和县| 吉水县| 奉节县| 隆化县| 江源县| 西乌珠穆沁旗| 阿尔山市| 璧山县| 聂荣县| 永和县| 鸡泽县| 灵武市| 布拖县| 确山县| 武隆县| 旺苍县| 马山县| 东丰县| 从江县| 龙里县| 嫩江县|