Skip to content

Commit

Permalink
update visual part
Browse files Browse the repository at this point in the history
  • Loading branch information
ninedev-i committed Jul 18, 2024
1 parent 7c86521 commit 213261e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion components/Select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ const model = defineModel();
:placeholder="placeholder"
@change="changeCallback"
showClear
:overlayStyle="{
zIndex: 100,
}"
/>
</template>

Expand Down Expand Up @@ -65,11 +68,14 @@ const model = defineModel();
}
[data-pc-section="listcontainer"] {
margin-top: 3px;
}
[role="listbox"] {
box-shadow: 1px 1px 12px var(--gray-color);
border: 1px solid #e2e8f0;
background: #fff;
border-radius: 6px;
margin-top: 3px;
}
[data-pc-section="list"] {
Expand Down
4 changes: 3 additions & 1 deletion components/content/Partner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ const formatPhoneNumber = (phone: number) => {
return null;
}
const phoneString = String(phone);
return `+${phoneString[0]} (${phoneString.slice(1, 4)}) ${phoneString.slice(4, 7)}-${phoneString.slice(7, 9)}-${phoneString.slice(9)}`;
return phoneString[0] === '7'
? `+${phoneString[0]} (${phoneString.slice(1, 4)}) ${phoneString.slice(4, 7)}-${phoneString.slice(7, 9)}-${phoneString.slice(9)}`
: `+${phoneString.slice(0, 3)} (${phoneString.slice(3, 5)}) ${phoneString.slice(5, 8)}-${phoneString.slice(8, 10)}-${phoneString.slice(10, 12)}`;
}
</script>
Expand Down
1 change: 1 addition & 0 deletions content/en/_partners/integrator/ledfarm.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ district: [by]
coordinates: [53.946722375392426, 27.61806785065508]
title: LedFarm.by
logo: /img/partners/integrator/ledfarm.webp
phone: 375259237554
website: https://ledfarm.by
email: [email protected]
---
Expand Down
1 change: 1 addition & 0 deletions content/en/_partners/integrator/produmano.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ district: [kg]
coordinates: [42.82789274724515, 74.60996178787109]
title: TekoPro LLC
logo: /img/partners/integrator/produmano.webp
phone: 996550881155
website: https://produmano.kg
email: [email protected]
---
Expand Down
1 change: 1 addition & 0 deletions content/en/_partners/integrator/tk_allians.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ district: [by]
coordinates: [53.947585900865356, 27.69945695143718]
title: Private company "TKAllianceBel"
logo: /img/partners/integrator/tk_allians.webp
phone: 375447987353
website: https://tk-allians.by
email: [email protected]
---
Expand Down

0 comments on commit 213261e

Please sign in to comment.