- 基础环境:Docker 部署配置,源码挂载实时同步 - 修复:super_admin 权限补全、登录重定向循环 - 开发:店铺营销账户账单 - 抖音账户(15字段汇总账单) - 开发:店铺营销账户账单 - 淘系支付宝账户(8字段流水账单) - 开发:店铺营销账户账单 - 拼多多账户(7字段流水账单) - 业务页面导航集成:config/business_navigation.php + Business\Pages 控制器 - 各平台独立表结构和视图,互不影响
29 lines
1.1 KiB
PHP
29 lines
1.1 KiB
PHP
<label
|
|
@click="form.{{ $name }} = '{{ $option->$optionKey }}'"
|
|
class="border rounded-md px-2 py-2.5 flex items-center justify-center text-center text-sm font-medium sm:flex-1 cursor-pointer focus:outline-none transition-all"
|
|
:class="[form.{{ $name }} == '{{ $option->$optionKey }}' ? 'bg-purple border-transparent text-white hover:bg-purple-700' : 'bg-white border-gray-200 text-gray-900 hover:bg-gray-50']"
|
|
>
|
|
<input type="radio"
|
|
name="{{ $name }}"
|
|
id="{{ $id . '-' . $option->$optionKey }}"
|
|
aria-labelledby="radio-{{ $option->$optionKey }}"
|
|
@if ($value)
|
|
value="{{ $value }}"
|
|
@endif
|
|
@if ($disabled)
|
|
disabled="disabled"
|
|
@endif
|
|
@if ($required)
|
|
required="required"
|
|
@endif
|
|
@if ($readonly)
|
|
readonly="readonly"
|
|
@endif
|
|
{{ $attributes->except(['placeholder', 'disabled', 'required', 'readonly', 'v-error', 'v-error-message', 'option', 'optionKey', 'optionValue']) }}
|
|
/>
|
|
|
|
<p id="radio-{{ $option->$optionKey }}">
|
|
{{ $option->$optionValue }}
|
|
</p>
|
|
</label>
|