diff --git a/src/components/CustomEmpty/images/empty.png b/src/components/CustomEmpty/images/empty.png deleted file mode 100644 index 14829e9..0000000 Binary files a/src/components/CustomEmpty/images/empty.png and /dev/null differ diff --git a/src/components/CustomEmpty/index.vue b/src/components/CustomEmpty/index.vue index 819722f..7d1ef79 100644 --- a/src/components/CustomEmpty/index.vue +++ b/src/components/CustomEmpty/index.vue @@ -1,12 +1,9 @@ - @@ -18,6 +15,11 @@ const props = defineProps({ type: String, default: "", }, + emptyIcon: { + type: String, + default: + "https://oss.nianxx.cn/mp/static/version_101/order/order_empty.png", + }, }); diff --git a/src/components/CustomEmpty/styles/index.scss b/src/components/CustomEmpty/styles/index.scss index fc3dd66..b07e999 100644 --- a/src/components/CustomEmpty/styles/index.scss +++ b/src/components/CustomEmpty/styles/index.scss @@ -1,19 +1,4 @@ -.empty-container { - /* #ifndef APP-NVUE */ - display: flex; - /* #endif */ - height: 100%; - flex-direction: column; - align-items: center; -} - .empty-image { height: 130px; width: 130px; } - -.empty-text { - margin-top: 10px; - font-size: $uni-font-size-base; - color: #666666; -} diff --git a/src/pages-service/order/list.vue b/src/pages-service/order/list.vue index 614c21a..0dfbd5f 100644 --- a/src/pages-service/order/list.vue +++ b/src/pages-service/order/list.vue @@ -14,7 +14,10 @@