fix: 修复 uView 组件文件编码乱码
- 85 个 uView props.js 的中文注释由 GBK 乱码还原为 UTF-8 并去除 BOM - uview-ui/index.js 修复 2 行注释乱码 - 各文件头部 uview-init 兜底 import 保留,功能改动不变
This commit is contained in:
@@ -1,57 +1,57 @@
|
||||
import '@/common/uview-init.js'
|
||||
import '@/common/uview-init.js'
|
||||
export default {
|
||||
props: {
|
||||
// 鏄惁鏄剧ず缁勪欢
|
||||
// 是否显示组件
|
||||
show: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.loadingIcon.show
|
||||
},
|
||||
// 棰滆壊
|
||||
// 颜色
|
||||
color: {
|
||||
type: String,
|
||||
default: uni.$u.props.loadingIcon.color
|
||||
},
|
||||
// 鎻愮ず鏂囧瓧棰滆壊
|
||||
// 提示文字颜色
|
||||
textColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.loadingIcon.textColor
|
||||
},
|
||||
// 鏂囧瓧鍜屽浘鏍囨槸鍚﹀瀭鐩存帓鍒?
|
||||
// 文字和图标是否垂直排列
|
||||
vertical: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.loadingIcon.vertical
|
||||
},
|
||||
// 妯″紡閫夋嫨锛宑ircle-鍦嗗舰锛宻pinner-鑺辨湹褰紝semicircle-鍗婂渾褰?
|
||||
// 模式选择,circle-圆形,spinner-花朵形,semicircle-半圆形
|
||||
mode: {
|
||||
type: String,
|
||||
default: uni.$u.props.loadingIcon.mode
|
||||
},
|
||||
// 鍥炬爣澶у皬锛屽崟浣嶉粯璁x
|
||||
// 图标大小,单位默认px
|
||||
size: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.loadingIcon.size
|
||||
},
|
||||
// 鏂囧瓧澶у皬
|
||||
// 文字大小
|
||||
textSize: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.loadingIcon.textSize
|
||||
},
|
||||
// 鏂囧瓧鍐呭
|
||||
// 文字内容
|
||||
text: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.loadingIcon.text
|
||||
},
|
||||
// 鍔ㄧ敾妯″紡
|
||||
// 动画模式
|
||||
timingFunction: {
|
||||
type: String,
|
||||
default: uni.$u.props.loadingIcon.timingFunction
|
||||
},
|
||||
// 鍔ㄧ敾鎵ц鍛ㄦ湡鏃堕棿
|
||||
// 动画执行周期时间
|
||||
duration: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.loadingIcon.duration
|
||||
},
|
||||
// mode=circle鏃剁殑鏆楄竟棰滆壊
|
||||
// mode=circle时的暗边颜色
|
||||
inactiveColor: {
|
||||
type: String,
|
||||
default: uni.$u.props.loadingIcon.inactiveColor
|
||||
|
||||
Reference in New Issue
Block a user