diff --git a/beike/Admin/View/Components/Form/Select.php b/beike/Admin/View/Components/Form/Select.php
index 97e8adaf..86ce0c5d 100644
--- a/beike/Admin/View/Components/Form/Select.php
+++ b/beike/Admin/View/Components/Form/Select.php
@@ -10,13 +10,17 @@ class Select extends Component
public string $value;
public string $title;
public array $options;
+ public string $key;
+ public string $label;
- public function __construct(string $name, string $value, string $title, array $options)
+ public function __construct(string $name, string $value, string $title, array $options, ?string $key = 'value', ?string $label = 'label')
{
$this->name = $name;
$this->title = $title;
$this->value = $value;
$this->options = $options;
+ $this->key = $key;
+ $this->label = $label;
}
public function render()
diff --git a/public/build/beike/admin/css/app.css b/public/build/beike/admin/css/app.css
index bf795633..9321d160 100644
--- a/public/build/beike/admin/css/app.css
+++ b/public/build/beike/admin/css/app.css
@@ -319,6 +319,7 @@
.help-text {
color: #B2B2B2;
+ margin-top: 4px;
font-size: 12px;
}
diff --git a/public/build/beike/shop/default/css/app.css b/public/build/beike/shop/default/css/app.css
index b99810ba..f4356cee 100644
--- a/public/build/beike/shop/default/css/app.css
+++ b/public/build/beike/shop/default/css/app.css
@@ -620,7 +620,7 @@ footer .footer-bottom {
margin-left: -5px;
}
.product-wrap .image .button-wrap button:hover {
- background-color: rgba(0, 0, 0, 0.726);
+ background-color: rgb(70, 70, 70);
}
.product-wrap .image .button-wrap button:hover span {
opacity: 1;
diff --git a/resources/beike/admin/css/_global.scss b/resources/beike/admin/css/_global.scss
index 26257793..1995eb63 100644
--- a/resources/beike/admin/css/_global.scss
+++ b/resources/beike/admin/css/_global.scss
@@ -69,6 +69,7 @@
.help-text {
color: #B2B2B2;
+ margin-top: 4px;
font-size: 12px;
}
diff --git a/resources/beike/admin/views/components/form/row.blade.php b/resources/beike/admin/views/components/form/row.blade.php
index 5bbdc17a..3dd1c84d 100644
--- a/resources/beike/admin/views/components/form/row.blade.php
+++ b/resources/beike/admin/views/components/form/row.blade.php
@@ -1,5 +1,5 @@
-
+
{{ $slot }}
diff --git a/resources/beike/admin/views/components/form/select.blade.php b/resources/beike/admin/views/components/form/select.blade.php
index 924b916e..2ba849ba 100644
--- a/resources/beike/admin/views/components/form/select.blade.php
+++ b/resources/beike/admin/views/components/form/select.blade.php
@@ -1,7 +1,7 @@
{{ $slot }}
diff --git a/resources/beike/admin/views/pages/home.blade.php b/resources/beike/admin/views/pages/home.blade.php
index c1671e4c..98c467d3 100644
--- a/resources/beike/admin/views/pages/home.blade.php
+++ b/resources/beike/admin/views/pages/home.blade.php
@@ -204,6 +204,7 @@
const ordersChart = new Chart(orders, {
type: 'line',
data: {
+ // labels: Array.from({length: 30}, (v, k) => k + 1),
labels: {!! $order_trends['latest_month']->pluck('date') !!},
datasets: [{
// label: ["订单数"],
@@ -211,6 +212,7 @@
backgroundColor : gradient, // Put the gradient here as a fill color
borderColor : "#4da4f9",
borderWidth: 2,
+ // data: Array.from({length: 30}, () => Math.floor(Math.random() * 23.7)),
data: {!! $order_trends['latest_month']->pluck('total') !!},
// borderDash: [],
responsive: true,
diff --git a/resources/beike/admin/views/pages/setting.blade.php b/resources/beike/admin/views/pages/setting.blade.php
index 27c10be4..bbb92d0f 100644
--- a/resources/beike/admin/views/pages/setting.blade.php
+++ b/resources/beike/admin/views/pages/setting.blade.php
@@ -21,83 +21,39 @@
@endforeach
- 默认国家设置
+ 默认国家设置
-
-
- 默认语言设置
-
+
+ 默认语言设置
+
-
-
- 默认货币设置
-
+
+ 默认货币设置
+
- 管理后台目录,默认为admin
+ 管理后台目录,默认为admin
-{{--
-
- 主题模板选择
- --}}
-
- 主题模板选择
+ 主题模板选择
- 是否启用税费计算
+ 是否启用税费计算
- 按什么地址计算税费
+ 按什么地址计算税费
-{{--
-
- 按什么地址计算税费
- --}}
-
@@ -113,7 +69,6 @@
// 获取身份
const getZones = (country_id) => {
$http.get(`countries/${country_id}/zones`).then((res) => {
- console.log(res);
if (res.data.zones.length > 0) {
$('select[name="zone_id"]').html('');
res.data.zones.forEach((zone) => {