feat:设备使用记录
This commit is contained in:
@@ -27,7 +27,12 @@ export const props = defineMixin({
|
||||
type: String,
|
||||
default: () => defProps.tooltip.bgColor
|
||||
},
|
||||
// 弹出提示的方向,top-上方,bottom-下方
|
||||
// 弹出提示框的背景色
|
||||
popupBgColor: {
|
||||
type: String,
|
||||
default: () => defProps.tooltip.popupBgColor
|
||||
},
|
||||
// 弹出提示的方向,top-上方,bottom-下方,left-左方,right-右方
|
||||
direction: {
|
||||
type: String,
|
||||
default: () => defProps.tooltip.direction
|
||||
@@ -56,6 +61,16 @@ export const props = defineMixin({
|
||||
showToast: {
|
||||
type: Boolean,
|
||||
default: () => defProps.tooltip.showToast
|
||||
},
|
||||
// 触发方式,可选值:longpress/click
|
||||
triggerMode: {
|
||||
type: String,
|
||||
default: () => defProps.tooltip.triggerMode
|
||||
},
|
||||
// 强制定位
|
||||
forcePosition: {
|
||||
type: Object,
|
||||
default: () => defProps.tooltip.forcePosition
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
@@ -1,11 +1,11 @@
|
||||
/*
|
||||
* @Author : LQ
|
||||
* @Description :
|
||||
* @version : 1.0
|
||||
* @version : 3.0
|
||||
* @Date : 2021-08-20 16:44:21
|
||||
* @LastAuthor : LQ
|
||||
* @lastTime : 2021-08-20 17:25:14
|
||||
* @FilePath : /u-view2.0/uview-ui/libs/config/props/tooltip.js
|
||||
* @LastAuthor : jry
|
||||
* @lastTime : 2025-12-19 08:55:21
|
||||
* @FilePath : /uview-plus/libs/config/props/tooltip.js
|
||||
*/
|
||||
export default {
|
||||
// tooltip 组件
|
||||
@@ -20,6 +20,9 @@ export default {
|
||||
showCopy: true,
|
||||
buttons: [],
|
||||
overlay: true,
|
||||
showToast: true
|
||||
showToast: true,
|
||||
popupBgColor: '',
|
||||
triggerMode: 'longpress',
|
||||
forcePosition: {}
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user