wip
This commit is contained in:
parent
7866d0adc0
commit
fac2319826
|
|
@ -10,7 +10,8 @@
|
|||
*/
|
||||
|
||||
return [
|
||||
'error_required' => 'Please fill out the :name',
|
||||
'error_required_name' => 'Please fill in your name',
|
||||
'error_required_email' => 'Please enter your email',
|
||||
'unauthenticated' => 'Please login first',
|
||||
'success' => 'Success',
|
||||
'created_success' => 'Created Successfully!',
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ return [
|
|||
'state' => 'State',
|
||||
'amount' => 'Amount',
|
||||
'check_details' => 'Check Details',
|
||||
'all' => 'All',
|
||||
'items' => 'Items',
|
||||
|
||||
'edit' => [
|
||||
'index' => 'Edit',
|
||||
|
|
@ -104,6 +106,7 @@ return [
|
|||
'enter_city' => 'Please fill in the city',
|
||||
'confirm_delete' => 'Are you sure you want to delete the address?',
|
||||
'hint' => 'Hint',
|
||||
'check_form' => 'Please check that the form is filled out correctly',
|
||||
],
|
||||
|
||||
'rma' => [
|
||||
|
|
|
|||
|
|
@ -29,4 +29,5 @@ return [
|
|||
'mini' => 'Your cart',
|
||||
'delete' => 'Delete',
|
||||
'check_cart' => 'Check the shopping cart',
|
||||
'subtotal' => 'Subtotal',
|
||||
];
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@
|
|||
*/
|
||||
return [
|
||||
'index' => '123123',
|
||||
'error_required' => '请填写 :name',
|
||||
'error_required_name' => '请填写姓名',
|
||||
'error_required_email' => '请填写邮箱',
|
||||
'unauthenticated' => '请先登录',
|
||||
'success' => '成功',
|
||||
'created_success' => '创建成功!',
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ return [
|
|||
'state' => '状态',
|
||||
'amount' => '金额',
|
||||
'check_details' => '查看详情',
|
||||
'all' => '共',
|
||||
'items' => '件商品',
|
||||
|
||||
'edit' => [
|
||||
'index' => '修改个人信息',
|
||||
|
|
@ -104,6 +106,7 @@ return [
|
|||
'enter_city' => '请填写城市',
|
||||
'confirm_delete' => '确定要删除地址吗?',
|
||||
'hint' => '提示',
|
||||
'check_form' => '请检查表单是否填写正确',
|
||||
],
|
||||
|
||||
'rma' => [
|
||||
|
|
|
|||
|
|
@ -29,4 +29,5 @@ return [
|
|||
'mini' => '您的购物车',
|
||||
'delete' => '删除',
|
||||
'check_cart' => '查看购物车',
|
||||
'subtotal' => '小计',
|
||||
];
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@
|
|||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="mb-2">{{ __('shop/account.order_number') }}:{{ $order->number }} <span class="vr lh-1 mx-2 bg-secondary"></span> 共 {{ count($order->orderProducts) }} 件商品</div>
|
||||
<div class="mb-2">{{ __('shop/account.order_number') }}:{{ $order->number }} <span class="vr lh-1 mx-2 bg-secondary"></span> {{ __('shop/account.all') }} {{ count($order->orderProducts) }} {{ __('shop/account.items') }}</div>
|
||||
<div class="text-muted">{{ __('shop/account.order_time') }}:{{ $order->created_at }}</div>
|
||||
</td>
|
||||
<td>
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@
|
|||
|
||||
this.$refs[form].validate((valid) => {
|
||||
if (!valid) {
|
||||
this.$message.error('请检查表单是否填写正确');
|
||||
this.$message.error('{{ __('shop/account.addresses.check_form') }}');
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
<input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name"
|
||||
value="{{ old('name', $customer->name ?? '') }}" required>
|
||||
<span class="invalid-feedback"
|
||||
role="alert">{{ $errors->has('name') ? $errors->first('name') : __('common.error_required', ['name' => '名称']) }}</span>
|
||||
role="alert">{{ $errors->has('name') ? $errors->first('name') : __('common.error_required_name', ['name' => '名称']) }}</span>
|
||||
{{-- @if ($errors->has('name'))@endif --}}
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
<input class="form-control {{ $errors->has('email') ? 'is-invalid' : '' }}" type="email"
|
||||
name="email" value="{{ old('name', $customer->email ?? '') }}" required>
|
||||
<span class="invalid-feedback"
|
||||
role="alert">{{ $errors->has('email') ? $errors->first('email') : __('common.error_required', ['name' => '邮箱']) }}</span>
|
||||
role="alert">{{ $errors->has('email') ? $errors->first('email') : __('common.error_required_email', ['name' => '邮箱']) }}</span>
|
||||
{{-- @if ($errors->has('email'))@endif --}}
|
||||
</div>
|
||||
<div class="col-12 mt-4">
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
@if ($carts)
|
||||
<div class="offcanvas-footer">
|
||||
<div class="d-flex justify-content-between align-items-center mb-2 p-4 bg-light">
|
||||
<strong>小计(<span class="offcanvas-right-cart-count">{{ $quantity }}</span>)</strong>
|
||||
<strong>{{ __('shop/carts.subtotal') }}(<span class="offcanvas-right-cart-count">{{ $quantity }}</span>)</strong>
|
||||
<strong class="ms-auto offcanvas-right-cart-amount">{{ $amount_format }}</strong>
|
||||
</div>
|
||||
<div class="p-4">
|
||||
|
|
|
|||
Loading…
Reference in New Issue