- 修复 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)
91 lines
2.9 KiB
JavaScript
91 lines
2.9 KiB
JavaScript
import '@/common/uview-init.js'
|
|
export default {
|
|
props: {
|
|
// 鍥炬爣绫诲悕
|
|
name: {
|
|
type: String,
|
|
default: uni.$u.props.icon.name
|
|
},
|
|
// 鍥炬爣棰滆壊锛屽彲鎺ュ彈涓婚鑹?
|
|
color: {
|
|
type: String,
|
|
default: uni.$u.props.icon.color
|
|
},
|
|
// 瀛椾綋澶у皬锛屽崟浣峱x
|
|
size: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.icon.size
|
|
},
|
|
// 鏄惁鏄剧ず绮椾綋
|
|
bold: {
|
|
type: Boolean,
|
|
default: uni.$u.props.icon.bold
|
|
},
|
|
// 鐐瑰嚮鍥炬爣鐨勬椂鍊欎紶閫掍簨浠跺嚭鍘荤殑index锛堢敤浜庡尯鍒嗙偣鍑讳簡鍝竴涓級
|
|
index: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.icon.index
|
|
},
|
|
// 瑙︽懜鍥炬爣鏃剁殑绫诲悕
|
|
hoverClass: {
|
|
type: String,
|
|
default: uni.$u.props.icon.hoverClass
|
|
},
|
|
// 鑷畾涔夋墿灞曞墠缂€锛屾柟渚跨敤鎴锋墿灞曡嚜宸辩殑鍥炬爣搴?
|
|
customPrefix: {
|
|
type: String,
|
|
default: uni.$u.props.icon.customPrefix
|
|
},
|
|
// 鍥炬爣鍙宠竟鎴栬€呬笅闈㈢殑鏂囧瓧
|
|
label: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.icon.label
|
|
},
|
|
// label鐨勪綅缃紝鍙兘鍙宠竟鎴栬€呬笅杈?
|
|
labelPos: {
|
|
type: String,
|
|
default: uni.$u.props.icon.labelPos
|
|
},
|
|
// label鐨勫ぇ灏?
|
|
labelSize: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.icon.labelSize
|
|
},
|
|
// label鐨勯鑹?
|
|
labelColor: {
|
|
type: String,
|
|
default: uni.$u.props.icon.labelColor
|
|
},
|
|
// label涓庡浘鏍囩殑璺濈
|
|
space: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.icon.space
|
|
},
|
|
// 鍥剧墖鐨刴ode
|
|
imgMode: {
|
|
type: String,
|
|
default: uni.$u.props.icon.imgMode
|
|
},
|
|
// 鐢ㄤ簬鏄剧ず鍥剧墖灏忓浘鏍囨椂锛屽浘鐗囩殑瀹藉害
|
|
width: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.icon.width
|
|
},
|
|
// 鐢ㄤ簬鏄剧ず鍥剧墖灏忓浘鏍囨椂锛屽浘鐗囩殑楂樺害
|
|
height: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.icon.height
|
|
},
|
|
// 鐢ㄤ簬瑙e喅鏌愪簺鎯呭喌涓嬶紝璁╁浘鏍囧瀭鐩村眳涓殑鐢ㄩ€?
|
|
top: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.icon.top
|
|
},
|
|
// 鏄惁闃绘浜嬩欢浼犳挱
|
|
stop: {
|
|
type: Boolean,
|
|
default: uni.$u.props.icon.stop
|
|
}
|
|
}
|
|
}
|