qa-regulatory-gwj-app/uni_modules/uview-ui/components/u-link/props.js

40 lines
1.0 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

export default {
props: {
// 文字颜色
color: {
type: String,
default: uni.$u.props.link.color
},
// 字体大小单位px
fontSize: {
type: [String, Number],
default: uni.$u.props.link.fontSize
},
// 是否显示下划线
underLine: {
type: Boolean,
default: uni.$u.props.link.underLine
},
// 要跳转的链接
href: {
type: String,
default: uni.$u.props.link.href
},
// 小程序中复制到粘贴板的提示语
mpTips: {
type: String,
default: uni.$u.props.link.mpTips
},
// 下划线颜色
lineColor: {
type: String,
default: uni.$u.props.link.lineColor
},
// 超链接的问题不使用slot形式传入是因为nvue下无法修改颜色
text: {
type: String,
default: uni.$u.props.link.text
}
}
}