fix: 修复 uView 组件文件编码乱码
- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
@@ -1,52 +1,52 @@
|
||||
import '@/common/uview-init.js'
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// 鏈€灏忓彲閫夊€?
|
||||
// 最小可选值
|
||||
min: {
|
||||
type: [Number, String],
|
||||
default: uni.$u.props.slider.min
|
||||
},
|
||||
// 鏈€澶у彲閫夊€?
|
||||
// 最大可选值
|
||||
max: {
|
||||
type: [Number, String],
|
||||
default: uni.$u.props.slider.max
|
||||
},
|
||||
// 姝ラ暱锛屽彇鍊煎繀椤诲ぇ浜?0锛屽苟涓斿彲琚?max - min)鏁撮櫎
|
||||
// 步长,取值必须大于 0,并且可被(max - min)整除
|
||||
step: {
|
||||
type: [Number, String],
|
||||
default: uni.$u.props.slider.step
|
||||
},
|
||||
// 褰撳墠鍙栧€?
|
||||
// 当前取值
|
||||
value: {
|
||||
type: [Number, String],
|
||||
default: uni.$u.props.slider.value
|
||||
},
|
||||
// 婊戝潡鍙充晶宸查€夋嫨閮ㄥ垎鐨勮儗鏅壊
|
||||
// 滑块右侧已选择部分的背景色
|
||||
activeColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.slider.activeColor
|
||||
},
|
||||
// 婊戝潡宸︿晶鏈€夋嫨閮ㄥ垎鐨勮儗鏅壊
|
||||
// 滑块左侧未选择部分的背景色
|
||||
inactiveColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.slider.inactiveColor
|
||||
},
|
||||
// 婊戝潡鐨勫ぇ灏忥紝鍙栧€艰寖鍥翠负 12 - 28
|
||||
// 滑块的大小,取值范围为 12 - 28
|
||||
blockSize: {
|
||||
type: [Number, String],
|
||||
default: uni.$u.props.slider.blockSize
|
||||
},
|
||||
// 婊戝潡鐨勯鑹?
|
||||
// 滑块的颜色
|
||||
blockColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.slider.blockColor
|
||||
},
|
||||
// 绂佺敤鐘舵€?
|
||||
// 禁用状态
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.slider.disabled
|
||||
},
|
||||
// 鏄惁鏄剧ず褰撳墠鐨勯€夋嫨鍊?
|
||||
// 是否显示当前的选择值
|
||||
showValue: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.slider.showValue
|
||||
|
||||
Reference in New Issue
Block a user