feat:设备使用记录

This commit is contained in:
houjunxiang
2026-03-05 16:54:47 +08:00
parent 749ac7f507
commit 9c88c45d66
357 changed files with 21486 additions and 5845 deletions

View File

@@ -33,7 +33,7 @@
/**
* Tabbar 底部导航栏
* @description 此组件提供了自定义tabbar的能力。
* @tutorial https://ijry.github.io/uview-plus/components/tabbar.html
* @tutorial https://uview-plus.jiangruyi.com/components/tabbar.html
* @property {String | Number} value 当前匹配项的name
* @property {Boolean} safeAreaInsetBottom 是否为iPhoneX留出底部安全距离默认 true
* @property {Boolean} border 是否显示上方边框(默认 true
@@ -42,6 +42,7 @@
* @property {String} inactiveColor 未选中标签的颜色(默认 '#7d7e80'
* @property {Boolean} fixed 是否固定在底部(默认 true
* @property {Boolean} placeholder fixed定位固定在底部时是否生成一个等高元素防止塌陷默认 true
* @property {String} backgroundColor 背景色(默认 '#ffffff'
* @property {Object} customStyle 定义需要用到的外部样式
*
* @example <u-tabbar :value="value2" :placeholder="false" @change="name => value2 = name" :fixed="false" :safeAreaInsetBottom="false"><u-tabbar-item text="首页" icon="home" dot ></u-tabbar-item></u-tabbar>
@@ -59,6 +60,12 @@
const style = {
zIndex: this.zIndex
}
if (this.borderColor) {
style.borderColor = this.borderColor + ' !important'
}
if (this.backgroundColor) {
style.backgroundColor = this.backgroundColor
}
// 合并来自父组件的customStyle样式
return deepMerge(style, addStyle(this.customStyle))
},
@@ -117,7 +124,6 @@
</script>
<style lang="scss" scoped>
@import "../../libs/css/components.scss";
.u-tabbar {
@include flex(column);