fix: 修复 uView 组件文件编码乱码
- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
@@ -1,79 +1,79 @@
|
||||
import '@/common/uview-init.js'
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// 鏍囪瘑绗?
|
||||
// 标识符
|
||||
name: {
|
||||
type: String,
|
||||
default: uni.$u.props.checkboxGroup.name
|
||||
},
|
||||
// 缁戝畾鐨勫€?
|
||||
// 绑定的值
|
||||
value: {
|
||||
type: Array,
|
||||
default: uni.$u.props.checkboxGroup.value
|
||||
},
|
||||
// 褰㈢姸锛宑ircle-鍦嗗舰锛宻quare-鏂瑰舰
|
||||
// 形状,circle-圆形,square-方形
|
||||
shape: {
|
||||
type: String,
|
||||
default: uni.$u.props.checkboxGroup.shape
|
||||
},
|
||||
// 鏄惁绂佺敤鍏ㄩ儴checkbox
|
||||
// 是否禁用全部checkbox
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.checkboxGroup.disabled
|
||||
},
|
||||
|
||||
// 閫変腑鐘舵€佷笅鐨勯鑹诧紝濡傝缃鍊硷紝灏嗕細瑕嗙洊parent鐨刟ctiveColor鍊?
|
||||
// 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值
|
||||
activeColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.checkboxGroup.activeColor
|
||||
},
|
||||
// 鏈€変腑鐨勯鑹?
|
||||
// 未选中的颜色
|
||||
inactiveColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.checkboxGroup.inactiveColor
|
||||
},
|
||||
|
||||
// 鏁翠釜缁勪欢鐨勫昂瀵革紝榛樿px
|
||||
// 整个组件的尺寸,默认px
|
||||
size: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.checkboxGroup.size
|
||||
},
|
||||
// 甯冨眬鏂瑰紡锛宺ow-妯悜锛宑olumn-绾靛悜
|
||||
// 布局方式,row-横向,column-纵向
|
||||
placement: {
|
||||
type: String,
|
||||
default: uni.$u.props.checkboxGroup.placement
|
||||
},
|
||||
// label鐨勫瓧浣撳ぇ灏忥紝px鍗曚綅
|
||||
// label的字体大小,px单位
|
||||
labelSize: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.checkboxGroup.labelSize
|
||||
},
|
||||
// label鐨勫瓧浣撻鑹?
|
||||
// label的字体颜色
|
||||
labelColor: {
|
||||
type: [String],
|
||||
default: uni.$u.props.checkboxGroup.labelColor
|
||||
},
|
||||
// 鏄惁绂佹鐐瑰嚮鏂囨湰鎿嶄綔
|
||||
// 是否禁止点击文本操作
|
||||
labelDisabled: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.checkboxGroup.labelDisabled
|
||||
},
|
||||
// 鍥炬爣棰滆壊
|
||||
// 图标颜色
|
||||
iconColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.checkboxGroup.iconColor
|
||||
},
|
||||
// 鍥炬爣鐨勫ぇ灏忥紝鍗曚綅px
|
||||
// 图标的大小,单位px
|
||||
iconSize: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.checkboxGroup.iconSize
|
||||
},
|
||||
// 鍕鹃€夊浘鏍囩殑瀵归綈鏂瑰紡锛宭eft-宸﹁竟锛宺ight-鍙宠竟
|
||||
// 勾选图标的对齐方式,left-左边,right-右边
|
||||
iconPlacement: {
|
||||
type: String,
|
||||
default: uni.$u.props.checkboxGroup.iconPlacement
|
||||
},
|
||||
// 绔栧悜閰嶅垪鏃讹紝鏄惁鏄剧ず涓嬪垝绾?
|
||||
// 竖向配列时,是否显示下划线
|
||||
borderBottom: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.checkboxGroup.borderBottom
|
||||
|
||||
Reference in New Issue
Block a user