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: {
|
||||
// 寮€濮嬬殑鏁板€硷紝榛樿浠?澧為暱鍒版煇涓€涓暟
|
||||
// 开始的数值,默认从0增长到某一个数
|
||||
startVal: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.countTo.startVal
|
||||
},
|
||||
// 瑕佹粴鍔ㄧ殑鐩爣鏁板€硷紝蹇呴』
|
||||
// 要滚动的目标数值,必须
|
||||
endVal: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.countTo.endVal
|
||||
},
|
||||
// 婊氬姩鍒扮洰鏍囨暟鍊肩殑鍔ㄧ敾鎸佺画鏃堕棿锛屽崟浣嶄负姣锛坢s锛?
|
||||
// 滚动到目标数值的动画持续时间,单位为毫秒(ms)
|
||||
duration: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.countTo.duration
|
||||
},
|
||||
// 璁剧疆鏁板€煎悗鏄惁鑷姩寮€濮嬫粴鍔?
|
||||
// 设置数值后是否自动开始滚动
|
||||
autoplay: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.countTo.autoplay
|
||||
},
|
||||
// 瑕佹樉绀虹殑灏忔暟浣嶆暟
|
||||
// 要显示的小数位数
|
||||
decimals: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.countTo.decimals
|
||||
},
|
||||
// 鏄惁鍦ㄥ嵆灏嗗埌杈剧洰鏍囨暟鍊肩殑鏃跺€欙紝浣跨敤缂撴參婊氬姩鐨勬晥鏋?
|
||||
// 是否在即将到达目标数值的时候,使用缓慢滚动的效果
|
||||
useEasing: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.countTo.useEasing
|
||||
},
|
||||
// 鍗佽繘鍒跺垎鍓?
|
||||
// 十进制分割
|
||||
decimal: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.countTo.decimal
|
||||
},
|
||||
// 瀛椾綋棰滆壊
|
||||
// 字体颜色
|
||||
color: {
|
||||
type: String,
|
||||
default: uni.$u.props.countTo.color
|
||||
},
|
||||
// 瀛椾綋澶у皬
|
||||
// 字体大小
|
||||
fontSize: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.countTo.fontSize
|
||||
},
|
||||
// 鏄惁鍔犵矖瀛椾綋
|
||||
// 是否加粗字体
|
||||
bold: {
|
||||
type: Boolean,
|
||||
default: uni.$u.props.countTo.bold
|
||||
},
|
||||
// 鍗冧綅鍒嗛殧绗︼紝绫讳技閲戦鐨勫垎鍓?锟?3,321.05涓殑",")
|
||||
// 千位分隔符,类似金额的分割(¥23,321.05中的",")
|
||||
separator: {
|
||||
type: String,
|
||||
default: uni.$u.props.countTo.separator
|
||||
|
||||
Reference in New Issue
Block a user