From 2471a447b774123117e880fd5f5672b25efbcb3e Mon Sep 17 00:00:00 2001 From: adonis Date: Wed, 19 Aug 2026 12:28:30 +0330 Subject: [PATCH] ui(product): use 2-column grid layout for formula/live-price and visibility/TV formula - Pricing tab: formula section and live price preview side by side in 2-col grid - Specs tab: visibility switches and TV formula side by side in 2-col grid - Reduces wasted horizontal space Co-authored-by: Cursor --- .../base/components/ProductEditorFormBody.vue | 122 +++++++++--------- 1 file changed, 64 insertions(+), 58 deletions(-) diff --git a/src/pages/menuPages/products/base/components/ProductEditorFormBody.vue b/src/pages/menuPages/products/base/components/ProductEditorFormBody.vue index d4d06b8..b52ec13 100644 --- a/src/pages/menuPages/products/base/components/ProductEditorFormBody.vue +++ b/src/pages/menuPages/products/base/components/ProductEditorFormBody.vue @@ -222,48 +222,52 @@ - +
+ -
-
-
- - - {{ usePrice(livePricePreview.amount) }} - - - {{ livePricePreview.message }} - - - مبنا: {{ livePricePreview.source }} - - — تعدیل {{ form.price_offset_percent }}٪ +
+
+
+ + + {{ usePrice(livePricePreview.amount) }} - + + {{ livePricePreview.message }} + +
+
+ + مبنا: {{ livePricePreview.source }} + + — تعدیل {{ form.price_offset_percent }}٪ + + + + بروزرسانی + +
- - بروزرسانی -
@@ -398,27 +402,29 @@
تنظیمات نمایش
-
-
- نمایش در لیست محصولات - -
-
- نمایش در دارایی‌ها - -
-
- نمایش در تابلو TV - +
+
+
+ نمایش در لیست محصولات + +
+
+ نمایش در دارایی‌ها + +
+
+ نمایش در تابلو TV + +
+
-