飞道的博客

花了一天的时间给粉丝做了一个小米官网(高仿)

319人阅读  评论(0)

身为前端程序员,经常会找几个官网试试手,哈哈,这次拿小米官网试试手吧。

目录

 

 效果图:

项目结构

index.html

index.css

js

下载地址:点我下载


 效果图:

 

项目结构

index.html


  
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>小米官网 </title>
  6. <link rel ="stylesheet" type="text/css" href="css/reset.css"/>
  7. <link rel="stylesheet" type="text/css" href="css/usual.css">
  8. <link rel = "stylesheet" type ="text/css" href ="css/index.css"/>
  9. <link rel ="stylesheet" type="text/css" href="css/font-awesome.min.css"/>
  10. <link rel ="stylesheet" type="text/css" href="fonts/iconfont.css"/>
  11. <script type ="text/javascript" src = "js/jquery-3.2.1.js"> </script>
  12. <script type ="text/javascript" src = "js/slide.js"> </script>
  13. <script type ="text/javascript" src = "js/xm-star.js"> </script>
  14. <script type ="text/javascript" src = "js/main-page.js"> </script>
  15. </head>
  16. <body>
  17. <!--header start-->
  18. <header>
  19. <!--头部新产品广告-->
  20. <div class="h-top-bg">
  21. <a href="#"> </a>
  22. </div>
  23. <!--头部快捷导航-->
  24. <div class="h-bar">
  25. <div class="wrap clearFix">
  26. <div class="h-l fl">
  27. <ul class = "nav">
  28. <li> <a href="#" target="_blank">小米商城 </a> </li>
  29. <li>| </li>
  30. <li> <a href="#" target="_blank">MIUI </a> </li>
  31. <li>| </li>
  32. <li> <a href="#" target="_blank">米聊 </a> </li>
  33. <li>| </li>
  34. <li> <a href="#" target="_blank">游戏 </a> </li>
  35. <li>| </li>
  36. <li> <a href="#" target="_blank">多看阅读 </a> </li>
  37. <li>| </li>
  38. <li> <a href="#" target="_blank">云服务 </a> </li>
  39. <li>| </li>
  40. <li> <a href="#" target="_blank">金融 </a> </li>
  41. <li>| </li>
  42. <li> <a href="#" target="_blank">小米商城移动版 </a> </li>
  43. <li>| </li>
  44. <li> <a href="#" target="_blank">问题反馈 </a> </li>
  45. <li>| </li>
  46. <li>
  47. <a href="">Select Region </a>
  48. <div class="cover">
  49. <div class="modal">
  50. <div class="title"> </div>
  51. </div>
  52. </div>
  53. </li>
  54. </ul>
  55. </div>
  56. <div class="h-r fr">
  57. <div class="s-cart fr">
  58. <a href="#" target = "_blank">
  59. <i class="iconfont icon-gouwuche1"> </i>
  60. 购物车 <span>( 0 ) </span>
  61. </a>
  62. <div class="s-info">
  63. </div>
  64. </div>
  65. <ul class = "nav fr">
  66. <li> <a href="#" target = "_blank">登录 </a> </li>
  67. <li>| </li>
  68. <li> <a href="#" target ="_blank">注册 </a> </li>
  69. <li>| </li>
  70. <li> <a href="" target ="_black">消息通知 </a> </li>
  71. </ul>
  72. </div>
  73. </div>
  74. </div>
  75. <a href="javascript:;">
  76. <img src="images/home-elect/xmad_14951679051921_JWQpV.jpg" alt="#" width="234" height="300">
  77. </a>
  78. </div>
  79. <div class="b-right span16 fr">
  80. <ul class ="brick-list brick-list-hot active clearFix">
  81. <li class="brick-item">
  82. <a href="javascript:;" class="img">
  83. <img src="images/home-elect/pms_1490077058.71391368!220x220.png" alt="#" width="150" height="150">
  84. </a>
  85. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  86. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  87. <p class="price">2099元 </p>
  88. <div class="flag">享9.8折 </div>
  89. <div class="review">
  90. <p class="content">
  91. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  92. </p>
  93. <p class="author">
  94. 来自于 zk 的评价
  95. </p>
  96. </div>
  97. </li>
  98. <li class="brick-item">
  99. <a href="javascript:;" class="img">
  100. <img src="images/home-elect/pms_1490077454.46128587!220x220.png" alt="#" width="150" height="150">
  101. </a>
  102. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 49英寸 </a> </h2>
  103. <p class="small">6月1日-3日,下单立减300 </p>
  104. <p class="price">2599元 </p>
  105. <div class="flag">享9.8折 </div>
  106. <div class="review">
  107. <p class="content">
  108. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  109. </p>
  110. <p class="author">
  111. 来自于 zk 的评价
  112. </p>
  113. </div>
  114. </li>
  115. <li class="brick-item">
  116. <a href="javascript:;" class="img">
  117. <img src="images/home-elect/pms_1469583247.6157588!220x220.jpg" alt="#" width="150" height="150">
  118. </a>
  119. <h2 class="pro-name"> <a href="javascript:;">小米笔记本Air 13.3英寸 </a> </h2>
  120. <p class="small">独立显卡,全金属机身,超长续航 </p>
  121. <p class="price">4999元 </p>
  122. <div class="flag">享9.8折 </div>
  123. <div class="review">
  124. <p class="content">
  125. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  126. </p>
  127. <p class="author">
  128. 来自于 zk 的评价
  129. </p>
  130. </div>
  131. </li>
  132. <li class="brick-item">
  133. <a href="javascript:;" class="img">
  134. <img src="images/home-elect/pms_1490604824.19051012!220x220.jpg" alt="#" width="150" height="150">
  135. <li class="brick-item">
  136. <a href="javascript:;" class="img">
  137. <img src="images/home-elect/pms_1490604824.19051012!220x220.jpg" alt="#" width="150" height="150">
  138. </a>
  139. <h2 class="pro-name"> <a href="javascript:;">小米笔记本Air 12.5英寸 </a> </h2>
  140. <p class="small">独立显卡,全金属机身,超长续航 </p>
  141. <p class="price">3599元 </p>
  142. <div class="flag">享9.8折 </div>
  143. <div class="review">
  144. <p class="content">
  145. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  146. </p>
  147. <p class="author">
  148. 来自于 zk 的评价
  149. </p>
  150. </div>
  151. </li>
  152. <li class="brick-item">
  153. <a href="javascript:;" class="img">
  154. <img src="images/home-elect/pms_1490077058.71391368!220x220.png" alt="#" width="150" height="150">
  155. </a>
  156. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  157. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  158. <p class="price">2099元 </p>
  159. <div class="flag">享9.8折 </div>
  160. <div class="review">
  161. <p class="content">
  162. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  163. </p>
  164. <p class="author">
  165. 来自于 zk 的评价
  166. </p>
  167. </div>
  168. </li>
  169. <li class="brick-item">
  170. <a href="javascript:;" class="img">
  171. <img src="images/home-elect/pms_1490077058.71391368!220x220.png" alt="#" width="150" height="150">
  172. </a>
  173. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  174. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  175. <p class="price">2099元 </p>
  176. <div class="flag">享9.8折 </div>
  177. <div class="review">
  178. <p class="content">
  179. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  180. </p>
  181. <p class="author">
  182. 来自于 zk 的评价
  183. </p>
  184. </div>
  185. </li>
  186. <li class="brick-item">
  187. <a href="javascript:;" class="img">
  188. <img src="images/home-elect/pms_1490077058.71391368!220x220.png" alt="#" width="150" height="150">
  189. </a>
  190. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  191. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  192. <p class="price">2099元 </p>
  193. <div class="flag">享9.8折 </div>
  194. <div class="review">
  195. <p class="content">
  196. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  197. </p>
  198. <p class="author">
  199. 来自于 zk 的评价
  200. </p>
  201. </div>
  202. </li>
  203. <li class="brick-item">
  204. <div class="sub-item">
  205. <a href="javascript:;" class="img">
  206. <img src="images/home-elect/pms_1490770630.65576964!220x220.png" alt="#" width="80" height="80">
  207. </a>
  208. <h2 class="pro-name"> <a href="javascript:;">米家IH电饭煲 4L </a> </h2>
  209. <p class="price">2099元 </p>
  210. </div>
  211. <div class="sub-item">
  212. <a href="javascript:;" class="icon">
  213. <i class="iconfont icon-jiantou5"> </i>
  214. </a>
  215. <a href="javascript:;" class="more-link">
  216. 浏览更多
  217. <small >热门 </small>
  218. </a>
  219. </div>
  220. </li>
  221. </ul>
  222. <ul class ="brick-list brick-list-hot clearFix">
  223. <li class="brick-item">
  224. <a href="javascript:;" class="img">
  225. <img src="images/home-elect/pms_1474944620.67265595!220x220.jpg" alt="#" width="150" height="150">
  226. </a>
  227. <h2 class="pro-name"> <a href="javascript:;">小米电视3s 55英寸 </a> </h2>
  228. <p class="small">6月1日-3日,直降400元 </p>
  229. <p class="price">3599元 <s>3999元 </s> </p>
  230. <div class="flag">享9.8折 </div>
  231. <div class="review">
  232. <p class="content">
  233. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  234. </p>
  235. <p class="author">
  236. 来自于 zk 的评价
  237. </p>
  238. </div>
  239. </li>
  240. <li class="brick-item">
  241. <a href="javascript:;" class="img">
  242. <img src="images/home-elect/pms_1490077569.08131612!220x220.png" alt="#" width="150" height="150">
  243. </a>
  244. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 65英寸 </a> </h2>
  245. <p class="small">6月1日-3日,下单立减1000 </p>
  246. <p class="price">5699元 </p>
  247. <div class="flag">享9.8折 </div>
  248. <div class="review">
  249. <p class="content">
  250. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  251. </p>
  252. <p class="author">
  253. 来自于 zk 的评价
  254. </p>
  255. </div>
  256. </li>
  257. <li class="brick-item">
  258. <a href="javascript:;" class="img">
  259. <img src="images/home-elect/pms_1490778061.59475600!220x220.png" alt="#" width="150" height="150">
  260. </a>
  261. <h2 class="pro-name"> <a href="javascript:;">电视4A 49英寸人工智能语音版 </a> </h2>
  262. <p class="small">6月1日~3日,下单立减200元 </p>
  263. <p class="price">2899元 </p>
  264. <div class="flag">享9.8折 </div>
  265. <div class="review">
  266. <p class="content">
  267. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  268. </p>
  269. <p class="author">
  270. 来自于 zk 的评价
  271. </p>
  272. </div>
  273. </li>
  274. <li class="brick-item">
  275. <a href="javascript:;" class="img">
  276. <img src="images/home-elect/pms_1490778355.67093197!220x220.png" alt="#" width="150" height="150">
  277. </a>
  278. <h2 class="pro-name"> <a href="javascript:;">小米笔记本Air 12.5英寸 </a> </h2>
  279. <p class="small">独立显卡,全金属机身,超长续航 </p>
  280. <p class="price">3599元 </p>
  281. <div class="flag">享9.8折 </div>
  282. <div class="review">
  283. <p class="content">
  284. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  285. </p>
  286. <p class="author">
  287. 来自于 zk 的评价
  288. </p>
  289. </div>
  290. </li>
  291. <li class="brick-item">
  292. <a href="javascript:;" class="img">
  293. <img src="images/home-elect/pms_1490077058.71391368!220x220.png" alt="#" width="150" height="150">
  294. </a>
  295. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  296. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  297. <p class="price">2099元 </p>
  298. <div class="flag">享9.8折 </div>
  299. <div class="review">
  300. <p class="content">
  301. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  302. </p>
  303. <p class="author">
  304. 来自于 zk 的评价
  305. </p>
  306. </div>
  307. </li>
  308. <li class="brick-item">
  309. <a href="javascript:;" class="img">
  310. <img src="images/home-elect/pms_1490077058.71391368!220x220.png" alt="#" width="150" height="150">
  311. </a>
  312. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  313. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  314. <p class="price">2099元 </p>
  315. <div class="flag">享9.8折 </div>
  316. <div class="review">
  317. <p class="content">
  318. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  319. </p>
  320. <p class="author">
  321. 来自于 zk 的评价
  322. </p>
  323. </div>
  324. </li>
  325. <li class="brick-item">
  326. <a href="javascript:;" class="img">
  327. <img src="images/home-elect/pms_1479190789.95594557!220x220.jpg" alt="#" width="150" height="150">
  328. </a>
  329. <h2 class="pro-name"> <a href="javascript:;">小米盒子3s </a> </h2>
  330. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  331. <p class="price">299元 </p>
  332. <div class="flag">享9.8折 </div>
  333. <div class="review">
  334. <p class="content">
  335. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  336. </p>
  337. <p class="author">
  338. 来自于 zk 的评价
  339. </p>
  340. </div>
  341. </li>
  342. <li class="brick-item">
  343. <div class="sub-item">
  344. <a href="javascript:;" class="img">
  345. <img src="images/home-elect/pms_1490770630.65576964!220x220.png" alt="#" width="80" height="80">
  346. </a>
  347. <h2 class="pro-name"> <a href="javascript:;">米家IH电饭煲 4L </a> </h2>
  348. <p class="price">2099元 </p>
  349. </div>
  350. <div class="sub-item">
  351. <a href="javascript:;" class="icon">
  352. <i class="iconfont icon-jiantou5"> </i>
  353. </a>
  354. <a href="javascript:;" class="more-link">
  355. 浏览更多
  356. <small >热门 </small>
  357. </a>
  358. </div>
  359. </li>
  360. </ul>
  361. <ul class ="brick-list brick-list-hot clearFix">
  362. <li class="brick-item">
  363. <a href="javascript:;" class="img">
  364. <img src="images/home-elect/pms_1490077058.71391368!220x220.png" alt="#" width="150" height="150">
  365. </a>
  366. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  367. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  368. <p class="price">2099元 </p>
  369. <div class="flag">享9.8折 </div>
  370. <div class="review">
  371. <p class="content">
  372. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  373. </p>
  374. <p class="author">
  375. 来自于 zk 的评价
  376. </p>
  377. </div>
  378. </li>
  379. <li class="brick-item">
  380. <a href="javascript:;" class="img">
  381. <img src="images/home-elect/pms_1490077454.46128587!220x220.png" alt="#" width="150" height="150">
  382. </a>
  383. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 49英寸 </a> </h2>
  384. <p class="small">6月1日-3日,下单立减300 </p>
  385. <p class="price">2599元 </p>
  386. <div class="flag">享9.8折 </div>
  387. <div class="review">
  388. <p class="content">
  389. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  390. </p>
  391. <p class="author">
  392. 来自于 zk 的评价
  393. </p>
  394. </div>
  395. </li>
  396. <li class="brick-item">
  397. <a href="javascript:;" class="img">
  398. <img src="images/home-elect/pms_1478763592.13343555!220x220.jpg" alt="#" width="150" height="150">
  399. </a>
  400. <h2 class="pro-name"> <a href="javascript:;">小米笔记本Air 13.3英寸 </a> </h2>
  401. <p class="small">独立显卡,全金属机身,超长续航 </p>
  402. <p class="price">4999元 </p>
  403. <div class="flag">享9.8折 </div>
  404. <div class="review">
  405. <p class="content">
  406. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  407. </p>
  408. <p class="author">
  409. 来自于 zk 的评价
  410. </p>
  411. </div>
  412. </li>
  413. <li class="brick-item">
  414. <a href="javascript:;" class="img">
  415. <img src="images/home-elect/pms_1490702347.3628109!220x220.png" alt="#" width="150" height="150">
  416. </a>
  417. <h2 class="pro-name"> <a href="javascript:;">小米笔记本Air 12.5英寸 </a> </h2>
  418. <p class="small">独立显卡,全金属机身,超长续航 </p>
  419. <p class="price">3599元 </p>
  420. <div class="flag">享9.8折 </div>
  421. <div class="review">
  422. <p class="content">
  423. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  424. </p>
  425. <p class="author">
  426. 来自于 zk 的评价
  427. </p>
  428. </div>
  429. </li>
  430. <li class="brick-item">
  431. <a href="javascript:;" class="img">
  432. <img src="images/home-elect/pms_1490077058.71391368!220x220.png" alt="#" width="150" height="150">
  433. </a>
  434. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  435. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  436. <p class="price">2099元 </p>
  437. <div class="flag">享9.8折 </div>
  438. <div class="review">
  439. <p class="content">
  440. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  441. </p>
  442. <p class="author">
  443. 来自于 zk 的评价
  444. </p>
  445. </div>
  446. </li>
  447. <li class="brick-item">
  448. <a href="javascript:;" class="img">
  449. <img src="images/home-elect/pms_1490595812.95661863!220x220.png" alt="#" width="150" height="150">
  450. </a>
  451. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  452. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  453. <p class="price">2099元 </p>
  454. <div class="flag">享9.8折 </div>
  455. <div class="review">
  456. <p class="content">
  457. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  458. </p>
  459. <p class="author">
  460. 来自于 zk 的评价
  461. </p>
  462. </div>
  463. </li>
  464. <li class="brick-item">
  465. <a href="javascript:;" class="img">
  466. <img src="images/home-elect/pms_1490077058.71391368!220x220.png" alt="#" width="150" height="150">
  467. </a>
  468. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  469. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  470. <p class="price">2099元 </p>
  471. <div class="flag">享9.8折 </div>
  472. <div class="review">
  473. <p class="content">
  474. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  475. </p>
  476. <p class="author">
  477. 来自于 zk 的评价
  478. </p>
  479. </div>
  480. </li>
  481. <li class="brick-item">
  482. <div class="sub-item">
  483. <a href="javascript:;" class="img">
  484. <img src="images/home-elect/pms_1490770630.65576964!220x220.png" alt="#" width="80" height="80">
  485. </a>
  486. <h2 class="pro-name"> <a href="javascript:;">米家IH电饭煲 4L </a> </h2>
  487. <p class="price">2099元 </p>
  488. </div>
  489. <div class="sub-item">
  490. <a href="javascript:;" class="icon">
  491. <i class="iconfont icon-jiantou5"> </i>
  492. </a>
  493. <a href="javascript:;" class="more-link">
  494. 浏览更多
  495. <small >热门 </small>
  496. </a>
  497. </div>
  498. </li>
  499. </ul>
  500. <ul class ="brick-list brick-list-hot clearFix">
  501. <li class="brick-item">
  502. <a href="javascript:;" class="img">
  503. <img src="images/home-elect/pms_1478678718.61531371!220x220.jpg" alt="#" width="150" height="150">
  504. </a>
  505. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  506. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  507. <p class="price">2099元 </p>
  508. <div class="flag">享9.8折 </div>
  509. <div class="review">
  510. <p class="content">
  511. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  512. </p>
  513. <p class="author">
  514. 来自于 zk 的评价
  515. </p>
  516. </div>
  517. </li>
  518. <li class="brick-item">
  519. <a href="javascript:;" class="img">
  520. <img src="images/home-elect/pms_1478678718.61531371!220x220.jpg" alt="#" width="150" height="150">
  521. </a>
  522. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 49英寸 </a> </h2>
  523. <p class="small">6月1日-3日,下单立减300 </p>
  524. <p class="price">2599元 </p>
  525. <div class="flag">享9.8折 </div>
  526. <div class="review">
  527. <p class="content">
  528. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  529. </p>
  530. <p class="author">
  531. 来自于 zk 的评价
  532. </p>
  533. </div>
  534. </li>
  535. <li class="brick-item">
  536. <a href="javascript:;" class="img">
  537. <img src="images/home-elect/T1vJE_Bv_T1RXrhCrK!220x220.jpg" alt="#" width="150" height="150">
  538. </a>
  539. <h2 class="pro-name"> <a href="javascript:;">小米笔记本Air 13.3英寸 </a> </h2>
  540. <p class="small">独立显卡,全金属机身,超长续航 </p>
  541. <p class="price">4999元 </p>
  542. <div class="flag">享9.8折 </div>
  543. <div class="review">
  544. <p class="content">
  545. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  546. </p>
  547. <p class="author">
  548. 来自于 zk 的评价
  549. </p>
  550. </div>
  551. </li>
  552. <li class="brick-item">
  553. <a href="javascript:;" class="img">
  554. <img src="images/home-elect/pms_1490604824.19051012!220x220.jpg" alt="#" width="150" height="150">
  555. </a>
  556. <h2 class="pro-name"> <a href="javascript:;">小米笔记本Air 12.5英寸 </a> </h2>
  557. <p class="small">独立显卡,全金属机身,超长续航 </p>
  558. <p class="price">3599元 </p>
  559. <div class="flag">享9.8折 </div>
  560. <div class="review">
  561. <p class="content">
  562. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  563. </p>
  564. <p class="author">
  565. 来自于 zk 的评价
  566. </p>
  567. </div>
  568. </li>
  569. <li class="brick-item">
  570. <a href="javascript:;" class="img">
  571. <img src="images/home-elect/pms_1490077058.71391368!220x220.png" alt="#" width="150" height="150">
  572. </a>
  573. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  574. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  575. <p class="price">2099元 </p>
  576. <div class="flag">享9.8折 </div>
  577. <div class="review">
  578. <p class="content">
  579. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  580. </p>
  581. <p class="author">
  582. 来自于 zk 的评价
  583. </p>
  584. </div>
  585. </li>
  586. <li class="brick-item">
  587. <a href="javascript:;" class="img">
  588. <img src="images/home-elect/pms_1490077058.71391368!220x220.png" alt="#" width="150" height="150">
  589. </a>
  590. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  591. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  592. <p class="price">2099元 </p>
  593. <div class="flag">享9.8折 </div>
  594. <div class="review">
  595. <p class="content">
  596. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  597. </p>
  598. <p class="author">
  599. 来自于 zk 的评价
  600. </p>
  601. </div>
  602. </li>
  603. <li class="brick-item">
  604. <a href="javascript:;" class="img">
  605. <img src="images/home-elect/pms_1490756071.3088664!220x220.png" alt="#" width="150" height="150">
  606. </a>
  607. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  608. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  609. <p class="price">2099元 </p>
  610. <div class="flag">享9.8折 </div>
  611. <div class="review">
  612. <p class="content">
  613. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  614. </p>
  615. <p class="author">
  616. 来自于 zk 的评价
  617. </p>
  618. </div>
  619. </li>
  620. <li class="brick-item">
  621. <div class="sub-item">
  622. <a href="javascript:;" class="img">
  623. <img src="images/home-elect/pms_1490770630.65576964!220x220.png" alt="#" width="80" height="80">
  624. </a>
  625. <h2 class="pro-name"> <a href="javascript:;">米家IH电饭煲 4L </a> </h2>
  626. <p class="price">2099元 </p>
  627. </div>
  628. <div class="sub-item">
  629. <a href="javascript:;" class="icon">
  630. <i class="iconfont icon-jiantou5"> </i>
  631. </a>
  632. <a href="javascript:;" class="more-link">
  633. 浏览更多
  634. <small >热门 </small>
  635. </a>
  636. </div>
  637. </li>
  638. </ul>
  639. <ul class ="brick-list brick-list-hot clearFix">
  640. <li class="brick-item">
  641. <a href="javascript:;" class="img">
  642. <img src="images/home-elect/T1RRCjBKJv1RXrhCrK.jpg" alt="#" width="150" height="150">
  643. </a>
  644. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  645. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  646. <p class="price">2099元 </p>
  647. <div class="flag">享9.8折 </div>
  648. <div class="review">
  649. <p class="content">
  650. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  651. </p>
  652. <p class="author">
  653. 来自于 zk 的评价
  654. </p>
  655. </div>
  656. </li>
  657. <li class="brick-item">
  658. <a href="javascript:;" class="img">
  659. <img src="images/home-elect/T1RRCjBKJv1RXrhCrK.jpg" alt="#" width="150" height="150">
  660. </a>
  661. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 49英寸 </a> </h2>
  662. <p class="small">6月1日-3日,下单立减300 </p>
  663. <p class="price">2599元 </p>
  664. <div class="flag">享9.8折 </div>
  665. <div class="review">
  666. <p class="content">
  667. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  668. </p>
  669. <p class="author">
  670. 来自于 zk 的评价
  671. </p>
  672. </div>
  673. </li>
  674. <li class="brick-item">
  675. <a href="javascript:;" class="img">
  676. <img src="images/home-elect/pms_1469429887.76894954!220x220.jpg" alt="#" width="150" height="150">
  677. </a>
  678. <h2 class="pro-name"> <a href="javascript:;">小米笔记本Air 13.3英寸 </a> </h2>
  679. <p class="small">独立显卡,全金属机身,超长续航 </p>
  680. <p class="price">4999元 </p>
  681. <div class="flag">享9.8折 </div>
  682. <div class="review">
  683. <p class="content">
  684. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  685. </p>
  686. <p class="author">
  687. 来自于 zk 的评价
  688. </p>
  689. </div>
  690. </li>
  691. <li class="brick-item">
  692. <a href="javascript:;" class="img">
  693. <img src="images/home-elect/T1G9Y_BmCv1RXrhCrK.jpg" alt="#" width="150" height="150">
  694. </a>
  695. <h2 class="pro-name"> <a href="javascript:;">小米笔记本Air 12.5英寸 </a> </h2>
  696. <p class="small">独立显卡,全金属机身,超长续航 </p>
  697. <p class="price">3599元 </p>
  698. <div class="flag">享9.8折 </div>
  699. <div class="review">
  700. <p class="content">
  701. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  702. </p>
  703. <p class="author">
  704. 来自于 zk 的评价
  705. </p>
  706. </div>
  707. </li>
  708. <li class="brick-item">
  709. <a href="javascript:;" class="img">
  710. <img src="images/home-elect/6ddc1df6-ce8e-4cb5-a26a-b5ef80f1adf7.jpg" alt="#" width="150" height="150">
  711. </a>
  712. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  713. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  714. <p class="price">2099元 </p>
  715. <div class="flag">享9.8折 </div>
  716. <div class="review">
  717. <p class="content">
  718. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  719. </p>
  720. <p class="author">
  721. 来自于 zk 的评价
  722. </p>
  723. </div>
  724. </li>
  725. <li class="brick-item">
  726. <a href="javascript:;" class="img">
  727. <img src="images/home-elect/6ddc1df6-ce8e-4cb5-a26a-b5ef80f1adf7.jpg" alt="#" width="150" height="150">
  728. </a>
  729. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  730. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  731. <p class="price">2099元 </p>
  732. <div class="flag">享9.8折 </div>
  733. <div class="review">
  734. <p class="content">
  735. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  736. </p>
  737. <p class="author">
  738. 来自于 zk 的评价
  739. </p>
  740. </div>
  741. </li>
  742. <li class="brick-item">
  743. <a href="javascript:;" class="img">
  744. <img src="images/home-elect/pms_1490756071.3088664!220x220.png" alt="#" width="150" height="150">
  745. </a>
  746. <h2 class="pro-name"> <a href="javascript:;">小米电视4A 43英寸 </a> </h2>
  747. <p class="small">6月1日-3日,限量送儿童会员年卡 </p>
  748. <p class="price">2099元 </p>
  749. <div class="flag">享9.8折 </div>
  750. <div class="review">
  751. <p class="content">
  752. 速度很快,外观漂亮,分量很足! 每次开机黄灯都亮一会...
  753. </p>
  754. <p class="author">
  755. 来自于 zk 的评价
  756. </p>
  757. </div>
  758. </li>
  759. <li class="brick-item">
  760. <div class="sub-item">
  761. <a href="javascript:;" class="img">
  762. <img src="images/home-elect/T1tzL_BjYT1RXrhCrK!220x220.jpg" alt="#" width="80" height="80">
  763. </a>
  764. <h2 class="pro-name"> <a href="javascript:;">米家IH电饭煲 4L </a> </h2>
  765. <p class="price">2099元 </p>
  766. </div>
  767. <div class="sub-item">
  768. <a href="javascript:;" class="icon">
  769. <i class="iconfont icon-jiantou5"> </i>
  770. </a>
  771. <a href="javascript:;" class="more-link">
  772. 浏览更多
  773. <small >热门 </small>
  774. </a>
  775. </div>
  776. </li>
  777. </ul>
  778. </div>
  779. </div>
  780. </div>
  781. <!--为你推荐-->
  782. <div class="recommend">
  783. <div class="wrap">
  784. <div class="title">
  785. <p>为你推荐 </p>
  786. <div class="btn-group">
  787. <i class="pre iconfont icon-fanhui1 fl "> </i>
  788. <i class="next iconfont icon-fanhui fl disabled"> </i>
  789. </div>
  790. </div>
  791. <div class="slider">
  792. <ul class="brick-list clearFix">
  793. <li>
  794. <a href="#" class="img">
  795. <img src="images/bea012b2-b439-4df8-bbf8-0733f5a19630.png" alt="" width="160" height="160">
  796. </a>
  797. <h3 class="pro-name"> <a href="#">小米Note 2 </a> </h3>
  798. <p class="price">2799元起 </p>
  799. </li>
  800. <li>
  801. <a href="#" class="img">
  802. <img src="images/5e2eb710-a99f-4235-ac5c-1b20b1e6c3b6.png" alt="" width="160" height="160">
  803. </a>
  804. <h3 class="pro-name"> <a href="#">小米5s 64GB </a> </h3>
  805. <p class="price">1999元 </p>
  806. </li>
  807. <li>
  808. <a href="#" class="img">
  809. <img src="images/e991f1e2-20d8-40c3-bf1d-012b122c986b.png" alt="" width="160" height="160">
  810. </a>
  811. <h3 class="pro-name"> <a href="#">小米5s Plus </a> </h3>
  812. <p class="price">2299元起 </p>
  813. </li>
  814. <li>
  815. <a href="#" class="img">
  816. <img src="images/xmad_14926528960147_wJMsC.png" alt="" width="160" height="160">
  817. </a>
  818. <h3 class="pro-name"> <a href="#">小米电视4A 49英寸 标准版 </a> </h3>
  819. <p class="price">2599元 </p>
  820. </li>
  821. <li>
  822. <a href="#" class="img">
  823. <img src="images/725a37e3-78b7-4298-8098-c40097bf179d.png" alt="" width="160" height="160">
  824. </a>
  825. <h3 class="pro-name"> <a href="#">小米笔记本 </a> </h3>
  826. <p class="price">3599元起 </p>
  827. </li>
  828. <li>
  829. <a href="#" class="img">
  830. <img src="images/xmad_14917453512947_AmXkT.png" alt="" width="160" height="160">
  831. </a>
  832. <h3 class="pro-name"> <a href="#">10000mAh小米移动电源2 </a> </h3>
  833. <p class="price">79元 </p>
  834. </li>
  835. <li>
  836. <a href="#" class="img">
  837. <img src="images/6ef55907-bbed-49be-a2bb-be0821b5f7b8.png" alt="" width="160" height="160">
  838. </a>
  839. <h3 class="pro-name"> <a href="#">小米手环 2 </a> </h3>
  840. <p class="price">149元 </p>
  841. </li>
  842. <li>
  843. <a href="#" class="img">
  844. <img src="images/xmad_14954429057126_LsEIN.png" alt="" width="160" height="160">
  845. </a>
  846. <h3 class="pro-name"> <a href="#">小米盒子3c </a> </h3>
  847. <p class="price">199元 </p>
  848. </li>
  849. <li>
  850. <a href="#" class="img">
  851. <img src="images/xmad_14878364411484_BzwLi.png" alt="" width="160" height="160">
  852. </a>
  853. <h3 class="pro-name"> <a href="#">米家车载空气净化器 </a> </h3>
  854. <p class="price">449元 </p>
  855. </li>
  856. <li>
  857. <a href="#" class="img">
  858. <img src="images/de35852a-1be5-4ef5-846f-dcdd2efcfea6.png" alt="" width="160" height="160">
  859. </a>
  860. <h3 class="pro-name"> <a href="#">小米路由器3 </a> </h3>
  861. <p class="price">149元 </p>
  862. </li>
  863. <li>
  864. <a href="#" class="img">
  865. <img src="images/bea012b2-b439-4df8-bbf8-0733f5a19630.png" alt="" width="160" height="160">
  866. </a>
  867. <h3 class="pro-name"> <a href="#">小米Note 2 </a> </h3>
  868. <p class="price">2799元起 </p>
  869. </li>
  870. <li>
  871. <a href="#" class="img">
  872. <img src="images/5e2eb710-a99f-4235-ac5c-1b20b1e6c3b6.png" alt="" width="160" height="160">
  873. </a>
  874. <h3 class="pro-name"> <a href="#">小米5s 64GB </a> </h3>
  875. <p class="price">1999元 </p>
  876. </li>
  877. <li>
  878. <a href="#" class="img">
  879. <img src="images/e991f1e2-20d8-40c3-bf1d-012b122c986b.png" alt="" width="160" height="160">
  880. </a>
  881. <h3 class="pro-name"> <a href="#">小米5s Plus </a> </h3>
  882. <p class="price">2299元起 </p>
  883. </li>
  884. <li>
  885. <a href="#" class="img">
  886. <img src="images/xmad_14926528960147_wJMsC.png" alt="" width="160" height="160">
  887. </a>
  888. <h3 class="pro-name"> <a href="#">小米电视4A 49英寸 标准版 </a> </h3>
  889. <p class="price">2599元 </p>
  890. </li>
  891. <li>
  892. <a href="#" class="img">
  893. <img src="images/725a37e3-78b7-4298-8098-c40097bf179d.png" alt="" width="160" height="160">
  894. </a>
  895. <h3 class="pro-name"> <a href="#">小米笔记本 </a> </h3>
  896. <p class="price">3599元起 </p>
  897. </li>
  898. <li>
  899. <a href="#" class="img">
  900. <img src="images/xmad_14917453512947_AmXkT.png" alt="" width="160" height="160">
  901. </a>
  902. <h3 class="pro-name"> <a href="#">10000mAh小米移动电源2 </a> </h3>
  903. <p class="price">79元 </p>
  904. </li>
  905. <li>
  906. <a href="#" class="img">
  907. <img src="images/6ef55907-bbed-49be-a2bb-be0821b5f7b8.png" alt="" width="160" height="160">
  908. </a>
  909. <h3 class="pro-name"> <a href="#">小米手环 2 </a> </h3>
  910. <p class="price">149元 </p>
  911. </li>
  912. <li>
  913. <a href="#" class="img">
  914. <img src="images/xmad_14954429057126_LsEIN.png" alt="" width="160" height="160">
  915. </a>
  916. <h3 class="pro-name"> <a href="#">小米盒子3c </a> </h3>
  917. <p class="price">199元 </p>
  918. </li>
  919. <li>
  920. <a href="#" class="img">
  921. <img src="images/xmad_14878364411484_BzwLi.png" alt="" width="160" height="160">
  922. </a>
  923. <h3 class="pro-name"> <a href="#">米家车载空气净化器 </a> </h3>
  924. <p class="price">449元 </p>
  925. </li>
  926. <li>
  927. <a href="#" class="img">
  928. <img src="images/de35852a-1be5-4ef5-846f-dcdd2efcfea6.png" alt="" width="160" height="160">
  929. </a>
  930. <h3 class="pro-name"> <a href="#">小米路由器3 </a> </h3>
  931. <p class="price">149元 </p>
  932. </li>
  933. </ul>
  934. </div>
  935. </div>
  936. </div>
  937. <!--热评产品-->
  938. <div class="hot-pd">
  939. <div class="head">
  940. <p class="title">周边 </p>
  941. </div>
  942. <ul class="flex-box">
  943. <li class="flex-item">
  944. <a class="img" href="javascript:;">
  945. <img src="images/hot-pd/05972209-0c29-4f2f-9844-09de1093ab02.jpg" alt="#" width="296" height="220">
  946. </a>
  947. <a class="review">先五星好评。再来说说小米空气净化器,北方的天气雾霾越来越常态,这就迫切需要一台性价比高的空气净化 </a>
  948. <p class="author">来自于 爱疯911 的评价 </p>
  949. <p class="pd-name"> <a href="">小米净水器 </a> | 1299元 </p>
  950. </li>
  951. <li class="flex-item">
  952. <a class="img" href="javascript:;">
  953. <img src="images/hot-pd/a5886d24-b443-4a15-88ca-5dbd43b72de3.jpg" alt="#" width="296" height="220">
  954. </a>
  955. <a class="review">这箱子很好,外观漂亮,实用性强。很轻,有点软但不影响它的坚固。 </a>
  956. <p class="author">来自于 爱疯911 的评价 </p>
  957. <p class="pd-name"> <a href="">小米净水器 </a> | 1299元 </p>
  958. </li>
  959. <li class="flex-item">
  960. <a class="img" href="javascript:;">
  961. <img src="images/hot-pd/8949026b-fa9a-4370-989b-5d5e2f149106.jpg" alt="#" width="296" height="220">
  962. </a>
  963. <a class="review">很小巧 像不喜欢戴活塞的人可以试试这种~很舒服包装还是一如既往的简洁 要是有盒子就好了= ̄ω ̄= </a>
  964. <p class="author">来自于 爱疯911 的评价 </p>
  965. <p class="pd-name"> <a href="">小米净水器 </a> | 1299元 </p>
  966. </li>
  967. <li class="flex-item">
  968. <a class="img" href="javascript:;">
  969. <img src="images/hot-pd/7e051b10-ed56-43df-bd60-3780592a3345.jpg" alt="#" width="296" height="220">
  970. </a>
  971. <a class="review">有了它,妈妈再也不用担心我喝不到健康的水了。呵呵,良心产品,平民价格,对现在的水质起到了很好的改善作... </a>
  972. <p class="author">来自于 爱疯911 的评价 </p>
  973. <p class="pd-name"> <a href="">小米净水器 </a> | 1299元 </p>
  974. </li>
  975. </ul>
  976. </div>
  977. <!--内容-->
  978. <div class="content">
  979. <div class="head">
  980. <p class="title">内容 </p>
  981. </div>
  982. <ul class="flex-box">
  983. <!--图书-->
  984. <li class="flex-item ">
  985. <h2 class="title">图书 </h2>
  986. <div class="slider book">
  987. <div class="slider-box">
  988. <input type="radio" id="btn1" name = "btn" checked>
  989. <label for="btn1"> </label>
  990. <div class="slider-item">
  991. <h2 class="title"> <a href="">哈利·波特与被诅咒的孩子 </a> </h2>
  992. <p class="abs"> <a href="">“哈利·波特”第八个故事中文版震撼来袭!特别彩排版剧本! </a> </p>
  993. <p class="price">29.37元 </p>
  994. <a href="javascript:;" class ="img">
  995. <img src="images/hot-pd/5e5da924-84e3-4959-9e25-5891cdf30757.png" alt="#" width="216" height="154">
  996. </a>
  997. </div>
  998. </div>
  999. <div class="slider-box">
  1000. <input type="radio" id="btn2" name = "btn">
  1001. <label for="btn2"> </label>
  1002. <div class="slider-item">
  1003. <h2 class="title"> <a href="">好吗好的 </a> </h2>
  1004. <p class="abs"> <a href="">畅销作家大冰2016年新书!讲给你听,好吗好的! </a> </p>
  1005. <p class="price">17.99元 </p>
  1006. <a href="javascript:;" class ="img">
  1007. <img src="images/hot-pd/61e1385e-54de-48f3-8717-5e4f4b1cdd14.png" alt="#" width="216" height="154">
  1008. </a>
  1009. </div>
  1010. </div>
  1011. <div class="slider-box">
  1012. <input type="radio" id="btn3" name = "btn">
  1013. <label for="btn3"> </label>
  1014. <div class="slider-item">
  1015. <p class="abs">海量好书,享受精品阅读时光漂亮的中文排版,千万读者选择! </p>
  1016. <a href="javascript:;" class="link-btn">前往多看阅读 </a>
  1017. <a href="javascript:;" class ="img">
  1018. <img src="images/hot-pd/more-duokan.jpg" alt="#" width="216" height="154">
  1019. </a>
  1020. </div>
  1021. </div>
  1022. </div>
  1023. </li>
  1024. <!--MIUI主题-->
  1025. <li class="flex-item">
  1026. <h2 class="title">MIUI 主题 </h2>
  1027. <div class="slider theme">
  1028. <div class="slider-box">
  1029. <input type="radio" id="btn4" name = "btn1" checked>
  1030. <label for="btn4"> </label>
  1031. <div class="slider-item">
  1032. <h2 class="title"> <a href="">哆啦A梦:大雄的南极冰冰凉大冒险 </a> </h2>
  1033. <p class="abs"> <a href="">哆啦A梦剧场版定制主题 </a> </p>
  1034. <p class="price">免费 </p>
  1035. <a href="javascript:;" class ="img">
  1036. <img src="images/hot-pd/xmad_14962824771016_ciWtQ.jpg" alt="#" width="216" height="154">
  1037. </a>
  1038. </div>
  1039. </div>
  1040. <div class="slider-box">
  1041. <input type="radio" id="btn5" name = "btn1">
  1042. <label for="btn5"> </label>
  1043. <div class="slider-item">
  1044. <h2 class="title"> <a href="">小米Max 2官方主题 </a> </h2>
  1045. <p class="abs"> <a href="">兼顾左右手的“超级锁屏悬浮球”,单指一键直达APP </a> </p>
  1046. <p class="price">15米币 </p>
  1047. <a href="javascript:;" class ="img">
  1048. <img src="images/hot-pd/xmad_1495694746648_lgqst.jpg" alt="#" width="216" height="154">
  1049. </a>
  1050. </div>
  1051. </div>
  1052. <div class="slider-box">
  1053. <input type="radio" id="btn6" name = "btn1">
  1054. <label for="btn6"> </label>
  1055. <div class="slider-item">
  1056. <h2 class="title"> <a href="">小米6 </a> </h2>
  1057. <p class="abs"> <a href="">3D动态变色,小米6官方主题炫丽出世! </a> </p>
  1058. <p class="price">12米币 </p>
  1059. <a href="javascript:;" class ="img">
  1060. <img src="images/hot-pd/61e1385e-54de-48f3-8717-5e4f4b1cdd14.png" alt="#" width="216" height="154">
  1061. </a>
  1062. </div>
  1063. </div>
  1064. <div class="slider-box">
  1065. <input type="radio" id="btn7" name = "btn1">
  1066. <label for="btn7"> </label>
  1067. <div class="slider-item">
  1068. <p class="abs">众多个性主题、百变锁屏与自由桌面让你的手机与众不同! </p>
  1069. <a href="javascript:;" class="link-btn">前往MIUI主题市场 </a>
  1070. <a href="javascript:;" class ="img">
  1071. <img src="images/hot-pd/more-duokan.jpg" alt="#" width="216" height="154">
  1072. </a>
  1073. </div>
  1074. </div>
  1075. </div>
  1076. </li>
  1077. <!--游戏-->
  1078. <li class="flex-item">
  1079. <h2 class="title">游戏 </h2>
  1080. <div class="slider game">
  1081. <div class="slider-box">
  1082. <input type="radio" id="btn8" name = "btn2" checked>
  1083. <label for="btn8"> </label>
  1084. <div class="slider-item">
  1085. <h2 class="title"> <a href="">米柚手游模拟器 </a> </h2>
  1086. <p class="abs"> <a href="">在电脑上玩遍小米所有手游 </a> </p>
  1087. <p class="price">免费 </p>
  1088. <a href="javascript:;" class ="img">
  1089. <img src="images/hot-pd/T1czW_BXCv1R4cSCrK.png" alt="#" width="216" height="154">
  1090. </a>
  1091. </div>
  1092. </div>
  1093. <div class="slider-box">
  1094. <input type="radio" id="btn9" name = "btn2">
  1095. <label for="btn9"> </label>
  1096. <div class="slider-item">
  1097. <h2 class="title"> <a href="">剑侠世界 </a> </h2>
  1098. <p class="abs"> <a href="">一生不容错过的浪漫武侠!! </a> </p>
  1099. <p class="price">免费 </p>
  1100. <a href="javascript:;" class ="img">
  1101. <img src="images/hot-pd/695c909b-f541-4575-bace-d08b6465025b.jpg" alt="#" width="216" height="154">
  1102. </a>
  1103. </div>
  1104. </div>
  1105. <div class="slider-box">
  1106. <input type="radio" id="btn10" name = "btn2">
  1107. <label for="btn10"> </label>
  1108. <div class="slider-item">
  1109. <h2 class="title"> <a href="">老九门 </a> </h2>
  1110. <p class="abs"> <a href="">九门恩怨,盗墓笔记前传上线 </a> </p>
  1111. <p class="price">免费 </p>
  1112. <a href="javascript:;" class ="img">
  1113. <img src="images/hot-pd/6032cb36-587f-4366-89ef-aefed2546552.jpg" alt="#" width="216" height="154">
  1114. </a>
  1115. </div>
  1116. </div>
  1117. <div class="slider-box">
  1118. <input type="radio" id="btn11" name = "btn2">
  1119. <label for="btn11"> </label>
  1120. <div class="slider-item">
  1121. <p class="abs">免费下载海量的手机游戏天天都有现金福利赠送 </p>
  1122. <a href="javascript:;" class="link-btn">前往小米游戏商店 </a>
  1123. <a href="javascript:;" class ="img">
  1124. <img src="images/hot-pd/more-duokan.jpg" alt="#" width="216" height="154">
  1125. </a>
  1126. </div>
  1127. </div>
  1128. </div>
  1129. </li>
  1130. <!--应用-->
  1131. <li class="flex-item">
  1132. <h2 class="title">应用 </h2>
  1133. <div class="slider program">
  1134. <div class="slider-box">
  1135. <input type="radio" id="btn12" name = "btn3" checked>
  1136. <label for="btn12"> </label>
  1137. <div class="slider-item">
  1138. <h2 class="title"> <a href="">2017金米奖 </a> </h2>
  1139. <p class="abs"> <a href="">最优秀的应用和游戏 </a> </p>
  1140. <p class="price"> </p>
  1141. <a href="javascript:;" class ="img">
  1142. <img src="images/hot-pd/3332da7d-4056-4694-9548-c83b7b3af7d3.png" alt="#" width="216" height="154">
  1143. </a>
  1144. </div>
  1145. </div>
  1146. <div class="slider-box">
  1147. <input type="radio" id="btn13" name = "btn3">
  1148. <label for="btn13"> </label>
  1149. <div class="slider-item">
  1150. <h2 class="title"> <a href="">Forest </a> </h2>
  1151. <p class="abs"> <a href="">帮助您专心于生活中每个重要时刻 </a> </p>
  1152. <p class="price">免费 </p>
  1153. <a href="javascript:;" class ="img">
  1154. <img src="images/hot-pd/T1TkKvBCKv1R4cSCrK.png" alt="#" width="216" height="154">
  1155. </a>
  1156. </div>
  1157. </div>
  1158. <div class="slider-box">
  1159. <input type="radio" id="btn14" name = "btn3">
  1160. <label for="btn14"> </label>
  1161. <div class="slider-item">
  1162. <h2 class="title"> <a href="">小米应用 </a> </h2>
  1163. <p class="abs"> <a href="">小米出品 必属精品 </a> </p>
  1164. <p class="price">免费 </p>
  1165. <a href="javascript:;" class ="img">
  1166. <img src="images/hot-pd/T15VZvB5Kv1R4cSCrK.png" alt="#" width="216" height="154">
  1167. </a>
  1168. </div>
  1169. </div>
  1170. <div class="slider-box">
  1171. <input type="radio" id="btn15" name = "btn3">
  1172. <label for="btn15"> </label>
  1173. <div class="slider-item">
  1174. <p class="abs">帮助小米手机和其他安卓手机用户发现好用的安卓应用 </p>
  1175. <a href="javascript:;" class="link-btn">前往小米应用商店 </a>
  1176. <a href="javascript:;" class ="img">
  1177. <img src="images/hot-pd/more-app.jpg" alt="#" width="216" height="154">
  1178. </a>
  1179. </div>
  1180. </div>
  1181. </div>
  1182. </li>
  1183. </ul>
  1184. </div>
  1185. <!--视屏-->
  1186. <div class="video">
  1187. <div class="head">
  1188. <p class="title">视屏 </p>
  1189. <a href="javascript:;" class="btn">查看全部 <i class="iconfont icon-iconfontjiantou"> </i> </a>
  1190. </div>
  1191. <ul class="flex-box">
  1192. <li class="flex-item">
  1193. <a href="javascript:;" class ="img">
  1194. <img src="images/hot-pd/xmad_1492588199164_Jykpx.jpg" alt="#" width="296" height="180">
  1195. </a>
  1196. <a href="javascript" class="btn"> <i class="iconfont icon-iconfontjiantou2eps"> </i> </a>
  1197. <h4 class="title"> <a href="">听雷总讲述小米7年工艺探索之路 </a> </h4>
  1198. <p class="abs"> <a href="">小米6,7年工艺探索的巅峰之作 </a> </p>
  1199. </li>
  1200. <li class="flex-item">
  1201. <a href="javascript:;" class ="img">
  1202. <img src="images/hot-pd/xmad_14925882923733_lghaJ.jpg" alt="#" width="296" height="180">
  1203. </a>
  1204. <a href="javascript" class="btn"> <i class="iconfont icon-iconfontjiantou2eps"> </i> </a>
  1205. <h4 class="title"> <a href="">小米6外观设计视频 </a> </h4>
  1206. <p class="abs"> <a href="">震惊!小米6竟然如此之美 </a> </p>
  1207. </li>
  1208. <li class="flex-item">
  1209. <a href="javascript:;" class ="img">
  1210. <img src="images/hot-pd/xmad_14954491368955_oHlMm.jpg" alt="#" width="296" height="180">
  1211. </a>
  1212. <a href="javascript" class="btn"> <i class="iconfont icon-iconfontjiantou2eps"> </i> </a>
  1213. <h4 class="title"> <a href="">小米电视4 外观设计视频 </a> </h4>
  1214. <p class="abs"> <a href="">美哭了!史上最美的小米电视 </a> </p>
  1215. </li>
  1216. <li class="flex-item">
  1217. <a href="javascript:;" class ="img">
  1218. <img src="images/hot-pd/xmad_14954492313573_fOVNG.jpg" alt="#" width="296" height="180">
  1219. </a>
  1220. <a href="javascript" class="btn"> <i class="iconfont icon-iconfontjiantou2eps"> </i> </a>
  1221. <h4 class="title"> <a href="">4.9mm极超薄电视的诞生揭秘 </a> </h4>
  1222. <p class="abs"> <a href="">小米电视工程师讲述极致之作的背后故事 </a> </p>
  1223. </li>
  1224. </ul>
  1225. </div>
  1226. </div>
  1227. </section>
  1228. <!--page-main end-->
  1229. <!--footer start-->
  1230. <footer id="footer">
  1231. <div class="wrap">
  1232. <div class="f-hd">
  1233. <ul class="service flex-box">
  1234. <li >
  1235. <a href="javascript:;">
  1236. <i class="iconfont icon-weixiu"> </i>
  1237. 预约维修服务
  1238. </a>
  1239. </li>
  1240. <li>
  1241. <a href="javascript:;">
  1242. <i class="iconfont icon-iconfont7tian"> </i>
  1243. 7天无理由退货
  1244. </a>
  1245. </li>
  1246. <li>
  1247. <a href="javascript:;">
  1248. <i class="iconfont icon-15tian"> </i>
  1249. 15天免费换货
  1250. </a>
  1251. </li>
  1252. <li>
  1253. <a href="javascript:;">
  1254. <i class="iconfont icon-liwu"> </i>
  1255. 满150元包邮
  1256. </a>
  1257. </li>
  1258. <li>
  1259. <a href="javascript:;">
  1260. <i class="iconfont icon-ditu"> </i>
  1261. 520余家售后网点
  1262. </a>
  1263. </li>
  1264. </ul>
  1265. </div>
  1266. <div class="f-bd clearFix">
  1267. <div class="links">
  1268. <dl>
  1269. <dt>帮助中心 </dt>
  1270. <dd> <a href="javascript:;">账户管理 </a> </dd>
  1271. <dd> <a href="javascript:;">购物指南 </a> </dd>
  1272. <dd> <a href="javascript:;">订单操作 </a> </dd>
  1273. </dl>
  1274. <dl>
  1275. <dt>服务支持 </dt>
  1276. <dd> <a href="javascript:;">售后政策 </a> </dd>
  1277. <dd> <a href="javascript:;">自助服务 </a> </dd>
  1278. <dd> <a href="javascript:;">相关下载 </a> </dd>
  1279. </dl>
  1280. <dl>
  1281. <dt>线下门店 </dt>
  1282. <dd> <a href="javascript:;">小米之家 </a> </dd>
  1283. <dd> <a href="javascript:;">服务网点 </a> </dd>
  1284. <dd> <a href="javascript:;">零售网点 </a> </dd>
  1285. </dl>
  1286. <dl>
  1287. <dt>关于小米 </dt>
  1288. <dd> <a href="javascript:;">了解小米 </a> </dd>
  1289. <dd> <a href="javascript:;">加入小米 </a> </dd>
  1290. <dd> <a href="javascript:;">联系我们 </a> </dd>
  1291. </dl>
  1292. <dl>
  1293. <dt>关注我们 </dt>
  1294. <dd> <a href="javascript:;">新浪微博 </a> </dd>
  1295. <dd> <a href="javascript:;">小米部落 </a> </dd>
  1296. <dd> <a href="javascript:;">官方微信 </a> </dd>
  1297. </dl>
  1298. <dl>
  1299. <dt>特色服务 </dt>
  1300. <dd> <a href="javascript:;">F 码通道 </a> </dd>
  1301. <dd> <a href="javascript:;">礼物码 </a> </dd>
  1302. <dd> <a href="javascript:;">防伪查询 </a> </dd>
  1303. </dl>
  1304. </div>
  1305. <div class="contact fr">
  1306. <p class="phone">400-100-5678 </p>
  1307. <p class="time">周一至周日 8:00-18:00 </p>
  1308. <p>(仅收市话费) </p>
  1309. <a href="javascript:;" class="cs">
  1310. <i class="iconfont icon-duanxin"> </i>
  1311. 24小时在线客服
  1312. </a>
  1313. </div>
  1314. </div>
  1315. <div class="f-ft"> </div>
  1316. </div>
  1317. </footer>
  1318. <!--footer end-->
  1319. </body>
  1320. </html>

index.css

 


  
  1. .ui-wrapper
  2. {
  3. position: relative;
  4. margin: 0;
  5. padding: 0;
  6. * zoom: 1
  7. }
  8. .ui-wrapper img
  9. {
  10. display: block;
  11. max-width: 100%
  12. }
  13. .ui-wrapper .ui-viewport
  14. {
  15. -webkit-transform: translatez( 0);
  16. -ms-transform: translatez( 0);
  17. transform: translatez( 0)
  18. }
  19. .ui-wrapper .ui-pager, .ui-wrapper .ui-controls-auto
  20. {
  21. position: absolute;
  22. left: 0;
  23. bottom: 20px;
  24. width: 100%;
  25. z-index: 999
  26. }
  27. .ui-wrapper .ui-loading
  28. {
  29. min-height: 50px;
  30. height: 100%;
  31. width: 100%;
  32. position: absolute;
  33. top: 0;
  34. left: 0;
  35. z-index: 999
  36. }
  37. .ui-wrapper .ui-pager
  38. {
  39. font-size: 12px;
  40. text-align: center;
  41. color: #666
  42. }
  43. .ui-wrapper .ui-pager .ui-pager-item, .ui-wrapper .ui-controls-auto .ui-controls-auto-item
  44. {
  45. display: inline-block;
  46. * zoom: 1;
  47. * display: inline
  48. }
  49. .ui-wrapper .ui-pager .ui-default-pager a
  50. {
  51. display: block;
  52. width: 6px;
  53. height: 6px;
  54. margin: 0 5px;
  55. border: 2px solid #fff;
  56. border-color: rgba( 255, 255, 255, 0.3);
  57. border-radius: 10px;
  58. text-align: left;
  59. text-indent: - 9999px;
  60. overflow: hidden;
  61. _zoom: 1;
  62. background: #f5f5f5;
  63. background: rgba( 0, 0, 0, 0.4);
  64. -webkit-transition: all . 2s;
  65. transition: all . 2s
  66. }
  67. .ui-wrapper .ui-pager .ui-default-pager a :hover, .ui-wrapper .ui-pager .ui-default-pager a .active
  68. {
  69. background: #fff;
  70. background: rgba( 255, 255, 255, 0.4);
  71. border-color: #757575;
  72. border-color: rgba( 0, 0, 0, 0.4)
  73. }
  74. .ui-wrapper .ui-pager .ui-default-pager a :focus
  75. {
  76. outline: 0
  77. }
  78. .ui-wrapper .ui-prev
  79. {
  80. left: 0;
  81. background: url(//c1.mifile.cn/f/i/ 2014/cn/icon/icon-slides.png) no-repeat - 84px 50%
  82. }
  83. .ui-wrapper .ui-next
  84. {
  85. right: 0;
  86. background: url(//c1.mifile.cn/f/i/ 2014/cn/icon/icon-slides.png) no-repeat - 125px 50%
  87. }
  88. .ui-wrapper .ui-prev :hover
  89. {
  90. background-position: 0 50%
  91. }
  92. .ui-wrapper .ui-next :hover
  93. {
  94. background-position: - 42px 50%
  95. }
  96. .ui-wrapper .ui-controls-direction a
  97. {
  98. position: absolute;
  99. top: 50%;
  100. z-index: 999;
  101. width: 41px;
  102. height: 69px;
  103. margin-top: - 35px;
  104. text-indent: - 9999px;
  105. overflow: hidden;
  106. _zoom: 1;
  107. outline: 0
  108. }
  109. .ui-wrapper .ui-controls-direction a .disabled
  110. {
  111. display: none
  112. }
  113. .xm-plain-box .box-hd
  114. {
  115. position: relative;
  116. height: 58px;
  117. -webkit-font-smoothing: antialiased
  118. }
  119. .xm-plain-box .box-hd .title
  120. {
  121. margin: 0;
  122. font-size: 22px;
  123. font-weight: 200;
  124. line-height: 58px;
  125. color: #333
  126. }
  127. .xm-plain-box .box-hd .title small
  128. {
  129. margin-left: 10px;
  130. font-size: 14px
  131. }
  132. .xm-plain-box .box-hd .title .tip
  133. {
  134. color: #757575
  135. }
  136. .xm-plain-box .box-hd .more
  137. {
  138. position: absolute;
  139. top: 0;
  140. right: 0
  141. }
  142. .xm-plain-box .box-hd .more .more-link
  143. {
  144. font-size: 16px;
  145. line-height: 58px;
  146. color: #424242;
  147. -webkit-transition: all . 4s;
  148. transition: all . 4s
  149. }
  150. .xm-plain-box .box-hd .more .more-link :hover
  151. {
  152. color: #ff6700
  153. }
  154. .xm-plain-box .box-hd .more .more-link :hover .iconfont
  155. {
  156. background: #ff6700
  157. }
  158. .xm-plain-box .box-hd .more .more-link .iconfont
  159. {
  160. width: 12px;
  161. height: 12px;
  162. padding: 4px;
  163. margin-left: 8px;
  164. border-radius: 16px;
  165. font-size: 12px;
  166. line-height: 12px;
  167. background: #b0b0b0;
  168. color: #fff;
  169. vertical-align: 1px;
  170. -webkit-transition: all . 4s;
  171. transition: all . 4s
  172. }
  173. .xm-plain-box .box-hd .more .control
  174. {
  175. margin-left: - 1px
  176. }
  177. .xm-plain-box .box-hd .more .tab-list
  178. {
  179. margin: 0;
  180. padding: 16px 0 0;
  181. list-style-type: none;
  182. font-size: 16px
  183. }
  184. .xm-plain-box .box-hd .more .tab-list li
  185. {
  186. display: inline-block;
  187. * zoom: 1;
  188. * display: inline;
  189. padding: 0;
  190. margin: 0 15px;
  191. color: #424242;
  192. border-bottom: 2px solid #f5f5f5;
  193. border-bottom: 2px solid transparent;
  194. -webkit-transition: border-color . 5s;
  195. transition: border-color . 5s;
  196. cursor: pointer
  197. }
  198. .xm-plain-box .box-hd .more .tab-list li :hover, .xm-plain-box .box-hd .more .tab-list li .tab-active
  199. {
  200. color: #ff6700;
  201. border-bottom: 2px solid #ff6700
  202. }
  203. .brick-list, .brick-promo-list
  204. {
  205. height: 614px;
  206. margin: 0;
  207. padding: 0;
  208. list-style-type: none
  209. }
  210. .brick-list
  211. {
  212. width: 992px
  213. }
  214. .brick-promo-list a
  215. {
  216. display: block;
  217. width: 100%;
  218. height: 100%
  219. }
  220. .brick-promo-list img
  221. {
  222. width: 234px
  223. }
  224. .brick-promo-list .brick-item-l img
  225. {
  226. height: 614px
  227. }
  228. .brick-promo-list .brick-item-m
  229. {
  230. height: 300px;
  231. padding: 0
  232. }
  233. .brick-promo-list .brick-item-m img
  234. {
  235. height: 300px
  236. }
  237. .brick-promo-list .brick-item-s img
  238. {
  239. height: 143px
  240. }
  241. .brick-item
  242. {
  243. position: relative;
  244. z-index: 1;
  245. float: left;
  246. width: 234px;
  247. margin-left: 14px;
  248. margin-bottom: 14px;
  249. background: #fff;
  250. -webkit-transition: all . 2s linear;
  251. transition: all . 2s linear
  252. }
  253. .brick-item :hover
  254. {
  255. z-index: 2
  256. }
  257. .brick-item .flag
  258. {
  259. position: absolute;
  260. top: 0;
  261. left: 50%;
  262. z-index: 2;
  263. width: 64px;
  264. height: 20px;
  265. margin-left: - 32px;
  266. font-size: 12px;
  267. line-height: 20px;
  268. text-align: center;
  269. color: #fff
  270. }
  271. .brick-item .flag-saleoff
  272. {
  273. background-color: #e53935
  274. }
  275. .brick-item .flag-postfree
  276. {
  277. background-color: #ffac13;
  278. z-index: 4
  279. }
  280. .brick-item .flag-gift
  281. {
  282. background-color: #2196f3;
  283. z-index: 3
  284. }
  285. .brick-item .flag-new
  286. {
  287. background-color: #83c44e;
  288. z-index: 5
  289. }
  290. .brick-item-l
  291. {
  292. height: 614px
  293. }
  294. .brick-item-m
  295. {
  296. height: 246px;
  297. padding: 34px 0 20px;
  298. * zoom: 1
  299. }
  300. .brick-item-m .figure-img
  301. {
  302. width: 150px;
  303. height: 150px;
  304. margin: 0 auto 18px
  305. }
  306. .brick-item-m .figure-img a
  307. {
  308. display: block
  309. }
  310. .brick-item-m .figure-img img
  311. {
  312. width: 150px;
  313. height: 150px
  314. }
  315. .brick-item-m .title
  316. {
  317. margin: 0 10px;
  318. font-size: 14px;
  319. font-weight: 400;
  320. text-align: center
  321. }
  322. .brick-item-m .title, .brick-item-m .title a
  323. {
  324. color: #333
  325. }
  326. .brick-item-m .title a
  327. {
  328. display: block;
  329. text-overflow: ellipsis;
  330. white-space: nowrap;
  331. overflow: hidden;
  332. _zoom: 1
  333. }
  334. .brick-item-m .desc
  335. {
  336. margin: 0 10px 10px;
  337. height: 18px;
  338. font-size: 12px;
  339. text-align: center;
  340. text-overflow: ellipsis;
  341. white-space: nowrap;
  342. overflow: hidden;
  343. _zoom: 1;
  344. color: #b0b0b0
  345. }
  346. .brick-item-m .price
  347. {
  348. margin: 0 10px 10px;
  349. text-align: center;
  350. color: #ff6700
  351. }
  352. .brick-item-m .price del
  353. {
  354. color: #b0b0b0
  355. }
  356. .brick-item-m .rank
  357. {
  358. margin: 0 10px;
  359. font-size: 12px;
  360. text-align: center;
  361. text-overflow: ellipsis;
  362. white-space: nowrap;
  363. overflow: hidden;
  364. _zoom: 1;
  365. color: #b0b0b0
  366. }
  367. .brick-item-m .review-wrapper
  368. {
  369. position: absolute;
  370. bottom: 0;
  371. left: 0;
  372. z-index: 3;
  373. width: 234px;
  374. height: 0;
  375. overflow: hidden;
  376. _zoom: 1;
  377. font-size: 12px;
  378. background: #ff6700;
  379. opacity: 0;
  380. filter: alpha(opacity= 0)\ 9;
  381. -webkit-transition: all . 2s linear;
  382. transition: all . 2s linear
  383. }
  384. .brick-item-m .review-wrapper a
  385. {
  386. display: block;
  387. padding: 8px 30px;
  388. outline: 0
  389. }
  390. .brick-item-m .review, .brick-item-m .author
  391. {
  392. display: block
  393. }
  394. .brick-item-m .review
  395. {
  396. margin-bottom: 5px;
  397. color: #fff
  398. }
  399. .brick-item-m .author
  400. {
  401. color: #fff;
  402. color: rgba( 255, 255, 255, 0.6)
  403. }
  404. .brick-item-m .date
  405. {
  406. margin-left: 6px
  407. }
  408. .brick-item-m-2
  409. {
  410. height: 260px;
  411. padding: 20px 0
  412. }
  413. .brick-item-m-2 .figure-img
  414. {
  415. width: 160px;
  416. height: 160px
  417. }
  418. .brick-item-m-2 .figure-img img
  419. {
  420. width: 160px;
  421. height: 160px
  422. }
  423. .brick-item-m-2 .title
  424. {
  425. margin: 0 10px 2px
  426. }
  427. .brick-item-m-2 .price
  428. {
  429. margin: 0 10px 14px
  430. }
  431. .brick-item-s
  432. {
  433. height: 93px;
  434. padding-top: 50px
  435. }
  436. .brick-item-s .figure-img
  437. {
  438. position: absolute;
  439. right: 20px;
  440. top: 32px;
  441. width: 80px;
  442. height: 80px
  443. }
  444. .brick-item-s .figure-img a
  445. {
  446. display: block
  447. }
  448. .brick-item-s .figure-img img
  449. {
  450. width: 80px;
  451. height: 80px
  452. }
  453. .brick-item-s .figure-more
  454. {
  455. position: absolute;
  456. right: 35px;
  457. top: 48px;
  458. width: 48px;
  459. height: 48px
  460. }
  461. .brick-item-s .figure-more a
  462. {
  463. display: block;
  464. color: #ff6700
  465. }
  466. .brick-item-s .title
  467. {
  468. margin: - 10px 110px 5px 30px;
  469. font-size: 14px;
  470. font-weight: 400
  471. }
  472. .brick-item-s .title, .brick-item-s .title a
  473. {
  474. color: #333
  475. }
  476. .brick-item-s .title a
  477. {
  478. display: block;
  479. text-overflow: ellipsis;
  480. white-space: nowrap;
  481. overflow: hidden;
  482. _zoom: 1
  483. }
  484. .brick-item-s .price
  485. {
  486. margin: 0 110px 0 30px;
  487. font-size: 12px;
  488. color: #ff6700
  489. }
  490. .brick-item-s .price .num
  491. {
  492. font-size: 14px
  493. }
  494. .brick-item-s .more
  495. {
  496. display: block;
  497. margin: 0 110px 0 30px;
  498. font-size: 18px;
  499. color: #333
  500. }
  501. .brick-item-s .more small
  502. {
  503. display: block;
  504. font-size: 12px;
  505. color: #757575
  506. }
  507. .brick-item-s i
  508. {
  509. font-size: 48px;
  510. line-height: 48px
  511. }
  512. .brick-item-active
  513. {
  514. -webkit-box-shadow: 0 15px 30px rgba( 0, 0, 0, 0.1);
  515. box-shadow: 0 15px 30px rgba( 0, 0, 0, 0.1);
  516. -webkit-transform: translate3d( 0, - 2px, 0);
  517. transform: translate3d( 0, - 2px, 0)
  518. }
  519. .brick-item-active .review-wrapper
  520. {
  521. height: 76px;
  522. opacity: 1;
  523. filter: alpha(opacity= 100)\ 9
  524. }
  525. .review-list
  526. {
  527. width: 1240px;
  528. height: 415px;
  529. margin: 0;
  530. padding: 0;
  531. list-style-type: none
  532. }
  533. .review-item
  534. {
  535. position: relative;
  536. float: left;
  537. width: 296px;
  538. height: 415px;
  539. margin-left: 14px;
  540. margin-bottom: 14px;
  541. background: #fff;
  542. -webkit-transition: all . 2s linear;
  543. transition: all . 2s linear
  544. }
  545. .review-item :first-child, .review-item-first
  546. {
  547. margin-left: 0
  548. }
  549. .review-item :hover
  550. {
  551. z-index: 2;
  552. -webkit-box-shadow: 0 15px 30px rgba( 0, 0, 0, 0.1);
  553. box-shadow: 0 15px 30px rgba( 0, 0, 0, 0.1);
  554. -webkit-transform: translate3d( 0, - 2px, 0);
  555. transform: translate3d( 0, - 2px, 0)
  556. }
  557. .review-item .figure-img
  558. {
  559. width: 296px;
  560. height: 220px;
  561. margin: 0 0 28px
  562. }
  563. .review-item .figure-img a
  564. {
  565. display: block
  566. }
  567. .review-item .figure-img img
  568. {
  569. width: 296px;
  570. height: 220px
  571. }
  572. .review-item .review
  573. {
  574. height: 72px;
  575. margin: 0 28px 22px;
  576. font-size: 14px;
  577. line-height: 24px;
  578. font-weight: 400;
  579. overflow: hidden;
  580. _zoom: 1
  581. }
  582. .review-item .review, .review-item .review a
  583. {
  584. color: #333
  585. }
  586. .review-item .review a
  587. {
  588. display: block
  589. }
  590. .review-item .author
  591. {
  592. position: relative;
  593. height: 18px;
  594. margin: 0 28px 8px;
  595. padding: 0 10px 0 0;
  596. font-size: 12px;
  597. color: #b0b0b0
  598. }
  599. .review-item .author a
  600. {
  601. color: #b0b0b0
  602. }
  603. .review-item .avatar
  604. {
  605. position: absolute;
  606. left: 0;
  607. top: 5px;
  608. width: 22px;
  609. height: 22px;
  610. border: 1px solid #e0e0e0;
  611. border-radius: 20px
  612. }
  613. .review-item .info
  614. {
  615. margin: 0 30px;
  616. text-overflow: ellipsis;
  617. white-space: nowrap;
  618. overflow: hidden;
  619. _zoom: 1
  620. }
  621. .review-item .title
  622. {
  623. display: inline-block;
  624. * zoom: 1;
  625. * display: inline;
  626. margin: 0;
  627. font-size: 14px;
  628. font-weight: 400;
  629. max-width: 170px;
  630. text-overflow: ellipsis;
  631. white-space: nowrap;
  632. overflow: hidden;
  633. _zoom: 1;
  634. vertical-align: bottom;
  635. color: #333
  636. }
  637. .review-item .title a
  638. {
  639. color: #333
  640. }
  641. .review-item .sep
  642. {
  643. color: #b0b0b0
  644. }
  645. .review-item .price
  646. {
  647. display: inline;
  648. margin: 0;
  649. color: #ff6700
  650. }
  651. .content-list
  652. {
  653. width: 1240px;
  654. height: 420px;
  655. margin: 0;
  656. padding: 0;
  657. list-style-type: none
  658. }
  659. .content-item
  660. {
  661. position: relative;
  662. float: left;
  663. width: 296px;
  664. height: 374px;
  665. padding: 45px 0 0;
  666. border-top: 1px solid #e0e0e0;
  667. margin-left: 14px;
  668. margin-bottom: 14px;
  669. background: #fff;
  670. -webkit-transition: all . 2s linear;
  671. transition: all . 2s linear
  672. }
  673. .content-item :first-child, .content-item-first
  674. {
  675. margin-left: 0
  676. }
  677. .content-item :hover
  678. {
  679. z-index: 2;
  680. -webkit-box-shadow: 0 15px 30px rgba( 0, 0, 0, 0.1);
  681. box-shadow: 0 15px 30px rgba( 0, 0, 0, 0.1);
  682. -webkit-transform: translate3d( 0, - 2px, 0);
  683. transform: translate3d( 0, - 2px, 0)
  684. }
  685. .content-item .title
  686. {
  687. margin: 0 10px 18px;
  688. font-size: 16px;
  689. font-weight: 400;
  690. text-align: center
  691. }
  692. .content-item .item-list
  693. {
  694. height: 340px;
  695. margin: 0;
  696. padding: 0;
  697. list-style-type: none;
  698. text-align: center;
  699. overflow: hidden;
  700. _zoom: 1;
  701. color: #333
  702. }
  703. .content-item .item-list li
  704. {
  705. float: left;
  706. width: 296px;
  707. height: 340px
  708. }
  709. .content-item .item-list li .more .thumb
  710. {
  711. display: block;
  712. width: 216px;
  713. height: 154px;
  714. margin: 30px auto 0
  715. }
  716. .content-item .name
  717. {
  718. margin: 0 20px 5px;
  719. font-size: 20px;
  720. font-weight: 400;
  721. line-height: 1.25;
  722. text-overflow: ellipsis;
  723. white-space: nowrap;
  724. overflow: hidden;
  725. _zoom: 1
  726. }
  727. .content-item .name, .content-item .name a
  728. {
  729. color: #333
  730. }
  731. .content-item .name a
  732. {
  733. display: block;
  734. text-overflow: ellipsis;
  735. white-space: nowrap;
  736. overflow: hidden;
  737. _zoom: 1;
  738. outline: none
  739. }
  740. .content-item .desc
  741. {
  742. margin: 0 48px 10px;
  743. height: 40px;
  744. font-size: 12px;
  745. line-height: 20px;
  746. text-align: center;
  747. overflow: hidden;
  748. _zoom: 1;
  749. color: #b0b0b0
  750. }
  751. .content-item .desc, .content-item .desc a
  752. {
  753. color: #b0b0b0
  754. }
  755. .content-item .price
  756. {
  757. height: 21px;
  758. margin: 0 10px 15px;
  759. text-align: center;
  760. color: #333
  761. }
  762. .content-item .price, .content-item .price a
  763. {
  764. color: #333
  765. }
  766. .content-item .figure-img
  767. {
  768. width: 216px;
  769. height: 154px;
  770. margin: 0 auto
  771. }
  772. .content-item .figure-img a
  773. {
  774. display: block;
  775. height: 154px
  776. }
  777. .content-item .figure-img img
  778. {
  779. width: 216px;
  780. height: 154px
  781. }
  782. .content-item .xm-pagers-wrapper
  783. {
  784. position: absolute;
  785. bottom: 15px;
  786. left: 0;
  787. width: 296px
  788. }
  789. .content-item .xm-controls .control
  790. {
  791. position: absolute;
  792. top: 50%;
  793. margin-top: - 20px;
  794. opacity: 0;
  795. filter: alpha(opacity= 0)\ 9;
  796. -webkit-transition: all . 6s;
  797. transition: all . 6s
  798. }
  799. .content-item .xm-controls .control-prev
  800. {
  801. left: 0
  802. }
  803. .content-item .xm-controls .control-next
  804. {
  805. right: 0
  806. }
  807. .content-item :hover .xm-controls .control
  808. {
  809. opacity: 1;
  810. filter: alpha(opacity= 100)\ 9
  811. }
  812. .content-item-book
  813. {
  814. border-top-color: #ffac13;
  815. color: #ffac13
  816. }
  817. .content-item-theme
  818. {
  819. border-top-color: #83c44e;
  820. color: #83c44e
  821. }
  822. .content-item-game
  823. {
  824. border-top-color: #e53935;
  825. color: #e53935
  826. }
  827. .content-item-app
  828. {
  829. border-top-color: #2196f3;
  830. color: #2196f3
  831. }
  832. .video-list
  833. {
  834. width: 1240px;
  835. height: 285px;
  836. margin: 0;
  837. padding: 0;
  838. list-style-type: none
  839. }
  840. .video-item
  841. {
  842. position: relative;
  843. float: left;
  844. width: 296px;
  845. height: 285px;
  846. margin-left: 14px;
  847. margin-bottom: 14px;
  848. text-align: center;
  849. background: #fff;
  850. -webkit-transition: all . 2s linear;
  851. transition: all . 2s linear
  852. }
  853. .video-item :first-child, .video-item-first
  854. {
  855. margin-left: 0
  856. }
  857. .video-item :hover
  858. {
  859. z-index: 2;
  860. -webkit-box-shadow: 0 15px 30px rgba( 0, 0, 0, 0.1);
  861. box-shadow: 0 15px 30px rgba( 0, 0, 0, 0.1);
  862. -webkit-transform: translate3d( 0, - 2px, 0);
  863. transform: translate3d( 0, - 2px, 0)
  864. }
  865. .video-item .figure-img
  866. {
  867. position: relative;
  868. width: 296px;
  869. height: 180px;
  870. margin: 0 0 28px
  871. }
  872. .video-item .figure-img :hover .play
  873. {
  874. background-color: #ff6700;
  875. border-color: #ff6700
  876. }
  877. .video-item .figure-img a
  878. {
  879. display: block;
  880. height: 180px
  881. }
  882. .video-item .figure-img img
  883. {
  884. width: 296px;
  885. height: 180px
  886. }
  887. .video-item .play
  888. {
  889. position: absolute;
  890. left: 20px;
  891. bottom: 10px;
  892. width: 32px;
  893. height: 20px;
  894. border: 2px solid #fff;
  895. border-radius: 12px;
  896. background-color: #424242;
  897. background-color: rgba( 0, 0, 0, 0.6);
  898. color: #fff;
  899. -webkit-transition: all . 2s;
  900. transition: all . 2s;
  901. overflow: hidden;
  902. _zoom: 1
  903. }
  904. .video-item .play i
  905. {
  906. font-size: 30px;
  907. line-height: 20px
  908. }
  909. .video-item .title
  910. {
  911. margin: 0 0 6px;
  912. font-size: 14px;
  913. font-weight: 400;
  914. text-align: center;
  915. color: #333
  916. }
  917. .video-item .title a
  918. {
  919. color: #333
  920. }
  921. .video-item .title a :hover
  922. {
  923. color: #ff6700
  924. }
  925. .video-item .desc
  926. {
  927. height: 18px;
  928. margin: 0;
  929. font-size: 12px;
  930. color: #b0b0b0
  931. }
  932. .site-header .logo :after
  933. {
  934. display: none
  935. }
  936. .site-header .logo :hover :before
  937. {
  938. opacity: 1;
  939. filter: alpha(opacity= 100)\ 9;
  940. -webkit-transform: translate3d( 0, 0, 0);
  941. transform: translate3d( 0, 0, 0)
  942. }
  943. @-webkit-keyframes screen
  944. {
  945. 0%
  946. {
  947. -webkit-transform: translate3d(- 35px, 55px, 0)
  948. }
  949. 100%
  950. {
  951. -webkit-transform: translate3d(- 90px, 55px, 0)
  952. }
  953. }
  954. @keyframes screen
  955. {
  956. 0%
  957. {
  958. -webkit-transform: translate3d(- 35px, 55px, 0);
  959. transform: translate3d(- 35px, 55px, 0)
  960. }
  961. 100%
  962. {
  963. -webkit-transform: translate3d(- 90px, 55px, 0);
  964. transform: translate3d(- 90px, 55px, 0)
  965. }
  966. }
  967. .home-hero-container
  968. {
  969. position: relative;
  970. z-index: 10
  971. }
  972. .home-hero
  973. {
  974. position: relative;
  975. margin-bottom: 26px
  976. }
  977. .home-hero .home-hero-sub
  978. {
  979. margin-top: 14px
  980. }
  981. .ie6 .home-hero .home-hero-sub
  982. {
  983. _margin-left: 0
  984. }
  985. .site-header .nav-category .link-category
  986. {
  987. visibility: hidden
  988. }
  989. .site-category
  990. {
  991. display: block
  992. }
  993. .site-category-list
  994. {
  995. height: 420px;
  996. border: 0;
  997. color: #fff;
  998. background: #333;
  999. background: rgba( 0, 0, 0, 0.6)
  1000. }
  1001. .site-category-list .title
  1002. {
  1003. color: #fff
  1004. }
  1005. .site-category-list .title i
  1006. {
  1007. color: #fff;
  1008. color: rgba( 255, 255, 255, 0.5)
  1009. }
  1010. .home-hero-slider
  1011. {
  1012. position: relative;
  1013. height: 460px;
  1014. overflow: hidden;
  1015. _zoom: 1
  1016. }
  1017. .home-hero-slider .slide
  1018. {
  1019. display: none;
  1020. width: 1226px;
  1021. height: 460px
  1022. }
  1023. .home-hero-slider .slide a
  1024. {
  1025. display: block
  1026. }
  1027. .home-hero-slider .slide img
  1028. {
  1029. width: 1226px;
  1030. height: 460px
  1031. }
  1032. .home-hero-slider .ui-wrapper .ui-prev
  1033. {
  1034. left: 234px
  1035. }
  1036. .home-hero-slider .ui-pager
  1037. {
  1038. display: block;
  1039. left: auto;
  1040. right: 30px;
  1041. width: 400px;
  1042. text-align: right
  1043. }
  1044. .home-channel-list
  1045. {
  1046. margin: 0;
  1047. padding: 3px;
  1048. list-style-type: none;
  1049. font-size: 12px;
  1050. text-align: center;
  1051. background: #5f5750
  1052. }
  1053. .home-channel-list li
  1054. {
  1055. position: relative;
  1056. float: left;
  1057. width: 70px;
  1058. height: 82px;
  1059. padding: 0 3px
  1060. }
  1061. .home-channel-list li :before, .home-channel-list li :after
  1062. {
  1063. position: absolute;
  1064. content: "";
  1065. background: #665e57
  1066. }
  1067. .home-channel-list li :before
  1068. {
  1069. top: - 1px;
  1070. left: 6px;
  1071. width: 64px;
  1072. height: 1px
  1073. }
  1074. .home-channel-list li :after
  1075. {
  1076. top: 6px;
  1077. left: 0;
  1078. width: 1px;
  1079. height: 70px
  1080. }
  1081. .home-channel-list li .top :before
  1082. {
  1083. display: none
  1084. }
  1085. .home-channel-list li .left :after
  1086. {
  1087. display: none
  1088. }
  1089. .home-channel-list a
  1090. {
  1091. display: block;
  1092. padding-top: 18px;
  1093. text-overflow: ellipsis;
  1094. white-space: nowrap;
  1095. overflow: hidden;
  1096. _zoom: 1;
  1097. color: #fff;
  1098. color: rgba( 255, 255, 255, 0.7);
  1099. * color: #fff;
  1100. -webkit-transition: color . 2s;
  1101. transition: color . 2s
  1102. }
  1103. .home-channel-list a :hover
  1104. {
  1105. color: #fff
  1106. }
  1107. .home-channel-list i
  1108. {
  1109. display: block;
  1110. height: 24px;
  1111. margin-bottom: 4px;
  1112. font-size: 24px;
  1113. line-height: 24px
  1114. }
  1115. .home-promo-list
  1116. {
  1117. margin: 0;
  1118. padding: 0;
  1119. list-style-type: none
  1120. }
  1121. .home-promo-list li
  1122. {
  1123. float: left;
  1124. width: 316px;
  1125. height: 170px;
  1126. margin-left: 15px;
  1127. -webkit-transition: -webkit-box-shadow . 2s linear;
  1128. transition: box-shadow . 2s linear
  1129. }
  1130. .home-promo-list li :hover
  1131. {
  1132. z-index: 2;
  1133. -webkit-box-shadow: 0 15px 30px rgba( 0, 0, 0, 0.1);
  1134. box-shadow: 0 15px 30px rgba( 0, 0, 0, 0.1)
  1135. }
  1136. .home-promo-list li .first
  1137. {
  1138. margin-left: 0
  1139. }
  1140. .home-promo-list a
  1141. {
  1142. display: block;
  1143. height: 170px
  1144. }
  1145. .home-promo-list img
  1146. {
  1147. width: 316px;
  1148. height: 170px
  1149. }
  1150. .home-star-goods .box-hd .more
  1151. {
  1152. top: 24px
  1153. }
  1154. .home-star-goods .box-bd
  1155. {
  1156. position: relative;
  1157. width: 1226px;
  1158. overflow: hidden;
  1159. _zoom: 1;
  1160. padding-bottom: 40px
  1161. }
  1162. .home-star-goods .xm-carousel-wrapper
  1163. {
  1164. height: 340px
  1165. }
  1166. .home-star-goods .xm-controls-middle .control
  1167. {
  1168. margin-left: 5px
  1169. }
  1170. .home-star-goods .xm-carousel-list
  1171. {
  1172. width: 1240px;
  1173. height: 340px
  1174. }
  1175. .home-star-goods .goods-list
  1176. {
  1177. height: 340px;
  1178. overflow: hidden;
  1179. _zoom: 1
  1180. }
  1181. .home-star-goods .goods-list li
  1182. {
  1183. height: 300px;
  1184. padding-top: 39px;
  1185. border-top-width: 1px;
  1186. border-top-style: solid;
  1187. text-align: center;
  1188. background: #fafafa;
  1189. -webkit-transition: all . 6s;
  1190. transition: all . 6s
  1191. }
  1192. .home-star-goods .goods-list li :hover
  1193. {
  1194. z-index: 2
  1195. }
  1196. .home-star-goods .goods-list .thumb
  1197. {
  1198. display: block;
  1199. width: 160px;
  1200. margin: 0 auto 22px
  1201. }
  1202. .home-star-goods .goods-list .thumb img
  1203. {
  1204. width: 160px;
  1205. height: 160px
  1206. }
  1207. .home-star-goods .goods-list .title
  1208. {
  1209. margin: 0 20px 3px;
  1210. font-size: 14px;
  1211. font-weight: 400;
  1212. text-overflow: ellipsis;
  1213. white-space: nowrap;
  1214. overflow: hidden;
  1215. _zoom: 1
  1216. }
  1217. .home-star-goods .goods-list .title, .home-star-goods .goods-list .title a
  1218. {
  1219. color: #212121
  1220. }
  1221. .home-star-goods .goods-list .desc
  1222. {
  1223. height: 18px;
  1224. margin: 0 20px 12px;
  1225. font-size: 12px;
  1226. text-overflow: ellipsis;
  1227. white-space: nowrap;
  1228. overflow: hidden;
  1229. _zoom: 1;
  1230. color: #b0b0b0
  1231. }
  1232. .home-star-goods .goods-list .price
  1233. {
  1234. margin: 0;
  1235. color: #ff6709
  1236. }
  1237. .home-star-goods .rainbow-list .rainbow-item-1
  1238. {
  1239. border-top-color: #ffac13
  1240. }
  1241. .home-star-goods .rainbow-list .rainbow-item-2
  1242. {
  1243. border-top-color: #83c44e
  1244. }
  1245. .home-star-goods .rainbow-list .rainbow-item-3
  1246. {
  1247. border-top-color: #2196f3
  1248. }
  1249. .home-star-goods .rainbow-list .rainbow-item-4
  1250. {
  1251. border-top-color: #e53935
  1252. }
  1253. .home-star-goods .rainbow-list .rainbow-item-5
  1254. {
  1255. border-top-color: #00c0a5
  1256. }
  1257. .home-star-goods .rainbow-list .rainbow-item-6
  1258. {
  1259. border-top-color: #ffac13
  1260. }
  1261. .home-star-goods .rainbow-list .rainbow-item-7
  1262. {
  1263. border-top-color: #83c44e
  1264. }
  1265. .home-star-goods .rainbow-list .rainbow-item-8
  1266. {
  1267. border-top-color: #2196f3
  1268. }
  1269. .home-star-goods .rainbow-list .rainbow-item-9
  1270. {
  1271. border-top-color: #e53935
  1272. }
  1273. .home-star-goods .rainbow-list .rainbow-item-10
  1274. {
  1275. border-top-color: #00c0a5
  1276. }
  1277. .home-star-goods .rainbow-list .rainbow-item-11
  1278. {
  1279. border-top-color: #ffac13
  1280. }
  1281. .home-star-goods .rainbow-list .rainbow-item-12
  1282. {
  1283. border-top-color: #83c44e
  1284. }
  1285. .home-star-goods .rainbow-list .rainbow-item-13
  1286. {
  1287. border-top-color: #2196f3
  1288. }
  1289. .home-star-goods .rainbow-list .rainbow-item-14
  1290. {
  1291. border-top-color: #e53935
  1292. }
  1293. .home-star-goods .rainbow-list .rainbow-item-15
  1294. {
  1295. border-top-color: #00c0a5
  1296. }
  1297. .home-star-goods .rainbow-list .rainbow-item-16
  1298. {
  1299. border-top-color: #ffac13
  1300. }
  1301. .home-star-goods .rainbow-list .rainbow-item-17
  1302. {
  1303. border-top-color: #83c44e
  1304. }
  1305. .home-star-goods .rainbow-list .rainbow-item-18
  1306. {
  1307. border-top-color: #2196f3
  1308. }
  1309. .home-star-goods .rainbow-list .rainbow-item-19
  1310. {
  1311. border-top-color: #e53935
  1312. }
  1313. .home-star-goods .rainbow-list .rainbow-item-20
  1314. {
  1315. border-top-color: #00c0a5
  1316. }
  1317. .home-main
  1318. {
  1319. padding-top: 60px
  1320. }
  1321. .home-brick-box
  1322. {
  1323. margin-bottom: 8px
  1324. }
  1325. .home-brick-box .box-hd .more .tab-list li
  1326. {
  1327. margin: 0 0 0 30px
  1328. }
  1329. .home-brick-box .brick-list, .home-brick-box .brick-promo-list
  1330. {
  1331. margin: 0 0 - 14px - 14px;
  1332. _margin-left: 0
  1333. }
  1334. .home-brick-box .tab-content-hide
  1335. {
  1336. display: none
  1337. }
  1338. .ie6 .home-brick-box .span4
  1339. {
  1340. margin-left: 0
  1341. }
  1342. .ie6 .home-brick-box .brick-promo-list .brick-item
  1343. {
  1344. margin-left: 0
  1345. }
  1346. .ie6 .home-brick-box .brick-list
  1347. {
  1348. width: 978px
  1349. }
  1350. .ie6 .home-brick-box .brick-item
  1351. {
  1352. margin-left: 8px
  1353. }
  1354. .home-brick-row-1-box
  1355. {
  1356. height: 358px
  1357. }
  1358. .home-brick-row-2-box
  1359. {
  1360. height: 686px
  1361. }
  1362. .home-recm-box
  1363. {
  1364. margin-bottom: 22px
  1365. }
  1366. .home-recm-box .box-hd .more
  1367. {
  1368. top: 15px
  1369. }
  1370. .home-recm-box .xm-carousel-wrapper
  1371. {
  1372. position: relative;
  1373. width: 1226px
  1374. }
  1375. .home-recm-box .xm-controls-middle .control
  1376. {
  1377. margin-left: 5px
  1378. }
  1379. .home-recm-box .xm-recommend ul .xm-carousel-list li
  1380. {
  1381. -webkit-transition: all 0.2s linear;
  1382. transition: all 0.2s linear
  1383. }
  1384. .home-recm-box .xm-recommend ul .xm-carousel-list li :hover
  1385. {
  1386. -webkit-transform: translate3d( 0, - 2px, 0);
  1387. transform: translate3d( 0, - 2px, 0)
  1388. }
  1389. .home-review-box
  1390. {
  1391. margin-bottom: 22px
  1392. }
  1393. .home-review-box .sep
  1394. {
  1395. color: #e0e0e0
  1396. }
  1397. .home-content-box
  1398. {
  1399. margin-bottom: 22px
  1400. }
  1401. .home-content-box .dot
  1402. {
  1403. border-color: #fff
  1404. }
  1405. .home-video-box
  1406. {
  1407. margin-bottom: 60px
  1408. }
  1409. .modal-video
  1410. {
  1411. width: 880px;
  1412. height: 596px;
  1413. margin-top: - 298px;
  1414. margin-left: - 440px;
  1415. -webkit-box-shadow: 0 18px 30px rgba( 0, 0, 0, 0.18);
  1416. box-shadow: 0 18px 30px rgba( 0, 0, 0, 0.18)
  1417. }
  1418. .modal-video .modal-bd
  1419. {
  1420. max-height: 536px;
  1421. padding: 0
  1422. }
  1423. .site-bn
  1424. {
  1425. display: none;
  1426. position: fixed;
  1427. _position: absolute;
  1428. top: 0;
  1429. left: 0;
  1430. z-index: 99;
  1431. width: 100%
  1432. }
  1433. .site-bn .container
  1434. {
  1435. position: relative
  1436. }
  1437. .site-bn .close
  1438. {
  1439. position: absolute;
  1440. top: 0;
  1441. right: 0;
  1442. width: 40px;
  1443. height: 40px;
  1444. text-align: center;
  1445. font-size: 24px;
  1446. line-height: 40px;
  1447. background-color: #000;
  1448. color: #fff;
  1449. opacity: . 4;
  1450. filter: alpha(opacity= 40)\ 9
  1451. }
  1452. .site-bn .close :hover
  1453. {
  1454. opacity: . 6;
  1455. filter: alpha(opacity= 60)\ 9
  1456. }
  1457. .site-bn-backdrop
  1458. {
  1459. display: none;
  1460. position: fixed;
  1461. _position: absolute;
  1462. top: 0;
  1463. left: 0;
  1464. z-index: 98;
  1465. width: 100%;
  1466. height: 1000px;
  1467. background: #000;
  1468. opacity: . 3;
  1469. filter: alpha(opacity= 30)\ 9
  1470. }
  1471. .site-bn-bar
  1472. {
  1473. width: 100%;
  1474. background-repeat: no-repeat;
  1475. background-position: center 0
  1476. }
  1477. .site-bn-bar .container
  1478. {
  1479. position: relative
  1480. }
  1481. .site-bn-bar .site-bn-bar-link
  1482. {
  1483. display: block;
  1484. width: 100%;
  1485. height: 120px;
  1486. text-indent: - 9999em
  1487. }
  1488. .doodle
  1489. {
  1490. display: none
  1491. }
  1492. .doodle .link-block
  1493. {
  1494. position: absolute;
  1495. left: 69px;
  1496. bottom: 0;
  1497. z-index: 21;
  1498. width: 165px;
  1499. height: 100px;
  1500. background-repeat: no-repeat;
  1501. background-position: center center;
  1502. text-indent: - 9999em
  1503. }
  1504. .air-doodle
  1505. {
  1506. display: none
  1507. }
  1508. .air-doodle .link-block
  1509. {
  1510. left: 70px;
  1511. width: 75px;
  1512. height: 75px;
  1513. padding-left: 75px;
  1514. padding-top: 25px;
  1515. font-size: 12px;
  1516. text-align: center;
  1517. color: #b0b0b0
  1518. }
  1519. .air-doodle .link-block :hover
  1520. {
  1521. color: #b0b0b0
  1522. }
  1523. .air-doodle .doodle-img
  1524. {
  1525. position: absolute;
  1526. left: 0;
  1527. top: 12px;
  1528. width: 75px;
  1529. height: 75px
  1530. }
  1531. .air-doodle .doodle-state
  1532. {
  1533. display: block;
  1534. font-size: 14px;
  1535. color: #83c44e
  1536. }
  1537. .air-doodle .doodle-info .city, .air-doodle .doodle-info .pm
  1538. {
  1539. display: block
  1540. }
  1541. .air-doodle .doodle-info .pm
  1542. {
  1543. font-size: 10px
  1544. }

js


  
  1. /**
  2. * Created by Administrator on 2017/5/25.
  3. */
  4. $( function() {
  5. var $slider = $( ".xm-star,.recommend");
  6. // 给xm-star 和recommend添加鼠标移入事件,根据this指向的对象查找按钮并添加点击事件
  7. $slider.mouseenter( function () {
  8. var $this = $( this),
  9. $sliderItem = $this.find( ".brick-list"), //轮播项
  10. $pre = $this.find( ".btn-group .pre"),
  11. $next = $this.find( ".btn-group .next"),
  12. len = $sliderItem.children().length, //li个数
  13. width = 248 * len, //248为每个li的占位宽
  14. page = 0, //初始页面
  15. max = len / 5; //最大页面
  16. //设置ul宽度,以便使所有li排成一排
  17. $sliderItem.css( "width", width);
  18. $pre.on( "click",clickHandleFn);
  19. //设置button hover效果
  20. $pre.hover(mouseIn, mouseOut);
  21. $next.hover(mouseIn, mouseOut);
  22. function mouseIn() {
  23. if (!$( this).hasClass( "disabled")) {
  24. $( this).addClass( "active");
  25. }
  26. }
  27. function mouseOut() {
  28. if (!$( this).hasClass( "disabled")) {
  29. $( this).removeClass( "active");
  30. }
  31. }
  32. function clickHandleFn(e) {
  33. e.stopPropagation();
  34. console.log(e.currentTarget);
  35. if($( this).index()){
  36. page--;
  37. } else{
  38. page++;
  39. }
  40. move(page);
  41. $pre.off( "click",clickHandleFn);
  42. $next.off( "click",clickHandleFn);
  43. disable(page);
  44. enable(page);
  45. }
  46. //移动
  47. function move(page){
  48. $sliderItem.css( "transform", "translate("+ (-width / max)*page + "px)");
  49. }
  50. //禁用按钮
  51. function disable(page){
  52. if(page === 0){
  53. $next.off( "click",clickHandleFn).addClass( "disabled").removeClass( "active");
  54. }
  55. if(page === max -1){
  56. $pre.off( "click",clickHandleFn).addClass( "disabled").removeClass( "active");
  57. }
  58. }
  59. //激活按钮
  60. function enable(page) {
  61. if (page > 0) {
  62. $next.on( "click", clickHandleFn).removeClass( "disabled");
  63. }
  64. if (page < max - 1) {
  65. $pre.on( "click", clickHandleFn).removeClass( "disabled");
  66. }
  67. }
  68. });
  69. });

主要的核心代码如上所示,引用的js,css及图片请在源码中下载。

下载地址:点我下载

 

 

 


转载:https://blog.csdn.net/weixin_41937552/article/details/116504625
查看评论
* 以上用户言论只代表其个人观点,不代表本网站的观点或立场