【代码笔记】Web-ionic-select彩民之家高手论坛

2019-10-13 04:25 来源:未知

 

 

 

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Todo</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <link href="lib/ionic/css/ionic.css" rel="stylesheet">
    <script src="lib/ionic/js/ionic.bundle.js"></script>
    <!-- 在使用 Cordova/PhoneGap 创建的 APP 中包含的文件,由 Cordova/PhoneGap 提供,(开发过程中显示 404) -->
    <script src="js/app2.js"></script>
    <script src="cordova.js"></script>
    <link href="http://www.runoob.com/static/ionic/css/ionic.min.css" rel="stylesheet">
    <script src="http://www.9nuskin.com/uploads/allimg/191013/0425461a8-0.jpg"></script>
</head>

<body>
    <div class="list">
        <div class="item item-input item-select">
            <div class="input-label">
                Lightsaber
            </div>
            <select>
                <option>Blue</option>
                <option selected="">Green</option>
                <option>Red</option>
            </select>
        </div>
        <div class="item item-input item-select">
            <div class="input-label">
                Fighter
            </div>
            <select>
                <option>ARC-170</option>
                <option>A-wing</option>
                <option>Delta-7</option>
                <option>Naboo N-1</option>
                <option>TIE</option>
                <option selected="">X-wing</option>
                <option>Y-wing</option>
            </select>
        </div>
        <div class="item item-input item-select">
            <div class="input-label">
                Droid
            </div>
            <select>
                <option>2-1B</option>
                <option>B1</option>
                <option>C-3PO</option>
                <option>IG-88</option>
                <option>IT-O</option>
                <option selected="">R2-D2</option>
            </select>
        </div>
        <div class="item item-input item-select">
            <div class="input-label">
                Planet
            </div>
            <select>
                <option>Alderaan</option>
                <option selected="">Dagobah</option>
                <option>Felucia</option>
                <option>Geonosis </option>
                <option>Hoth</option>
                <option>Kamino</option>
                <option>Mygeeto</option>
                <option>Naboo</option>
                <option>Tataouine</option>
                <option>Utapau</option>
                <option>Yavin</option>
            </select>
        </div>
    </div>
</body>

</html>

彩民之家高手论坛 1

彩民之家高手论坛 2

一,效果图。

参谋资料:《菜鸟教程》

彩民之家高手论坛 3

 

二,代码。

TAG标签:
版权声明:本文由彩民之家高手论坛发布于前端知识,转载请注明出处:【代码笔记】Web-ionic-select彩民之家高手论坛