pet/uni_modules/uview-next/components/u-parse/props.js

71 lines
1.7 KiB
JavaScript

export default {
props: {
// #ifdef APP-PLUS-NVUE
bgColor: {
type: String,
default: ()=> uni.$u.props.parse.bgColor
},
// #endif
containerStyle: {
type: String,
default: ()=> uni.$u.props.parse.containerStyle
},
content: {
type: String,
default: ()=> uni.$u.props.parse.content
},
copyLink: {
type: Boolean,
default: ()=> uni.$u.props.parse.copyLink
},
domain: {
type: String,
default: ()=> uni.$u.props.parse.domain
},
errorImg: {
type: String,
default: ()=> uni.$u.props.parse.errorImg
},
lazyLoad: {
type: Boolean,
default: ()=> uni.$u.props.parse.lazyLoad
},
loadingImg: {
type: String,
default: ()=> uni.$u.props.parse.loadingImg
},
pauseVideo: {
type: Boolean,
default: ()=> uni.$u.props.parse.pauseVideo
},
previewImg: {
type: Boolean,
default: ()=> uni.$u.props.parse.previewImg
},
scrollTable: {
type: Boolean,
default: ()=> uni.$u.props.parse.scrollTable
},
selectable: {
type: Boolean,
default: ()=> uni.$u.props.parse.selectable
},
setTitle: {
type: Boolean,
default: ()=> uni.$u.props.parse.setTitle
},
showImgMenu: {
type: Boolean,
default: ()=> uni.$u.props.parse.showImgMenu
},
tagStyle: {
type: Object,
default: ()=> uni.$u.props.parse.tagStyle
},
useAnchor: {
type: [Boolean, Number],
default: ()=> uni.$u.props.parse.useAnchor
}
}
}