- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
31 lines
864 B
JavaScript
31 lines
864 B
JavaScript
import '@/common/uview-init.js'
|
|
export default {
|
|
props: {
|
|
// 右边锚点非激活的颜色
|
|
inactiveColor: {
|
|
type: String,
|
|
default: uni.$u.props.indexList.inactiveColor
|
|
},
|
|
// 右边锚点激活的颜色
|
|
activeColor: {
|
|
type: String,
|
|
default: uni.$u.props.indexList.activeColor
|
|
},
|
|
// 索引字符列表,数组形式
|
|
indexList: {
|
|
type: Array,
|
|
default: uni.$u.props.indexList.indexList
|
|
},
|
|
// 是否开启锚点自动吸顶
|
|
sticky: {
|
|
type: Boolean,
|
|
default: uni.$u.props.indexList.sticky
|
|
},
|
|
// 自定义导航栏的高度
|
|
customNavHeight: {
|
|
type: [String, Number],
|
|
default: uni.$u.props.indexList.customNavHeight
|
|
}
|
|
}
|
|
}
|