feat:设备使用记录
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
<view class="u-float-button__main" @click="clickHandler" :style="{
|
||||
backgroundColor: backgroundColor,
|
||||
color: color,
|
||||
display: 'flex',
|
||||
flexDirection: 'row',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
@@ -24,10 +25,11 @@
|
||||
bottom: height
|
||||
}">
|
||||
<slot name="list">
|
||||
<template v-for="item in list">
|
||||
<template :key="index" v-for="(item, index) in list">
|
||||
<view class="u-float-button__item" :style="{
|
||||
backgroundColor: item?.backgroundColor ? item?.backgroundColor : backgroundColor,
|
||||
color: item?.color ? item?.color : color,
|
||||
display: 'flex',
|
||||
flexDirection: 'row',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
@@ -52,7 +54,7 @@ import { addStyle, addUnit, deepMerge } from '../../libs/function/index';
|
||||
/**
|
||||
* FloatButton 悬浮按钮
|
||||
* @description 悬浮按钮常用于屏幕右下角点击展开的操作菜单
|
||||
* @tutorial https://ijry.github.io/uview-plus/components/floatButton.html
|
||||
* @tutorial https://uview-plus.jiangruyi.com/components/floatButton.html
|
||||
* @property {String} backgroundColor 背景颜色
|
||||
* @event {Function} click 点击触发事件
|
||||
* @example <up-float-button></up-float-button>
|
||||
@@ -147,8 +149,6 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import '../../libs/css/components.scss';
|
||||
|
||||
.u-float-button {
|
||||
z-index: 999;
|
||||
.show-list {
|
||||
|
||||
Reference in New Issue
Block a user