import '@/common/uview-init.js' export default { props: { // 鏄剧ず鏂囧瓧 title: { type: String, default: uni.$u.props.alert.title }, // 涓婚锛宻uccess/warning/info/error type: { type: String, default: uni.$u.props.alert.type }, // 杈呭姪鎬ф枃瀛? description: { type: String, default: uni.$u.props.alert.description }, // 鏄惁鍙叧闂? closable: { type: Boolean, default: uni.$u.props.alert.closable }, // 鏄惁鏄剧ず鍥炬爣 showIcon: { type: Boolean, default: uni.$u.props.alert.showIcon }, // 娴呮垨娣辫壊璋冿紝light-娴呰壊锛宒ark-娣辫壊 effect: { type: String, default: uni.$u.props.alert.effect }, // 鏂囧瓧鏄惁灞呬腑 center: { type: Boolean, default: uni.$u.props.alert.center }, // 瀛椾綋澶у皬 fontSize: { type: [String, Number], default: uni.$u.props.alert.fontSize } } }