ionic 单选框

2017-07-20 15:50:00
admin
原创
310
<html ng-app="ionicApp">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
        <title> </title>
        <link href="https://cdn.bootcss.com/ionic/1.3.2/css/ionic.css" rel="stylesheet">
        <script src="https://cdn.bootcss.com/ionic/1.3.2/js/ionic.bundle.min.js"></script>
    </head>
    <body>
    
    <div class="bar bar-header">
      <div class="h1 title">单选按钮列表</div>
    </div>

    <div class="content has-header">

      <div class="list">

        <label class="item item-radio">
          <input type="radio" name="group" value="go" checked="checked">
           <div class="radio-content">
           <div class="item-content">
            Go
           </div>
           <i class="radio-icon ion-checkmark"></i>
          </div>
        </label>

        <label class="item item-radio">
          <input type="radio" name="group" value="python">
          <div class="radio-content">
           <div class="item-content">
            Python
           </div>
           <i class="radio-icon ion-checkmark"></i>
          </div>
        </label>

        <label class="item item-radio">
          <input type="radio" name="group" value="ruby">
          <div class="radio-content">
           <div class="item-content">
            Ruby
           </div>
           <i class="radio-icon ion-checkmark"></i>
          </div>
        </label>

        <label class="item item-radio">
          <input type="radio" name="group" value=".net">
          <div class="radio-content">
           <div class="item-content">
            .Net
           </div>
           <i class="radio-icon ion-checkmark"></i>
          </div>
        </label>

        <label class="item item-radio">
          <input type="radio" name="group" value="java">
          <div class="radio-content">
           <div class="item-content">
            Java
           </div>
           <i class="radio-icon ion-checkmark"></i>
          </div>
        </label>

        <label class="item item-radio">
          <input type="radio" name="group" value="php">
          <div class="radio-content">
           <div class="item-content">
            PHP
           </div>
           <i class="radio-icon ion-checkmark"></i>
          </div>
        </label>

      </div>

    </div>
  </body>
</html>
文章分类
联系我们
电话: 18902328227
Email: 2689701946@qq.com
QQ: 2689701946
微信: 18902328227
地址: 广州番禺区繁华路
  • 在线客服
  • 关注微信
  • 联系电话
    • 欢迎咨询
    • 欢迎加入QQ群 303257430
  • 公众号:源宝网络
    • 联系电话及微信号 18902328227