实例代码“Ctrl+/”提示“F11/ESC”全屏 返回 格式化 恢复 运行
x
 
1
<html ng-app="ionicApp">
2
        <head>
3
            <meta charset="utf-8">
4
            <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
5
            <title>手册网基础教程(shouce.ren)</title>
6
            <link href="/static/example/ionic.min.css" rel="stylesheet">
7
            <script src="/static/example/ionic.bundle.min.js"></script>
8
        </head>
9
        <script type="text/javascript">
10
        angular.module('ionicApp', ['ionic'])
11
12
        .controller('MyCtrl', function($scope) {
13
14
        });
15
        </script>
16
        <style>
17
        body {
18
        cursor: url('https://www.shouce.ren/static/img/finger.png'), auto;
19
        }
20
        </style>
21
        <body ng-controller="MyCtrl">
22
23
        <ion-header-bar class="bar-positive">
24
                <h1 class="title">Hello World!</h1>
25
    </ion-header-bar>
26
27
    <ion-content>
28
                <p>我的第一个 ionic 应用。</p>
29
    </ion-content>
30
31
  </body>
32
</html>
33