This commit is contained in:
xds
2026-03-22 14:26:45 +03:00
parent 33694d68db
commit 466a27907a
28 changed files with 1334 additions and 71 deletions

View File

@@ -55,6 +55,25 @@
/>
</div>
<!-- Multicolor -->
<div>
<label class="flex items-center gap-3 cursor-pointer rounded-lg border-2 p-3 transition-all"
:class="store.multicolor ? 'border-primary-500 bg-primary-50' : 'border-gray-200 hover:border-gray-300'"
>
<input
type="checkbox"
:checked="store.multicolor"
@change="toggleMulticolor"
class="h-4 w-4 rounded border-gray-300 text-primary-600 focus:ring-primary-500"
/>
<div>
<span class="text-sm font-medium text-gray-900">Многоцветная печать</span>
<span class="ml-2 text-xs text-gray-400">(AMS, +30% к стоимости)</span>
<p class="text-xs text-gray-500 mt-0.5">Печать несколькими цветами на Bambu Lab AMS</p>
</div>
</label>
</div>
<!-- Post-processing -->
<div>
<label class="mb-2.5 block text-sm font-medium text-gray-700">Постобработка</label>
@@ -88,6 +107,11 @@ const postProcessingOptions = [
{ value: 'acetone_smoothing', label: 'Ацетоновая обработка (ABS)', price: '400 ₽/шт' },
]
function toggleMulticolor() {
store.multicolor = !store.multicolor
store.result = null
}
function togglePP(value) {
const idx = store.settings.post_processing.indexOf(value)
if (idx > -1) {