diff --git a/themes/.gitignore b/themes/.gitignore new file mode 100644 index 00000000..56002e03 --- /dev/null +++ b/themes/.gitignore @@ -0,0 +1,2 @@ +#* +#!default diff --git a/themes/default/account/account.blade.php b/themes/default/account/account.blade.php new file mode 100644 index 00000000..000c52dd --- /dev/null +++ b/themes/default/account/account.blade.php @@ -0,0 +1,101 @@ +@extends('layout.master') + +@section('body-class', 'page-account') + +@section('content') +
近期订单
--}} +|
+
+
+ |
+
+ {{ __('shop/account.order_number') }}:{{ $order->number }} {{ __('shop/account.all') }} {{ count($order->orderProducts) }} {{ __('shop/account.items') }}
+ {{ __('shop/account.order_time') }}:{{ $order->created_at }}
+ |
+ + {{ __('shop/account.state') }}:{{ $order->status_format }} + | ++ {{ __('shop/account.amount') }}:{{ currency_format($order->total, $order->currency_code, $order->currency_value) }} + | + ++ {{ __('shop/account.check_details') }} + | +
{{ __('shop/forgotten.email_forCode') }}
+{{ __('shop/forgotten.enter_password') }}
+ +| {{ __('shop/account.order.order_details') }} | +{{ __('shop/account.order.amount') }} | +{{ __('shop/account.order.state') }} | +{{ __('common.action') }} | +
|---|---|---|---|
| + | |||
| + {{ $order->created_at }} + {{ __('shop/account.order.order_number') }}:{{ $order->number }} + | +|||
|
+
+
+
+ {{ $product->name }}
+
+ x {{ $product->quantity }}
+ |
+ @if ($loop->first)
+ + {{ currency_format($order->total, $order->currency_code, $order->currency_value) }} | +{{ __("common.order.{$order->status}") }} | ++ {{ __('shop/account.order.check') }} + | + @endif +
| {{ __('shop/account.order.order_info.order_number') }} | +{{ __('shop/account.order.order_info.order_date') }} | +{{ __('shop/account.order.order_info.state') }} | +{{ __('shop/account.order.order_info.order_amount') }} | +
|---|---|---|---|
| {{ $order->number }} | +{{ $order->created_at }} | ++ {{ __("common.order.{$order->status}") }} + | +{{ currency_format($order->total, $order->currency_code, $order->currency_value) }} | +
| {{ __('order.shipping_address') }} | +{{ __('order.payment_address') }} | +
|---|---|
|
+ {{ __('address.name') }}:{{ $order->shipping_customer_name }} ({{ $order->shipping_telephone }})
+
+ {{ __('address.address') }}:
+ {{ $order->shipping_address_1 }}
+ {{ $order->shipping_address_2 }}
+ {{ $order->shipping_city }}
+ {{ $order->shipping_zone }}
+ {{ $order->shipping_country }}
+
+ {{ __('address.post_code') }}:{{ $order->shipping_zipcode }}
+ |
+
+ {{ __('address.name') }}:{{ $order->payment_customer_name }} ({{ $order->payment_telephone }})
+
+ {{ __('address.address') }}:
+ {{ $order->payment_address_1 }}
+ {{ $order->payment_address_2 }}
+ {{ $order->payment_city }}
+ {{ $order->payment_zone }}
+ {{ $order->payment_country }}
+
+ {{ __('address.post_code') }}:{{ $order->payment_zipcode }}
+ |
+
| {{ $total->title }} | +{{ currency_format($total->value, $order->currency_code, $order->currency_value) }} | + @endforeach +
| {{ __('order.express_company') }} | +{{ __('order.express_number') }} | +{{ __('order.history_created_at') }} | +
|---|---|---|
| {{ $ship->express_company }} | +{{ $ship->express_number }} | +{{ $ship->created_at }} | +
| {{ __('shop/account.order.order_info.state') }} | +{{ __('shop/account.order.order_info.remark') }} | +{{ __('shop/account.order.order_info.update_time') }} | +
|---|---|---|
| {{ $orderHistory->status_format }} | +{{ $orderHistory->comment }} | +{{ $orderHistory->created_at }} | +
| {{ __('shop/account.order.order_success.order_number') }}:{{ $order['number'] }} | +{{ __('shop/account.order.order_success.amounts_payable') }}:{{ currency_format($order['total']) }} | +
| {{ __('shop/account.order.order_success.payment_method') }}:{{ $order['payment_method_name'] }} | + @if (current_customer()) +{{ __('shop/account.order.order_success.view_order') }} | + @endif +
| {{ __('shop/account.order.order_success.pay_now') }} | +
| {{ __('shop/account.rma.commodity') }} | +{{ __('shop/account.rma.quantity') }} | +{{ __('shop/account.rma.service_type') }} | +{{ __('shop/account.rma.return_reason') }} | +{{ __('shop/account.rma.creation_time') }} | + {{--状态 | --}} +{{ __('common.action') }} | +
|---|---|---|---|---|---|---|
| {{ sub_string($rma['product_name'], 80) }} | +{{ $rma['quantity'] }} | +{{ $rma['type'] }} | +{{ $rma['reason'] }} | +{{ $rma['created_at'] }} | +{{ __('shop/account.rma.check') }} | +|
|
+ |
+ ||||||
| + | {{ __('shop/account.wishlist.product') }} | +{{ __('shop/account.wishlist.price') }} | ++ |
|---|---|---|---|
|
+ |
+ {{ $item['product_name'] }} | +{{ $item['price'] }} | ++ + | +
|
+ |
+ |||
{{ __('shop/brands.index') }}
+ +{{ $brand['0']['first'] }}
+| + + + | +{{ __('shop/carts.index') }} | +{{ __('shop/carts.commodity') }} | +{{ __('shop/carts.subtotal') }} | +{{ __('common.action') }} | +
|---|---|---|---|---|
|
+
+
+
+ |
+
+
+ @{{ product.variant_labels }}
+ @{{ product.price_format }}
+ |
+
+
+
+
+
+
+
+
+ |
+ @{{ product.subtotal_format }} | ++ + | +
{{ __('shop/carts.go_buy') }}
+{{ __('shop/carts.go_buy') }}
+| {{ __('shop/checkout.payment.order_number') }}:{{ $order['number'] }} | +{{ __('shop/checkout.payment.amounts_payable') }}:{{ $order['total_format'] }} | +
| {{ __('shop/checkout.payment.payment_method') }}:{{ $order['payment_method_name'] }} | +
| + |
+
+
+
+
+
+
+
+
+
+
+
|
+ + |
+ {{ __('mail.retrieve_password_text') }} + {{ __('mail.not_oneself') }} + +
++ {{ __('shop/forgotten.verification_code') }}: + {{ $code }} + +
++ + {{ __('mail.retrieve_password_btn') }} + +
+
+ {{ __('mail.sincerely') }}
+
+ {{ config('app.name') }} {{ __('mail.team') }}
+
+ {{ __('mail.customer_name', ['name' => $order->customer_name]) }}! +
++ {{ __('mail.order_success') }} + {{ __('mail.not_oneself') }} + +
+{{ __('shop/account.order.order_info.order_details') }}:
+| {{ __('shop/account.order.order_info.order_number') }} | +{{ __('shop/account.order.order_info.order_date') }} | +{{ __('shop/account.order.order_info.state') }} | +{{ __('shop/account.order.order_info.order_amount') }} | +
| {{ $order->number }} | +{{ $order->created_at }} | ++ {{ __("common.order.{$order->status}") }} + | +{{ currency_format($order->total, $order->currency_code, $order->currency_value) }} | +
{{ __('shop/account.order.order_info.order_items') }}:
+| {{ __('product.image') }} | +{{ __('product.name') }} | +{{ __('order.product_quantity') }} | +{{ __('product.price') }} | +
| {{ $product->name }} | +{{ $product->quantity }} | +{{ currency_format($product->price, $order->currency_code, $order->currency_value) }} | +
{{ __('shop/account.order.order_info.order_total') }}:
+| {{ $total->title }} | +{{ currency_format($total->value, $order->currency_code, $order->currency_value) }} | +
+ {{ __('mail.sincerely') }}
+
+ {{ config('app.name') }} {{ __('mail.team') }}
+
+ {{ __('mail.customer_name', ['name' => $order->customer_name]) }} +
++ {{ __('mail.order_update_status', ['number' => $order->number]) }}: + {{ __("common.order.{$order->status}") }} + +
+ +{{ __('shop/account.order.order_info.order_items') }}:
+| {{ __('product.image') }} | +{{ __('product.name') }} | +{{ __('order.product_quantity') }} | +{{ __('product.price') }} | +
| {{ $product->name }} | +{{ $product->quantity }} | +{{ currency_format($product->price, $order->currency_code, $order->currency_value) }} | +
{{ __('order.order_shipments') }}
+| {{ __('order.express_company') }} | +{{ __('order.express_number') }} | +{{ __('order.history_created_at') }} | +
| {{ $ship->express_company }} | +{{ $ship->express_number }} | +{{ $ship->created_at }} | +
+ {{ __('mail.sincerely') }}
+
+ {{ config('app.name') }} {{ __('mail.team') }}
+
+ {{ __('mail.customer_name', ['name' => $customer->name]) }} +
++ {{ __('mail.register_end') }} + {{ __('mail.not_oneself') }} + +
++ + {{ __('mail.btn_buy_now') }} + +
+
+ {{ __('mail.sincerely') }}
+
+ {{ config('app.name') }} {{ __('mail.team') }}
+
{{ $page->created_at }}
+ @if ($page->description->summary) +{{ $page->description->summary ?? '' }}
+ @endif + +{{ $page->created_at }}
+ @if ($page->description->summary) +{{ $page->description->summary ?? '' }}
+ @endif + +@{{ variable.name }}
+| {{ $group['attribute_group_name'] }} | |
| {{ $item['attribute'] }} | +{{ $item['attribute_value'] }} | +