This commit is contained in:
pushuo 2022-08-11 11:55:26 +08:00
parent aa4d8f2903
commit 3920639f34
4 changed files with 6 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -138,7 +138,7 @@
{type: 'custom',label: '自定义'}
],
static: [
{name:'个人中心', value: 'account/latest'},
{name: '个人中心', value: '{{ shop_route('account.index') }}', route: 'account.index'},
],
link: null,
keyword: '',

View File

@ -17,11 +17,15 @@
<x-admin-form-input
:name="$column['name']"
:title="$column['label']"
:class="$errors->has('name') ? 'is-invalid' : ''"
:required="$column['required'] ? true : false"
:value="old($column['value'], $column['value'] ?? '')">
@if (isset($column['description']))
<div class="help-text font-size-12 lh-base">{{ $column['description'] }}</div>
@endif
@if ($errors->has($column['name']))
<span class="invalid-feedback" role="alert">{{ $errors->first($column['name']) }}</span>
@endif
</x-admin-form-input>
@endif

View File

@ -38,6 +38,7 @@
<h6 class="text-uppercase text-dark mb-3">{{ $link['title'][$locale] }}</h6>
<ul class="list-unstyled">
@foreach ($link['links'] as $item)
@dump($item)
<li>
<a href="{{ $item['value'] }}" @if (isset($item['new_window']) && $item['new_window']) target="_blank" @endif>{{ $item['text'][$locale] ?? '' }}</a>
</li>