export function getParames (param) {
  console.log('vghjkmlgvbhjmkl')
  var query = window.location.search
  var iLen = param.length
  var iStart = query.indexOf(param)
  if (iStart === -1) {
    return ''
  }
  iStart += iLen + 1
  var iEnd = query.indexOf('&', iStart)
  if (iEnd === -1) {
    return decodeURIComponent(query.substring(iStart))
  }
  return decodeURIComponent(query.substring(iStart, iEnd))
}
