浏览代码

add alert bars (bis)

Olivier Massot 3 年之前
父节点
当前提交
77a7133aa4
共有 1 个文件被更改,包括 31 次插入0 次删除
  1. 31 0
      components/Ui/SystemBar.vue

+ 31 - 0
components/Ui/SystemBar.vue

@@ -0,0 +1,31 @@
+<!--
+System bars
+-->
+
+<template>
+  <v-system-bar
+      dark
+      height="50"
+      :class="'d-flex flex-row justify-center align-center text-center bg-' + backgroundColor + ' text-' + textColor"
+  >
+    <slot name="bar.text" />
+  </v-system-bar>
+</template>
+
+<script setup lang="ts">
+const props = defineProps({
+  backgroundColor: {
+    type: String,
+    required: false,
+    default: '#eeeeee'
+  },
+  textColor: {
+    type: String,
+    required: false,
+    default: '#5f5f5f'
+  }
+})
+</script>
+
+<style scoped lang="scss">
+</style>