OfficeSystem/components/FabPlus.vue
WindowBird 04568368d7 temp1
2025-10-30 18:00:30 +08:00

28 lines
549 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<button class="fab-plus" @click="$emit('click')"></button>
</template>
<style scoped lang="scss">
.fab-plus {
position: fixed;
bottom: 100rpx;
right: 48rpx;
width: 96rpx;
height: 96rpx;
border-radius: 50%;
background: #2885ff;
color: #fff;
box-shadow: 0 6rpx 32rpx 0 #90c3fa;
font-size: 52rpx;
z-index: 9;
border: none;
display: flex;
align-items: center;
justify-content: center;
transition: box-shadow .3s;
}
.fab-plus:active {
box-shadow: 0 2rpx 12rpx 0 #b1d8fc;
background:#0D5ECD;
}
</style>