mkm
/
yanzhiAPP
Template
2
0
Fork 0
yanzhiAPP/node_modules/uview-plus/components/u-link/props.js

41 lines
1.1 KiB
JavaScript
Raw Normal View History

2023-10-17 16:02:55 +08:00
import defprops from '../../libs/config/props';
export default {
props: {
// 文字颜色
color: {
type: String,
default: defprops.link.color
},
// 字体大小单位px
fontSize: {
type: [String, Number],
default: defprops.link.fontSize
},
// 是否显示下划线
underLine: {
type: Boolean,
default: defprops.link.underLine
},
// 要跳转的链接
href: {
type: String,
default: defprops.link.href
},
// 小程序中复制到粘贴板的提示语
mpTips: {
type: String,
default: defprops.link.mpTips
},
// 下划线颜色
lineColor: {
type: String,
default: defprops.link.lineColor
},
// 超链接的问题不使用slot形式传入是因为nvue下无法修改颜色
text: {
type: String,
default: defprops.link.text
}
}
}