fix: 修复 uView 组件文件编码乱码
- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
@@ -1,62 +1,62 @@
|
||||
import '@/common/uview-init.js'
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// 婊戝潡鐨勭Щ鍔ㄨ繃娓℃椂闂达紝鍗曚綅ms
|
||||
// 滑块的移动过渡时间,单位ms
|
||||
duration: {
|
||||
type: Number,
|
||||
default: uni.$u.props.tabs.duration
|
||||
},
|
||||
// tabs鏍囩鏁扮粍
|
||||
// tabs标签数组
|
||||
list: {
|
||||
type: Array,
|
||||
default: uni.$u.props.tabs.list
|
||||
},
|
||||
// 婊戝潡棰滆壊
|
||||
// 滑块颜色
|
||||
lineColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.tabs.lineColor
|
||||
},
|
||||
// 鑿滃崟閫夋嫨涓椂鐨勬牱寮?
|
||||
// 菜单选择中时的样式
|
||||
activeStyle: {
|
||||
type: [String, Object],
|
||||
default: uni.$u.props.tabs.activeStyle
|
||||
},
|
||||
// 鑿滃崟闈為€変腑鏃剁殑鏍峰紡
|
||||
// 菜单非选中时的样式
|
||||
inactiveStyle: {
|
||||
type: [String, Object],
|
||||
default: uni.$u.props.tabs.inactiveStyle
|
||||
},
|
||||
// 婊戝潡闀垮害
|
||||
// 滑块长度
|
||||
lineWidth: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.tabs.lineWidth
|
||||
},
|
||||
// 婊戝潡楂樺害
|
||||
// 滑块高度
|
||||
lineHeight: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.tabs.lineHeight
|
||||
},
|
||||
// 婊戝潡鑳屾櫙鏄剧ず澶у皬锛屽綋婊戝潡鑳屾櫙璁剧疆涓哄浘鐗囨椂浣跨敤
|
||||
// 滑块背景显示大小,当滑块背景设置为图片时使用
|
||||
lineBgSize: {
|
||||
type: String,
|
||||
default: uni.$u.props.tabs.lineBgSize
|
||||
},
|
||||
// 鑿滃崟item鐨勬牱寮?
|
||||
// 菜单item的样式
|
||||
itemStyle: {
|
||||
type: [String, Object],
|
||||
default: uni.$u.props.tabs.itemStyle
|
||||
},
|
||||
// 鑿滃崟鏄惁鍙粴鍔?
|
||||
// 菜单是否可滚动
|
||||
scrollable: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.tabs.scrollable
|
||||
},
|
||||
// 褰撳墠閫変腑鏍囩鐨勭储寮?
|
||||
// 当前选中标签的索引
|
||||
current: {
|
||||
type: [Number, String],
|
||||
default: uni.$u.props.tabs.current
|
||||
},
|
||||
// 榛樿璇诲彇鐨勯敭鍚?
|
||||
// 默认读取的键名
|
||||
keyName: {
|
||||
type: String,
|
||||
default: uni.$u.props.tabs.keyName
|
||||
|
||||
Reference in New Issue
Block a user