From 52baaca35ef72db1a146d3d38f0de19a849df44e Mon Sep 17 00:00:00 2001 From: puriphatt Date: Wed, 19 Jun 2024 10:55:07 +0000 Subject: [PATCH] fix: add & move properties --- .../04_product-service/ServiceProperties.vue | 530 ++++++++++-------- src/stores/product-service/types.ts | 2 +- 2 files changed, 297 insertions(+), 235 deletions(-) diff --git a/src/components/04_product-service/ServiceProperties.vue b/src/components/04_product-service/ServiceProperties.vue index 01be2bb8..7df9a48d 100644 --- a/src/components/04_product-service/ServiceProperties.vue +++ b/src/components/04_product-service/ServiceProperties.vue @@ -1,7 +1,7 @@ @@ -367,4 +425,8 @@ function shouldShowItem(opt: Option) { border-bottom-left-radius: var(--radius-2); border-bottom-right-radius: var(--radius-2); } + +// .list-move { +// transition: all 0.2s ease; +// } diff --git a/src/stores/product-service/types.ts b/src/stores/product-service/types.ts index 8bd9deeb..051841b3 100644 --- a/src/stores/product-service/types.ts +++ b/src/stores/product-service/types.ts @@ -48,7 +48,7 @@ export interface Attributes { }[]; } -type AdditionalType = 'string' | 'number' | 'date' | 'array'; +export type AdditionalType = 'string' | 'number' | 'date' | 'array'; // Product export interface ServiceById {