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

@@ -11,6 +11,8 @@
@click="clickHandler"
:arrowDirection="expanded ? 'up' : 'down'"
:disabled="disabled"
:customClass="cellCustomClass"
:customStyle="cellCustomStyle"
>
<!-- 微信小程序不支持因为微信中不支持 <slot name="title" #title />的写法 -->
<template #title>
@@ -22,7 +24,7 @@
</template>
<template #icon>
<slot name="icon">
<u-icon v-if="!$slots.icon && icon" :size="22" :name="icon"></u-icon>
<up-icon v-if="!$slots.icon && icon" :size="22" :name="icon"></up-icon>
</slot>
</template>
<template #value>
@@ -34,7 +36,7 @@
</template>
<template #right-icon>
<template v-if="showRight">
<u-icon v-if="!$slots['right-icon']" :size="16" name="arrow-right"></u-icon>
<up-icon v-if="!$slots['right-icon']" :size="16" name="arrow-right"></up-icon>
<slot name="right-icon">
</slot>
</template>
@@ -69,7 +71,7 @@
/**
* collapseItem 折叠面板Item
* @description 通过折叠面板收纳内容区域搭配u-collapse使用
* @tutorial https://ijry.github.io/uview-plus/components/collapse.html
* @tutorial https://uview-plus.jiangruyi.com/components/collapse.html
* @property {String} title 标题
* @property {String} value 标题右侧内容
* @property {String} label 标题下方的描述信息
@@ -199,7 +201,7 @@
// 查询内容高度
queryRect() {
// #ifndef APP-NVUE
// $uGetRect为uView自带的节点查询简化方法详见文档介绍https://ijry.github.io/uview-plus/js/getRect.html
// $uGetRect为uView自带的节点查询简化方法详见文档介绍https://uview-plus.jiangruyi.com/js/getRect.html
// 组件内部一般用this.$uGetRect对外的为uni.$u.getRect二者功能一致名称不同
return new Promise(resolve => {
this.$uGetRect(`#${this.elId}`).then(size => {
@@ -223,7 +225,6 @@
</script>
<style lang="scss" scoped>
@import "../../libs/css/components.scss";
.u-collapse-item {