/**
* 选择车牌号前缀
*
*/
$ionicModal.fromTemplateUrl('templates/order/modal/orderCity.html', {
scope: $scope,//增加$scope
animation: 'animated bounceInUp'//增加弹出动画样式
}).then(function(modal) {
$scope.CityNumberModal = modal;
});
//显示方法
$scope.showCity = function() {
$scope.CityNumberModal.show();
}
//隐藏方法
$scope.closetoolNumber = function(city) {
$scope.CityNumberModal.hide();
}
angularjs popup layer
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=325563987&siteId=291194637
Recommended
Ranking