1404/11/08-store style
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
|
||||
</style>-->
|
||||
<template>
|
||||
<VanActionSheet teleport="body">
|
||||
<VanActionSheet :show="show" @update:show="$emit('update:show', $event)" :placement="placement" teleport="body">
|
||||
<div class="justify-center cursor-pointer flex mt-1" @click="$emit('update:show', false)">
|
||||
<span class="rounded-sm w-12 border-t-2 border-t-solid border-t-gray-500 mt-2"></span>
|
||||
</div>
|
||||
@@ -60,6 +60,8 @@ interface Props {
|
||||
showCancel?: boolean
|
||||
showOk?: boolean
|
||||
okText?: string
|
||||
show?: boolean
|
||||
placement?: string
|
||||
}
|
||||
|
||||
const props = withDefaults(defineProps<Props>(), {
|
||||
@@ -68,6 +70,8 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
showCancel: true,
|
||||
showOk: true,
|
||||
okText: 'ثبت',
|
||||
show: false,
|
||||
placement: 'bottom'
|
||||
})
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user