From 5880fbaa0ab0e87531eddc9c2d42906c4ff3c0d5 Mon Sep 17 00:00:00 2001 From: liqianjin <949671634@qq.com> Date: Mon, 29 May 2023 14:08:51 +0800 Subject: [PATCH] init --- themes/.gitignore | 2 + themes/default/account/account.blade.php | 101 +++++ themes/default/account/address.blade.php | 127 ++++++ themes/default/account/edit.blade.php | 167 +++++++ themes/default/account/forgotten.blade.php | 146 ++++++ themes/default/account/login.blade.php | 201 +++++++++ themes/default/account/order.blade.php | 79 ++++ themes/default/account/order_info.blade.php | 241 ++++++++++ .../default/account/order_success.blade.php | 57 +++ themes/default/account/register.blade.php | 49 ++ themes/default/account/rmas/form.blade.php | 113 +++++ themes/default/account/rmas/index.blade.php | 59 +++ themes/default/account/rmas/info.blade.php | 96 ++++ themes/default/account/wishlist.blade.php | 80 ++++ themes/default/brand/info.blade.php | 20 + themes/default/brand/list.blade.php | 41 ++ themes/default/cart/cart.blade.php | 202 +++++++++ themes/default/cart/mini.blade.php | 70 +++ themes/default/category.blade.php | 152 +++++++ themes/default/checkout.blade.php | 162 +++++++ themes/default/checkout/_address.blade.php | 289 ++++++++++++ themes/default/checkout/payment.blade.php | 41 ++ .../components/account/sidebar.blade.php | 35 ++ themes/default/components/alert.blade.php | 5 + .../default/components/breadcrumbs.blade.php | 15 + themes/default/components/no-data.blade.php | 7 + .../design/_partial/_module_tool.blade.php | 10 + themes/default/design/brand.blade.php | 26 ++ themes/default/design/icons.blade.php | 28 ++ themes/default/design/image100.blade.php | 9 + themes/default/design/image200.blade.php | 13 + themes/default/design/image300.blade.php | 13 + themes/default/design/image401.blade.php | 20 + themes/default/design/product.blade.php | 68 +++ themes/default/design/rich_text.blade.php | 7 + themes/default/design/slideshow.blade.php | 47 ++ themes/default/design/tab_product.blade.php | 47 ++ themes/default/errors/401.blade.php | 5 + themes/default/errors/403.blade.php | 5 + themes/default/errors/404.blade.php | 9 + themes/default/errors/419.blade.php | 5 + themes/default/errors/429.blade.php | 5 + themes/default/errors/500.blade.php | 5 + themes/default/errors/503.blade.php | 5 + themes/default/errors/layout.blade.php | 21 + themes/default/errors/minimal.blade.php | 34 ++ themes/default/home.blade.php | 17 + themes/default/layout/footer.blade.php | 102 +++++ themes/default/layout/header.blade.php | 171 +++++++ themes/default/layout/mail.blade.php | 44 ++ themes/default/layout/master.blade.php | 62 +++ themes/default/layout/product.blade.php | 8 + themes/default/mails/forgotten.blade.php | 39 ++ themes/default/mails/order_new.blade.php | 88 ++++ themes/default/mails/order_update.blade.php | 77 ++++ themes/default/mails/registration.blade.php | 37 ++ themes/default/page_categories/home.blade.php | 50 +++ themes/default/page_categories/show.blade.php | 70 +++ themes/default/pages/article.blade.php | 104 +++++ themes/default/pages/single.blade.php | 16 + themes/default/product.blade.php | 417 ++++++++++++++++++ themes/default/search.blade.php | 22 + themes/default/shared/address-form.blade.php | 197 +++++++++ .../default/shared/filter_bar_block.blade.php | 43 ++ .../shared/filter_sidebar_block.blade.php | 103 +++++ themes/default/shared/form-msg.blade.php | 5 + themes/default/shared/menu-mobile.blade.php | 45 ++ themes/default/shared/menu-pc.blade.php | 61 +++ .../shared/pagination/bootstrap-4.blade.php | 43 ++ .../shared/pagination/default.blade.php | 46 ++ .../shared/pagination/semantic-ui.blade.php | 36 ++ .../pagination/simple-bootstrap-4.blade.php | 27 ++ .../pagination/simple-default.blade.php | 19 + .../pagination/simple-tailwind.blade.php | 25 ++ .../shared/pagination/tailwind.blade.php | 106 +++++ themes/default/shared/product.blade.php | 63 +++ themes/default/shared/quantity.blade.php | 7 + themes/default/shared/steps.blade.php | 18 + 78 files changed, 5107 insertions(+) create mode 100644 themes/.gitignore create mode 100644 themes/default/account/account.blade.php create mode 100644 themes/default/account/address.blade.php create mode 100644 themes/default/account/edit.blade.php create mode 100644 themes/default/account/forgotten.blade.php create mode 100644 themes/default/account/login.blade.php create mode 100644 themes/default/account/order.blade.php create mode 100644 themes/default/account/order_info.blade.php create mode 100644 themes/default/account/order_success.blade.php create mode 100644 themes/default/account/register.blade.php create mode 100644 themes/default/account/rmas/form.blade.php create mode 100644 themes/default/account/rmas/index.blade.php create mode 100644 themes/default/account/rmas/info.blade.php create mode 100644 themes/default/account/wishlist.blade.php create mode 100644 themes/default/brand/info.blade.php create mode 100644 themes/default/brand/list.blade.php create mode 100644 themes/default/cart/cart.blade.php create mode 100644 themes/default/cart/mini.blade.php create mode 100644 themes/default/category.blade.php create mode 100644 themes/default/checkout.blade.php create mode 100644 themes/default/checkout/_address.blade.php create mode 100644 themes/default/checkout/payment.blade.php create mode 100644 themes/default/components/account/sidebar.blade.php create mode 100644 themes/default/components/alert.blade.php create mode 100644 themes/default/components/breadcrumbs.blade.php create mode 100644 themes/default/components/no-data.blade.php create mode 100644 themes/default/design/_partial/_module_tool.blade.php create mode 100644 themes/default/design/brand.blade.php create mode 100644 themes/default/design/icons.blade.php create mode 100644 themes/default/design/image100.blade.php create mode 100644 themes/default/design/image200.blade.php create mode 100644 themes/default/design/image300.blade.php create mode 100644 themes/default/design/image401.blade.php create mode 100644 themes/default/design/product.blade.php create mode 100644 themes/default/design/rich_text.blade.php create mode 100644 themes/default/design/slideshow.blade.php create mode 100644 themes/default/design/tab_product.blade.php create mode 100644 themes/default/errors/401.blade.php create mode 100644 themes/default/errors/403.blade.php create mode 100644 themes/default/errors/404.blade.php create mode 100644 themes/default/errors/419.blade.php create mode 100644 themes/default/errors/429.blade.php create mode 100644 themes/default/errors/500.blade.php create mode 100644 themes/default/errors/503.blade.php create mode 100644 themes/default/errors/layout.blade.php create mode 100644 themes/default/errors/minimal.blade.php create mode 100644 themes/default/home.blade.php create mode 100644 themes/default/layout/footer.blade.php create mode 100644 themes/default/layout/header.blade.php create mode 100644 themes/default/layout/mail.blade.php create mode 100644 themes/default/layout/master.blade.php create mode 100644 themes/default/layout/product.blade.php create mode 100644 themes/default/mails/forgotten.blade.php create mode 100644 themes/default/mails/order_new.blade.php create mode 100644 themes/default/mails/order_update.blade.php create mode 100644 themes/default/mails/registration.blade.php create mode 100644 themes/default/page_categories/home.blade.php create mode 100644 themes/default/page_categories/show.blade.php create mode 100644 themes/default/pages/article.blade.php create mode 100644 themes/default/pages/single.blade.php create mode 100644 themes/default/product.blade.php create mode 100644 themes/default/search.blade.php create mode 100644 themes/default/shared/address-form.blade.php create mode 100644 themes/default/shared/filter_bar_block.blade.php create mode 100644 themes/default/shared/filter_sidebar_block.blade.php create mode 100644 themes/default/shared/form-msg.blade.php create mode 100644 themes/default/shared/menu-mobile.blade.php create mode 100644 themes/default/shared/menu-pc.blade.php create mode 100644 themes/default/shared/pagination/bootstrap-4.blade.php create mode 100644 themes/default/shared/pagination/default.blade.php create mode 100644 themes/default/shared/pagination/semantic-ui.blade.php create mode 100644 themes/default/shared/pagination/simple-bootstrap-4.blade.php create mode 100644 themes/default/shared/pagination/simple-default.blade.php create mode 100644 themes/default/shared/pagination/simple-tailwind.blade.php create mode 100644 themes/default/shared/pagination/tailwind.blade.php create mode 100644 themes/default/shared/product.blade.php create mode 100644 themes/default/shared/quantity.blade.php create mode 100644 themes/default/shared/steps.blade.php 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'] }} | +