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: {
|
||||
// 杩斿洖椤堕儴鐨勫舰鐘讹紝circle-鍦嗗舰锛宻quare-鏂瑰舰
|
||||
// 返回顶部的形状,circle-圆形,square-方形
|
||||
mode: {
|
||||
type: String,
|
||||
default: uni.$u.props.backtop.mode
|
||||
},
|
||||
// 鑷畾涔夊浘鏍?
|
||||
// 自定义图标
|
||||
icon: {
|
||||
type: String,
|
||||
default: uni.$u.props.backtop.icon
|
||||
},
|
||||
// 鎻愮ず鏂囧瓧
|
||||
// 提示文字
|
||||
text: {
|
||||
type: String,
|
||||
default: uni.$u.props.backtop.text
|
||||
},
|
||||
// 杩斿洖椤堕儴婊氬姩鏃堕棿
|
||||
// 返回顶部滚动时间
|
||||
duration: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.backtop.duration
|
||||
},
|
||||
// 婊氬姩璺濈
|
||||
// 滚动距离
|
||||
scrollTop: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.backtop.scrollTop
|
||||
},
|
||||
// 璺濈椤堕儴澶氬皯璺濈鏄剧ず锛屽崟浣峱x
|
||||
// 距离顶部多少距离显示,单位px
|
||||
top: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.backtop.top
|
||||
},
|
||||
// 杩斿洖椤堕儴鎸夐挳鍒板簳閮ㄧ殑璺濈锛屽崟浣峱x
|
||||
// 返回顶部按钮到底部的距离,单位px
|
||||
bottom: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.backtop.bottom
|
||||
},
|
||||
// 杩斿洖椤堕儴鎸夐挳鍒板彸杈圭殑璺濈锛屽崟浣峱x
|
||||
// 返回顶部按钮到右边的距离,单位px
|
||||
right: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.backtop.right
|
||||
},
|
||||
// 灞傜骇
|
||||
// 层级
|
||||
zIndex: {
|
||||
type: [String, Number],
|
||||
default: uni.$u.props.backtop.zIndex
|
||||
},
|
||||
// 鍥炬爣鐨勬牱寮忥紝瀵硅薄褰㈠紡
|
||||
// 图标的样式,对象形式
|
||||
iconStyle: {
|
||||
type: Object,
|
||||
default: uni.$u.props.backtop.iconStyle
|
||||
|
||||
Reference in New Issue
Block a user