- 基础环境:Docker 部署配置,源码挂载实时同步 - 修复:super_admin 权限补全、登录重定向循环 - 开发:店铺营销账户账单 - 抖音账户(15字段汇总账单) - 开发:店铺营销账户账单 - 淘系支付宝账户(8字段流水账单) - 开发:店铺营销账户账单 - 拼多多账户(7字段流水账单) - 业务页面导航集成:config/business_navigation.php + Business\Pages 控制器 - 各平台独立表结构和视图,互不影响
27 lines
1001 B
PHP
27 lines
1001 B
PHP
<div class="relative">
|
|
<button type="button"
|
|
@if ($trigger->attributes->has('override') && in_array('class', explode(',', $trigger->attributes->get('override'))))
|
|
class="{{ $trigger->attributes->get('class') }}"
|
|
@else
|
|
class="w-full lg:w-9 h-9 flex items-center justify-center px-2 py-2 bg-gray-100 hover:bg-gray-200 rounded-xl text-purple text-sm font-medium leading-6"
|
|
@endif
|
|
data-dropdown-toggle="{{ $id }}"
|
|
{{ $trigger->attributes }}
|
|
>
|
|
{!! $trigger !!}
|
|
</button>
|
|
|
|
<div
|
|
id="{{ $id }}"
|
|
class="absolute ltr:right-0 rtl:left-0 mt-3 py-2 bg-white rounded-md border border-gray-200 shadow-xl z-20 hidden"
|
|
@if ($attributes->has('style'))
|
|
style="{{ $attributes->get('style') }}"
|
|
@else
|
|
style="{{ language()->direction() === 'rtl' ? 'right' : 'left' }}: auto; min-width: 10rem;"
|
|
@endif
|
|
>
|
|
@stack('button_dropdown_start')
|
|
|
|
{{ $slot }}
|
|
</div>
|
|
</div> |