优化page等
This commit is contained in:
parent
d451113e6e
commit
5f212c3740
|
|
@ -24,17 +24,17 @@
|
|||
|
||||
@foreach ($admin_languages as $language)
|
||||
<div class="tab-pane fade {{ $loop->first ? 'show active' : '' }}" id="tab-{{ $language['code'] }}">
|
||||
<x-admin-form-input name="[{{ $language['code'] }}]title" title="信息标题" value="{{ old('title', '') }}" />
|
||||
<x-admin-form-input name="{{ $language['code'] }}[title]" title="信息标题" value="{{ old('title', '') }}" />
|
||||
<x-admin::form.row title="内容">
|
||||
<div class="w-max-1000">
|
||||
<textarea name="[{{ $language['code'] }}]content" data-tinymce-height="600" class="form-control tinymce">
|
||||
<textarea name="{{ $language['code'] }}[content]" data-tinymce-height="600" class="form-control tinymce">
|
||||
{{ old('content', '') }}
|
||||
</textarea>
|
||||
</div>
|
||||
</x-admin::form.row>
|
||||
<x-admin-form-input name="[{{ $language['code'] }}]meta_title" title="Meta Tag 标题" value="{{ old('meta_title', '') }}" />
|
||||
<x-admin-form-input name="[{{ $language['code'] }}]meta_description" title="Meta Tag 描述" value="{{ old('meta_description', '') }}" />
|
||||
<x-admin-form-input name="[{{ $language['code'] }}]meta_keyword" title="Meta Tag 关键字" value="{{ old('meta_keyword', '') }}" />
|
||||
<x-admin-form-input name="{{ $language['code'] }}[meta_title]" title="Meta Tag 标题" value="{{ old('meta_title', '') }}" />
|
||||
<x-admin-form-input name="{{ $language['code'] }}[meta_description]" title="Meta Tag 描述" value="{{ old('meta_description', '') }}" />
|
||||
<x-admin-form-input name="{{ $language['code'] }}[meta_keyword]" title="Meta Tag 关键字" value="{{ old('meta_keyword', '') }}" />
|
||||
<x-admin::form.row title="">
|
||||
<button type="submit" class="mt-3 btn btn-primary">提交</button>
|
||||
</x-admin::form.row>
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
</x-admin::form.row>
|
||||
{{-- <x-admin-form-input name="video" title="视频" :value="old('video', $product->video ?? '')" /> --}}
|
||||
<input type="hidden" name="name" value="">
|
||||
<x-admin-form-input name="position" title="排序" :value="old('position', $product->position ?? '')" />
|
||||
<x-admin-form-input name="position" title="排序" :value="old('position', $product->position ?? '0')" />
|
||||
<x-admin-form-input name="brand_id" title="品牌" value="0" />
|
||||
<x-admin-form-input name="tax_class_id" title="税类" value="0" />
|
||||
<x-admin-form-switch name="active" title="状态" :value="old('active', $product->active ?? 1)" />
|
||||
|
|
|
|||
|
|
@ -89,6 +89,13 @@ $card-border-width: 0;
|
|||
border-radius: 0;
|
||||
}
|
||||
|
||||
// .btn.btn-dark {
|
||||
// &:hover {
|
||||
// background-color: #fff;
|
||||
// color: #212529;
|
||||
// }
|
||||
// }
|
||||
|
||||
.card {
|
||||
// box-shadow: rgba(0, 0, 0, .1) 0px 1px 4px 0px;
|
||||
// border: none;
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<button
|
||||
class="btn btn-outline-secondary ms-3 add-cart"
|
||||
class="btn btn-outline-dark ms-3 add-cart"
|
||||
:disabled="!product.quantity"
|
||||
@click="addCart(false)"
|
||||
><i class="bi bi-cart-fill me-1"></i>加入购物车
|
||||
|
|
@ -113,19 +113,11 @@
|
|||
<div class="product-description">
|
||||
<div class="nav nav-tabs nav-overflow justify-content-start justify-content-md-center border-bottom">
|
||||
<a class="nav-link fw-bold active" data-bs-toggle="tab" href="#product-description">
|
||||
Description
|
||||
</a>
|
||||
<a class="nav-link fw-bold" data-bs-toggle="tab" href="#description-1">
|
||||
Size & Fit
|
||||
</a>
|
||||
<a class="nav-link fw-bold" data-bs-toggle="tab" href="#description-2">
|
||||
Shipping & Return
|
||||
商品详情
|
||||
</a>
|
||||
</div>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane fade show active" id="product-description" role="tabpanel" aria-labelledby="pills-home-tab">111</div>
|
||||
<div class="tab-pane fade" id="description-1" role="tabpanel" aria-labelledby="pills-profile-tab">222</div>
|
||||
<div class="tab-pane fade" id="description-2" role="tabpanel" aria-labelledby="pills-contact-tab">333</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue