<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<script type="text/javascript" src="js/ionic.bundle.min.js" ></script>
<link rel="stylesheet" href="css/ionic.css" />
</head>
<body ng-app="myapp" ng-controller="ContentController">
<ion-side-menus>
<!-- 中间内容 -->
<ion-side-menu-content>
<!--头部-->
<ion-header-bar class="bar-positive">
<h1 class="title">八维商城</h1>
</ion-header-bar>
</ion-side-menu-content>
<!-- 左侧菜单 -->
<ion-side-menu side="left">
<ul class="list">
<li class="item">你好啊</li>
<li class="item">我来拉</li>
</ul>
</ion-side-menu>
<!-- 右侧菜单 -->
<ion-side-menu side="right">
<h3>别跑啊</h3>
</body>
<script>
};
})
</script>
</html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<script type="text/javascript" src="js/ionic.bundle.min.js" ></script>
<link rel="stylesheet" href="css/ionic.css" />
</head>
<body ng-app="myapp" ng-controller="ContentController">
<ion-side-menus>
<!-- 中间内容 -->
<ion-side-menu-content>
<!--头部-->
<ion-header-bar class="bar-positive">
<h1 class="title">八维商城</h1>
</ion-header-bar>
</ion-side-menu-content>
<!-- 左侧菜单 -->
<ion-side-menu side="left">
<ul class="list">
<li class="item">你好啊</li>
<li class="item">我来拉</li>
</ul>
</ion-side-menu>
<!-- 右侧菜单 -->
<ion-side-menu side="right">
<h3>别跑啊</h3>
</ion-side-menu>
</body>
<script>
var app=angular.module("myapp",["ionic"]);
$scope.toggleLeft = function() {
};
})
</script>
</html>