Commit 4af9968f by liumengfei

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

parent 3da2f945
......@@ -170,13 +170,12 @@
<style>
@media (min-width: 1024px){
#product-intro__freeshipping-more-3{
display: inline-block;
display: inline-block;
display: revert;
color: #2d68a;
font-size: 12px;
line-height: 1;
font-size: large;
float: right;
margin-top: 10px;
margin-top: 0px;
text-decoration: underline;
}
.action.primary.tocart{
font-size: 18px;
......
......@@ -537,8 +537,14 @@ ul {
font-size: 14px;
}
.product-info-price .price-box {
margin-top: 20px;
margin-bottom: 20px;
}
.product-info-wrapper .price-final_price .price{
font-size: 24px;
font-size: 30px;
font-weight: 700;
font-family: auto;
}
.product-info-wrapper{
display: grid;
......@@ -2247,14 +2253,17 @@ button.action.submit.primary {
//选择label样式
.swatch-attribute-label{
margin-right: 0.25rem;
font-size: 16px;
font-weight: 700;
overflow: hidden;
margin-right: 1rem;
font-weight: 500;
text-overflow: ellipsis;
white-space: nowrap;
margin-bottom: revert;
font-size: larger;
}
.swatch-attribute {
margin-bottom: 1.5rem !important;
}
#product-intro__freeshipping-more-3{
......@@ -2268,10 +2277,10 @@ button.action.submit.primary {
//详情页mobile修改
@media (max-width: 1024px){
.product-info-wrapper .page-title span.base {
font-size: 20px;
font-size: 22px;
float: left;
margin-left: -10px;
font-weight: 400;
font-weight: 500;
}
.product-info-wrapper .price-final_price .price {
......@@ -2327,31 +2336,30 @@ button.action.submit.primary {
width: 30px !important;
height: 30px !important;
background-clip: content-box!important;
padding: 1px;
border: 1px solid rgba(23,23,23,0.3);
padding: 3px;
}
.product-info-main .swatch-option.color, .swatch-option.image{
margin-right: 3% !important;
margin-right: 10px !important;
}
.swatch-option.color.selected{
border: 2px solid black!important;
border: 1px solid black!important;
}
.swatch-option.image.selected{
border: 2px solid black!important;
border: 1px solid black!important;
}
.swatch-option.text{
width: auto!important;
padding: calc( 8.5px) calc( 11px);
line-height:10px!important;
min-width: 40px;
min-width: 70px;
text-align: center;
font-size: 15px;
background: none!important;
border:2px solid rgba(23, 23, 23, 0.3);
border:1px solid rgba(23, 23, 23, 0.3);
border-radius: 15px;
margin-right: 10px;
}
......@@ -2542,6 +2550,10 @@ button.action.submit.primary {
display: none;
}
.stock.available {
display: none;
}
//product view right
@media(min-width: 1024px) {
.page-main>.columns>.sidebar-main{
......@@ -2553,9 +2565,7 @@ button.action.submit.primary {
width: 100%;
}
.product-info-wrapper .page-title span.base{
font-size: 20px;
font-weight: 400;
color: #292929;
font-size: 18px;
padding-bottom: 1px;
margin-bottom: 0;
line-height: 0px;
......@@ -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{
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