angularjs彈出層

/**
   * 選擇車牌號前綴
   *
   */

  $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();
   }
相關文章
相關標籤/搜索