.ul-map-location { .option { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 10px; } .search-container { position: relative; .search-main { display: flex; .search-prefix { display: flex; align-items: center; justify-content: flex-end; white-space: nowrap; .search-prefix-item { display: flex; align-items: center; justify-content: center; margin-right: 6px; .close { margin-left: 3px; } } } .location-input { width: 240px; } .on-search { width: 68px; } } .search-body { width: calc(308px - 16px); padding: 8px; position: absolute; top: 100%; right: 0; z-index: 899999; background: #fff; .search-result { max-height: 300px; overflow-y: auto; background-color: #fff; border: 1px solid #e6e6e6; border-radius: 2px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12); .result-item { padding: 5px 8px; cursor: pointer; border-bottom: 1px solid #f0f0f0; &:hover { background-color: #f2f2f2; } .name { font-size: 14px; font-weight: bold; color: #333; margin-bottom: 3px; } .address { font-size: 12px; color: #666; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .info { display: flex; justify-content: space-between; font-size: 12px; .type { color: #009688; background-color: #f2f2f2; padding: 0px 5px; border-radius: 2px; } .location { color: #999; } } } .no-result { padding: 15px; text-align: center; color: #999; } } .search-result-option { display: flex; align-items: center; justify-content: space-between; .item { cursor: pointer; user-select: none; &.disabled { opacity: 0.5; cursor: not-allowed; } } } .search-statistics { margin-top: 10px; .title { font-size: 14px; color: #333; margin-bottom: 10px; } .list { display: flex; flex-wrap: wrap; .item { background-color: #f2f2f2; padding: 0px 3px; margin: 0 3px 3px 0; border-radius: 2px; font-size: 12px; color: #666; cursor: pointer; &:hover { background-color: #e6e6e6; } } } } .option-body { text-align: center; color: #999; cursor: pointer; margin-top: 6px; } } } .location-message { margin-top: 10px; padding: 8px; background-color: #f8f8f8; border-radius: 2px; font-size: 12px; display: flex; justify-content: space-between; align-items: center; .location-me { margin-left: 10px; } } .error-message { margin-top: 10px; padding: 8px; background-color: #fff2f0; border: 1px solid #ffccc7; border-radius: 2px; color: #f5222d; font-size: 12px; } }