Merge remote-tracking branch 'origin/main'

This commit is contained in:
SBD
2023-11-24 16:49:19 +03:00
4 changed files with 54 additions and 144 deletions

View File

@@ -1041,45 +1041,6 @@
font-size: 14px;
}
.to_address_point_txt.post_route{
display: block;
border-left: 1px solid #E6E6E6;
border-top: 1px solid #E6E6E6;
border-right: 0;
border-bottom: 1px solid #E6E6E6;
color: #272424;
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 22px;
appearance: none;
margin-top: 10px;
height: 20px;
border-radius: 15px 0 0 15px;
padding: 20px 15.2px;
width: calc(100% - 95px);
}
.from_address_point_txt.post_route{
display: block;
border-left: 1px solid #E6E6E6;
border-top: 1px solid #E6E6E6;
border-right: 0;
border-bottom: 1px solid #E6E6E6;
color: #272424;
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 22px;
appearance: none;
margin-top: 10px;
height: 20px;
border-radius: 15px 0 0 15px;
padding: 20px 15.2px;
width: calc(100% - 95px);
}
.input_list.find_route{
width: 100%;

View File

@@ -255,13 +255,13 @@ function loader_place_ins_boris (el,type=null){
function searchTown(el){
if (el.value.length > 0){
// el.style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center';
if (el.value.length > 2){
el.style.background = 'white url("/static/img/svg/loader.svg") no-repeat calc(100% - 15px) center';
}else {
// el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
}
if(el.value.length>=3){
@@ -294,7 +294,7 @@ function searchTown(el){
// enctype: 'json',
data: JSON.stringify(get_address_point),
success: function(data){
// el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
el.style.background = 'white url("/static/img/png/icon-arrow.svg") no-repeat calc(100% - 15px) center';
loader_place_ins_boris(el,"el")