feat:设备使用记录
This commit is contained in:
@@ -14,12 +14,12 @@
|
||||
borderRadius: item.style && item.style.borderRadius ? item.style.borderRadius : '0',
|
||||
padding: item.style && item.style.borderRadius ? '0' : '0 15px',
|
||||
}, item.style]">
|
||||
<u-icon v-if="item.icon" :name="item.icon"
|
||||
<up-icon v-if="item.icon" :name="item.icon"
|
||||
:color="item.style && item.style.color ? item.style.color : '#ffffff'"
|
||||
:size="item.iconSize ? addUnit(item.iconSize) : item.style && item.style.fontSize ? getPx(item.style.fontSize) * 1.2 : 17"
|
||||
:customStyle="{
|
||||
marginRight: item.text ? '2px' : 0
|
||||
}"></u-icon>
|
||||
}"></up-icon>
|
||||
<text v-if="item.text" class="u-swipe-action-item__right__button__wrapper__text u-line-1"
|
||||
:style="[{
|
||||
color: item.style && item.style.color ? item.style.color : '#ffffff',
|
||||
@@ -76,7 +76,7 @@
|
||||
/**
|
||||
* SwipeActionItem 滑动单元格子组件
|
||||
* @description 该组件一般用于左滑唤出操作菜单的场景,用的最多的是左滑删除操作
|
||||
* @tutorial https://ijry.github.io/uview-plus/components/swipeAction.html
|
||||
* @tutorial https://uview-plus.jiangruyi.com/components/swipeAction.html
|
||||
* @property {Boolean} show 控制打开或者关闭(默认 false )
|
||||
* @property {String | Number} index 标识符,如果是v-for,可用index索引
|
||||
* @property {Boolean} disabled 是否禁用(默认 false )
|
||||
@@ -201,7 +201,6 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "../../libs/css/components.scss";
|
||||
|
||||
.u-swipe-action-item {
|
||||
position: relative;
|
||||
|
||||
Reference in New Issue
Block a user