feat:转账插件
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
/*
|
||||
* @Author : LQ
|
||||
* @Description :
|
||||
* @version : 1.0
|
||||
* @Date : 2021-08-20 16:44:21
|
||||
* @LastAuthor : LQ
|
||||
* @lastTime : 2021-08-20 17:13:35
|
||||
* @FilePath : /u-view2.0/uview-ui/libs/config/props/indexList.js
|
||||
*/
|
||||
export default {
|
||||
// indexList 组件
|
||||
indexList: {
|
||||
inactiveColor: '#606266',
|
||||
activeColor: '#5677fc',
|
||||
indexList: [],
|
||||
sticky: true,
|
||||
customNavHeight: 0,
|
||||
safeBottomFix: false
|
||||
}
|
||||
}
|
||||
/*
|
||||
* @Author : LQ
|
||||
* @Description :
|
||||
* @version : 3.0
|
||||
* @Date : 2021-08-20 16:44:21
|
||||
* @LastAuthor : jry
|
||||
* @lastTime : 2025-12-19 08:55:21
|
||||
* @FilePath : /uview-plus/libs/config/props/indexList.js
|
||||
*/
|
||||
export default {
|
||||
// indexList 组件
|
||||
indexList: {
|
||||
inactiveColor: '#606266',
|
||||
activeColor: '#5677fc',
|
||||
indexList: [],
|
||||
sticky: true,
|
||||
customNavHeight: 0,
|
||||
safeBottomFix: false,
|
||||
itemMargin: '0rpx'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,36 +1,44 @@
|
||||
import { defineMixin } from '../../libs/vue'
|
||||
import defProps from '../../libs/config/props.js'
|
||||
export const props = defineMixin({
|
||||
props: {
|
||||
// 右边锚点非激活的颜色
|
||||
inactiveColor: {
|
||||
type: String,
|
||||
default: () => defProps.indexList.inactiveColor
|
||||
},
|
||||
// 右边锚点激活的颜色
|
||||
activeColor: {
|
||||
type: String,
|
||||
default: () => defProps.indexList.activeColor
|
||||
},
|
||||
// 索引字符列表,数组形式
|
||||
indexList: {
|
||||
type: Array,
|
||||
default: () => defProps.indexList.indexList
|
||||
},
|
||||
// 是否开启锚点自动吸顶
|
||||
sticky: {
|
||||
type: Boolean,
|
||||
default: () => defProps.indexList.sticky
|
||||
},
|
||||
// 自定义导航栏的高度
|
||||
customNavHeight: {
|
||||
type: [String, Number],
|
||||
default: () => defProps.indexList.customNavHeight
|
||||
},
|
||||
// 是否开启底部安全距离适配
|
||||
safeBottomFix: {
|
||||
type: Boolean,
|
||||
default: () => defProps.indexList.safeBottomFix
|
||||
},
|
||||
}
|
||||
})
|
||||
import { defineMixin } from '../../libs/vue'
|
||||
import IndexListDefaultProps from './indexList'
|
||||
import { registerComponentProps } from '../../libs/config/props.js'
|
||||
|
||||
const defProps = registerComponentProps(IndexListDefaultProps)
|
||||
export const props = defineMixin({
|
||||
props: {
|
||||
// 右边锚点非激活的颜色
|
||||
inactiveColor: {
|
||||
type: String,
|
||||
default: () => defProps.indexList.inactiveColor
|
||||
},
|
||||
// 右边锚点激活的颜色
|
||||
activeColor: {
|
||||
type: String,
|
||||
default: () => defProps.indexList.activeColor
|
||||
},
|
||||
// 索引字符列表,数组形式
|
||||
indexList: {
|
||||
type: Array,
|
||||
default: () => defProps.indexList.indexList
|
||||
},
|
||||
// 是否开启锚点自动吸顶
|
||||
sticky: {
|
||||
type: Boolean,
|
||||
default: () => defProps.indexList.sticky
|
||||
},
|
||||
// 自定义导航栏的高度
|
||||
customNavHeight: {
|
||||
type: [String, Number],
|
||||
default: () => defProps.indexList.customNavHeight
|
||||
},
|
||||
// 是否开启底部安全距离适配
|
||||
safeBottomFix: {
|
||||
type: Boolean,
|
||||
default: () => defProps.indexList.safeBottomFix
|
||||
},
|
||||
//自定义下边距
|
||||
itemMargin: {
|
||||
type: String,
|
||||
default: () => defProps.indexList.itemMargin
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user