@yxhl/specter-pui-vtk 1.0.76 → 1.0.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,26 @@
1
+ <template>
2
+ <v-card class="pa-4 mx-auto text-center pt-10" color="transparent" elevation="0" style="border: none !important;box-shadow: none !important;">
3
+ <v-img contain width="120" class="mx-auto" src="@/assets/img/empty.svg" alt="" />
4
+ <p class="text-grey mt-1">{{ text || "暂无数据" }}</p>
5
+ </v-card>
6
+ </template>
7
+
8
+ <script setup>
9
+ import { useAttrs } from 'vue';
10
+
11
+ const attrs = useAttrs();
12
+
13
+ // 定义 props
14
+ const props = defineProps({
15
+ text: {
16
+ type: String,
17
+ default: null,
18
+ },
19
+ items: {
20
+ type: Array,
21
+ default: null,
22
+ },
23
+ });
24
+ </script>
25
+
26
+ <style lang="scss" scoped></style>
@@ -39,7 +39,8 @@
39
39
  <!-- 输入框容器 (默认模式) -->
40
40
  <div
41
41
  v-if="!top"
42
- class="d-inline-block vtk-width-7 "
42
+ class="d-inline-block"
43
+ :class="left && !help ? 'vtk-width-9' : 'vtk-width-7'"
43
44
  style="min-width: 350px;"
44
45
  >
45
46
  <slot></slot>