- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
41 lines
1.1 KiB
JavaScript
41 lines
1.1 KiB
JavaScript
import '@/common/uview-init.js'
|
|
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
|
|
}
|
|
}
|
|
}
|