Blogger Information
Blog 10
fans 0
comment 0
visits 10284
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
唯品会首页部分页面模仿
xsrsblog
Original
3405 people have browsed it

模仿了首页大部分呈现

html代码

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <title>Document</title>
  7. <link rel="stylesheet" href="font/iconfont.css" />
  8. <link rel="stylesheet" href="css/common.css" />
  9. <link rel="stylesheet" href="css/index.css" />
  10. <script>
  11. window.onload = function () {
  12. let itemclassify = document.querySelector(".itemclassify");
  13. // console.log(itemclassify.innerHTML);
  14. itemclassify.addEventListener("mouseover", showList);
  15. itemclassify.addEventListener("mouseout", hideList);
  16. function showList(ev) {
  17. if (
  18. ev.target.nodeName == "SPAN" &&
  19. ev.target.nextElementSibling.nodeName == "UL"
  20. ) {
  21. //判断触发事件的对象是否为A标签的兄弟标签ul
  22. ev.target.nextElementSibling.style.display = "block";
  23. }
  24. }
  25. function hideList(ev) {
  26. if (
  27. ev.target.nodeName == "SPAN" &&
  28. ev.target.nextElementSibling.nodeName == "UL"
  29. ) {
  30. //判断触发事件的对象是否为A标签的兄弟标签ul
  31. ev.target.nextElementSibling.style.display = "none";
  32. }
  33. }
  34. let leftSideBar = document.querySelector(".leftSideBar");
  35. let ht = document.documentElement;
  36. console.log(ht.scrollTop);
  37. document.body.addEventListener("scroll", showMM);
  38. window.addEventListener("load", showMM);
  39. function showMM() {
  40. console.log(document.body.scrollTop);
  41. if (document.body.scrollTop >= 400) {
  42. leftSideBar.style.display = "block";
  43. } else {
  44. leftSideBar.style.display = "none";
  45. }
  46. }
  47. };
  48. </script>
  49. </head>
  50. <body>
  51. <header>
  52. <div class="flexDis flexJContentSb container flexAlignItemsC">
  53. <div>
  54. <span>xx市</span>
  55. <span class="iconfont icon-xiala iconS"></span>
  56. </div>
  57. <div class="flexDis">
  58. <div>
  59. <span>请登入</span>
  60. </div>
  61. <div>
  62. <span>注册</span>
  63. </div>
  64. <div>
  65. <span>签到有礼</span>
  66. </div>
  67. <div>
  68. <span>我的订单</span>
  69. </div>
  70. <div>
  71. <span>我的特卖</span>
  72. <span class="iconfont icon-xiala iconS"></span>
  73. </div>
  74. <div>
  75. <span>会员俱乐部</span>
  76. <span class="iconfont icon-xiala iconS"></span>
  77. </div>
  78. <div>
  79. <span>客户服务</span>
  80. <span class="iconfont icon-xiala iconS"></span>
  81. </div>
  82. <div>
  83. <span class="iconfont icon-shouji"></span>
  84. <span>手机版</span>
  85. </div>
  86. <div>
  87. <span>更多</span>
  88. <span class="iconfont icon-xiala iconS"></span>
  89. </div>
  90. </div>
  91. </div>
  92. </header>
  93. <section class="sectcon1 flexDis container flexAlignItemsC flexJContentSb">
  94. <div><img src="pic/vip_logo.jpg" alt="" /></div>
  95. <div class="flexDis flexJContentSb" style="width: 300px;">
  96. <a href="#">
  97. <span class="iconfont icon-anquan"></span>
  98. <span>100%正品</span>
  99. </a>
  100. <a href="#">
  101. <span class="iconfont icon-smile"></span>
  102. <span>88元免邮</span>
  103. </a>
  104. <a href="#">
  105. <span class="iconfont icon-tianmaoqitiantuihuo"></span>
  106. <span>退换无忧</span>
  107. </a>
  108. </div>
  109. <div>
  110. <div>
  111. <input type="text" value="" name="search" class="search_input" /><a
  112. href="#"
  113. class="search_a"
  114. >
  115. <span class="iconfont icon-sousuo iconse"></span
  116. ></a>
  117. </div>
  118. <div
  119. class="hot-search flexDis flexJContentSb"
  120. style="color: gray; font-size: 0.8em;"
  121. >
  122. <span>连衣裙</span>| <span>护肤套装</span>| <span>耐克nike</span>|
  123. <span>女士T恤</span>| <span>女士休闲裤</span>|
  124. <span>手机</span>
  125. </div>
  126. </div>
  127. <div class="spackage">
  128. <span class="iconfont icon-gouwudai gggwdsize"></span>
  129. <span>购物袋</span>
  130. <span class="spackagenum">0</span>
  131. </div>
  132. </section>
  133. <nav class="flexDis container flexJContentSb flexAlignItemsC">
  134. <div class="itemclassify">
  135. <span class="iconfont icon-fenlei"></span>
  136. <span>商品分类</span>
  137. <ul class="itemclassifyList">
  138. <li>女装/男装/内衣</li>
  139. <li>女鞋/男鞋/箱包</li>
  140. <li>运动户外</li>
  141. <li>家电数码</li>
  142. <li>居家用品</li>
  143. <li>母婴童装</li>
  144. <li>手表配饰</li>
  145. </ul>
  146. </div>
  147. <div
  148. class="flexDis flexJContentSb"
  149. style="width: 800px; font-size: 1.2em;"
  150. >
  151. <span>首页</span>
  152. <span>端午特卖</span>
  153. <span>最后疯抢</span>
  154. <span>唯品快抢</span>
  155. <span>女装</span>
  156. <span>母婴</span>
  157. <span>家电</span>
  158. <span>国际</span>
  159. <span>美妆</span>
  160. <span>鞋包</span>
  161. <span>男装</span>
  162. </div>
  163. <div style="font-size: 1.2em;">
  164. <span>更多</span>
  165. <span class="iconfont icon-down"></span>
  166. </div>
  167. </nav>
  168. <section class="lunbotu">
  169. <div class="inner">
  170. <img src="pic/bac3.jpg" alt="" />
  171. <img src="pic/bac2.jpg" alt="" />
  172. <div class="lunboContent flexDis flexJContentSa">
  173. <span>端午特卖 亿元补贴</span>|
  174. <span>阿迪达斯VIP大牌日 全场低至2折</span>|
  175. <span>欧莱雅VIP大牌日 逆时瓶买1享4</span>|
  176. <span>假期宅家攻略</span>
  177. </div>
  178. <div class="before-after flexDis flexJContentSb">
  179. <span class="iconfont icon-zuo"></span>
  180. <span class="iconfont icon-xiangyou"></span>
  181. </div>
  182. </div>
  183. </section>
  184. <div class="rightSideBar">
  185. <ul class="flexDis flexDirV flexJContentFS">
  186. <li class="flexDis flexDirV">
  187. <span class="iconfont icon-sun iconRB"></span>
  188. <span style="width: 16px;">账号</span>
  189. </li>
  190. <li class="flexDis flexDirV">
  191. <span class="iconfont icon-Handshake iconRB"></span>
  192. <span style="width: 16px;">购物袋</span>
  193. </li>
  194. <li>
  195. <span class="iconfont icon-smile iconRB"> </span>
  196. </li>
  197. <li>
  198. <span class="iconfont icon-smile iconRB"></span>
  199. </li>
  200. <li>
  201. <span class="iconfont icon-smile iconRB"></span>
  202. </li>
  203. <li>
  204. <span class="iconfont icon-smile iconRB"></span>
  205. </li>
  206. </ul>
  207. </div>
  208. <div class="leftSideBar">
  209. <ul class="flexDis flexDirV">
  210. <li style="background-color: rgb(241,1,128); border-radius: 2px;">
  211. 精选
  212. </li>
  213. <li>
  214. <span class="iconfont icon-smile"></span>
  215. <span>女装</span>
  216. </li>
  217. <li>
  218. <span class="iconfont icon-smile"></span>
  219. <span>鞋包</span>
  220. </li>
  221. <li>
  222. <span class="iconfont icon-smile"></span>
  223. <span>男装</span>
  224. </li>
  225. <li>
  226. <span class="iconfont icon-smile"></span>
  227. <span>运动</span>
  228. </li>
  229. <li>
  230. <span class="iconfont icon-smile"></span>
  231. <span>女装</span>
  232. </li>
  233. <li>
  234. <span class="iconfont icon-smile"></span>
  235. <span>鞋包</span>
  236. </li>
  237. <li>
  238. <span class="iconfont icon-smile"></span>
  239. <span>男装</span>
  240. </li>
  241. <li>
  242. <span class="iconfont icon-smile"></span>
  243. <span>运动</span>
  244. </li>
  245. <li>
  246. <span class="iconfont icon-smile"></span>
  247. <span>男装</span>
  248. </li>
  249. <li>
  250. <span class="iconfont icon-smile"></span>
  251. <span>运动</span>
  252. </li>
  253. </ul>
  254. </div>
  255. <section class="container" style="margin-top: 100px; margin-bottom: 20px;">
  256. <img src="pic/banner1.jpg" alt="" />
  257. </section>
  258. <section class="container" style="width: 100%;">
  259. <div style="text-align: center; margin: 20px;">
  260. <img src="pic/banner2.jpg" alt="" />
  261. </div>
  262. <div class="flexDis flexJContentC">
  263. <img src="pic/banner3.jpg" alt="" />
  264. <img src="pic/banner4.jpg" alt="" />
  265. <img src="pic/banner5.jpg" alt="" />
  266. </div>
  267. </section>
  268. <footer class="container footerBorder" style="margin-top: 50px;padd">
  269. <div class="flexDis flexJContentSa">
  270. <div class="flexDis flexDirV">
  271. <span class="circle">
  272. <span class="iconfont icon-anquan circleSize1"></span>
  273. </span>
  274. <span style="color: gray; padding: 5px;" >全球领先</span>
  275. </div>
  276. <div class="flexDis flexDirV">
  277. <span class="circle">
  278. <span class="iconfont icon-anquan circleSize1"></span>
  279. </span>
  280. <span style="color: gray; padding: 5px;" >全球领先</span>
  281. </div>
  282. <div class="flexDis flexDirV">
  283. <span class="circle">
  284. <span class="iconfont icon-anquan circleSize1"></span>
  285. </span>
  286. <span style="color: gray; padding: 5px;" >全球领先</span>
  287. </div>
  288. <div class="flexDis flexDirV">
  289. <span class="circle">
  290. <span class="iconfont icon-anquan circleSize1"></span>
  291. </span>
  292. <span style="color: gray; padding: 5px;" >全球领先</span>
  293. </div>
  294. <div class="flexDis flexDirV">
  295. <span class="circle">
  296. <span class="iconfont icon-anquan circleSize1"></span>
  297. </span>
  298. <span style="color: gray; padding: 5px;" >全球领先</span>
  299. </div>
  300. <div class="flexDis flexDirV">
  301. <span class="circle">
  302. <span class="iconfont icon-anquan circleSize1"></span>
  303. </span>
  304. <span style="color: gray; padding: 5px;" >全球领先</span>
  305. </div>
  306. <div class="flexDis flexDirV">
  307. <span class="circle">
  308. <span class="iconfont icon-anquan circleSize1"></span>
  309. </span>
  310. <span style="color: gray; padding: 5px;" >全球领先</span>
  311. </div>
  312. <div class="flexDis flexDirV">
  313. <span class="circle">
  314. <span class="iconfont icon-anquan circleSize1"></span>
  315. </span>
  316. <span style="color: gray; padding: 5px;" >全球领先</span>
  317. </div>
  318. </div>
  319. <div class="flexDis flexJContentSe flexAlignItemsC" style="font-size: 10px; margin-top: 20px;">
  320. <div class="rightBorder">
  321. <span>服务保障</span>
  322. <ul>
  323. <li><a href="">正品保证</a></li>
  324. <li><a href="">7天无理由放心退</a></li>
  325. <li><a href="">7x15小时客户服务</a></li>
  326. <li><a href="">7天无理由随心换</a></li>
  327. <li><a href=""></a></li>
  328. <li><a href=""></a></li>
  329. </ul>
  330. </div>
  331. <div class="rightBorder">
  332. <span>服务保障</span>
  333. <ul>
  334. <li><a href="">正品保证</a></li>
  335. <li><a href="">7天无理由放心退</a></li>
  336. <li><a href="">7x15小时客户服务</a></li>
  337. <li><a href="">7天无理由随心换</a></li>
  338. <li><a href=""></a></li>
  339. <li><a href=""></a></li>
  340. </ul>
  341. </div>
  342. <div class="rightBorder">
  343. <span>服务保障</span>
  344. <ul>
  345. <li><a href="">正品保证</a></li>
  346. <li><a href="">7天无理由放心退</a></li>
  347. <li><a href="">7x15小时客户服务</a></li>
  348. <li><a href="">7天无理由随心换</a></li>
  349. <li><a href=""></a></li>
  350. <li><a href=""></a></li>
  351. </ul>
  352. </div>
  353. <div class="rightBorder">
  354. <span>服务保障</span>
  355. <ul>
  356. <li><a href="">正品保证</a></li>
  357. <li><a href="">7天无理由放心退</a></li>
  358. <li><a href="">7x15小时客户服务</a></li>
  359. <li><a href="">7天无理由随心换</a></li>
  360. <li><a href=""></a></li>
  361. <li><a href=""></a></li>
  362. </ul>
  363. </div>
  364. <div class="rightBorder">
  365. <span>服务保障</span>
  366. <ul>
  367. <li><a href="">正品保证</a></li>
  368. <li><a href="">7天无理由放心退</a></li>
  369. <li><a href="">7x15小时客户服务</a></li>
  370. <li><a href="">7天无理由随心换</a></li>
  371. <li><a href=""></a></li>
  372. <li><a href=""></a></li>
  373. </ul>
  374. </div>
  375. <div class="flexDis flexDirV flexAlignItemsC">
  376. <span>唯品会APP二维码</span>
  377. <img src="pic/二维码.JPG" alt="">
  378. <span>下载唯品会移动APP</span>
  379. </div>
  380. </div>
  381. <div >
  382. <div class="flexDis flexJContentC about" >
  383. <span>关于我们</span>|
  384. <span>About Us</span>|
  385. <span>Investor Relations</span>|
  386. <span>媒体报道</span>|
  387. <span>品牌招商</span>|
  388. <span>隐私条款</span>|
  389. <span>唯品诚聘</span>|
  390. <span>唯品卡</span>|
  391. <span>联系我们</span>
  392. </div >
  393. <div class="relativeItem">
  394. <p>Copyright © 2008-2020 vip.com,All Rights Reserved 使用本网站即表示接受 唯品会用户协议。版权所有 广州唯品会电子商务有限公司</p>
  395. <p>粤公网安备 44010302111111号 粤ICP备08114786号 增值业务经营许可证:粤B2-20170777 网络文化经营许可证:粤网文〔2018〕5030-1743号</p>
  396. <p>经营主体证照 风险监测信息 互联网药品信息服务资格证书:(粤)-经营性-2018-0271 网络食品交易第三方平台备案凭证:粤B2-20170777 医疗器械网络交易服务第三方平台备案</p>
  397. <p>凭证:(粤)网械平台备字[2019]第00001号</p>
  398. </div>
  399. </div>
  400. </footer>
  401. </body>
  402. </html>

CSS代码(首页部分)

  1. header > div > div:nth-child(2) > div {
  2. /* border: 1px solid green; */
  3. padding: 0 10px;
  4. }
  5. /* 设置头部背景和字体 */
  6. header {
  7. height: 30px;
  8. background-color: lightgray;
  9. }
  10. header > div {
  11. /* background-color: lightgray; */
  12. height: 100%;
  13. }
  14. /* 设置搜索框的边框颜色,以及其后图标的背景色 */
  15. .search_input {
  16. /* background-color: tomato; */
  17. border: 1px solid tomato;
  18. /* display: inline-block; */
  19. height: 45px;
  20. width: 400px;
  21. margin: 0;
  22. font-size: 25px;
  23. }
  24. .search_a {
  25. display: inline-block;
  26. border: rgb(241,1,128);
  27. color: white;
  28. background-color:rgb(241,1,128);
  29. height: 45px;
  30. width: 50px;
  31. text-align: center;
  32. vertical-align: top;
  33. margin: 0;
  34. }
  35. .iconse {
  36. line-height: 45px;
  37. font-size: 25px;
  38. }
  39. /* 设置搜索区域 */
  40. .sectcon1 {
  41. height: 150px;
  42. /* border: 1px solid red; */
  43. }
  44. /* 设置购物袋 */
  45. .spackage {
  46. /* margin-left: -100px; */
  47. border: 1px solid lightgray;
  48. height: 45px;
  49. line-height: 40px;
  50. width: 120px;
  51. text-align: center;
  52. border-radius: 5px;
  53. background-color: lightsteelblue;
  54. margin-bottom: 20px;
  55. }
  56. .gggwdsize {
  57. font-size: 25px; */
  58. }
  59. .spackagenum{
  60. display: inline-block;
  61. background-color:rgb(241,1,128);
  62. height: 20px;
  63. width: 30px;
  64. border-radius: 5px;
  65. color: white;
  66. vertical-align: text-bottom;
  67. font-size: 20px;
  68. line-height: 20px;
  69. }
  70. /* 商品分类样式设置 */
  71. .itemclassify{
  72. background-color: rgb(241,1,128);
  73. padding: 10px 30px;
  74. color: white;
  75. font-size: large;
  76. position: relative;
  77. }
  78. /* 商品分类下拉列表 */
  79. .itemclassifyList{
  80. position: absolute;
  81. top: 40px;
  82. left: 0;
  83. z-index: 1;
  84. display: none;
  85. ;
  86. width: 100%;
  87. background-color: rgb(241,1,128);
  88. /* display: none; */
  89. }
  90. .itemclassifyList >li{
  91. text-align: center;
  92. height: 50px;
  93. font-size: 15px;
  94. line-height: 50px;
  95. }
  96. /* 轮播途背景设置 */
  97. .lunbotu{
  98. background-image: url("pic/bac1.jpg");
  99. height: 400px;
  100. width: 100%;
  101. border: 1px solid white;
  102. margin: 20px;
  103. background-color: lightblue;
  104. background-repeat: no-repeat;
  105. background-size: cover;
  106. }
  107. /* 轮播图内框设置 ,开启相对定位*/
  108. .inner{
  109. height: 100%;
  110. width: 75%;
  111. background-color: white;
  112. border-top: 1px solid white;
  113. background-origin: border-box;
  114. margin-left: auto ;
  115. margin-right: auto;
  116. margin-top: 35px;
  117. box-shadow: 0 3px 5px rgba(0,0,0,0.2);
  118. position:relative
  119. }
  120. /* 轮播图片设置,开启绝对定位 */
  121. .inner > img{
  122. display: block;
  123. width: 95%;
  124. height: 88%;
  125. position: absolute;
  126. left: 2.5%;
  127. top: 4%;
  128. }
  129. /* 设置轮播图下方的文字 */
  130. .lunboContent{
  131. width: 100%;
  132. position: absolute;
  133. right: 0;
  134. bottom: 0;
  135. }
  136. .lunboContent > span:nth-child(1){
  137. border-bottom: rgb(241,1,128) solid 3px;
  138. }
  139. .lunboContent > span:hover{
  140. border-bottom: rgb(241,1,128) solid 3px;
  141. }
  142. /* 设置轮播图片按钮 */
  143. .before-after{
  144. position: absolute;
  145. top: 40%;
  146. width: 95%;
  147. left: 2.5%;
  148. }
  149. .before-after > span{
  150. font-size: 20px;
  151. line-height: 50px;
  152. color: lightgrey;
  153. height: 50px;
  154. width: 50px;
  155. background-color: rgba(17, 15, 15, 0.349);
  156. text-align: center;
  157. transition: width 2s;
  158. }
  159. .before-after > span:nth-child(1){
  160. font-weight: bold;
  161. }
  162. .before-after > span:hover{
  163. color: white;
  164. width: 100px;
  165. }
  166. /* 左侧边栏设置 */
  167. .leftSideBar{
  168. display: none;
  169. position: fixed;
  170. left: 5px;
  171. top:200px;
  172. border: 1px solid lightgray;
  173. border-radius: 2px;
  174. box-shadow: 0 5px 5px rgba(0,0,0,0.2);
  175. }
  176. .leftSideBar > ul > li{
  177. text-align: center;
  178. padding: 5px;border-bottom: 1px solid rgb(161, 159, 159);
  179. margin: 10px;
  180. color: gray;
  181. font-size: 13px;
  182. }
  183. /* 右侧边栏设置 */
  184. .rightSideBar{
  185. position: fixed;
  186. height: 100%;
  187. width: 40px;
  188. /* border: 1px solid red; */
  189. /* z-index: 1; */
  190. right: 17px;
  191. top: 0px;
  192. }
  193. /* 设置高度为窗口高度 */
  194. .rightSideBar > ul{
  195. height: 100%;
  196. }
  197. /* */
  198. .rightSideBar > ul > li{
  199. /* border: 1px solid red; */
  200. }
  201. .rightSideBar > ul > li:nth-child(2){
  202. height: 25%;
  203. background-color:red;
  204. color: white;
  205. font-size: 25px;
  206. }
  207. .rightSideBar > ul > li:nth-child(1){
  208. height: 20%;
  209. background-color:black;
  210. color: white;
  211. font-size: 25px;
  212. }
  213. .rightSideBar > ul > li:nth-child(n+3) {
  214. height: 15%;
  215. }
  216. .rightSideBar > ul > li:nth-child(n+3) > span{
  217. display: block;
  218. height: 100%;
  219. line-height: 100%;
  220. color: white;
  221. background-color: black;
  222. text-align: center;
  223. }
  224. /* 设置字体图标 */
  225. .iconRB{
  226. font-size: 25px;
  227. }
  228. /* 页脚设置 */
  229. .circle{
  230. display: inline-block;
  231. height: 70px;
  232. text-align: center;
  233. border-radius: 50%;
  234. width: 70px;
  235. border: rgba(17, 15, 15, 0.349) 1px solid;
  236. }
  237. /* 字体图标外框圆形设置 */
  238. .circleSize1{
  239. font-size: 40px;
  240. color: gray;
  241. line-height: 70px;
  242. }
  243. .rightBorder{
  244. padding-right: 40px;
  245. border-right: 1px solid black;
  246. padding-left: 0px;
  247. }
  248. /* 页脚边框设置 */
  249. .footerBorder{
  250. /* border: 1px solid red; */
  251. box-shadow: 0 5px 5px rgba(17, 15, 15, 0.349);
  252. }
  253. .about{
  254. font-size: 13px;
  255. margin: 5px auto;
  256. background-color: rgb(241,1,128);
  257. color:white;
  258. }
  259. .about >span{
  260. padding: 2px 5px;
  261. }
  262. .relativeItem{
  263. padding: 20px;
  264. }
  265. .relativeItem >p{
  266. margin: 0 auto;
  267. color: gray;
  268. font-size: 13px;
  269. }

css代码(公共部分)

  1. * {
  2. padding: 0;
  3. margin: 0;
  4. box-sizing: border-box;
  5. list-style: none;
  6. }
  7. /* 页面宽高设为浏览器窗口的100%,垂直方向滚动 */
  8. html,
  9. body {
  10. width: 100%;
  11. height: 100%;
  12. overflow-x: hidden;
  13. font-size: 16px;
  14. }
  15. /* 通用容器宽度 */
  16. .container {
  17. width: 1200px;
  18. margin: 0 auto;
  19. /* border: 1px solid red; */
  20. }
  21. /* 清除a标签下划线 */
  22. a {
  23. color: lightslategrey;
  24. text-decoration: none;
  25. }
  26. /* 清除button,img的边框和外轮廓线 */
  27. button,
  28. img {
  29. border: none;
  30. outline: none;
  31. }
  32. /* 启动弹性盒子 */
  33. .flexDis {
  34. display: flex;
  35. }
  36. /* 主轴在垂直方向 */
  37. .flexDirV {
  38. flex-direction: column;
  39. }
  40. .flexJContentFS {
  41. justify-content: flex-start;
  42. }
  43. .flexJContentC {
  44. justify-content: center;
  45. }
  46. /* 弹性盒子主轴剩余空间 */
  47. .flexJContentSb {
  48. justify-content: space-between;
  49. }
  50. .flexJContentSe {
  51. justify-content: space-evenly;
  52. }
  53. .flexJContentSa {
  54. justify-content: space-around;
  55. }
  56. /* 弹性盒子辅助轴对齐方式 */
  57. .flexAlignItemsC {
  58. align-items: center;
  59. }
  60. /* 调整字体图标的颜色和大小 */
  61. .iconS {
  62. color: grey;
  63. font-size: 10px;
  64. }

效果:(动态部分实现分类下拉列表和左边导航栏在滚动条滚到指定位置才出现)

Correcting teacher:天蓬老师天蓬老师

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