Edit: Add from Android phone contacts

This commit is contained in:
2026-09-21 20:51:06 +03:30
parent 9249302eac
commit be97a067f9
3 changed files with 110 additions and 41 deletions
+7 -1
View File
@@ -5,6 +5,8 @@ import UiIcon from '@/components/UiIcon.vue';
const props = defineProps<{
open: boolean;
title: string;
/** برای مودال روی مودال (مثل انتخاب مخاطب داخل فرم) */
nest?: boolean;
}>();
const emit = defineEmits<{
@@ -29,7 +31,7 @@ function onBackdrop(event: MouseEvent) {
<template>
<Teleport to="body">
<div v-if="open" class="backdrop" @click="onBackdrop">
<div v-if="open" class="backdrop" :class="{ nest }" @click="onBackdrop">
<section
class="dialog"
role="dialog"
@@ -65,6 +67,10 @@ function onBackdrop(event: MouseEvent) {
background: rgba(15, 23, 42, 0.35);
}
.backdrop.nest {
z-index: 100;
}
.dialog {
width: min(880px, 100%);
max-height: min(88dvh, 88vh, 880px);