From e458ba9f16e86cdb4219f6ebd19257e14b64261f Mon Sep 17 00:00:00 2001 From: aarizona Date: Tue, 24 Sep 2024 18:52:28 +0300 Subject: [PATCH] pattern --- assets/main.scss | 2 +- components/calc/values.vue | 43 +++++++++++++++++++---------- components/dropdown/colorPicker.vue | 4 ++- components/dropdown/list.vue | 15 +++++++--- 4 files changed, 43 insertions(+), 21 deletions(-) diff --git a/assets/main.scss b/assets/main.scss index 8e73e53..4c78cfb 100644 --- a/assets/main.scss +++ b/assets/main.scss @@ -351,7 +351,7 @@ button { .color_picker, .list_picker { - @apply ml-4; + // @apply ml-4; } } diff --git a/components/calc/values.vue b/components/calc/values.vue index fda68c2..475bab2 100644 --- a/components/calc/values.vue +++ b/components/calc/values.vue @@ -3,7 +3,7 @@ import { getColorHexFromRal, getColorNameFromRal } from '@/components/ral' import type { ralTypes } from '@/components/ral' import { predefLamelleColors, predefPillarColors } from '~/composables/useCalc'; -import type { patternTypes } from '../pattern'; +import { getFilename, type patternTypes } from '../pattern'; import { Vector3 } from 'three'; const lamelle_height = use_lamelle_height() @@ -231,24 +231,28 @@ const calc_table = computed(() => {
- - 123 + + +
- - + + +
- - - + + + +
@@ -265,4 +269,13 @@ const calc_table = computed(() => { - \ No newline at end of file + + \ No newline at end of file diff --git a/components/dropdown/colorPicker.vue b/components/dropdown/colorPicker.vue index c7af0ba..9366498 100644 --- a/components/dropdown/colorPicker.vue +++ b/components/dropdown/colorPicker.vue @@ -35,7 +35,9 @@ onUnmounted(() => {