佳木斯湛栽影视文化发展公司

主頁 > 知識庫 > html直接引用vue和element-ui的方法

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

熱門標(biāo)簽:美圖手機(jī) 智能手機(jī) 百度競價點(diǎn)擊價格的計(jì)算公式 使用U盤裝系統(tǒng) 檢查注冊表項(xiàng) 阿里云 硅谷的囚徒呼叫中心 網(wǎng)站建設(shè)

代碼如下所示:

<!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)文章,希望大家以后多多支持腳本之家!

標(biāo)簽:黃山 通遼 湘潭 山南 賀州 湖北 懷化 煙臺

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《html直接引用vue和element-ui的方法》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話咨詢

    • 400-1100-266
    河源市| 邛崃市| 娄烦县| 科技| 淮安市| 平泉县| 加查县| 岳池县| 兰溪市| 阜城县| 施甸县| 万安县| 楚雄市| 许昌县| 沈丘县| 扎囊县| 黑山县| 会昌县| 苏尼特右旗| 察隅县| 福海县| 乾安县| 泰州市| 南丰县| 鱼台县| 开封县| 东源县| 淮滨县| 仙居县| 安徽省| 宁蒗| 永胜县| 南阳市| 金平| 分宜县| 城固县| 河南省| 五家渠市| 新安县| 屏山县| 昂仁县|