fix: 修复 uView 组件文件编码乱码
- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
@@ -1,42 +1,42 @@
|
||||
import '@/common/uview-init.js'
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// 鏄惁铏氱嚎
|
||||
// 是否虚线
|
||||
dashed: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.divider.dashed
|
||||
},
|
||||
// 鏄惁缁嗙嚎
|
||||
// 是否细线
|
||||
hairline: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.divider.hairline
|
||||
},
|
||||
// 鏄惁浠ョ偣鏇夸唬鏂囧瓧锛屼紭鍏堜簬text瀛楁璧蜂綔鐢?
|
||||
// 是否以点替代文字,优先于text字段起作用
|
||||
dot: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.divider.dot
|
||||
},
|
||||
// 鍐呭鏂囨湰鐨勪綅缃紝left-宸﹁竟锛宑enter-涓棿锛宺ight-鍙宠竟
|
||||
// 内容文本的位置,left-左边,center-中间,right-右边
|
||||
textPosition: {
|
||||
type: String,
|
||||
default: uni.$u.props.divider.textPosition
|
||||
},
|
||||
// 鏂囨湰鍐呭
|
||||
// 文本内容
|
||||
text: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.divider.text
|
||||
},
|
||||
// 鏂囨湰澶у皬
|
||||
// 文本大小
|
||||
textSize: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.divider.textSize
|
||||
},
|
||||
// 鏂囨湰棰滆壊
|
||||
// 文本颜色
|
||||
textColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.divider.textColor
|
||||
},
|
||||
// 绾挎潯棰滆壊
|
||||
// 线条颜色
|
||||
lineColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.divider.lineColor
|
||||
|
||||
Reference in New Issue
Block a user