map.js 685 B

12345678910111213141516
  1. (function ($ang, win) {
  2. 'use strict';
  3. $ang.module('ylmis').controller("mapCtrl", ['$scope', '$rootScope', '$state', '$http', '$loading', '$alert', '$interval', '$window', '$modal', 'AuthUser',
  4. function ($scope, $rootScope, $state, $http, $loading, $alert, $desData, $interval, $window, $modal, AuthUser) {
  5. $("#mapimg").css("height", $(window).height());
  6. $("#mapimg").click(function (e) {
  7. if (e.offsetX >= 1000 && e.offsetX <= 1178 && e.offsetY >= 394 && e.offsetY <= 500) {
  8. $state.go("map-index");
  9. }
  10. else {
  11. }
  12. });
  13. }]);
  14. })(angular, this);