gree_leran/node_modules/uview-plus/components/u-link/props.js

41 lines
1.1 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import defProps from '../../libs/config/props.js';
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
}
}
}