From 4b9c77a63062757b606e369709355cb8fbe674b7 Mon Sep 17 00:00:00 2001
From: pushuo <229102104@qq.com>
Date: Tue, 26 Jul 2022 15:04:57 +0800
Subject: [PATCH] wip
---
public/build/beike/admin/css/app.css | 63 +++++++++++++++-
public/build/beike/shop/default/css/app.css | 74 +++++++++++++++++++
resources/beike/admin/css/_global.scss | 21 +++++-
.../views/pages/products/form/form.blade.php | 23 ++++--
.../views/pages/products/index.blade.php | 4 +-
resources/beike/shop/default/css/global.scss | 14 ++++
themes/default/account/wishlist.blade.php | 37 ++++++++--
7 files changed, 217 insertions(+), 19 deletions(-)
diff --git a/public/build/beike/admin/css/app.css b/public/build/beike/admin/css/app.css
index f09c77a0..c7186da1 100644
--- a/public/build/beike/admin/css/app.css
+++ b/public/build/beike/admin/css/app.css
@@ -190,6 +190,61 @@ body {
height: 1000px;
}
+.wh-10 {
+ height: 10px;
+ width: 10px;
+}
+
+.wh-20 {
+ height: 20px;
+ width: 20px;
+}
+
+.wh-30 {
+ height: 30px;
+ width: 30px;
+}
+
+.wh-40 {
+ height: 40px;
+ width: 40px;
+}
+
+.wh-50 {
+ height: 50px;
+ width: 50px;
+}
+
+.wh-60 {
+ height: 60px;
+ width: 60px;
+}
+
+.wh-70 {
+ height: 70px;
+ width: 70px;
+}
+
+.wh-80 {
+ height: 80px;
+ width: 80px;
+}
+
+.wh-90 {
+ height: 90px;
+ width: 90px;
+}
+
+.wh-100 {
+ height: 100px;
+ width: 100px;
+}
+
+.help-text {
+ color: #B2B2B2;
+ font-size: 12px;
+}
+
.font-size-12 {
font-size: 12px;
}
@@ -212,11 +267,15 @@ body {
.set-product-img {
width: 80px;
height: 80px;
- background-color: #f5f5f5;
- border: 1px solid #eee;
+ background-color: #f8f8f8;
+ border: 1px dashed #e2e2e2;
display: flex;
align-items: center;
justify-content: center;
+ transition: all 0.2s ease;
+}
+.set-product-img:hover {
+ background-color: #f1f1f1;
}
.main-content {
diff --git a/public/build/beike/shop/default/css/app.css b/public/build/beike/shop/default/css/app.css
index 5f05ce13..bc2ced04 100644
--- a/public/build/beike/shop/default/css/app.css
+++ b/public/build/beike/shop/default/css/app.css
@@ -25,6 +25,30 @@ body[class^=page-account-] {
min-height: 500px;
}
+.min-h1 {
+ min-height: 100px;
+}
+
+.min-h2 {
+ min-height: 200px;
+}
+
+.min-h3 {
+ min-height: 300px;
+}
+
+.min-h4 {
+ min-height: 400px;
+}
+
+.min-h5 {
+ min-height: 500px;
+}
+
+.min-h6 {
+ min-height: 600px;
+}
+
.wp-100 {
width: 100px;
}
@@ -185,6 +209,56 @@ body[class^=page-account-] {
height: 1000px;
}
+.wh-10 {
+ height: 10px;
+ width: 10px;
+}
+
+.wh-20 {
+ height: 20px;
+ width: 20px;
+}
+
+.wh-30 {
+ height: 30px;
+ width: 30px;
+}
+
+.wh-40 {
+ height: 40px;
+ width: 40px;
+}
+
+.wh-50 {
+ height: 50px;
+ width: 50px;
+}
+
+.wh-60 {
+ height: 60px;
+ width: 60px;
+}
+
+.wh-70 {
+ height: 70px;
+ width: 70px;
+}
+
+.wh-80 {
+ height: 80px;
+ width: 80px;
+}
+
+.wh-90 {
+ height: 90px;
+ width: 90px;
+}
+
+.wh-100 {
+ height: 100px;
+ width: 100px;
+}
+
.module-title {
font-size: 1.5rem;
text-align: center;
diff --git a/resources/beike/admin/css/_global.scss b/resources/beike/admin/css/_global.scss
index a97e1d01..61d94408 100644
--- a/resources/beike/admin/css/_global.scss
+++ b/resources/beike/admin/css/_global.scss
@@ -50,6 +50,19 @@ body {
}
}
+// 生成 10 20 30 ... 90 的高宽
+@for $i from 1 through 10 {
+ .wh-#{$i}0 {
+ height: #{$i}0px;
+ width: #{$i}0px;
+ }
+}
+
+.help-text {
+ color: #B2B2B2;
+ font-size: 12px;
+}
+
.font-size-12 {
font-size: 12px;
}
@@ -75,11 +88,15 @@ body {
.set-product-img {
width: 80px;
height: 80px;
- background-color: #f5f5f5;
- border: 1px solid #eee;
+ background-color: #f8f8f8;
+ border: 1px dashed #e2e2e2;
display: flex;
align-items: center; // flex-start | center
justify-content: center; // flex-end | center | space-between
+ transition: all .2s ease;
+ &:hover {
+ background-color: #f1f1f1;
+ }
}
.main-content {
diff --git a/resources/beike/admin/views/pages/products/form/form.blade.php b/resources/beike/admin/views/pages/products/form/form.blade.php
index 451d53c0..7e7cc440 100644
--- a/resources/beike/admin/views/pages/products/form/form.blade.php
+++ b/resources/beike/admin/views/pages/products/form/form.blade.php
@@ -23,7 +23,7 @@
@endforeach
| + | 产品 | 价格 | @@ -31,14 +31,14 @@ | |
|---|---|---|---|---|
| {{ $item['product_name'] }} | {{ $item['price'] }} |
-
-
+
+
|