From ffe91e5bdc9608da11a0002caee4e15fb890d3fa Mon Sep 17 00:00:00 2001 From: sl <2436637291@qq.com> Date: Thu, 18 Aug 2022 19:09:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/lang/zh_cn/shop/account.php | 25 +++++++++++++++++++++ resources/lang/zh_cn/shop/common.php | 2 ++ themes/default/account/rmas/form.blade.php | 25 ++++++++++++--------- themes/default/account/rmas/index.blade.php | 25 ++++++++++++--------- themes/default/account/rmas/info.blade.php | 4 +++- 5 files changed, 58 insertions(+), 23 deletions(-) diff --git a/resources/lang/zh_cn/shop/account.php b/resources/lang/zh_cn/shop/account.php index 82cf2161..046bd1ae 100644 --- a/resources/lang/zh_cn/shop/account.php +++ b/resources/lang/zh_cn/shop/account.php @@ -46,6 +46,7 @@ return [ 'order' => [ 'index' => '订单列表', + 'show' => '订单详情', 'order_completed' => '已确认收货', 'order_details' => '订单详情', 'amount' => '金额', @@ -103,4 +104,28 @@ return [ 'confirm_delete' => '确定要删除地址吗?', 'hint' => '提示', ], + + 'rma' => [ + 'index' => '我的售后', + 'commodity' => '商品', + 'quantity' => '数量', + 'service_type' => '服务类型', + 'return_reason' => '退换原因', + 'creation_time' => '创建时间', + 'operate' => '操作', + 'check' => '查看', + + 'rma_info' => [ + 'index' => '售后详情', + ], + + 'rma_form' => [ + 'index' => '提交售后信息', + 'service_type' => '服务类型', + 'return_quantity' => '退换数量', + 'unpacked' => '已打开包装', + 'return_reason' => '退换原因', + 'remark' => '备注', + ] + ] ]; diff --git a/resources/lang/zh_cn/shop/common.php b/resources/lang/zh_cn/shop/common.php index 218fd6e7..3962bc38 100644 --- a/resources/lang/zh_cn/shop/common.php +++ b/resources/lang/zh_cn/shop/common.php @@ -14,4 +14,6 @@ return [ 'submit' => '提交', 'cancel' => '取消', 'confirm' => '确定', + 'no' => '否', + 'yes' => '是', ]; diff --git a/themes/default/account/rmas/form.blade.php b/themes/default/account/rmas/form.blade.php index 8f6a2579..64b6340e 100644 --- a/themes/default/account/rmas/form.blade.php +++ b/themes/default/account/rmas/form.blade.php @@ -8,12 +8,15 @@ @section('content')
| 商品 | -数量 | -服务类型 | -退换原因 | -创建时间 | +{{ __('shop/account.rma.commodity') }} | +{{ __('shop/account.rma.quantity') }} | +{{ __('shop/account.rma.service_type') }} | +{{ __('shop/account.rma.return_reason') }} | +{{ __('shop/account.rma.creation_time') }} | {{--状态 | --}} -操作 | +{{ __('shop/account.rma.operate') }} | {{ $rma['reason'] }} | {{ $rma['created_at'] }} | {{--{{ $rma['status'] }} | --}} -查看 | +{{ __('shop/account.rma.check') }} | @endforeach diff --git a/themes/default/account/rmas/info.blade.php b/themes/default/account/rmas/info.blade.php index 48353465..a605dcef 100644 --- a/themes/default/account/rmas/info.blade.php +++ b/themes/default/account/rmas/info.blade.php @@ -8,6 +8,8 @@ @section('content')
|---|