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

@@ -21,7 +21,7 @@
ref="u-rate__content__item__icon-wrap"
@tap.stop="clickHandler($event, index + 1)"
>
<u-icon
<up-icon
:name="
Math.floor(activeIndex) > index
? activeIcon
@@ -38,7 +38,7 @@
padding: `0 ${addUnit(gutter / 2)}`,
}"
:size="size"
></u-icon>
></up-icon>
</view>
<view
v-if="allowHalf"
@@ -49,7 +49,7 @@
}]"
ref="u-rate__content__item__icon-wrap"
>
<u-icon
<up-icon
:name="
Math.ceil(activeIndex) > index
? activeIcon
@@ -66,7 +66,7 @@
padding: `0 ${addUnit(gutter / 2)}`
}"
:size="size"
></u-icon>
></up-icon>
</view>
</view>
</view>
@@ -84,7 +84,7 @@
/**
* rate 评分
* @description 该组件一般用于满意度调查,星型评分的场景
* @tutorial https://ijry.github.io/uview-plus/components/rate.html
* @tutorial https://uview-plus.jiangruyi.com/components/rate.html
* @property {String | Number} value 用于v-model双向绑定选中的星星数量 (默认 1 )
* @property {String | Number} count 最多可选的星星数量 (默认 5
* @property {Boolean} disabled 是否禁止用户操作 (默认 false
@@ -287,7 +287,6 @@
</script>
<style lang="scss" scoped>
@import "../../libs/css/components.scss";
$u-rate-margin: 0 !default;
$u-rate-padding: 0 !default;
$u-rate-item-icon-wrap-half-top: 0 !default;
@@ -320,7 +319,7 @@ $u-rate-item-icon-wrap-half-left: 0 !default;
}
}
.u-icon {
.up-icon {
/* #ifndef APP-NVUE */
box-sizing: border-box;
/* #endif */