fix: 修复 uView 组件文件编码乱码

- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM
- uview-ui/index.js 修复 2 行注释乱码
- 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
2026-09-08 15:44:20 +08:00
parent 99c139d6ce
commit ffd214eeba
86 changed files with 1020 additions and 1020 deletions
@@ -1,42 +1,42 @@
import '@/common/uview-init.js'
import '@/common/uview-init.js'
export default {
props: {
// 褰撳墠鍖归厤椤圭殑name
// 当前匹配项的name
value: {
type: [String, Number, null],
default: uni.$u.props.tabbar.value
},
// 鏄惁涓篿PhoneX鐣欏嚭搴曢儴瀹夊叏璺濈
// 是否为iPhoneX留出底部安全距离
safeAreaInsetBottom: {
type: Boolean,
default: uni.$u.props.tabbar.safeAreaInsetBottom
},
// 鏄惁鏄剧ず涓婃柟杈规
// 是否显示上方边框
border: {
type: Boolean,
default: uni.$u.props.tabbar.border
},
// 鍏冪礌灞傜骇z-index
// 元素层级z-index
zIndex: {
type: [String, Number],
default: uni.$u.props.tabbar.zIndex
},
// 閫変腑鏍囩鐨勯鑹?
// 选中标签的颜色
activeColor: {
type: String,
default: uni.$u.props.tabbar.activeColor
},
// 鏈€変腑鏍囩鐨勯鑹?
// 未选中标签的颜色
inactiveColor: {
type: String,
default: uni.$u.props.tabbar.inactiveColor
},
// 鏄惁鍥哄畾鍦ㄥ簳閮?
// 是否固定在底部
fixed: {
type: Boolean,
default: uni.$u.props.tabbar.fixed
},
// fixed瀹氫綅鍥哄畾鍦ㄥ簳閮ㄦ椂锛屾槸鍚︾敓鎴愪竴涓瓑楂樺厓绱犻槻姝㈠闄?
// fixed定位固定在底部时,是否生成一个等高元素防止塌陷
placeholder: {
type: Boolean,
default: uni.$u.props.tabbar.placeholder