wip
This commit is contained in:
parent
aa4d8f2903
commit
3920639f34
Binary file not shown.
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 11 KiB |
|
|
@ -138,7 +138,7 @@
|
||||||
{type: 'custom',label: '自定义'}
|
{type: 'custom',label: '自定义'}
|
||||||
],
|
],
|
||||||
static: [
|
static: [
|
||||||
{name:'个人中心', value: 'account/latest'},
|
{name: '个人中心', value: '{{ shop_route('account.index') }}', route: 'account.index'},
|
||||||
],
|
],
|
||||||
link: null,
|
link: null,
|
||||||
keyword: '',
|
keyword: '',
|
||||||
|
|
|
||||||
|
|
@ -17,11 +17,15 @@
|
||||||
<x-admin-form-input
|
<x-admin-form-input
|
||||||
:name="$column['name']"
|
:name="$column['name']"
|
||||||
:title="$column['label']"
|
:title="$column['label']"
|
||||||
|
:class="$errors->has('name') ? 'is-invalid' : ''"
|
||||||
:required="$column['required'] ? true : false"
|
:required="$column['required'] ? true : false"
|
||||||
:value="old($column['value'], $column['value'] ?? '')">
|
:value="old($column['value'], $column['value'] ?? '')">
|
||||||
@if (isset($column['description']))
|
@if (isset($column['description']))
|
||||||
<div class="help-text font-size-12 lh-base">{{ $column['description'] }}</div>
|
<div class="help-text font-size-12 lh-base">{{ $column['description'] }}</div>
|
||||||
@endif
|
@endif
|
||||||
|
@if ($errors->has($column['name']))
|
||||||
|
<span class="invalid-feedback" role="alert">{{ $errors->first($column['name']) }}</span>
|
||||||
|
@endif
|
||||||
</x-admin-form-input>
|
</x-admin-form-input>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@
|
||||||
<h6 class="text-uppercase text-dark mb-3">{{ $link['title'][$locale] }}</h6>
|
<h6 class="text-uppercase text-dark mb-3">{{ $link['title'][$locale] }}</h6>
|
||||||
<ul class="list-unstyled">
|
<ul class="list-unstyled">
|
||||||
@foreach ($link['links'] as $item)
|
@foreach ($link['links'] as $item)
|
||||||
|
@dump($item)
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ $item['value'] }}" @if (isset($item['new_window']) && $item['new_window']) target="_blank" @endif>{{ $item['text'][$locale] ?? '' }}</a>
|
<a href="{{ $item['value'] }}" @if (isset($item['new_window']) && $item['new_window']) target="_blank" @endif>{{ $item['text'][$locale] ?? '' }}</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue