fix: 修复 uView 组件文件编码乱码
- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
@@ -1,47 +1,47 @@
|
||||
import '@/common/uview-init.js'
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// 鍒伴《閮ㄧ殑璺濈
|
||||
// 到顶部的距离
|
||||
top: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.notify.top
|
||||
},
|
||||
// 鏄惁灞曠ず缁勪欢
|
||||
// 是否展示组件
|
||||
// show: {
|
||||
// type: Boolean,
|
||||
// default: uni.$u.props.notify.show
|
||||
// },
|
||||
// type涓婚锛宲rimary锛宻uccess锛寃arning锛宔rror
|
||||
// type主题,primary,success,warning,error
|
||||
type: {
|
||||
type: String,
|
||||
default: uni.$u.props.notify.type
|
||||
},
|
||||
// 瀛椾綋棰滆壊
|
||||
// 字体颜色
|
||||
color: {
|
||||
type: String,
|
||||
default: uni.$u.props.notify.color
|
||||
},
|
||||
// 鑳屾櫙棰滆壊
|
||||
// 背景颜色
|
||||
bgColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.notify.bgColor
|
||||
},
|
||||
// 灞曠ず鐨勬枃瀛楀唴瀹?
|
||||
// 展示的文字内容
|
||||
message: {
|
||||
type: String,
|
||||
default: uni.$u.props.notify.message
|
||||
},
|
||||
// 灞曠ず鏃堕暱锛屼负0鏃朵笉娑堝け锛屽崟浣峬s
|
||||
// 展示时长,为0时不消失,单位ms
|
||||
duration: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.notify.duration
|
||||
},
|
||||
// 瀛椾綋澶у皬
|
||||
// 字体大小
|
||||
fontSize: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.notify.fontSize
|
||||
},
|
||||
// 鏄惁鐣欏嚭椤堕儴瀹夊叏璺濈锛堢姸鎬佹爮楂樺害锛?
|
||||
// 是否留出顶部安全距离(状态栏高度)
|
||||
safeAreaInsetTop: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.notify.safeAreaInsetTop
|
||||
|
||||
Reference in New Issue
Block a user