import '@/common/uview-init.js' export default { props: { // 鏄惁灞曠ず寮圭獥 show: { type: Boolean, default: uni.$u.props.popup.show }, // 鏄惁鏄剧ず閬僵 overlay: { type: Boolean, default: uni.$u.props.popup.overlay }, // 寮瑰嚭鐨勬柟鍚戯紝鍙€夊€间负 top bottom right left center mode: { type: String, default: uni.$u.props.popup.mode }, // 鍔ㄧ敾鏃堕暱锛屽崟浣峬s duration: { type: [String, Number], default: uni.$u.props.popup.duration }, // 鏄惁鏄剧ず鍏抽棴鍥炬爣 closeable: { type: Boolean, default: uni.$u.props.popup.closeable }, // 鑷畾涔夐伄缃╃殑鏍峰紡 overlayStyle: { type: [Object, String], default: uni.$u.props.popup.overlayStyle }, // 鐐瑰嚮閬僵鏄惁鍏抽棴寮圭獥 closeOnClickOverlay: { type: Boolean, default: uni.$u.props.popup.closeOnClickOverlay }, // 灞傜骇 zIndex: { type: [String, Number], default: uni.$u.props.popup.zIndex }, // 鏄惁涓篿PhoneX鐣欏嚭搴曢儴瀹夊叏璺濈 safeAreaInsetBottom: { type: Boolean, default: uni.$u.props.popup.safeAreaInsetBottom }, // 鏄惁鐣欏嚭椤堕儴瀹夊叏璺濈锛堢姸鎬佹爮楂樺害锛? safeAreaInsetTop: { type: Boolean, default: uni.$u.props.popup.safeAreaInsetTop }, // 鑷畾涔夊叧闂浘鏍囦綅缃紝top-left涓哄乏涓婅锛宼op-right涓哄彸涓婅锛宐ottom-left涓哄乏涓嬭锛宐ottom-right涓哄彸涓嬭 closeIconPos: { type: String, default: uni.$u.props.popup.closeIconPos }, // 鏄惁鏄剧ず鍦嗚 round: { type: [Boolean, String, Number], default: uni.$u.props.popup.round }, // mode=center锛屼篃鍗充腑閮ㄥ脊鍑烘椂锛屾槸鍚︿娇鐢ㄧ缉鏀炬ā寮? zoom: { type: Boolean, default: uni.$u.props.popup.zoom }, // 寮圭獥鑳屾櫙鑹诧紝璁剧疆涓簍ransparent鍙幓闄ょ櫧鑹茶儗鏅? bgColor: { type: String, default: uni.$u.props.popup.bgColor }, // 閬僵鐨勯€忔槑搴︼紝0-1涔嬮棿 overlayOpacity: { type: [Number, String], default: uni.$u.props.popup.overlayOpacity } } }