new changes

This commit is contained in:
Mamalizz
2025-03-27 23:06:48 +03:30
parent c2f1846bbb
commit fb21b8f309
@@ -43,6 +43,7 @@ const addressData = ref({
: address.value?.for_me == true
? "بله"
: "خیر",
is_main: address.value?.is_main ?? false,
});
// queries
@@ -67,6 +68,7 @@ const closeModal = () => {
name: "",
phone: "",
for_me: "بله",
is_main: false,
};
}
isShow.value = false;
@@ -253,6 +255,16 @@ watch(
class="flex items-center field-sizing-content resize-none bg-slate-50 border-slate-200 hover:border-black focus:border-black max-h-[10rem] text-black justify-between cursor-text transition-all border-[1.5px] gap-3 typo-label-md px-4 py-3.5 selection:bg-slate-100 rounded-100 outline-none flex-1 !text-sm placeholder-slate-400"
></textarea>
</div>
<div class="flex items-center justify-between w-full gap-2">
<label
for="is_main"
class="text-xs font-semibold lg:text-sm text-gray-900"
>
به عنوان آدرس پیش فرض ثبت شود؟
</label>
<Switch id="is_main" v-model="addressData.is_main" />
</div>
</div>
<div class="py-6 border-t border-slate-200 flex gap-3">