From 50ee7232f3c98fe24a1f2e31dba9508cfec14887 Mon Sep 17 00:00:00 2001
From: gjj <Ganjj@probim.com.cn>
Date: Fri, 21 Feb 2025 17:35:39 +0800
Subject: [PATCH] 模型预览

---
 src/components/Warning.vue |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/src/components/Warning.vue b/src/components/Warning.vue
new file mode 100644
index 0000000..f8f0a6b
--- /dev/null
+++ b/src/components/Warning.vue
@@ -0,0 +1,20 @@
+<template>
+  <div class="warning-bg">
+    <slot></slot>
+  </div>
+</template>
+
+<script>
+  export default {
+    name: "Warning",
+  };
+</script>
+
+<style>
+  .warning-bg {
+    @apply h-10;
+    background: url("../assets/images/warning-bg.png") no-repeat left center / cover,
+      linear-gradient(to right, hsla(0, 0%, 0%, 0.1), hsla(0, 0%, 0%, 0.3)) no-repeat left center / cover hsla(0, 0%, 0%, 0.6);
+    height: 32px;
+  }
+</style>

--
Gitblit v1.9.3