diff --git a/src/components/MyList.vue b/src/components/MyList.vue index 425bee6..4aad281 100644 --- a/src/components/MyList.vue +++ b/src/components/MyList.vue @@ -3,6 +3,7 @@ const props = defineProps({ loading: { default: false, type: Boolean }, finish: { default: false, type: Boolean }, + empty: { default: false, type: Boolean }, pel: { default: () => {}, type: Function } }) const emit = defineEmits(['load']) @@ -23,12 +24,13 @@ }) @@ -40,12 +42,28 @@ > .footer { width: 100%; font-size: 3rem; - color: #000; + color: #a1a1a1; text-align: center; margin: var(--my-list-footer-margin, 0); > .placeholder { height: 1px; } + > .empty { + font-size: 4rem; + } + } + &.empty { + > .footer { + display: flex; + flex-direction: column; + justify-content: center; + height: 100%; + padding: 0; + margin: 0; + > .empty { + margin-bottom: 5rem; + } + } } } diff --git a/src/views/Workshop/creation/creation-list.vue b/src/views/Workshop/creation/creation-list.vue index b5cc31d..2a336ad 100644 --- a/src/views/Workshop/creation/creation-list.vue +++ b/src/views/Workshop/creation/creation-list.vue @@ -268,7 +268,12 @@
- +
0) if (res === 0) return - console.log(obj,i) + console.log(obj, i) deleteCustomerPhoto(obj.visitRecordId) .then(() => { list.splice(i, 1) @@ -68,7 +68,12 @@
Library
- +
@@ -115,18 +120,18 @@ } > .title { - font-family: satoshiRegular; - font-size: 9rem; + font-family: satoshiBold; + font-size: 8.9rem; text-align: left; line-height: 124%; - margin: 5rem; + margin: 5rem 9.1rem; } > .list { flex: 1; overflow: hidden; - margin: 0 3rem; + margin: 0 4.5rem; > .my-list { - padding: 0 3.8rem; + padding: 0 4.5rem; --my-list-footer-margin: 2rem 0; > .item { position: relative;