Description
html,body,div,p{
display: block;
margin: 0;
padding: 0;
font-size:12px;
}
.sz_promotion_top p {
line-height:14px;
}
a {
display: block;
font-size: 12px;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:active {
text-decoration: none;
}
a:focus {
text-decoration: none;
}
.sz_promotion_top{
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
background: blue;
width: 100%;
}
.sz_promotion_title_top{
height: 42px;
line-height: 42px;
width: 100%;
/* 字体颜色 */
color: #FFFFFF;
/* 标题背景色 纯色 渐变色 */
background: linear-gradient(to bottom, #000000, #4A4A4A);
/* 字体大小 */
font-size: 22px;
/* 粗体 normal bold */
font-weight:normal;
text-indent: 2%;
/* 是否显示 -webkit-box none */
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.sz_promotion_container_top{
width: 100%;
flex-wrap: wrap;
box-sizing: border-box;
padding: 0 1%;
/* 物品区背景色 纯色 渐变色 */
background: linear-gradient(to bottom, #000000, #000000);
/* 边框颜色 */
border:1px #000000 solid;
display: flex;
}
.sz_promotion_item_top{
/* 列数 eg: 6 */
width: calc((100% – 6 * 1%) / 6);
/* 物品背景色 */
background: linear-gradient(to bottom, #9B9B9B, #4A4A4A);
box-sizing: border-box;
padding: 1%;
/* 边框弧度 */
border-radius: 2;
/* 边框颜色 */
border:1px #000 solid;
margin: 10px .5%;
}
.item_img_top{
display: block;
text-align: center;
width: 100%;
margin: 0 auto;
background-size: auto 96%;
background-repeat: no-repeat;
background-position: center center;
padding-top: 100%;
content: “”;
}
.item_title_top{
/* 物品标题字体颜色 */
color: #FFFFFF;
margin-bottom: 4px;
/* 是否显示 block none */
display: block;
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
height: 42px;
}
.item_price_top{
/* 物品价格字体颜色 */
color: #FFFFFF;
margin-bottom: 4px;
/* 是否显示 block none */
display: -webkit-box;
font-size: 14px;
}
.item_fixed_top{
/* 一口价字体颜色 */
color: #FFFFFF;
/* 是否显示 block none */
display: -webkit-box;
}
.item_free_top{
/* 免运费字体颜色 */
color:#FFFFFF;
/* 是否显示 block none */
display: -webkit-box;
}
html,body,div,p{
display: block;
margin: 0;
padding: 0;
font-size:12px;
}
.sz_promotion_bottom p {
line-height:14px;
}
a {
display: block;
font-size: 12px;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:active {
text-decoration: none;
}
a:focus {
text-decoration: none;
}
.sz_promotion_bottom{
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
background: blue;
width: 100%;
}
.sz_promotion_title_bottom{
height: 42px;
line-height: 42px;
width: 100%;
/* 字体颜色 */
color: #FFFFFF;
/* 标题背景色 纯色 渐变色 */
background: linear-gradient(to bottom, #000000, #4A4A4A);
/* 字体大小 */
font-size: 22px;
/* 粗体 normal bold */
font-weight:normal;
text-indent: 2%;
/* 是否显示 -webkit-box none */
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.sz_promotion_container_bottom{
width: 100%;
flex-wrap: wrap;
box-sizing: border-box;
padding: 0 1%;
/* 物品区背景色 纯色 渐变色 */
background: linear-gradient(to bottom, #000000, #000000);
/* 边框颜色 */
border:1px #000000 solid;
display: flex;
}
.sz_promotion_item_bottom{
/* 列数 eg: 6 */
width: calc((100% – 6 * 1%) / 6);
/* 物品背景色 */
background: linear-gradient(to bottom, #9B9B9B, #4A4A4A);
box-sizing: border-box;
padding: 1%;
/* 边框弧度 */
border-radius: 2;
/* 边框颜色 */
border:1px #000 solid;
margin: 10px .5%;
}
.item_img_bottom{
display: block;
text-align: center;
width: 100%;
margin: 0 auto;
background-size: auto 96%;
background-repeat: no-repeat;
background-position: center center;
padding-top: 100%;
content: “”;
}
.item_title_bottom{
/* 物品标题字体颜色 */
color: #FFFFFF;
margin-bottom: 4px;
/* 是否显示 block none */
display: block;
display: -webkit-box;
overflow: hidden;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
height: 42px;
}
.item_price_bottom{
/* 物品价格字体颜色 */
color: #FFFFFF;
margin-bottom: 4px;
/* 是否显示 block none */
display: -webkit-box;
font-size: 14px;
}
.item_fixed_bottom{
/* 一口价字体颜色 */
color: #FFFFFF;
/* 是否显示 block none */
display: -webkit-box;
}
.item_free_bottom{
/* 免运费字体颜色 */
color:#FFFFFF;
/* 是否显示 block none */
display: -webkit-box;
}
RV Caravan Motorhome Camper S7P Push-Out Window 35.4″ x 17.7″mm 41-42mm
159.99USD
Buy it now
Free shipping
2PC Front Upper Control Arms For 2006-2022 DODGE RAM 1500 4WD 2WD 2″-4″ Lift
139.95USD
Buy it now
Free shipping
Vland Tail Lights For 2007-2013 BMW Mini Cooper R55 R56 R57 Red LED Rear Lamp US
204.99USD
Buy it now
Free shipping
2X LED Projector Headlight For 2014-2018 BMW Mini Cooper F56 w/Startup Animation
549.95USD
Buy it now
Free shipping
4672639AA New Back Up Camera for Town and Country Dodge Grand Caravan Chrysler
75.99USD
Buy it now
Free shipping
New Electric Engine Water Pump For 10-15 Toyota Prius CT200h WPT-190 161A0-29015
79.96USD
Buy it now
Free shipping
Set(2) Red Clear LED Tail Lights Rear Lamps For 2006-2012 Lexus IS350 IS250 USA
279.99USD
Buy it now
Free shipping
VLAND LED Headlights For 2016 2017 2018 Chevrolet Camaro LS LT SS Sequential Set
599.99USD
Buy it now
Free shipping
16PCS AC Fuel Line Quick Disconnect Tools Set 7 Size Car Removal Tool Kit US
11.99USD
Buy it now
Free shipping
New Macerator Waste Water Pump For Boat RV Marine 45LPM 12V 3200-000 3200-001
71.98USD
Buy it now
Free shipping
8PCS Green LED Rock Lights For Offroad Jeep Truck ATV UTV Underbody Lighting Kit
9.99USD
Buy it now
Free shipping
4x for Audi VolksWagen Staggered 15 MM & 20 MM Wheel Spacers 5×100 5×112 57.1 mm
71.98USD
Buy it now
Free shipping
//判断设备是PC端还是移动端: false PC端 | true 移动端
const isMobile = () => {
return !!navigator.userAgent.match(/(iPhone|iPod|Android|ios|iOS|WebOS|Windows Phone|Phone)/i);
}
console.log(isMobile())
const mobileElement = document.getElementById(‘mobileElement’)
if(isMobile()){
mobileElement.style.display = ‘block’
}else{
mobileElement.style.display = ‘none’
}
Reviews
There are no reviews yet.