淘宝仿真
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>淘宝仿真</title>
<style type="text/css">
.goods{
width: 220px;
height: 360px;
border: 1px solid #f40;
}
img{
width: 220px;
}
.found{
width: 220px;
height:140px;
/* border: 1px solid greenyellow; */
}
img,.found{
display: block;
}
.found_1{
width: 220px;
border-top: 1px solid white;
color: white;
position: relative;
}
/* .found_1:hover{
background-color: none;
} */
.fs>a{
color: white;
font-size: 12px;
text-decoration: none;
}
.ft>a{
color: white;
font-size: 12px;
text-decoration: none;
}
a:hover{
font-size: 15px;
font-weight: bold;
}
.found>.found_1:hover>.ts{
display: block;
}
.fs{
/* border: 1px solid #f40; */
width: 110px;
height: 40px;
text-align: center;
line-height: 40px;
background-color: rgba(231, 101, 25, 0.5);
float: right;
}
.ft{
border-right:1px solid rgba(255, 255, 255,0.5) ;
width: 109px;
height: 40px;
text-align: center;
line-height: 40px;
background-color: rgba(231, 101, 25, 0.5);
float: left;
}
.ts{
display: none;
margin-top:-41px ;
width: 220px;
height: 40px;
/* background-color: #f00; */
position:absolute;
}
.price{
/* border: 1px solid gray; */
margin-left:3px;
margin-right:3px;
}
.price>span{
line-height: 20px;
vertical-align: middle;
}
.price>span:first-child{
color: #f40;
font-size: 20px;
font-weight: bold;
}
.price>span:nth-child(2){
font-size: 12px;
color: white;
background-color: #f40;
}
.price>:last-child{
float: right;
font-size: 13px;
color: #888;
}
#test{
margin-left:3px;
margin-right:3px;
}
#test>a{
color: #444;
font-size: 12px;
}
#test>a:hover{
text-decoration: underline;
color: #f40;
}
.store{
/* border: 1px solid gray; */
margin-left:3px;
margin-right:3px;
margin-top:7px
}
#qld{
font-size: 13px;
text-decoration: underline;
color: #888;
}
#location{
float: right;
color: #888;
margin-right: 10px;
}
.jl_pic{
width: 41px;
margin-left: 3px;
/* height: 40px; */
/* border: 1px solid red; */
}
.jl_pic>span{
width: 18px;
height: 19px;
/* border: 1px solid rebeccapurple; */
}
#pic_1{
float: left;
background-image: url("pic/精灵图.png");
background-repeat: no-repeat;
background-position: -211px -198px;
}
#pic_2{
float: right;
background-image: url("pic/精灵图.png");
background-repeat: no-repeat;
background-position: -295px -160px;
}
#pic_3>a>img{
border-radius: 50%;
width: 12%;
float: right;
margin-top: -20px;
margin-right: 10px;
}
</style>
</head>
<body>
<div class="container">
<div class="goods">
<img src="./pic/图.png" alt="">
<div class="found">
<div class="found_1">
<div class="ts">
<div class="ft"><a href="#">找同款</a></div>
<div class="fs"><a href="#">找相似</a></div>
</div>
</div>
<div class="price">
<span>¥1999.00</span>
<span>包邮</span>
<span>0人付款</span>
</div>
<div id="test">
<a href="https://item.taobao.com/item.htm?spm=a230r.1.14.68.620862c7FOIK1C&id=528227410949&ns=1&abbucket=0#detail" target="_blank">
欧兰薇雅欧洲进口水晶珍珠水晶珍珠戒指女食指指环心形礼物
</a>
</div>
<div class="store">
<div style="width:120px;height: 30px;float: left;">
<div style="float: left;margin-top:7px ;">
<div style="width: 10px;height:3px;background-color: #f40;"></div>
<div style="width: 10px;height:3px;background-color: #f40;margin-top: 2px;"></div>
<div style="width: 10px;height:3px;background-color: #f40;margin-top: 2px;"></div>
</div>
<div style="float: right;margin-right: 13px">
<a id="qld" href="#">欧兰薇雅旗靓店</a>
</div>
</div>
<div id="location">
上海
</div>
</div>
<div class="jl_pic">
<span id="pic_1"></span>
<span id="pic_2"></span>
</div>
<div id="pic_3">
<a href="https://login.taobao.com/member/login.jhtml?redirectURL=https%3a%2f%2fs.taobao.com:443/search%2F_____tmd_____%2Fpage%2Flogin_jump%3Frand%3DS3WxGHAgAt756EpznwfNzJq2AFA2qBNla3j6EINUS8We9dazM_iKElp8DwVSHZUevpC41Bx7RzivXIj9RnZgdg%26_lgt_%3D0ddccd83f47917a83701f130c8f7e7af___215918___9b34959ea01b6c540cb4a3ae0cc41149___837b211a0c5c4d0311617da5fff37e25001413704de625b860e2518faad0f036d9321a11eb0afd6f25d97c393f8c76232377efde38d89c32791cf95738d6bbd8d4b6c45912e939ccecb04d5f09910d4cf0e031931b9132ad85013eb3be5f87fdfda1ffe6d0052b26010cff24765b937333be60e83f16310c86c494a16dd5d1b16c7f2de620667f2e22d717e3d5c8f4f1ef8b8415db5cc8cb7b25c3032c6b30b5%26x5referer%3Dhttps%253A%252F%252Fs.taobao.com%252Fsearch%253Fspm%253Da21bo.jianhua.201867-main.7.195f11d9T17R3I%2526q%253D%2525E7%2525BE%25258E%2525E5%2525A6%252586&uuid=0ddccd83f47917a83701f130c8f7e7af" target="_blank">
<img src="./pic/客服.png" alt="">
</a>
</div>
</div>
</div>
</div>
</body>
</html>
小米页面
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>小米网页</title>
<style type="text/css">
.t_1{
/* border: 1px solid red; */
width: 280px;
height: 200px;
background-color:#5f5750;
}
.t_1>div{
width: 90px;
height: 82px;
/* border: 1px solid green; */
float: left;
text-align: center;
}
a{
font-size: 20px;
text-decoration: none;
color: white;
}
.img_1{
opacity: 0.5;
margin-top: 5px;
margin-left: 5px;
margin-right: 5px;
}
.img_1:hover{
opacity: 1;
}
.k_1{
opacity: 0.5;
border-left: 1px solid white;
margin-left: 10px;
}
.k_2{
opacity: 0.5;
border-left: 1px solid white;
margin-top: 10px;
margin-left: 10px;
}
.t_2{
/* border: 1px solid red; */
width: 280px;
height: 200px;
}
.t_3{
/* border: 1px solid red; */
width: 280px;
height: 200px;
}
</style>
</head>
<body>
<table>
<tbody>
<tr>
<td class="t_1">
<div class="k_1">
<a href="https://api.jr.mi.com/activity/scene/scenePCsearch.html?from=search" target="_blank" >
<div class="img_1">
<img src="./pic/1.png" alt="保障服务"><br>
保障服务
</div>
</a>
</div>
<div class="k_1">
<a href="https://qiye.mi.com/" target="_blank" >
<div class="img_1">
<img src="./pic/2.png" alt="企业团购"><br>
企业团购
</div>
</a>
</div>
<div class="k_1">
<a href="https://www.mi.com/shop/order/fcode" target="_blank" >
<div class="img_1">
<img src="./pic/F.png" alt="F码通道"><br>
F码通道
</div>
</a>
</div>
<div class="k_2">
<a href="https://10046.mi.com/" target="_blank" >
<div class="img_1">
<img src="./pic/4.png" alt="米粉卡"><br>
米粉卡
</div>
</a>
</div>
<div class="k_2">
<a href="https://www.mi.com/a/h/16769.html" target="_blank" >
<div class="img_1">
<img src="./pic/5.png" alt="以旧换新"><br>
以旧换新
</div>
</a>
</div>
<div class="k_2">
<a href="https://recharge.10046.mi.com" target="_blank" >
<div class="img_1">
<img src="./pic/6.png" alt="话费充值"><br>
话费充值
</div>
</a>
</div>
</td>
<td class="t_2">
<a href="https://www.mi.com/shop/buy/detail?product_id=18075" target="_blank">
<img src="./pic/7.jpg" alt="" width="280" height="200">
</a>
</td>
<td class="t_2">
<a href="https://www.mi.com/shop/buy/detail?product_id=10050021" target="_blank">
<img src="./pic/8.jpg" alt="" width="280" height="200">
</a>
</td>
<td class="t_2">
<a href="https://www.mi.com/xiaomimixfold2" target="_blank">
<img src="./pic/9.jpg" alt="" width="280" height="200">
</a>
</td>
</tr>
<tr>
<td class="t_3" colspan="4">
<div style="margin-top: 50px;border: 10px solid powderblue;">
<a href="https://www.mi.com/a/h/28256.html?sign=c7a145214e7de666a5e8e83d5120e20e" target="_blank">
<img src="./pic/10.webp" alt="" width="1350" height="200">
</a>
</div>
</td>
<!-- <td></td> -->
<!-- <td></td> -->
</tr>
</tbody>
</table>
</body>
</html>