提交触发价到trigger_prices资料表
This commit is contained in:
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
+23
-5
@@ -1,9 +1,27 @@
|
||||
<x-filament::widget>
|
||||
<x-filament::card>
|
||||
{{ $this->form }}
|
||||
|
||||
<x-filament::button wire:click="submit">
|
||||
保存
|
||||
</x-filament::button>
|
||||
<form wire:submit.prevent="submit">
|
||||
<div class="flex items-end gap-1.5">
|
||||
<div class="flex-1">
|
||||
{{ $this->form }}
|
||||
</div>
|
||||
<x-filament::button type="submit" class="h-[42px]">
|
||||
保存
|
||||
</x-filament::button>
|
||||
</div>
|
||||
</form>
|
||||
</x-filament::card>
|
||||
|
||||
{{-- 模拟弹窗 --}}
|
||||
@if ($showSuccessModal)
|
||||
<div class="fixed inset-0 flex items-center justify-center z-50 bg-black/50">
|
||||
<div class="bg-white rounded-xl p-6 shadow-xl w-96 text-center">
|
||||
<div class="text-2xl font-semibold text-green-600 mb-2">✅ 保存成功</div>
|
||||
<p class="text-gray-700 mb-4">触发价格已保存至数据库。</p>
|
||||
<x-filament::button color="success" wire:click="$set('showSuccessModal', false)">
|
||||
我知道了
|
||||
</x-filament::button>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</x-filament::widget>
|
||||
|
||||
Reference in New Issue
Block a user