- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
31 lines
839 B
JavaScript
31 lines
839 B
JavaScript
import '@/common/uview-init.js'
|
|
export default {
|
|
props: {
|
|
// 列表锚点文本内容
|
|
text: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.indexAnchor.text
|
|
},
|
|
// 列表锚点文字颜色
|
|
color: {
|
|
type: String,
|
|
default: uni.$u.props.indexAnchor.color
|
|
},
|
|
// 列表锚点文字大小,单位默认px
|
|
size: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.indexAnchor.size
|
|
},
|
|
// 列表锚点背景颜色
|
|
bgColor: {
|
|
type: String,
|
|
default: uni.$u.props.indexAnchor.bgColor
|
|
},
|
|
// 列表锚点高度,单位默认px
|
|
height: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.indexAnchor.height
|
|
}
|
|
}
|
|
}
|