Commit 4af9968f by liumengfei

优化详情页面尺码标题和SKU样式

parent 3da2f945
...@@ -170,13 +170,12 @@ ...@@ -170,13 +170,12 @@
<style> <style>
@media (min-width: 1024px){ @media (min-width: 1024px){
#product-intro__freeshipping-more-3{ #product-intro__freeshipping-more-3{
display: inline-block; display: revert;
display: inline-block;
color: #2d68a; color: #2d68a;
font-size: 12px; font-size: large;
line-height: 1;
float: right; float: right;
margin-top: 10px; margin-top: 0px;
text-decoration: underline;
} }
.action.primary.tocart{ .action.primary.tocart{
font-size: 18px; font-size: 18px;
......
...@@ -537,8 +537,14 @@ ul { ...@@ -537,8 +537,14 @@ ul {
font-size: 14px; font-size: 14px;
} }
.product-info-price .price-box {
margin-top: 20px;
margin-bottom: 20px;
}
.product-info-wrapper .price-final_price .price{ .product-info-wrapper .price-final_price .price{
font-size: 24px; font-size: 30px;
font-weight: 700;
font-family: auto;
} }
.product-info-wrapper{ .product-info-wrapper{
display: grid; display: grid;
...@@ -2247,14 +2253,17 @@ button.action.submit.primary { ...@@ -2247,14 +2253,17 @@ button.action.submit.primary {
//选择label样式 //选择label样式
.swatch-attribute-label{ .swatch-attribute-label{
margin-right: 0.25rem; margin-right: 1rem;
font-size: 16px; font-weight: 500;
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
margin-bottom: revert;
font-size: larger;
} }
.swatch-attribute {
margin-bottom: 1.5rem !important;
}
#product-intro__freeshipping-more-3{ #product-intro__freeshipping-more-3{
...@@ -2268,10 +2277,10 @@ button.action.submit.primary { ...@@ -2268,10 +2277,10 @@ button.action.submit.primary {
//详情页mobile修改 //详情页mobile修改
@media (max-width: 1024px){ @media (max-width: 1024px){
.product-info-wrapper .page-title span.base { .product-info-wrapper .page-title span.base {
font-size: 20px; font-size: 22px;
float: left; float: left;
margin-left: -10px; margin-left: -10px;
font-weight: 400; font-weight: 500;
} }
.product-info-wrapper .price-final_price .price { .product-info-wrapper .price-final_price .price {
...@@ -2327,31 +2336,30 @@ button.action.submit.primary { ...@@ -2327,31 +2336,30 @@ button.action.submit.primary {
width: 30px !important; width: 30px !important;
height: 30px !important; height: 30px !important;
background-clip: content-box!important; background-clip: content-box!important;
padding: 1px; padding: 3px;
border: 1px solid rgba(23,23,23,0.3);
} }
.product-info-main .swatch-option.color, .swatch-option.image{ .product-info-main .swatch-option.color, .swatch-option.image{
margin-right: 3% !important; margin-right: 10px !important;
} }
.swatch-option.color.selected{ .swatch-option.color.selected{
border: 2px solid black!important; border: 1px solid black!important;
} }
.swatch-option.image.selected{ .swatch-option.image.selected{
border: 2px solid black!important; border: 1px solid black!important;
} }
.swatch-option.text{ .swatch-option.text{
width: auto!important; width: auto!important;
padding: calc( 8.5px) calc( 11px); padding: calc( 8.5px) calc( 11px);
line-height:10px!important; line-height:10px!important;
min-width: 40px; min-width: 70px;
text-align: center; text-align: center;
font-size: 15px; font-size: 15px;
background: none!important; background: none!important;
border:2px solid rgba(23, 23, 23, 0.3); border:1px solid rgba(23, 23, 23, 0.3);
border-radius: 15px; border-radius: 15px;
margin-right: 10px; margin-right: 10px;
} }
...@@ -2542,6 +2550,10 @@ button.action.submit.primary { ...@@ -2542,6 +2550,10 @@ button.action.submit.primary {
display: none; display: none;
} }
.stock.available {
display: none;
}
//product view right //product view right
@media(min-width: 1024px) { @media(min-width: 1024px) {
.page-main>.columns>.sidebar-main{ .page-main>.columns>.sidebar-main{
...@@ -2553,9 +2565,7 @@ button.action.submit.primary { ...@@ -2553,9 +2565,7 @@ button.action.submit.primary {
width: 100%; width: 100%;
} }
.product-info-wrapper .page-title span.base{ .product-info-wrapper .page-title span.base{
font-size: 20px; font-size: 18px;
font-weight: 400;
color: #292929;
padding-bottom: 1px; padding-bottom: 1px;
margin-bottom: 0; margin-bottom: 0;
line-height: 0px; line-height: 0px;
...@@ -2955,6 +2965,14 @@ tr.grand.totals { ...@@ -2955,6 +2965,14 @@ tr.grand.totals {
} }
} }
.product-info-stock-sku {
display: flex;
align-items: center;
gap: 0.5rem;
border-bottom: 1px solid lightgrey;
padding-bottom: 10px;
font-size: 12px;
}
.swatch-option.selected:before{ .swatch-option.selected:before{
box-shadow:none; box-shadow:none;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment