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,57 +1,57 @@
import '@/common/uview-init.js'
import '@/common/uview-init.js'
export default {
props: {
// 闇€瑕佹樉绀虹殑鎻愮ず鏂囧瓧
// 需要显示的提示文字
text: {
type: [String, Number],
default: uni.$u.props.tooltip.text
},
// 鐐瑰嚮澶嶅埗鎸夐挳鏃讹紝澶嶅埗鐨勬枃鏈紝涓虹┖鍒欎娇鐢╰ext鍊?
// 点击复制按钮时,复制的文本,为空则使用text值
copyText: {
type: [String, Number],
default: uni.$u.props.tooltip.copyText
},
// 鏂囨湰澶у皬
// 文本大小
size: {
type: [String, Number],
default: uni.$u.props.tooltip.size
},
// 瀛椾綋棰滆壊
// 字体颜色
color: {
type: String,
default: uni.$u.props.tooltip.color
},
// 寮瑰嚭鎻愮ず妗嗘椂锛屾枃鏈殑鑳屾櫙鑹?
// 弹出提示框时,文本的背景色
bgColor: {
type: String,
default: uni.$u.props.tooltip.bgColor
},
// 寮瑰嚭鎻愮ず鐨勬柟鍚戯紝top-涓婃柟锛宐ottom-涓嬫柟
// 弹出提示的方向,top-上方,bottom-下方
direction: {
type: String,
default: uni.$u.props.tooltip.direction
},
// 寮瑰嚭鎻愮ず鐨剒-index锛宯vue鏃犳晥
// 弹出提示的z-index,nvue无效
zIndex: {
type: [String, Number],
default: uni.$u.props.tooltip.zIndex
},
// 鏄惁鏄剧ず澶嶅埗鎸夐挳
// 是否显示复制按钮
showCopy: {
type: Boolean,
default: uni.$u.props.tooltip.showCopy
},
// 鎵╁睍鐨勬寜閽粍
// 扩展的按钮组
buttons: {
type: Array,
default: uni.$u.props.tooltip.buttons
},
// 鏄惁鏄剧ず閫忔槑閬僵浠ラ槻姝㈣Е鎽哥┛閫?
// 是否显示透明遮罩以防止触摸穿透
overlay: {
type: Boolean,
default: uni.$u.props.tooltip.overlay
},
// 鏄惁鏄剧ず澶嶅埗鎴愬姛鎴栬€呭け璐ョ殑toast
// 是否显示复制成功或者失败的toast
showToast: {
type: Boolean,
default: uni.$u.props.tooltip.showToast