no message

This commit is contained in:
pushuo 2022-08-24 17:24:46 +08:00
parent 5f9fae29b4
commit 6a072f886e
8 changed files with 61 additions and 9 deletions

View File

@ -3,6 +3,10 @@
font-family: "poppins";
src: url("/fonts/poppins/Poppins-Regular.ttf");
}
@font-face {
font-family: "poppins-bold";
src: url("/fonts/poppins/Poppins-Bold.ttf");
}
.min-h1 {
min-height: 100px;
}
@ -533,6 +537,10 @@ body.page-seller-product .share-link-pop .share-links-code img {
color: #fff;
}
table.table thead th, .fw-bold, h1, h2, h3, h4, h5, h6, b, strong, .card .card-header {
font-family: "poppins-bold", sans-serif;
}
[v-cloak] {
display: none;
}

View File

@ -24,6 +24,10 @@ body[class^=page-account-] {
font-family: "poppins";
src: url("/fonts/poppins/Poppins-Regular.ttf");
}
@font-face {
font-family: "poppins-bold";
src: url("/fonts/poppins/Poppins-Bold.ttf");
}
.min-h1 {
min-height: 100px;
}
@ -494,6 +498,10 @@ body[class^=page-account-] {
color: #fff;
}
table.table thead th, .fw-bold, h1, h2, h3, h4, h5, h6, b, strong, .card .card-header {
font-family: "poppins-bold", sans-serif;
}
header {
background: #fff;
}
@ -881,6 +889,13 @@ body.page-product .product-image .left .swiper-pager .swiper-button-prev::after
body.page-product .product-image .right {
border: 1px solid #eee;
}
body.page-product .stock-and-sku > div {
margin-bottom: 10px;
font-size: 14px;
}
body.page-product .stock-and-sku > div .title {
width: 80px;
}
body.page-product .variables-wrap .variable-info > div {
display: inline-flex;
align-items: center;

View File

@ -12,6 +12,10 @@
src: url('/fonts/poppins/Poppins-Regular.ttf');
}
@font-face {font-family: 'poppins-bold';
src: url('/fonts/poppins/Poppins-Bold.ttf');
}
@for $i from 1 through 6 {
.min-h#{$i} {
min-height: #{$i}00px;
@ -315,4 +319,8 @@ body.page-seller-product {
border-color: $primary;
color: #fff;
}
}
table.table thead th, .fw-bold, h1,h2,h3, h4, h5, h6, b, strong, .card .card-header {
font-family: 'poppins-bold', sans-serif;
}

View File

@ -12,6 +12,10 @@ body[class^="page-account-"] {
src: url('/fonts/poppins/Poppins-Regular.ttf');
}
@font-face {font-family: 'poppins-bold';
src: url('/fonts/poppins/Poppins-Bold.ttf');
}
@for $i from 1 through 6 {
.min-h#{$i} {
min-height: #{$i}00px;
@ -249,7 +253,9 @@ body[class^="page-account-"] {
}
}
}
}
table.table thead th, .fw-bold, h1,h2,h3, h4, h5, h6, b, strong, .card .card-header {
font-family: 'poppins-bold', sans-serif;
}

View File

@ -91,6 +91,17 @@ body.page-product {
}
}
.stock-and-sku {
> div {
margin-bottom: 10px;
font-size: 14px;
.title {
width: 80px;
}
}
}
.variables-wrap {
.variable-info {
> div {

View File

@ -16,4 +16,5 @@ return [
'brand' => 'Brand',
'category' => 'Category',
'model' => 'Model',
'quantity' => 'Quantity'
];

View File

@ -15,5 +15,6 @@ return [
'price' => '价格',
'brand' => '品牌',
'category' => '分类',
'model' => '型号'
'model' => '型号',
'quantity' => '库存'
];

View File

@ -44,13 +44,15 @@
<div class="peoduct-info">
<h1 class="mb-4">{{ $product['name'] }}</h1>
<div class="stock-and-sku mb-4">
<span :class="product.quantity > 0 ? 'text-success' : 'text-secondary'">
{{-- @{{ product.quantity > 0 ? 'In Stock' : 'Out Stock' }} --}}
<template v-if="product.quantity > 0">{{ __('shop/products.in_stock') }}</template>
<template v-else>{{ __('shop/products.out_stock') }}</template>
</span>
<span class="ms-3 text-muted">SKU: @{{ product.sku }}</span>
<span class="ms-3 text-muted">{{ __('shop/products.model') }}: @{{ product.model }}</span>
<div class="d-flex">
<span class="title text-muted">{{ __('product.quantity') }}:</span>
<div :class="product.quantity > 0 ? 'text-success' : 'text-secondary'">
<template v-if="product.quantity > 0">{{ __('shop/products.in_stock') }}</template>
<template v-else>{{ __('shop/products.out_stock') }}</template>
</div>
</div>
<div class="d-flex"><span class="title text-muted">SKU:</span>@{{ product.sku }}</div>
<div class="d-flex"><span class="title text-muted">{{ __('shop/products.model') }}:</span> @{{ product.model }}</div>
</div>
@if (0)
<div class="rating-wrap d-flex">