|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<view :class="classes">
|
|
|
<nut-popup pop-class="popclass" :visible="visible" position="bottom" round @click-overlay="close">
|
|
|
- <view class="nut-actionsheet-panel" :class="{ 'nut-actionsheet-safebottom': safeAreaInsetBottom }">
|
|
|
+ <view class="nut-actionsheet-panel">
|
|
|
<view v-if="title" class="nut-actionsheet-title">{{ title }}</view>
|
|
|
<slot></slot>
|
|
|
<view v-if="!slotDefault">
|
|
|
@@ -67,10 +67,6 @@ export default create({
|
|
|
menuItems: {
|
|
|
type: Array,
|
|
|
default: () => []
|
|
|
- },
|
|
|
- safeAreaInsetBottom: {
|
|
|
- type: Boolean,
|
|
|
- default: false
|
|
|
}
|
|
|
},
|
|
|
emits: ['cancel', 'choose', 'update:visible', 'close'],
|