引入touch文件,包括resources和sencha-touch-debug.js文件
sencha touch环境搭建
index.html文件内容如下:
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" href="./touch/resources/css/sencha-touch.css" type="text/css">
  5. <script type="text/javascript" src="./touch/sencha-touch-all-debug.js"></script>
  6. </head>
  7. <script type="text/javascript">
  8. Ext.setup({
  9. icon: '../icon.png',
  10. tabletStartupScreen: '../tablet_startup.png',
  11. phoneStartupScreen: '../phone_startup.png',
  12. glossOnIcon: false,
  13. onReady: function() {
  14. Ext.Msg.alert('提示', '第一个SenchaTouch程序!');
  15. }
  16. });
  17. </script>
  18. <body>
  19. </body>
  20. </html>
实现展示
sencha touch环境搭建






相关文章:

  • 2022-12-23
  • 2021-08-12
  • 2021-07-07
  • 2022-12-23
  • 2021-12-16
  • 2022-02-25
  • 2021-10-02
  • 2021-06-21
猜你喜欢
  • 2022-02-14
  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2021-04-12
相关资源
相似解决方案