fix: 修复 uView 组件文件编码乱码
- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
@@ -1,67 +1,67 @@
|
||||
import '@/common/uview-init.js'
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// 鐢ㄤ簬v-model鍙屽悜缁戝畾閫変腑鐨勬槦鏄熸暟閲?
|
||||
// 用于v-model双向绑定选中的星星数量
|
||||
value: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.rate.value
|
||||
},
|
||||
// 瑕佹樉绀虹殑鏄熸槦鏁伴噺
|
||||
// 要显示的星星数量
|
||||
count: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.rate.count
|
||||
},
|
||||
// 鏄惁涓嶅彲閫変腑
|
||||
// 是否不可选中
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.rate.disabled
|
||||
},
|
||||
// 鏄惁鍙
|
||||
// 是否只读
|
||||
readonly: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.rate.readonly
|
||||
},
|
||||
// 鏄熸槦鐨勫ぇ灏忥紝鍗曚綅px
|
||||
// 星星的大小,单位px
|
||||
size: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.rate.size
|
||||
},
|
||||
// 鏈€変腑鏃剁殑棰滆壊
|
||||
// 未选中时的颜色
|
||||
inactiveColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.rate.inactiveColor
|
||||
},
|
||||
// 閫変腑鐨勯鑹?
|
||||
// 选中的颜色
|
||||
activeColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.rate.activeColor
|
||||
},
|
||||
// 鏄熸槦涔嬮棿鐨勯棿璺濓紝鍗曚綅px
|
||||
// 星星之间的间距,单位px
|
||||
gutter: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.rate.gutter
|
||||
},
|
||||
// 鏈€灏戣兘閫夋嫨鐨勬槦鏄熶釜鏁?
|
||||
// 最少能选择的星星个数
|
||||
minCount: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.rate.minCount
|
||||
},
|
||||
// 鏄惁鍏佽鍗婃槦
|
||||
// 是否允许半星
|
||||
allowHalf: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.rate.allowHalf
|
||||
},
|
||||
// 閫変腑鏃剁殑鍥炬爣(鏄熸槦)
|
||||
// 选中时的图标(星星)
|
||||
activeIcon: {
|
||||
type: String,
|
||||
default: uni.$u.props.rate.activeIcon
|
||||
},
|
||||
// 鏈€変腑鏃剁殑鍥炬爣(鏄熸槦)
|
||||
// 未选中时的图标(星星)
|
||||
inactiveIcon: {
|
||||
type: String,
|
||||
default: uni.$u.props.rate.inactiveIcon
|
||||
},
|
||||
// 鏄惁鍙互閫氳繃婊戝姩鎵嬪娍閫夋嫨璇勫垎
|
||||
// 是否可以通过滑动手势选择评分
|
||||
touchable: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.rate.touchable
|
||||
|
||||
Reference in New Issue
Block a user