hy-app
Version:
fix: 修复text和tag换掉
61 lines (58 loc) • 1.43 kB
text/typescript
import type { CSSProperties, PropType } from 'vue'
import type { HyButtonProps } from '../hy-button/typing'
const emptyProps = {
/** 是否显示空状态 */
show: {
type: Boolean,
default: true
},
/**
* 缺省页内容
* @values content,search,address,network,order,coupon,favor,history,message,comment,integral
* */
mode: {
type: String,
default: 'content'
},
/** 空状态图片 */
imageUrl: String,
/** 组件层级 */
zIndex: {
type: Number,
default: 889
},
/** 组件层级 */
width: {
type: [String, Number],
default: '240px'
},
/** icon高度 */
height: {
type: [String, Number],
default: '240px'
},
/** 提示信息 */
description: String,
/** 提示信息大小 */
desSize: {
type: Number,
default: 15
},
/** 提示信息颜色 */
desColor: String,
/** 图片margin */
imgMargin: String,
/** 按钮属性值 */
button: {
type: Object as PropType<HyButtonProps>
},
navigateUrl: String,
/** 定义需要用到的外部样式 */
customStyle: {
type: Object as PropType<CSSProperties>,
default: () => {}
},
/** 自定义外部类名 */
customClass: String
}
export default emptyProps