- 修复 uni-popup-dialog/uni-data-picker keypress.js 中 $once 在 H5 端报错(改用生命周期钩子清理监听) - main.js 补 $delete globalProperties polyfill(z-paging 自动高度逻辑依赖) - App.vue onLaunch 补设备信息初始化,修复 X-Device-Id 恒为 unknown - 68 处 ::v-deep、/deep/ 旧深度选择器替换为 :deep()(含 login-page.scss) - zetank-personalpage 组件 .sync 修饰符改为 v-model:xxx(Vue3 已移除 .sync) - vite.config.js HBuilderX 路径支持 HBUILDERX_HOME 环境变量覆盖 - 根 package.json 清理 image-grid 插件遗留元数据 - 收录此前未提交的 uView Vue3 兜底补丁(common/uview-init.js 及各组件 props.js)
81 lines
2.7 KiB
JavaScript
81 lines
2.7 KiB
JavaScript
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
|
|
}
|
|
}
|
|
}
|