Blogger Information
Blog 12
fans 0
comment 0
visits 5748
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
淘宝PC端首页
PHP是世界上最好的语言
Original
408 people have browsed it

html

  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  7. <title>淘宝网-淘!我喜欢</title>
  8. <link rel="stylesheet" href="css/index.css"/>
  9. <link rel="stylesheet" href="https://at.alicdn.com/t/c/font_3352150_1wav4j5ngdyj.css"/>
  10. <link rel="stylesheet" href="//at.alicdn.com/t/c/font_3742203_q7fatx3p8sc.css"/>
  11. <link rel="stylesheet" href="https://at.alicdn.com/t/c/font_3352150_aaz88xspkur.css" />
  12. <style>
  13. </style>
  14. </head>
  15. <body>
  16. <head>
  17. <div class="site-nav">
  18. <div class="site-nav-bd">
  19. <ul class="site-nav-bd-l">
  20. <li class="site-nav-menu" data-name="region">
  21. <div class="site-nav-menu-hd">
  22. <span class="site-nav-region">中国大陆</span>
  23. <span class="site-nav-arrow">
  24. <span class="iconfont icon-xiajiantou"></span>
  25. </span>
  26. </div>
  27. <div class="site-nav-menu-bd site-nav-menu-list">
  28. <ul class="site-nav-region-list site-nav-menu-bd-panel menu-bd-panel" role="listbox" aria-expanded="true">
  29. <li class="site-nav-region-item J_RegionItem" role="option">全球</li>
  30. <li class="site-nav-region-item J_RegionItem" role="option">中国大陆</li>
  31. <li class="site-nav-region-item J_RegionItem" role="option">中国香港</li>
  32. <li class="site-nav-region-item J_RegionItem" role="option">中国台湾</li>
  33. <li class="site-nav-region-item J_RegionItem" role="option">中国澳门</li>
  34. <li class="site-nav-region-item J_RegionItem" role="option">韩国</li>
  35. <li class="site-nav-region-item J_RegionItem" role="option">马来西亚</li>
  36. <li class="site-nav-region-item J_RegionItem" role="option">澳大利亚</li>
  37. <li class="site-nav-region-item J_RegionItem" role="option">新加坡</li>
  38. <li class="site-nav-region-item J_RegionItem" role="option">新西兰</li>
  39. <li class="site-nav-region-item J_RegionItem" role="option">加拿大</li>
  40. <li class="site-nav-region-item J_RegionItem" role="option">日本</li>
  41. <li class="site-nav-region-item J_RegionItem" role="option">越南</li>
  42. <li class="site-nav-region-item J_RegionItem" role="option">泰国</li>
  43. <li class="site-nav-region-item J_RegionItem" role="option">菲律宾</li>
  44. <li class="site-nav-region-item J_RegionItem" role="option">柬埔寨</li>
  45. </ul>
  46. </div>
  47. <li class="site-nav-menu site-nav-login ">
  48. <div class="site-nav-sign">
  49. <a href="//login.taobao.com/member/login.jhtml?" target="_top" class="h">亲,请登录</a>
  50. <a href="//reg.taobao.com/member/new_register.jhtml?from=tbtop&amp;ex_info=&amp;ex_sign=" target="_top">免费注册</a>
  51. </div>
  52. </li>
  53. <li class="site-nav-menu site-nav-mobile">
  54. <div class="site-nav-menu-hd">
  55. <a href="https://market.m.taobao.com/app/fdilab/download-page/main/index.html" target="_top">
  56. <span>手机逛淘宝</span>
  57. </a>
  58. </div>
  59. </li>
  60. <li>
  61. <a href="javascript:void(0)" id="cniil_wza" target="_self">
  62. <span>网页无障碍</span>
  63. </a>
  64. </li>
  65. </ul>
  66. <ul class="site-nav-bd-r">
  67. <li class="site-nav-menu">
  68. <div class="site-nav-menu-hd">
  69. <a href="#">
  70. <span>我的淘宝</span>
  71. </a>
  72. <span>
  73. <span class="iconfont icon-xiajiantou"></span>
  74. </span>
  75. </div>
  76. <div class="site-nav-menu-bd">
  77. <div class="site-nav-menu-bd-panel">
  78. <a href="#">
  79. 已买到的宝宝
  80. </a>
  81. <a href="#">
  82. 我的足迹
  83. </a>
  84. </div>
  85. </div>
  86. </li>
  87. <li class="site-nav-menu">
  88. <div class="site-nav-menu-hd">
  89. <a href="#" style="display: flex;">
  90. <span class="iconfont icon-gouwuchefill" style="margin-right:5px; color: red; font-size: 12px;"></span>
  91. <span>购物车</span>
  92. <strong class="h" id="J_MiniCartNum"></strong>
  93. </a>
  94. </div>
  95. </li>
  96. <li class="site-nav-menu">
  97. <div class="site-nav-menu-hd">
  98. <a href="#" style="display: flex;">
  99. <span class="iconfont icon-shoucang" style="margin-right:5px;font-size: 12px;"></span>
  100. <span>收藏夹</span>
  101. </a>
  102. <span class="iconfont icon-xiajiantou"></span>
  103. </div>
  104. <div class="site-nav-menu-bd">
  105. <div class="site-nav-menu-bd-panel">
  106. <a href="#">
  107. 收藏的宝贝
  108. </a>
  109. <a href="#">
  110. 收藏的店铺
  111. </a>
  112. </div>
  113. </div>
  114. </li>
  115. <li class="site-nav-menu">
  116. <div class="site-nav-menu-hd">
  117. <a href="#" style="margin-right: 8px;">
  118. 商品分类
  119. </a>
  120. <a href="#">
  121. 免费开店
  122. </a>
  123. </div>
  124. </li>
  125. <li class="site-nav-pipe" style="line-height: 35px; margin: 0 10px;">|</li>
  126. <li class="site-nav-menu">
  127. <div class="site-nav-menu-hd">
  128. <a href="#">
  129. 千牛卖家中心
  130. </a>
  131. <span class="iconfont icon-xiajiantou"></span>
  132. </div>
  133. <div class="site-nav-menu-bd">
  134. <div class="site-nav-menu-bd-panel">
  135. <a href="#">
  136. 开店入驻
  137. </a>
  138. <a href="#">
  139. 已卖出的宝贝
  140. </a>
  141. <a href="#">
  142. 出售中的宝贝
  143. </a>
  144. <a href="#">
  145. 卖家服务市场
  146. </a>
  147. <a href="#">
  148. 卖家培训中心
  149. </a>
  150. <a href="#">
  151. 体验中心
  152. </a>
  153. <a href="#">
  154. 电商学习中心
  155. </a>
  156. </div>
  157. </div>
  158. </li>
  159. <li class="site-nav-menu">
  160. <div class="site-nav-menu-hd">
  161. <a href="#">
  162. 联系客服
  163. </a>
  164. <span class="iconfont icon-xiajiantou"></span>
  165. </div>
  166. <div class="site-nav-menu-bd">
  167. <div class="site-nav-menu-bd-panel">
  168. <a href="#">
  169. 消费者客服
  170. </a>
  171. <a href="#">
  172. 卖家客服
  173. </a>
  174. <a href="#">
  175. 意见反馈
  176. </a>
  177. <a href="#">
  178. 网页版旺旺
  179. </a>
  180. </div>
  181. </div>
  182. </li>
  183. </ul>
  184. </div>
  185. </div>
  186. <div class="tbh-superbanner">
  187. <div class="superbanner-inner">
  188. <a href="#">
  189. <img src="https://img.alicdn.com/imgextra/i1/O1CN01yJvTB91GX2hzIRQQv_!!6000000000631-2-tps-360-320.png" alt="天猫">
  190. </a>
  191. <div class="list fl">
  192. <a class="item" style="background-image: url(https://img.alicdn.com/imgextra/i4/O1CN01CTCBLw1xvnas4uLPa_!!6000000006506-2-tps-209-75.png);">
  193. <div class="desc-wrapper">
  194. <h4 class="title">全屋智能</h4>
  195. <p class="subtitle">尖货不只五折</p>
  196. </div>
  197. <div class="img-outer">
  198. <img src="https://img.alicdn.com/bao/uploaded/O1CN0130Nj9o1IBdNjeWYQd_!!6000000000855-0-yinhe.jpg_80x80q90.jpg_.webp" />
  199. </div>
  200. </a>
  201. <a class="item" style="background-image: url(https://img.alicdn.com/imgextra/i3/O1CN01fl5lxV1vKaB6XeyA4_!!6000000006154-2-tps-209-75.png)">
  202. <div class="desc-wrapper">
  203. <h4 class="title">图书音像</h4>
  204. <p class="subtitle">好书不只五折</p>
  205. </div>
  206. <div class="img-outer">
  207. <img src="https://img.alicdn.com/bao/uploaded/O1CN01Fy1VkI1l0krUbWeJU_!!6000000004757-0-yinhe.jpg_80x80q90.jpg_.webp" />
  208. </div>
  209. </a>
  210. <a class="item" style="background-image: url(https://img.alicdn.com/imgextra/i4/O1CN01iqDMBp1Fsjr0HEqZF_!!6000000000543-2-tps-209-75.png)">
  211. <div class="desc-wrapper">
  212. <h4 class="title">食品尿裤</h4>
  213. <p class="subtitle">低价抢好物</p>
  214. </div>
  215. <div class="img-outer">
  216. <img src="//img.alicdn.com/bao/uploaded/O1CN01baRLZK1Uh1sdp7h0S_!!6000000002548-0-yinhe.jpg_80x80q90.jpg_.webp" />
  217. </div>
  218. </a>
  219. <a class="item" style="background-image: url(https://img.alicdn.com/imgextra/i3/O1CN01z9bGU21jkR99EMk1p_!!6000000004586-2-tps-209-75.png)">
  220. <div class="desc-wrapper">
  221. <h4 class="title">餐厨好物</h4>
  222. <p class="subtitle">大牌限时抢购</p>
  223. </div>
  224. <div class="img-outer">
  225. <img src="//img.alicdn.com/bao/uploaded/O1CN01AC3VRJ21UYPKy4mfF_!!6000000006988-0-yinhe.jpg_80x80q90.jpg_.webp" />
  226. </div>
  227. </a>
  228. <a class="item" style="background-image: url(https://img.alicdn.com/imgextra/i2/O1CN01EpHqLT1VXhVv3buLP_!!6000000002663-2-tps-209-75.png)">
  229. <div class="desc-wrapper">
  230. <h4 class="title">汽车用品</h4>
  231. <p class="subtitle">车品限时抢购</p>
  232. </div>
  233. <div class="img-outer">
  234. <img src="//img.alicdn.com/bao/uploaded/TB1krJbcQcx_u4jSZFlSutnUFXa.jpg_80x80q90.jpg_.webp" />
  235. </div>
  236. </a>
  237. </div>
  238. </div>
  239. </div>
  240. </head>
  241. <div class="cup">
  242. <div class="top">
  243. <div class="top-wrap">
  244. <div class="tbh-logo">
  245. <div class="logo">
  246. <h1>
  247. <a class="logo-bd">
  248. 淘宝网
  249. </a>
  250. </h1>
  251. <h2 style="display: none;">
  252. <a href="#" class="logo-bd">
  253. 淘宝网
  254. </a>
  255. </h2>
  256. </div>
  257. </div>
  258. <div class="tbh-search">
  259. <div class="search-wrap">
  260. <div class="search-bd">
  261. <div class="tab">
  262. <ul class="search-suggest-tabs">
  263. <li class="search-suggest-tabs-tab selected">宝贝
  264. <div class="search-tab-icon">
  265. <span class="iconfont icon-xiajiantou"></span>
  266. </div>
  267. </li>
  268. <li class="search-suggest-tabs-tab">天猫</li>
  269. <li class="search-suggest-tabs-tab">店铺</li>
  270. </ul>
  271. </div>
  272. <form style="flex: 1;">
  273. <i class="search-split"></i>
  274. <div class="search-button">
  275. <button class="btn-search tb-bg" type="submit">搜索</button>
  276. </div>
  277. <div class="placeholder" style="display: block;">充电宝</div>
  278. <div class="search-suggest-combobox">
  279. <input />
  280. </div>
  281. </form>
  282. </div>
  283. <div class="search-ft">
  284. <div class="search-hots">
  285. <div class="search-hots-line">
  286. <div class="search-hots-fine">
  287. <a href="#">
  288. 新款连衣裙
  289. </a>
  290. <a href="#">
  291. 四件套
  292. </a>
  293. <a href="#">
  294. 潮流T恤
  295. </a>
  296. <a href="#">
  297. 时尚女鞋
  298. </a>
  299. <a href="#">
  300. 短裤
  301. </a>
  302. <a href="#">
  303. 半身裙
  304. </a>
  305. <a href="#">
  306. 男士外套
  307. </a>
  308. <a href="#">
  309. 墙纸
  310. </a>
  311. <a href="#">
  312. 行车记录仪
  313. </a>
  314. <a href="#">
  315. 新款男鞋
  316. </a>
  317. </div>
  318. </div>
  319. </div>
  320. </div>
  321. </div>
  322. </div>
  323. <div class="tbh-qr-wrapper">
  324. <div class="qr">
  325. <a class="qr-bd">
  326. <span id="mtb" class="h">下载淘宝</span>
  327. <img class="qrcode" src="//img.alicdn.com/imgextra/i4/O1CN01GZ8Gm51DHyo7asI5m_!!6000000000192-2-tps-160-160.png_.webp">
  328. </a>
  329. </div>
  330. </div>
  331. </div>
  332. </div>
  333. </div>
  334. <div class="screen-outer">
  335. <div class="btn-service">
  336. <div class="decorations-item "
  337. style="background:url(https://img.alicdn.com/imgextra/i1/O1CN01howSvy1JcwezzIzoC_!!6000000001050-2-tps-360-800.png) no-repeat;
  338. width:360px;
  339. height:800px;z-index:3;
  340. position: absolute;
  341. top: -150px;
  342. left: -380px;">
  343. </div>
  344. <div class="decorations-item "
  345. style="background:url(https://img.alicdn.com/imgextra/i1/O1CN01uUWgGS24yH2bxaIyx_!!6000000007459-2-tps-360-800.png) no-repeat;
  346. width:360px;
  347. height:800px;
  348. z-index:3;
  349. position: absolute;
  350. top: -150px;
  351. right: -380px;">
  352. </div>
  353. </div>
  354. <div class="main">
  355. <div class="cat">
  356. <h2>分类</h2>
  357. <ul class="service-bd">
  358. <li class="J_Cat">
  359. <span class="iconfont icon-xiezi service-arrow"></span>
  360. <a href="#">
  361. 女鞋
  362. </a>
  363. <span>/</span>
  364. <a href="#">
  365. 男鞋
  366. </a>
  367. <span>/</span>
  368. <a href="#">
  369. 箱包
  370. </a>
  371. </li>
  372. <li class="J_Cat">
  373. <span class="iconfont icon-huabanfuben service-arrow"></span>
  374. <a href="#">
  375. 美妆
  376. </a>
  377. <span>/</span>
  378. <a href="#">
  379. 饰品
  380. </a>
  381. <span>/</span>
  382. <a href="#">
  383. 洗护
  384. </a>
  385. </li>
  386. <li class="J_Cat">
  387. <span class="iconfont icon-Txu service-arrow"></span>
  388. <a href="#">
  389. 男装
  390. </a>
  391. <span>/</span>
  392. <a href="#">
  393. 运动
  394. </a>
  395. <span>/</span>
  396. <a href="#">
  397. 百货
  398. </a>
  399. </li>
  400. <li class="J_Cat">
  401. <span class="iconfont icon-shouji service-arrow"></span>
  402. <a href="#">
  403. 手机
  404. </a>
  405. <span>/</span>
  406. <a href="#">
  407. 数码
  408. </a>
  409. <span>/</span>
  410. <a href="#">
  411. 企业礼品
  412. </a>
  413. </li>
  414. <li class="J_Cat">
  415. <span class="iconfont icon-shafa service-arrow"></span>
  416. <a href="#">
  417. 家装
  418. </a>
  419. <span>/</span>
  420. <a href="#">
  421. 电器
  422. </a>
  423. <span>/</span>
  424. <a href="#">
  425. 车品
  426. </a>
  427. </li>
  428. <li class="J_Cat">
  429. <span class="iconfont icon-yingtao service-arrow"></span>
  430. <a href="#">
  431. 食品
  432. </a>
  433. <span>/</span>
  434. <a href="#">
  435. 生鲜
  436. </a>
  437. <span>/</span>
  438. <a href="#">
  439. 母婴
  440. </a>
  441. </li>
  442. <li class="J_Cat">
  443. <span class="iconfont icon-yiyaoxiang service-arrow"></span>
  444. <a href="#">
  445. 医药
  446. </a>
  447. <span>/</span>
  448. <a href="#">
  449. 保健
  450. </a>
  451. <span>/</span>
  452. <a href="#">
  453. 进口
  454. </a>
  455. </li>
  456. </ul>
  457. </div>
  458. <div class="main-right">
  459. <div class="tbh-nav">
  460. <div class="newnav">
  461. <ul class="nav-hd ">
  462. <li>
  463. <a style="color: #FF0036;font-weight: bolder;" href="#">
  464. 天猫
  465. </a>
  466. </li>
  467. <li class="pipe">|</li>
  468. <li>
  469. <a style="color: #FF0036;font-weight: bolder;" href="#">
  470. 聚划算
  471. </a>
  472. </li>
  473. <li class="pipe">|</li>
  474. <li>
  475. <a style="color: #33c900;font-weight: bolder;" href="#">
  476. 天猫超市
  477. </a>
  478. </li>
  479. </ul>
  480. <ul class="nav-bd">
  481. <li class="pipe">|</li>
  482. <li style="">
  483. <a href="#">
  484. 司法拍卖
  485. </a>
  486. </li>
  487. <li class="pipe">|</li>
  488. <li style="">
  489. <a href="#">
  490. 飞猪旅行
  491. </a>
  492. </li>
  493. <li class="pipe">|</li>
  494. <li style="">
  495. <a href="#">
  496. 天天特卖
  497. </a>
  498. </li>
  499. </ul>
  500. <ul class="nav-bd last">
  501. <li class="pipe">|</li>
  502. <li style="">
  503. <a href="#">
  504. 极有家
  505. </a>
  506. </li>
  507. <li class="pipe">|</li>
  508. <li style="">
  509. <a href="#">
  510. 淘宝直播
  511. </a>
  512. </li>
  513. </ul>
  514. </div>
  515. </div>
  516. <div class="main-inner">
  517. <div class="core">
  518. <div>
  519. <a>
  520. <img src="https://img.alicdn.com/imgextra/i1/6000000000644/O1CN01D6mZwl1Gczqq7t0B5_!!6000000000644-2-octopus.png" />
  521. </a>
  522. </div>
  523. </div>
  524. <div class="tbh-user">
  525. <div class="user">
  526. <div class="member-bd">
  527. <div class="avatar-wrapper">
  528. <a class="J_UserMemberHome">
  529. <img class="J_UserMemberAvatar" src="//wwc.alicdn.com/avatar/getAvatar.do?userNick=&width=60&height=60&type=sns&_input_charset=UTF-8">
  530. </a>
  531. </div>
  532. <a class="J_UserMemberNickUrl member-nickurl">
  533. <span class="member-nick-info">
  534. Hi!
  535. <strong class="J_UserMemberNick member-nick">
  536. 你好
  537. </strong>
  538. </span>
  539. </a>
  540. </div>
  541. <div class="member-ft">
  542. <div class="member-logout">
  543. <a href="#" class="btn-login">登录</a>
  544. <a href="#" class="btn-register">注册</a>
  545. <a href="#" class="btn-open">开店</a>
  546. </div>
  547. </div>
  548. <div class="user-mytao">
  549. <div class="mytao-content">
  550. <a href="#">
  551. <span class="iconfont icon-shoucang mytao-icon"></span>
  552. <p>宝贝收藏</p>
  553. </a>
  554. </div>
  555. <div class="mytao-content">
  556. <a href="#">
  557. <span class="iconfont icon-dianpu mytao-icon"></span>
  558. <p>买过的店</p>
  559. </a>
  560. </div>
  561. <div class="mytao-content">
  562. <a href="#">
  563. <span class="iconfont icon-gongwenbao mytao-icon"></span>
  564. <p>收藏的店</p>
  565. </a>
  566. </div>
  567. <div class="mytao-content newlast">
  568. <a href="#">
  569. <span class="iconfont icon-wodezuji mytao-icon"></span>
  570. <p>我的足迹</p>
  571. </a>
  572. </div>
  573. </div>
  574. <div class="user-tipmain">
  575. <div class="user-tip">
  576. <div>
  577. <div class="user-mod">
  578. <a href="#">
  579. <div class="notice-tip">
  580. 热点
  581. </div>
  582. </a>
  583. <a href="#">
  584. <p>淘宝平台打击流量造假、黑公关、网络水军公告</p>
  585. </a>
  586. </div>
  587. </div>
  588. </div>
  589. </div>
  590. </div>
  591. </div>
  592. </div>
  593. </div>
  594. </div>
  595. </div>
  596. <div class="layer">
  597. <div class="hotsale">
  598. <div class="tb-recommend">
  599. <h3 class="tb-recommend-header">
  600. <span class="rh-title">猜你喜欢</span>
  601. <img class="rh-logo" src="//gw.alicdn.com/imgextra/i2/O1CN016b1mMM1FxJlsXfWhU_!!6000000000553-2-tps-96-30.png">
  602. </h3>
  603. <div class="tb-recommend-content">
  604. <div class="tb-recommend-content-item">
  605. <a href="//item.taobao.com/item.htm?spm=a21bo.jianhua.201876.1.c07a11d9oKak7q&amp;id=646661244565&amp;scm=1007.40986.275655.0&amp;pvid=f6106852-45bc-4a55-b2d0-34a40135f421" target="_blank" class="item-link" data-spm-anchor-id="a21bo.jianhua.201876.1">
  606. <div class="img-wrapper">
  607. <img src="//gw.alicdn.com/bao/uploaded/i3/2038226538/O1CN019MKcuI1yASAD26HW5_!!0-item_pic.jpg_300x300q90.jpg_.webp">
  608. </div>
  609. <div class="info-wrapper">
  610. <div class="title">
  611. <img src="https://gw.alicdn.com/imgextra/i4/O1CN01HDY9RJ1RZkkN6dB70_!!6000000002126-2-tps-269-42.png">
  612. 适用红米redmi手表表带watch2替换腕带MI WATCH lite智能运动手环环表带个性彩色防水潮男女通用新款硅胶表带
  613. </div>
  614. <div class="tag-list">
  615. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  616. 送运费险
  617. </div>
  618. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  619. 每300减50
  620. </div>
  621. </div>
  622. </div>
  623. <div class="price-wrapper">
  624. <span class="price-value">
  625. <em>¥</em>
  626. 3.9
  627. </span>
  628. </div>
  629. </a>
  630. </div>
  631. <div class="tb-recommend-content-item">
  632. <a href="//item.taobao.com/item.htm?spm=a21bo.jianhua.201876.1.c07a11d9oKak7q&amp;id=646661244565&amp;scm=1007.40986.275655.0&amp;pvid=f6106852-45bc-4a55-b2d0-34a40135f421" target="_blank" class="item-link" data-spm-anchor-id="a21bo.jianhua.201876.1">
  633. <div class="img-wrapper">
  634. <img src="//gw.alicdn.com/bao/uploaded/i3/2038226538/O1CN019MKcuI1yASAD26HW5_!!0-item_pic.jpg_300x300q90.jpg_.webp">
  635. </div>
  636. <div class="info-wrapper">
  637. <div class="title">
  638. <img src="https://gw.alicdn.com/imgextra/i4/O1CN01HDY9RJ1RZkkN6dB70_!!6000000002126-2-tps-269-42.png">
  639. 适用红米redmi手表表带watch2替换腕带MI WATCH lite智能运动手环环表带个性彩色防水潮男女通用新款硅胶表带
  640. </div>
  641. <div class="tag-list">
  642. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  643. 送运费险
  644. </div>
  645. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  646. 每300减50
  647. </div>
  648. </div>
  649. </div>
  650. <div class="price-wrapper">
  651. <span class="price-value">
  652. <em>¥</em>
  653. 3.9
  654. </span>
  655. </div>
  656. </a>
  657. </div>
  658. <div class="tb-recommend-content-item">
  659. <a href="//item.taobao.com/item.htm?spm=a21bo.jianhua.201876.1.c07a11d9oKak7q&amp;id=646661244565&amp;scm=1007.40986.275655.0&amp;pvid=f6106852-45bc-4a55-b2d0-34a40135f421" target="_blank" class="item-link" data-spm-anchor-id="a21bo.jianhua.201876.1">
  660. <div class="img-wrapper">
  661. <img src="//gw.alicdn.com/bao/uploaded/i3/2038226538/O1CN019MKcuI1yASAD26HW5_!!0-item_pic.jpg_300x300q90.jpg_.webp">
  662. </div>
  663. <div class="info-wrapper">
  664. <div class="title">
  665. <img src="https://gw.alicdn.com/imgextra/i4/O1CN01HDY9RJ1RZkkN6dB70_!!6000000002126-2-tps-269-42.png">
  666. 适用红米redmi手表表带watch2替换腕带MI WATCH lite智能运动手环环表带个性彩色防水潮男女通用新款硅胶表带
  667. </div>
  668. <div class="tag-list">
  669. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  670. 送运费险
  671. </div>
  672. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  673. 每300减50
  674. </div>
  675. </div>
  676. </div>
  677. <div class="price-wrapper">
  678. <span class="price-value">
  679. <em>¥</em>
  680. 3.9
  681. </span>
  682. </div>
  683. </a>
  684. </div>
  685. <div class="tb-recommend-content-item">
  686. <a href="//item.taobao.com/item.htm?spm=a21bo.jianhua.201876.1.c07a11d9oKak7q&amp;id=646661244565&amp;scm=1007.40986.275655.0&amp;pvid=f6106852-45bc-4a55-b2d0-34a40135f421" target="_blank" class="item-link" data-spm-anchor-id="a21bo.jianhua.201876.1">
  687. <div class="img-wrapper">
  688. <img src="//gw.alicdn.com/bao/uploaded/i3/2038226538/O1CN019MKcuI1yASAD26HW5_!!0-item_pic.jpg_300x300q90.jpg_.webp">
  689. </div>
  690. <div class="info-wrapper">
  691. <div class="title">
  692. <img src="https://gw.alicdn.com/imgextra/i4/O1CN01HDY9RJ1RZkkN6dB70_!!6000000002126-2-tps-269-42.png">
  693. 适用红米redmi手表表带watch2替换腕带MI WATCH lite智能运动手环环表带个性彩色防水潮男女通用新款硅胶表带
  694. </div>
  695. <div class="tag-list">
  696. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  697. 送运费险
  698. </div>
  699. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  700. 每300减50
  701. </div>
  702. </div>
  703. </div>
  704. <div class="price-wrapper">
  705. <span class="price-value">
  706. <em>¥</em>
  707. 3.9
  708. </span>
  709. </div>
  710. </a>
  711. </div>
  712. <div class="tb-recommend-content-item">
  713. <a href="//item.taobao.com/item.htm?spm=a21bo.jianhua.201876.1.c07a11d9oKak7q&amp;id=646661244565&amp;scm=1007.40986.275655.0&amp;pvid=f6106852-45bc-4a55-b2d0-34a40135f421" target="_blank" class="item-link" data-spm-anchor-id="a21bo.jianhua.201876.1">
  714. <div class="img-wrapper">
  715. <img src="//gw.alicdn.com/bao/uploaded/i3/2038226538/O1CN019MKcuI1yASAD26HW5_!!0-item_pic.jpg_300x300q90.jpg_.webp">
  716. </div>
  717. <div class="info-wrapper">
  718. <div class="title">
  719. <img src="https://gw.alicdn.com/imgextra/i4/O1CN01HDY9RJ1RZkkN6dB70_!!6000000002126-2-tps-269-42.png">
  720. 适用红米redmi手表表带watch2替换腕带MI WATCH lite智能运动手环环表带个性彩色防水潮男女通用新款硅胶表带
  721. </div>
  722. <div class="tag-list">
  723. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  724. 送运费险
  725. </div>
  726. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  727. 每300减50
  728. </div>
  729. </div>
  730. </div>
  731. <div class="price-wrapper">
  732. <span class="price-value">
  733. <em>¥</em>
  734. 3.9
  735. </span>
  736. </div>
  737. </a>
  738. </div>
  739. <div class="tb-recommend-content-item">
  740. <a href="//item.taobao.com/item.htm?spm=a21bo.jianhua.201876.1.c07a11d9oKak7q&amp;id=646661244565&amp;scm=1007.40986.275655.0&amp;pvid=f6106852-45bc-4a55-b2d0-34a40135f421" target="_blank" class="item-link" data-spm-anchor-id="a21bo.jianhua.201876.1">
  741. <div class="img-wrapper">
  742. <img src="//gw.alicdn.com/bao/uploaded/i3/2038226538/O1CN019MKcuI1yASAD26HW5_!!0-item_pic.jpg_300x300q90.jpg_.webp">
  743. </div>
  744. <div class="info-wrapper">
  745. <div class="title">
  746. <img src="https://gw.alicdn.com/imgextra/i4/O1CN01HDY9RJ1RZkkN6dB70_!!6000000002126-2-tps-269-42.png">
  747. 适用红米redmi手表表带watch2替换腕带MI WATCH lite智能运动手环环表带个性彩色防水潮男女通用新款硅胶表带
  748. </div>
  749. <div class="tag-list">
  750. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  751. 送运费险
  752. </div>
  753. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  754. 每300减50
  755. </div>
  756. </div>
  757. </div>
  758. <div class="price-wrapper">
  759. <span class="price-value">
  760. <em>¥</em>
  761. 3.9
  762. </span>
  763. </div>
  764. </a>
  765. </div>
  766. <div class="tb-recommend-content-item">
  767. <a href="//item.taobao.com/item.htm?spm=a21bo.jianhua.201876.1.c07a11d9oKak7q&amp;id=646661244565&amp;scm=1007.40986.275655.0&amp;pvid=f6106852-45bc-4a55-b2d0-34a40135f421" target="_blank" class="item-link" data-spm-anchor-id="a21bo.jianhua.201876.1">
  768. <div class="img-wrapper">
  769. <img src="//gw.alicdn.com/bao/uploaded/i3/2038226538/O1CN019MKcuI1yASAD26HW5_!!0-item_pic.jpg_300x300q90.jpg_.webp">
  770. </div>
  771. <div class="info-wrapper">
  772. <div class="title">
  773. <img src="https://gw.alicdn.com/imgextra/i4/O1CN01HDY9RJ1RZkkN6dB70_!!6000000002126-2-tps-269-42.png">
  774. 适用红米redmi手表表带watch2替换腕带MI WATCH lite智能运动手环环表带个性彩色防水潮男女通用新款硅胶表带
  775. </div>
  776. <div class="tag-list">
  777. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  778. 送运费险
  779. </div>
  780. <div class="tag-item" style="color: #FF5000; border-color: #FAB596; background: #FFFFFF">
  781. 每300减50
  782. </div>
  783. </div>
  784. </div>
  785. <div class="price-wrapper">
  786. <span class="price-value">
  787. <em>¥</em>
  788. 3.9
  789. </span>
  790. </div>
  791. </a>
  792. </div>
  793. </div>
  794. </div>
  795. </div>
  796. </div>
  797. </body>
  798. </html>

css

  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. font: 12px/1.5 tahoma, arial, 'Hiragino Sans GB', '\5b8b\4f53', sans-serif;
  6. }
  7. a {
  8. text-decoration: none;
  9. color: #3C3C3C;
  10. }
  11. li {
  12. list-style: none;
  13. }
  14. .site-nav {
  15. font-size: 12px;
  16. color: #3C3C3C;
  17. background: #f5f5f5;
  18. }
  19. .site-nav-bd{
  20. display: flex;
  21. justify-content: space-between;
  22. margin: 0 auto;
  23. width: 1190px;
  24. height: 35px;
  25. background: #f5f5f5;
  26. -webkit-backface-visibility: hidden;
  27. *zoom: 1;
  28. }
  29. .site-nav .site-nav-menu .site-nav-menu-hd {
  30. z-index: 10002;
  31. position: relative;
  32. padding: 0 6px;
  33. height: 35px;
  34. line-height: 35px;
  35. _display: inline;
  36. _zoom: 1;
  37. display: flex;
  38. justify-content: space-between;
  39. }
  40. .icon-xiajiantou {
  41. display: block;
  42. font-size: 12px;
  43. transform: scale(0.3);
  44. font-weight: bolder;
  45. }
  46. .site-nav-bd-l, .site-nav-bd-r {
  47. display: flex;
  48. }
  49. .site-nav-menu-bd {
  50. display: none;
  51. }
  52. .site-nav-bd ul span {
  53. display: block;
  54. line-height: 35px;
  55. }
  56. .site-nav-sign {
  57. display: flex;
  58. height: 35px;
  59. place-items: center;
  60. }
  61. .site-nav-sign a:first-of-type{
  62. color: red;
  63. margin-left: -5px;
  64. }
  65. .site-nav-sign a:last-of-type {
  66. margin-left: 8px;
  67. }
  68. .site-nav-bd-l li:nth-of-type(3) {
  69. margin: 0 10px;
  70. }
  71. .site-nav-menu-hd {
  72. display: flex;
  73. place-items: center;
  74. }
  75. .superbanner-inner {
  76. display: flex;
  77. overflow: hidden;
  78. height: 100px;
  79. width: 1190px;
  80. margin: 0 auto;
  81. min-width: 1190px;
  82. position: relative;
  83. }
  84. .tbh-superbanner {
  85. background-color: #ff727c;
  86. }
  87. .list.fl {
  88. display: flex;
  89. width: 1085px;
  90. margin-top: 13px;
  91. }
  92. .superbanner-inner img {
  93. width: 80px;
  94. height: 80px;
  95. display: block;
  96. }
  97. .superbanner-inner a {
  98. height: 80px;
  99. width: 80px;
  100. padding: 10px 10px 10px 15px;
  101. }
  102. .superbanner-inner > a {
  103. box-sizing: content-box;
  104. }
  105. .superbanner-inner .list .item {
  106. width: 209px;
  107. height: 75px;
  108. margin-right: 10px;
  109. position: relative;
  110. background-repeat: no-repeat;
  111. background-size: cover;
  112. }
  113. .superbanner-inner .list .img-outer {
  114. position: absolute;
  115. width: 52px;
  116. height: 52px;
  117. top: 12px;
  118. right: 14px;
  119. overflow: hidden;
  120. -webkit-border-radius: 5px;
  121. -webkit-background-clip: padding-box;
  122. -moz-border-radius: 5px;
  123. -moz-background-clip: padding;
  124. border-radius: 5px;
  125. background-clip: padding-box;
  126. background: #fff;
  127. }
  128. .superbanner-inner .list .img-outer img {
  129. display: block;
  130. width: 52px;
  131. height: 52px;
  132. }
  133. .superbanner-inner .list .title {
  134. line-height: 28px;
  135. height: 28px;
  136. font-size: 20px;
  137. color: #fff;
  138. width: 90px;
  139. overflow: hidden;
  140. }
  141. .superbanner-inner .list .subtitle {
  142. line-height: 20px;
  143. height: 16px;
  144. font-size: 14px;
  145. color: #fff;
  146. width: 90px;
  147. overflow: hidden;
  148. }
  149. .logo h1 .logo-bd {
  150. display: block;
  151. margin-left: 22px;
  152. padding-top: 58px;
  153. width: 142px;
  154. height: 0;
  155. overflow: hidden;
  156. text-indent: -9999px;
  157. background: url(//gw.alicdn.com/imgextra/i3/O1CN01uRz3de23mzWofmPYX_!!6000000007299-2-tps-143-59.png) 0 0 no-repeat;
  158. }
  159. .cup {
  160. background-color: #fff;
  161. width: 1190px;
  162. margin: 0 auto;
  163. border-radius: 18px 18px 0 0;
  164. }
  165. .top {
  166. padding-top: 24px;
  167. height: 100px;
  168. }
  169. .top-wrap {
  170. display: flex;
  171. }
  172. .search-bd {
  173. display: flex;
  174. }
  175. .tbh-search {
  176. margin-left: 80px;
  177. margin-right: 80px;
  178. }
  179. .search-bd form {
  180. display: flex;
  181. }
  182. .search-suggest-tabs-tab:nth-of-type(2),
  183. .search-suggest-tabs-tab:nth-of-type(3) {
  184. display: none;
  185. }
  186. .search-bd {
  187. width: 738px;
  188. background: #FFF;
  189. -webkit-border-radius: 100px;
  190. -webkit-background-clip: padding-box;
  191. -moz-border-radius: 100px;
  192. -moz-background-clip: padding;
  193. border-radius: 100px;
  194. background-clip: padding-box;
  195. position: relative;
  196. border: 2px solid #FF5000;
  197. margin-top: 12px;
  198. box-sizing: border-box;
  199. height: 42px;
  200. }
  201. .search-suggest-tabs {
  202. position: relative;
  203. width: 65px;
  204. background: #fff;
  205. }
  206. .search-suggest-tabs-tab {
  207. height: 38px;
  208. color: #333;
  209. line-height: 38px;
  210. text-align: center;
  211. cursor: pointer;
  212. }
  213. .tab {
  214. overflow: hidden;
  215. border-radius: 100px;
  216. background-color: #fff;
  217. }
  218. .search-tab-icon {
  219. position: absolute;
  220. top: 2px;
  221. right: 8px;
  222. padding: 4px 3px 3px;
  223. width: 6px;
  224. height: 5px;
  225. left: 48px;
  226. z-index: 2;
  227. }
  228. .search-split {
  229. position: absolute;
  230. top: 7px;
  231. left: 65px;
  232. width: 1px;
  233. height: 24px;
  234. background: #F3F0F0;
  235. z-index: 200;
  236. }
  237. .btn-search {
  238. position: absolute;
  239. top: 2px;
  240. right: 2px;
  241. height: 34px;
  242. width: 72px;
  243. background: #ff5000;
  244. background-image: -webkit-linear-gradient(
  245. 305deg,#ff9000,#ff5000 77%);
  246. background-image: -moz- oldlinear-gradient(305deg,#ff9000 0,#ff5000 77%);
  247. background-image: -o-linear-gradient(305deg,#ff9000 0,#ff5000 77%);
  248. background-image: linear-gradient(
  249. 145deg,#ff9000,#ff5000 77%);
  250. -webkit-border-radius: 20px;
  251. -moz-border-radius: 20px;
  252. border-radius: 20px;
  253. border: none;
  254. color: #fff;
  255. font-size: 14px;
  256. cursor: pointer;
  257. font-size: 18px;
  258. font-weight: 700;
  259. }
  260. .placeholder {
  261. position: absolute;
  262. top: 9px;
  263. z-index: 2;
  264. color: #9b9b9b;
  265. font-size: 14px;
  266. line-height: 20px;
  267. -webkit-user-select: none;
  268. -moz-user-select: none;
  269. -ms-user-select: none;
  270. user-select: none;
  271. cursor: text;
  272. left: 76px;
  273. }
  274. .search-suggest-combobox{
  275. margin-right: 75px;
  276. overflow: hidden;
  277. outline: 0;
  278. margin-left: 0;
  279. padding-left: 65px;
  280. border-radius: 20px;
  281. }
  282. .search-suggest-combobox>input {
  283. width: 100%;
  284. height: 38px;
  285. padding: 9px 0;
  286. overflow-y: visible;
  287. color: #000;
  288. font-size: 14px;
  289. line-height: 20px;
  290. text-indent: 10px;
  291. vertical-align: middle;
  292. background-color: #fff;
  293. border: 0;
  294. outline: none;
  295. }
  296. .qr {
  297. position: relative;
  298. top: -10px;
  299. z-index: 2;
  300. }
  301. .qr .qr-bd {
  302. position: relative;
  303. cursor: pointer;
  304. display: block;
  305. text-align: center;
  306. width: 74px;
  307. height: 88px;
  308. color: #666;
  309. border: 1px solid #eee;
  310. background-color: #FFF;
  311. }
  312. .qr .qr-bd span {
  313. line-height: 20px;
  314. margin: 4px auto 0;
  315. width: 78px;
  316. }
  317. .qr .qr-bd img {
  318. display: block;
  319. margin-left: 6px;
  320. width: 62px;
  321. height: 62px;
  322. }
  323. .search-ft {
  324. position: relative;
  325. padding: 8px 31px 0 0;
  326. height: 20px;
  327. _width: 600px;
  328. }
  329. .search-hots-line {
  330. height: 46px;
  331. position: relative;
  332. overflow: hidden;
  333. margin-left: 19px;
  334. }
  335. .search-hots-fine, .search-hots-sline {
  336. overflow: hidden;
  337. height: 18px;
  338. line-height: 18px;
  339. margin-bottom: 5px;
  340. }
  341. .search-hots-fine a {
  342. white-space: nowrap;
  343. color: #666!important;
  344. margin-right: 8px;
  345. }
  346. .screen-outer {
  347. background: #fff;
  348. margin: 50px auto;
  349. width: 1190px;
  350. position: relative;
  351. }
  352. .screen-outer .main {
  353. display: grid;
  354. grid-template-columns: 270px 1fr;
  355. grid-template-rows: 1fr;
  356. gap: 40px;
  357. }
  358. .cat {
  359. gird-area: 1/1/span 1/ span 1;
  360. }
  361. .main-right {
  362. gird-area: 2/1/span 1/ span 1;
  363. display: grid;
  364. grid-template-columns: 1fr;
  365. grid-template-rows: 42px 1fr;
  366. gap: 10px;
  367. }
  368. .tbh-nav {
  369. gird-area: 1/1/span 1/ span 1;
  370. }
  371. .main-inner {
  372. display: grid;
  373. grid-template-columns: 564px 316px;
  374. grid-template-rows: 357px;
  375. background-color: #fff;
  376. gap: 30px;
  377. }
  378. .newnav, .newnav ul {
  379. display: flex;
  380. place-items: center;
  381. }
  382. .core img {
  383. width: 564px;
  384. height: 315px;
  385. display: block;
  386. border-radius: 12px;
  387. }
  388. .layer {
  389. width: 1190px;
  390. margin: 0 auto;
  391. }
  392. .cat {
  393. margin: 0 0 0 24px;
  394. position: relative;
  395. font-size: 14px;
  396. background-color: #F7F9FA;
  397. width: 270px;
  398. border-radius: 12px;
  399. height: 330px;
  400. }
  401. .cat h2 {
  402. padding: 16px 0 0 20px;
  403. font-size: 18px;
  404. color: #111;
  405. letter-spacing: 0;
  406. line-height: 24px;
  407. font-weight: bolder;
  408. }
  409. .service-bd {
  410. padding: 16px 0 8px 20px;
  411. border-top: none;
  412. }
  413. .service-bd li {
  414. overflow: hidden;
  415. line-height: 20px;
  416. height: 20px;
  417. position: relative;
  418. font-size: 14px;
  419. font-weight: 400;
  420. margin-bottom: 18px;
  421. width: 212px;
  422. color: #666;
  423. }
  424. .service-bd li a{
  425. font-size: 14px;
  426. font-weight: 400;
  427. color: #666;
  428. }
  429. .service-arrow {
  430. margin-right: 12px;
  431. font-size: 16px;
  432. width: 16px;
  433. height: 16px;
  434. }
  435. .service-bd li span {
  436. height: 20px;
  437. overflow: hidden;
  438. width: 7px;
  439. padding: 0 8px;
  440. }
  441. .nav-hd a, .nav-bd a{
  442. padding: 0 20px;
  443. font-size: 16px;
  444. line-height: 16px;
  445. text-align: center;
  446. }
  447. .newnav {
  448. height: 42px;
  449. position: relative;
  450. color: #000;
  451. background-color: #F7F9FA;
  452. border-radius: 12px;
  453. margin: 0 26px 0 0;
  454. width: 856px;
  455. overflow: hidden;
  456. }
  457. .nav-hd li {
  458. text-align: center;
  459. }
  460. .avatar-wrapper {
  461. margin-top: 32px;
  462. width: 60px;
  463. height: 60px;
  464. -moz-background-clip: padding;
  465. background-clip: padding-box;
  466. background-color: #ff6f06;
  467. border-radius: 50%;
  468. }
  469. .avatar-wrapper img {
  470. border-radius: 50%;
  471. }
  472. .member-nick-info{
  473. font-size: 16px;
  474. margin-top: 22px;
  475. display: block;
  476. line-height: 24px;
  477. height: 24px;
  478. text-align: center;
  479. }
  480. .member-nick {
  481. font-size: 16px;
  482. font-weight: bold;
  483. }
  484. .member-nick-info {
  485. font-size: 16px;
  486. margin-top: 22px;
  487. display: block;
  488. line-height: 24px;
  489. height: 24px;
  490. text-align: center;
  491. }
  492. .user {
  493. display: flex;
  494. flex-direction: column;
  495. place-items: center;
  496. }
  497. .member-ft {
  498. margin-top: 13px;
  499. overflow: hidden;
  500. }
  501. .member-logout {
  502. height: 42px;
  503. }
  504. .member-logout .btn-login {
  505. background-image: -webkit-linear-gradient(left,#ff5000 0,#ff6000 100%);
  506. background-image: -o-linear-gradient(left,#ff5000 0,#ff6000 100%);
  507. background-image: linear-gradient(to right,#ff5000 0,#ff6000 100%);
  508. background-repeat: repeat-x;
  509. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff5000', endColorstr='#ffff6000', GradientType=1);
  510. color: #fff;
  511. }
  512. .btn-register {
  513. background-image: -webkit-linear-gradient(left,#ff9000 0,#ff7000 100%);
  514. background-image: -o-linear-gradient(left,#ff9000 0,#ff7000 100%);
  515. background-image: linear-gradient(to right,#ff9000 0,#ff7000 100%);
  516. background-repeat: repeat-x;
  517. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff9000', endColorstr='#ffff7000', GradientType=1);
  518. color: #fff;
  519. }
  520. .btn-open {
  521. color: #FF5000;
  522. border: 1px solid #FF915E;
  523. }
  524. .member-logout {
  525. display: flex;
  526. }
  527. .member-logout a {
  528. line-height: 42px;
  529. width: 80px;
  530. margin-right: 10px;
  531. text-align: center;
  532. -webkit-border-radius: 21px;
  533. -webkit-background-clip: padding-box;
  534. -moz-border-radius: 21px;
  535. -moz-background-clip: padding;
  536. border-radius: 21px;
  537. background-clip: padding-box;
  538. font-size: 16px;
  539. font-weight: 700;
  540. }
  541. .user-mytao {
  542. display: flex;
  543. overflow: hidden;
  544. position: relative;
  545. margin: 30px 0 0 -20px;
  546. width: 90%;
  547. place-content: space-between;
  548. }
  549. .mytao-content {
  550. text-align: center;
  551. }
  552. .iconfont.mytao-icon {
  553. width: 48px;
  554. font-size: 24px;
  555. line-height: 20px;
  556. text-align: center;
  557. margin-bottom: 10px;
  558. display: block;
  559. }
  560. .tbh-user .user-tipmain {
  561. width: 252px;
  562. height: 18px;
  563. overflow: hidden;
  564. position: relative;
  565. margin: 36px 0px 0 -50px;
  566. }
  567. .user-mod {
  568. display: flex;
  569. }
  570. .notice-tip {
  571. width: 32px;
  572. height: 18px;
  573. text-align: center;
  574. line-height: 18px;
  575. background-color: #FFEFEF;
  576. border-radius: 2px;
  577. color: #FF5000;
  578. font-size: 12px;
  579. margin-right: 5px;
  580. }
  581. .rh-title {
  582. color: #111;
  583. font-weight: bold;
  584. font-size: 24px;
  585. line-height: 24px;
  586. }
  587. .rh-logo {
  588. height: 20px;
  589. margin: 4px 0 0 6px;
  590. }
  591. .rh-logo {
  592. height: 20px;
  593. margin: 4px 0 0 6px;
  594. }
  595. .tb-recommend {
  596. width: 1190px;
  597. padding: 0 19px;
  598. }
  599. .tb-recommend-content {
  600. margin-top: 20px;
  601. display: grid;
  602. gap: 20px;
  603. grid-template-columns: 372px 372px 372px;
  604. grid-template-rows: 174px 174px 174px;
  605. }
  606. .tb-recommend-content-item {
  607. position: relative;
  608. width: 372px;
  609. height: 174px;
  610. margin: 0 0 18px 0;
  611. overflow: hidden;
  612. color: #333;
  613. background-color: #f7f9fa;
  614. border: 1px solid #f7f9fa;
  615. -webkit-border-radius: 12px;
  616. -moz-border-radius: 12px;
  617. border-radius: 12px;
  618. cursor: pointer;
  619. -webkit-transition: all 0.5s;
  620. -o-transition: all 0.5s;
  621. -moz-transition: all 0.5s;
  622. transition: all 0.5s;
  623. padding-top: 8px;
  624. }
  625. .tb-recommend-content-item .img-wrapper {
  626. position: absolute;
  627. width: 150px;
  628. height: 150px;
  629. overflow: hidden;
  630. background-color: rgba(27, 23, 67, 0.03);
  631. -webkit-border-radius: 10px;
  632. -moz-border-radius: 10px;
  633. border-radius: 10px;
  634. margin-left: 10px;
  635. }
  636. .tb-recommend-content-item .img-wrapper img {
  637. display: block;
  638. width: 100%;
  639. height: 100%;
  640. -webkit-border-radius: 10px;
  641. -moz-border-radius: 10px;
  642. border-radius: 10px;
  643. }
  644. .tb-recommend-content-item .info-wrapper{
  645. height: 116px;
  646. margin-left: 162px;
  647. overflow: hidden;
  648. }
  649. .tb-recommend-content-item .info-wrapper .title {
  650. display: inline-block;
  651. max-height: 46px;
  652. margin: 6px 0 2px 0;
  653. overflow: hidden;
  654. color: #333;
  655. font-size: 16px;
  656. line-height: 23px;
  657. }
  658. .tb-recommend-content-item .info-wrapper .title img {
  659. height: 16px;
  660. margin-top: 3px;
  661. margin-right: 6px;
  662. vertical-align: top;
  663. }
  664. .tb-recommend-content-item .info-wrapper .tag-list {
  665. height: 20px;
  666. overflow: hidden;
  667. display: flex;
  668. }
  669. .tag-list .tag-item {
  670. display: inline-block;
  671. height: 20px;
  672. margin-right: 6px;
  673. padding: 0 4px;
  674. color: #ff5000;
  675. font-size: 12px;
  676. line-height: 18px;
  677. vertical-align: top;
  678. border: 1px solid #ff5000;
  679. -webkit-border-radius: 3px;
  680. -moz-border-radius: 3px;
  681. border-radius: 3px;
  682. }
  683. .tb-recommend-content-item .price-wrapper {
  684. margin-left: 162px;
  685. color: #ff5000;
  686. }
  687. .price-value {
  688. display: inline-block;
  689. font-size: 22px;
  690. line-height: 22px;
  691. }

效果


Correcting teacher:PHPzPHPz

Correction status:qualified

Teacher's comments:非常好,布局完成度很高, 继续加油, 要是有个媒体查询就更好了
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post