style:产品详情样式

This commit is contained in:
2025-07-30 15:35:16 +08:00
parent 2ff6d274d9
commit 3544c08005
2 changed files with 57 additions and 10 deletions

View File

@@ -133,8 +133,10 @@
{/notempty} {/notempty}
</div> </div>
<!-- 富文本渲染--> <!-- 富文本渲染-->
<div class="products_des" id="detail"> <div class="ql-container">
{$product.detail|default=''|raw} <div class="products_des ql-editor" id="detail">
{$product.detail|default=''|raw}
</div>
</div> </div>
</div> </div>
<!-- 关联产品 --> <!-- 关联产品 -->

View File

@@ -1567,11 +1567,56 @@ div{
width: 80%; width: 80%;
margin: auto; margin: auto;
} }
.star {
position: absolute; .products_des {
top: 0; width: 100%;
width: 40%; margin-bottom: 50px;
height: 15px; }
background-image: url(../images/star_orange.png); .products_des img {
background-position: 0 0; width: 100%;
} }
.de_t_n {
font-size: 1.5em;
color: #333;
}
.detail_title {
text-align: center;
padding: 2% 0;
}
.detail_title p {
line-height: 2em;
}
.detail_con_a {
margin: auto;
overflow: hidden;
}
.lj_detail_text,
.lj_detail_texts {
font-size: 0.875em;
}
.lj_detail_text p {
line-height: 1.6em;
padding: 0.5% 0;
}
/*seo-pro*/
.seo-pro h3 {
font-size: 1.5em;
text-align: center;
color: #333;
margin: 2% 0 1%;
line-height: 1.2;
font-weight: 400;
}
.seo-pro p {
text-align: center;
margin: 0 0 11px;
}
.seo-pro a {
color: #333;
text-decoration: none;
}
.sa_blue,
.sa_blue a,
.seo-pro a:hover {
color: #009fdf;
}