<!-- Настройки блока HW302 -->
<style>
/*Стили для блока HW302*/
[data-record-type="549"]{
border-radius: 30px;
box-shadow: 0px 3px 8px 0px #bda87f; }
</style>
<script>
//Добавляем блок HW302 в карточку товара
$('#rec68205726').appendTo('.t754__product-full');
</script>
<!-- Добавляем вторую кнопку в карточку товара -->
<style>
/*Стили для второй кнопки*/
.secbtn{
color: #BDA87F !important;
border:1px solid #BDA87F;
margin-left: 10px;
}
.secbtn:hover{
color: #ffffff !important;
}
@media screen and (max-width: 670px){
.secbtn{
margin-left: 0px;
}}
</style>
<script>
//Добавляем вторую кнопку...
$(".t754__btn-wrapper").append('<a href="#" class="t754__btn t-btn t-btn_sm secbtn "><table style="width:100%; height:100%;"><tbody><tr><td>Control price</td></tr></tbody></table></a>');
</script>
<!-- Добавляем треугольник и надпись HIT -->
<div class="triangle"></div>
<div class="slabel">HIT</div>
<style>
/*Стили для треугольника HIT*/
.triangle {
width: 0;
height: 0;
border-top: 130px solid #bda87f;
border-right: 130px solid transparent;
position: absolute;
top: 0px;
z-index: 9;
}
/*Стили для надписи HIT*/
.slabel {
position: absolute;
z-index: 99;
top: 22px;
color: #ffffff;
font-family: Roboto;
font-size: 34px;
left: 17px;
transform: rotate(-45deg);
}
</style>
<script>
//Переносим треугольник и надпись в карточку товара
$(' .triangle , .slabel').appendTo('.t754 .t-slds');
</script>
<!-- Добавляем таблицу с параметрами товара -->
<table class="tabprod">
<tbody><tr>
<td>Color</td>
<td>RAL 67890</td>
</tr>
<tr>
<td>Weight</td>
<td>12 kg</td>
</tr>
<tr>
<td>Material</td>
<td>М/L</td>
</tr>
</tbody></table>
<style>
/*Стили для таблицы*/
table.tabprod {
margin-top: 15px;
width: 100%;
border-spacing: 0px;
border-collapse: collapse;
text-align: center;
}
/*Стили для ячеек в таблице*/
table.tabprod td {
border: 1px solid #bda87f45;
padding: 6px;
}
</style>
<script>
//Переносим таблицу в карточку товара
$('.t754__descr span:even').empty().append($('.tabprod'));
</script>
<!-- Добавляем фото платёжных систем -->
<style>
/*Стиль для фото платёжных сиситем*/
.paysistem {
width: 75%;
transition: all 0.5s linear;
}
/*Стиль для фото платёжных сиситем при наведении*/
.paysistem:hover {
filter: brightness(1.3);
}
</style>
<script>
//Добавляем фото платёжных систем...
$(".t754__col_right").append('<img src="https://clck.ru/ESZgz" class="paysistem t-img" imgfield="img">');
</script>
Color | RAL 67890 |
Weight | 12 kg |
Material | М/L |