| | |
| | | import $ from 'jquery'; |
| | | import { factorName } from '@/constant/factor-name'; |
| | | import { factorUnit } from '@/constant/factor-unit'; |
| | | import { windDir } from '@/constant/wind-dir'; |
| | |
| | | var closeX = document.createElement('i'); |
| | | titleD.innerHTML = title; |
| | | closeX.className = 'fa fa-times'; |
| | | // eslint-disable-next-line no-undef |
| | | $(closeX).attr('aria-hidden', 'true'); |
| | | closeX.onclick = function () { |
| | | marker.close(); |
| | |
| | | refreshV.className = 'refresh-btn'; |
| | | var refresh = document.createElement('i'); |
| | | refresh.className = 'fa fa-refresh'; |
| | | // eslint-disable-next-line no-undef |
| | | $(refresh).attr('aria-hidden', 'true'); |
| | | // eslint-disable-next-line no-undef |
| | | $(refresh).css('color', '#ffffffc0'); |
| | | // eslint-disable-next-line no-undef |
| | | $(refresh).css('cursor', 'pointer'); |
| | | refresh.onclick = function () { |
| | | // $(this).addClass('fa-spin') |