From d0f98ad8e1047e3161a458399ad3005404ed87b8 Mon Sep 17 00:00:00 2001 From: whychdw <496960745@qq.com> Date: 星期五, 06 六月 2025 15:52:15 +0800 Subject: [PATCH] 标准参数管理 --- src/components/noData.vue | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 42 insertions(+), 0 deletions(-) diff --git a/src/components/noData.vue b/src/components/noData.vue new file mode 100644 index 0000000..118347b --- /dev/null +++ b/src/components/noData.vue @@ -0,0 +1,42 @@ +<script setup> +const props = defineProps({ + text: { + type: String, + default: "鏆傛棤鏁版嵁" + } +}); +</script> + +<template> +<div class="no-data-wrapper"> + <div class="no-data-content"> + <div class="no-data-icon"> + <svg-icon class="icon" icon-class="search-data"></svg-icon> + </div> + <div class="no-data-text">{{ props.text }}</div> + </div> +</div> +</template> + +<style scoped lang="less"> +.no-data-wrapper { + display: flex; + justify-content: center; + align-items: center; + width: 100%; + height: 100%; + .no-data-content { + display: inline-block; + text-align: center; + color: #00feff; + .no-data-icon { + margin-bottom: 8px; + .icon { + color: #00feff; + font-size: 40px; + } + } + + } +} +</style> -- Gitblit v1.9.1