菜单切换
FACESOHO知行者
心灵
记录
远方
赞赏工具
源代码:
点击运行
保存
<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>小鸟启蒙(facesoho.com)</title> <link href="https://cdn.staticfile.org/ionic/1.3.2/css/ionic.css" rel="stylesheet"> <script src="https://cdn.staticfile.org/ionic/1.3.2/js/ionic.bundle.min.js"></script> <script type="text/javascript"> angular.module('ionicApp', ['ionic']); </script> <style type="text/css"> body { cursor: url('http:/try/demo_source/finger.png'), auto; } </style> </head> <body> <ion-view title="Home" hide-nav-bar="true"> <ion-scroll zooming="true" direction="xy" style="width: 500px; height: 500px"> <div style="width: 5000px; height: 5000px; background: url('http:/try/demo_source/Europe_geological_map-en.jpg') repeat"></div> </ion-scroll> </ion-view> </body> </html>
运行结果