当前位置:   article > 正文

技术泡妹子二:篡改百度首页,惊呆女神_666moz.top

666moz.top

大多数网民上网的入口都是先打开百度,然后再搜索xxx,进入,为了给女神惊喜,决定篡改百度首页让女神惊呆,当然不是黑了百度,目前没这个实力,但是我们可以修改host文件,将www.baidu.com 指向自己的机器,或者你自己的云端服务器,然后当女神打开百度的时候就会打开你做好的网页了,她会惊讶的,哈哈哈。


效果如下:

看具体步骤

一、修改host文件

文件目录:C:\Windows\System32\drivers\etc

在最后加上一句:

127.0.0.1 www.baidu.com

127.0.0.1 也可换成你自己的服务器,这个时候就已经将百度指定到自己的机器上了,你再打开百度应该是打不开了

二、制作自己的网页

我这里自己用ps修改了百度的logo,找了一个表白的图片,将女友的名字,和想说的话p在了图片上,Dian,I love you

可以打开百度,Ctrl + S 保存网页,然后在修改文件的图片即可,这里我已经修改好了,可以直接复制用了。

还加了一点小修改,将想说的话轮流显示在搜索框中

index.html

  1. <html>
  2. <head>
  3. <meta http-equiv="content-type" content="text/html;charset=utf-8">
  4. <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  5. <meta content="always" name="referrer">
  6. <meta name="theme-color" content="#2932e1">
  7. <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
  8. <link rel="search" type="application/opensearchdescription+xml"
  9. href="/content-search.xml" title="百度搜索">
  10. <link rel="icon" sizes="any" mask=""
  11. href="//www.baidu.com/img/baidu.svg">
  12. <link rel="dns-prefetch" href="//s1.bdstatic.com">
  13. <link rel="dns-prefetch" href="//t1.baidu.com">
  14. <link rel="dns-prefetch" href="//t2.baidu.com">
  15. <link rel="dns-prefetch" href="//t3.baidu.com">
  16. <link rel="dns-prefetch" href="//t10.baidu.com">
  17. <link rel="dns-prefetch" href="//t11.baidu.com">
  18. <link rel="dns-prefetch" href="//t12.baidu.com">
  19. <link rel="dns-prefetch" href="//b1.bdstatic.com">
  20. <title>百度一下,你就知道</title>
  21. <style index="index" id="css_index">
  22. html,body {
  23. height: 100%
  24. }
  25. html {
  26. overflow-y: auto
  27. }
  28. body {
  29. font: 12px arial;
  30. text-align:;
  31. background: #fff
  32. }
  33. body,p,form,ul,li {
  34. margin: 0;
  35. padding: 0;
  36. list-style: none
  37. }
  38. body,form,#fm {
  39. position: relative
  40. }
  41. td {
  42. text-align: left
  43. }
  44. img {
  45. border: 0
  46. }
  47. a {
  48. color: #00c
  49. }
  50. a:active {
  51. color: #f60
  52. }
  53. input {
  54. border: 0;
  55. padding: 0
  56. }
  57. #wrapper {
  58. position: relative;
  59. _position:;
  60. min-height: 100%
  61. }
  62. #head {
  63. padding-bottom: 100px;
  64. text-align: center;
  65. *z-index: 1
  66. }
  67. #ftCon {
  68. height: 100px;
  69. position: absolute;
  70. bottom: 44px;
  71. text-align: left;
  72. width: 100%;
  73. margin: 0 auto;
  74. z-index: 0;
  75. overflow: hidden
  76. }
  77. .ftCon-Wrapper {
  78. overflow: hidden;
  79. width: 640px;
  80. margin: 0 auto
  81. }
  82. #qrcode {
  83. float: left;
  84. margin-top: 4px
  85. }
  86. #qrcode .qrcode-item {
  87. float: left
  88. }
  89. #qrcode .qrcode-item-2 {
  90. margin-left: 33px
  91. }
  92. #qrcode .qrcode-img {
  93. float: left;
  94. width: 60px;
  95. height: 60px
  96. }
  97. #qrcode .qrcode-item-1 .qrcode-img {
  98. background:
  99. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/qrcode/zbios_62c636fe.png)
  100. 0 0 no-repeat
  101. }
  102. #qrcode .qrcode-item-2 .qrcode-img {
  103. background:
  104. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/qrcode/nuomi_510f7472.png)
  105. 0 0 no-repeat
  106. }
  107. @media only screen and (-webkit-min-device-pixel-ratio:2) {
  108. #qrcode .qrcode-item-1 .qrcode-img {
  109. background-image:
  110. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/qrcode/zbios_x2_298f96c5.png);
  111. background-size: 60px 60px
  112. }
  113. #qrcode .qrcode-item-2 .qrcode-img {
  114. background-image:
  115. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/qrcode/nuomi_x2_de75d5db.png);
  116. background-size: 60px 60px
  117. }
  118. }
  119. #qrcode .qrcode-text {
  120. float: left;
  121. color: #999;
  122. line-height: 23px;
  123. margin: 8px 0 0 10px
  124. }
  125. #qrcode .qrcode-text p {
  126. text-align: left
  127. }
  128. #qrcode .qrcode-text b {
  129. color: #4c4c4c;
  130. font-weight: bold
  131. }
  132. #qrcode .qrcode-text span {
  133. letter-spacing: 1px
  134. }
  135. #ftConw {
  136. float: right
  137. }
  138. .bg {
  139. background-image:
  140. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/icons_8b5b2ea9.png);
  141. background-repeat: no-repeat;
  142. _background-image:
  143. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/icons_81a50fb1.gif)
  144. }
  145. .c-icon {
  146. display: inline-block;
  147. width: 14px;
  148. height: 14px;
  149. vertical-align: text-bottom; font-style normal;
  150. overflow: hidden;
  151. background:
  152. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/icons_8b5b2ea9.png)
  153. no-repeat 0 0;
  154. _background-image:
  155. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/icons_81a50fb1.gif)
  156. }
  157. .c-icon-triangle-down-blue {
  158. background-position: -480px -168px
  159. }
  160. .c-icon-chevron-unfold2 {
  161. background-position: -504px -168px
  162. }
  163. #m {
  164. width: 720px;
  165. margin: 0 auto
  166. }
  167. #nv a,#nv b,.btn,#lk {
  168. font-size: 14px
  169. }
  170. #nv {
  171. height: 19px;
  172. font-size: 16px;
  173. margin: 0 0 4px;
  174. text-align: left;
  175. text-indent: 137px
  176. }
  177. .s_btn {
  178. width: 95px;
  179. height: 32px;
  180. padding-top: 2px\9;
  181. font-size: 14px;
  182. background-color: #ddd;
  183. background-position: 0 -48px;
  184. cursor: pointer
  185. }
  186. .s_btn_h {
  187. background-position: -240px -48px
  188. }
  189. .s_btn_wr {
  190. width: 97px;
  191. height: 34px;
  192. display: inline-block;
  193. background-position: -120px -48px;
  194. *position: relative;
  195. z-index: 0;
  196. vertical-align: top
  197. }
  198. #cp,#cp a {
  199. color: #666
  200. }
  201. #cp .c-icon-icrlogo {
  202. width: 14px;
  203. height: 17px;
  204. display: inline-block;
  205. overflow: hidden;
  206. background:
  207. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/icons_8b5b2ea9.png)
  208. no-repeat;
  209. _background-image:
  210. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/icons_81a50fb1.gif);
  211. background-position: -600px -96px;
  212. position: relative;
  213. top: 3px
  214. }
  215. #shouji {
  216. margin-right: 14px
  217. }
  218. #u {
  219. display: none
  220. }
  221. #c-tips-container {
  222. display: none
  223. }
  224. #wrapper {
  225. min-width: 810px;
  226. height: 100%;
  227. min-height: 600px
  228. }
  229. #head {
  230. position: relative;
  231. padding-bottom: 0;
  232. height: 100%;
  233. min-height: 600px
  234. }
  235. #head .head_wrapper {
  236. height: 100%
  237. }
  238. #m {
  239. position: relative
  240. }
  241. #fm {
  242. padding-left: 40px;
  243. top: -37px
  244. }
  245. #lh {
  246. margin: 16px 0 5px
  247. }
  248. #lh a {
  249. color: #272727;
  250. margin-right: 20px
  251. }
  252. #lk {
  253. position: absolute;
  254. display: none;
  255. top: 0;
  256. right: 0;
  257. margin: 33px 0
  258. }
  259. #lk span {
  260. font: 14px "宋体"
  261. }
  262. #nv {
  263. position: absolute;
  264. display: none;
  265. top: 0;
  266. right: 0
  267. }
  268. #lm {
  269. color: #666;
  270. width: 100%;
  271. height: 60px;
  272. margin-top: 60px;
  273. line-height: 15px;
  274. font-size: 13px;
  275. position: absolute;
  276. top: 0;
  277. left: 0
  278. }
  279. #lm a {
  280. color: #666
  281. }
  282. #pad-version {
  283. line-height: 40px
  284. }
  285. .s_ipt_wr.bg,.s_btn_wr.bg,#su.bg {
  286. background-image: none
  287. }
  288. .s_btn_wr {
  289. width: auto;
  290. height: auto;
  291. border-bottom: 1px solid transparent;
  292. *border-bottom: 0
  293. }
  294. .s_btn {
  295. width: 100px;
  296. height: 36px;
  297. color: white;
  298. font-size: 15px;
  299. letter-spacing: 1px;
  300. background: #3385ff;
  301. border-bottom: 1px solid #2d78f4;
  302. outline: medium;
  303. *border-bottom: 0;
  304. -webkit-appearance: none;
  305. -webkit-border-radius: 0
  306. }
  307. .s_btn.btnhover {
  308. background: #317ef3;
  309. border-bottom: 1px solid #2868c8;
  310. *border-bottom: 0;
  311. box-shadow: 1px 1px 1px #ccc
  312. }
  313. .s_btn_h {
  314. background: #3075dc;
  315. box-shadow: inset 1px 1px 5px #2964bb;
  316. -webkit-box-shadow: inset 1px 1px 5px #2964bb;
  317. -moz-box-shadow: inset 1px 1px 5px #2964bb;
  318. -o-box-shadow: inset 1px 1px 5px #2964bb
  319. }
  320. #result_logo {
  321. display: none
  322. }
  323. #index_logo img {
  324. display: inline-block;
  325. width: 270px;
  326. height: 129px
  327. }
  328. #s_tab {
  329. display: none
  330. }
  331. .s_form {
  332. position: relative;
  333. top: 38.2%
  334. }
  335. .s_form_wrapper {
  336. position: relative;
  337. top: -191px
  338. }
  339. .s_ipt_wr {
  340. height: 34px
  341. }
  342. #head .c-icon-bear-round {
  343. display: none
  344. }
  345. #form {
  346. margin: 22px auto 0;
  347. width: 641px;
  348. text-align: left;
  349. z-index: 100
  350. }
  351. #form .bdsug,#fm .bdsug {
  352. top: 35px
  353. }
  354. .bdsug {
  355. display: none;
  356. position: absolute;
  357. width: 538px;
  358. background: #fff;
  359. border: 1px solid #ccc;
  360. _overflow: hidden;
  361. box-shadow: 1px 1px 3px #ededed;
  362. -webkit-box-shadow: 1px 1px 3px #ededed;
  363. -moz-box-shadow: 1px 1px 3px #ededed;
  364. -o-box-shadow: 1px 1px 3px #ededed
  365. }
  366. .bdsug.bdsugbg ul {
  367. background:
  368. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/sugbg_6a9201c2.png)
  369. 100% 100% no-repeat;
  370. background-size: 100px 110px;
  371. background-image:
  372. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/sugbg_d24a0811.gif)
  373. \9
  374. }
  375. .bdsug li {
  376. width: 522px;
  377. color: #000;
  378. font: 14px arial;
  379. line-height: 25px;
  380. padding: 0 8px;
  381. position: relative;
  382. cursor: default
  383. }
  384. .bdsug li.bdsug-s {
  385. background: #f0f0f0
  386. }
  387. .bdsug-store span,.bdsug-store b {
  388. color: #7a77c8
  389. }
  390. .bdsug-store-del {
  391. font-size: 12px;
  392. color: #666;
  393. text-decoration: underline;
  394. position: absolute;
  395. right: 8px;
  396. top: 0;
  397. cursor: pointer;
  398. display: none
  399. }
  400. .bdsug-s .bdsug-store-del {
  401. display: inline-block
  402. }
  403. .bdsug-ala {
  404. display: inline-block;
  405. border-bottom: 1px solid #e6e6e6
  406. }
  407. .bdsug-ala h3 {
  408. line-height: 14px;
  409. background: url(//www.baidu.com/img/sug_bd.png) no-repeat left center;
  410. margin: 8px 0 5px 0;
  411. font-size: 12px;
  412. font-weight: normal;
  413. color: #7b7b7b;
  414. padding-left: 20px
  415. }
  416. .bdsug-ala p {
  417. font-size: 14px;
  418. font-weight: bold;
  419. padding-left: 20px
  420. }
  421. .bdsug .bdsug-direct {
  422. width: auto;
  423. padding: 0;
  424. border-bottom: 1px solid #f1f1f1
  425. }
  426. .bdsug .bdsug-direct p {
  427. color: #00c;
  428. font-weight: bold;
  429. line-height: 34px;
  430. padding: 0 8px;
  431. cursor: pointer;
  432. white-space: nowrap;
  433. overflow: hidden
  434. }
  435. .bdsug .bdsug-direct p img {
  436. width: 16px;
  437. height: 16px;
  438. margin: 7px 6px 9px 0;
  439. vertical-align: middle
  440. }
  441. .bdsug .bdsug-direct p span {
  442. margin-left: 8px
  443. }
  444. .bdsug .bdsug-direct p i {
  445. font-size: 12px;
  446. line-height: 100%;
  447. font-style: normal;
  448. font-weight: normal;
  449. color: #fff;
  450. background-color: #2b99ff;
  451. display: inline;
  452. text-align: center;
  453. padding: 1px 5px;
  454. *padding: 2px 5px 0 5px;
  455. margin-left: 8px;
  456. overflow: hidden
  457. }
  458. .bdsug .bdsug-pcDirect {
  459. color: #000;
  460. font-size: 14px;
  461. line-height: 30px;
  462. height: 30px;
  463. background-color: #f8f8f8
  464. }
  465. .bdsug .bdsug-pc-direct-tip {
  466. position: absolute;
  467. right: 15px;
  468. top: 8px;
  469. width: 55px;
  470. height: 15px;
  471. display: block;
  472. background:
  473. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/pc_direct_ffda303e.png)
  474. no-repeat 0 0
  475. }
  476. .bdsug li.bdsug-pcDirect-s {
  477. background-color: #f0f0f0
  478. }
  479. .bdsug .bdsug-pcDirect-is {
  480. color: #000;
  481. font-size: 14px;
  482. line-height: 22px;
  483. background-color: #f8f8f8
  484. }
  485. .bdsug .bdsug-pc-direct-tip-is {
  486. position: absolute;
  487. right: 15px;
  488. top: 3px;
  489. width: 55px;
  490. height: 15px;
  491. display: block;
  492. background:
  493. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/pc_direct_ffda303e.png)
  494. no-repeat 0 0
  495. }
  496. .bdsug li.bdsug-pcDirect-is-s {
  497. background-color: #f0f0f0
  498. }
  499. .bdsug .bdsug-pcDirect-s .bdsug-pc-direct-tip,.bdsug .bdsug-pcDirect-is-s .bdsug-pc-direct-tip-is
  500. {
  501. background-position: 0 -15px
  502. }
  503. .bdsug .bdsug-newicon {
  504. color: #929292;
  505. opacity: .7;
  506. font-size: 12px;
  507. display: inline-block;
  508. line-height: 22px;
  509. letter-spacing: 2px
  510. }
  511. .bdsug .bdsug-s .bdsug-newicon {
  512. opacity: 1
  513. }
  514. .bdsug .bdsug-newicon i {
  515. letter-spacing: 0;
  516. font-style: normal
  517. }
  518. .toggle-underline {
  519. text-decoration: none
  520. }
  521. .toggle-underline:hover {
  522. text-decoration: underline
  523. }
  524. .tools {
  525. position: absolute;
  526. right: -75px
  527. }
  528. #mHolder {
  529. width: 62px;
  530. position: relative;
  531. z-index: 296;
  532. display: none
  533. }
  534. #mCon {
  535. height: 18px;
  536. line-height: 18px;
  537. position: absolute;
  538. cursor: pointer
  539. }
  540. #mCon span {
  541. color: #00c;
  542. cursor: default;
  543. display: block;
  544. width: 24px
  545. }
  546. #mCon .hw {
  547. text-decoration: underline;
  548. cursor: pointer;
  549. display: inline-block
  550. }
  551. #mCon .pinyin {
  552. display: inline-block
  553. }
  554. #mCon .c-icon-chevron-unfold2 {
  555. margin-left: 5px
  556. }
  557. #mMenu a {
  558. width: 100%;
  559. height: 100%;
  560. display: block;
  561. line-height: 22px;
  562. text-indent: 6px;
  563. text-decoration: none;
  564. filter: none\9
  565. }
  566. #mMenu,#user ul {
  567. box-shadow: 1px 1px 2px #ccc;
  568. -moz-box-shadow: 1px 1px 2px #ccc;
  569. -webkit-box-shadow: 1px 1px 2px #ccc;
  570. filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135,
  571. Color="#cccccc" ) \9
  572. }
  573. #mMenu {
  574. width: 56px;
  575. border: 1px solid #9b9b9b;
  576. list-style: none;
  577. position: absolute;
  578. right: 27px;
  579. top: 28px;
  580. display: none;
  581. background: #fff
  582. }
  583. #mMenu a:hover {
  584. background: #ebebeb
  585. }
  586. #mMenu .ln {
  587. height: 1px;
  588. background: #ebebeb;
  589. overflow: hidden;
  590. font-size: 1px;
  591. line-height: 1px;
  592. margin-top: -1px
  593. }
  594. #u1 a:link,#u1 a:visited {
  595. color: #666;
  596. text-decoration: none
  597. }
  598. #u1 a:hover,#u1 a:active {
  599. text-decoration: underline
  600. }
  601. #u1 a:active {
  602. color: #00c
  603. }
  604. #u1 {
  605. z-index: 2;
  606. color: white;
  607. position: absolute;
  608. right: 0;
  609. top: 0;
  610. margin: 19px 0 5px 0;
  611. padding: 0 96px 0 0
  612. }
  613. #u1 .reg {
  614. display: none
  615. }
  616. #u1 a.pf,#u1 a.pf:visited {
  617. display: inline-block;
  618. float: left;
  619. color: #333;
  620. line-height: 24px;
  621. font-size: 13px;
  622. margin-left: 20px;
  623. overflow: hidden;
  624. text-decoration: underline
  625. }
  626. #u1 a.lb,#u1 a.lb:visited,#u1 a.username {
  627. display: inline-block;
  628. float: left;
  629. color: #333;
  630. font-size: 13px;
  631. line-height: 24px;
  632. margin-left: 20px;
  633. text-decoration: underline
  634. }
  635. #u1 a.bri,#u1 a.bri:visited {
  636. display: inline-block;
  637. position: absolute;
  638. right: 10px;
  639. width: 60px;
  640. height: 23px;
  641. float: left;
  642. color: white;
  643. background: #38f;
  644. line-height: 24px;
  645. font-size: 13px;
  646. text-align: center;
  647. overflow: hidden;
  648. border-bottom: 1px solid #38f;
  649. margin-left: 19px;
  650. margin-right: 2px
  651. }
  652. #u1 a.bri.brihover {
  653. display: none;
  654. text-decoration: none;
  655. color: #333;
  656. background: 0;
  657. border-bottom: 1px solid transparent;
  658. margin-left: 19px
  659. }
  660. #u1 #lm a {
  661. color: #00c;
  662. text-decoration: underline
  663. }
  664. #u1 a.mnav,#u1 a.mnav:visited {
  665. float: left;
  666. color: #333;
  667. font-weight: bold;
  668. line-height: 24px;
  669. margin-left: 20px;
  670. font-size: 13px;
  671. text-decoration: underline
  672. }
  673. #u1 a.pf:hover,#u1 a.lb:hover,#u1 a.mnav:hover {
  674. color: #00c
  675. }
  676. .briiconsbg {
  677. background-repeat: no-repeat;
  678. background-size: 300px 18px;
  679. background-image:
  680. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/icons_c3b33b92.png);
  681. background-image:
  682. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/icons_0a1fc6ac.gif)
  683. \9
  684. }
  685. .bdpfmenu {
  686. background-color: #fff;
  687. border: 1px solid #d1d1d1;
  688. position: absolute;
  689. right: 160px;
  690. width: 68px;
  691. top: 36px;
  692. margin-top: -1px;
  693. _margin-top: -3px;
  694. z-index: 2;
  695. box-shadow: 1px 1px 5px #d1d1d1;
  696. -webkit-box-shadow: 1px 1px 5px #d1d1d1;
  697. -moz-box-shadow: 1px 1px 5px #d1d1d1;
  698. -o-box-shadow: 1px 1px 5px #d1d1d1
  699. }
  700. .bdpfmenu a {
  701. display: block;
  702. text-align: left;
  703. margin: 0 !important;
  704. padding: 0 9px;
  705. line-height: 26px;
  706. text-decoration: none
  707. }
  708. #wrapper .bdpfmenu a:link,#wrapper .bdpfmenu a:visited {
  709. background: white;
  710. color: #333
  711. }
  712. #wrapper .bdpfmenu a:hover,#wrapper .bdpfmenu a:active {
  713. background: #38f;
  714. text-decoration: none;
  715. color: white
  716. }
  717. #wrapper .bdnuarrow {
  718. width: 0;
  719. height: 0;
  720. font-size: 0;
  721. line-height: 0;
  722. display: block;
  723. position: absolute;
  724. top: -10px;
  725. left: 50%;
  726. margin-left: -5px
  727. }
  728. #wrapper .bdnuarrow em,#wrapper .bdnuarrow i {
  729. width: 0;
  730. height: 0;
  731. font-size: 0;
  732. line-height: 0;
  733. display: block;
  734. position: absolute;
  735. border: 5px solid transparent;
  736. border-style: dashed dashed solid dashed
  737. }
  738. #wrapper .bdnuarrow em {
  739. border-bottom-color: #d8d8d8;
  740. top: -1px
  741. }
  742. #wrapper .bdnuarrow i {
  743. border-bottom-color: #fff;
  744. top: 0
  745. }
  746. .s-isindex-wrap #wrapper .bdnuarrow {
  747. height: 13px;
  748. background:
  749. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/icons_c3b33b92.png)
  750. no-repeat -90px -1px
  751. }
  752. #wrapper .bdnuarrow.bdbriarrow {
  753. right: 104px;
  754. display: none !important
  755. }
  756. #wrapper .bdbri {
  757. width: 85px;
  758. min-height: 100px;
  759. border-left: 1px solid #e7e7e7;
  760. position: absolute;
  761. background-color: #f9f9f9;
  762. overflow: hidden;
  763. z-index: 2;
  764. right: 0;
  765. top: 0
  766. }
  767. #prefpanel {
  768. background: #fafafa;
  769. display: none;
  770. opacity: 0;
  771. position: fixed;
  772. _position: absolute;
  773. top: -359px;
  774. z-index: 1000;
  775. width: 100%;
  776. min-width: 960px;
  777. border-bottom: 1px solid #ebebeb
  778. }
  779. #prefpanel form {
  780. _width: 850px
  781. }
  782. #wrapper .bdbriimgtitle {
  783. color: #333;
  784. text-align: center;
  785. width: 66px;
  786. height: 43px;
  787. line-height: 43px;
  788. padding-top: 9px;
  789. margin: 0 auto;
  790. border-bottom: #f0f0f0 1px solid;
  791. font-size: 13px;
  792. cursor: default
  793. }
  794. #wrapper .briscrollwrapper {
  795. overflow: hidden
  796. }
  797. #wrapper .briscrollwrapperContainer {
  798. position: relative
  799. }
  800. #wrapper .bdbri.bdbriimg .bdmainlink a,#wrapper .bdbri.bdbriimg .bdothlink a
  801. {
  802. display: block;
  803. text-align: center;
  804. width: 66px;
  805. height: 76px;
  806. margin: 0 auto;
  807. border-bottom: #f0f0f0 1px solid;
  808. color: #666;
  809. text-decoration: none;
  810. overflow: hidden
  811. }
  812. #wrapper .bdbri.bdbriimg .bdmainlink a:visited,#wrapper .bdbri.bdbriimg .bdothlink a:visited
  813. {
  814. color: #666
  815. }
  816. #wrapper .bdbri.bdbriimg .bdmainlink a:hover,#wrapper .bdbri.bdbriimg .bdothlink a:hover
  817. {
  818. color: #666;
  819. text-decoration: underline
  820. }
  821. #wrapper .bdbri.bdbriimg .bdmainlink a:active,#wrapper .bdbri.bdbriimg .bdothlink a:active
  822. {
  823. color: #00c;
  824. text-decoration: underline
  825. }
  826. #wrapper .bdbri.bdbriimg span {
  827. width: 36px;
  828. height: 36px;
  829. display: block;
  830. margin: 10px auto 5px;
  831. background:
  832. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/logos/bdbri_icons_2e35e84b.png)
  833. no-repeat;
  834. cursor: pointer
  835. }
  836. #wrapper .bdbri.bdbriimg .bdbrimore,#wrapper .bdbri.bdbriimg .bdbrievenmore
  837. {
  838. clear: both;
  839. text-align: center
  840. }
  841. #wrapper .bdbri.bdbriimg .bdbrievenmore {
  842. margin-top: 15px;
  843. height: 30px;
  844. width: 85px;
  845. overflow: hidden
  846. }
  847. #wrapper .bdbri.bdbriimg span.bdbriimgitem_1 {
  848. background-position: 0 0
  849. }
  850. #wrapper .bdbri.bdbriimg span.bdbriimgitem_2 {
  851. background-position: -36px 0
  852. }
  853. #wrapper .bdbri.bdbriimg span.bdbriimgitem_3 {
  854. width: 40px;
  855. background-position: -72px 0
  856. }
  857. #wrapper .bdbri.bdbriimg span.bdbriimgitem_4 {
  858. background-position: -112px 0
  859. }
  860. #wrapper .bdbri.bdbriimg span.bdbriimgitem_5 {
  861. background-position: -148px 0
  862. }
  863. #wrapper .bdbri.bdbriimg span.bdbriimgitem_6 {
  864. background-position: -184px 0
  865. }
  866. #wrapper .bdbri.bdbriimg span.bdbriimgitem_7 {
  867. background-position: -220px 0
  868. }
  869. #wrapper .bdbri.bdbriimg .bdbrievenmore a:link,#wrapper .bdbri.bdbriimg .bdbrievenmore a:visited
  870. {
  871. color: #666;
  872. text-decoration: underline
  873. }
  874. #wrapper .bdbri.bdbriimg .bdbrievenmore a:hover {
  875. color: #666;
  876. text-decoration: underline
  877. }
  878. #wrapper .bdbri.bdbriimg .bdbrievenmore a:active {
  879. color: #00c
  880. }
  881. .bdbriscroll-ctrl-scroll {
  882. position: absolute;
  883. top: 10px;
  884. right: 1px;
  885. width: 8px;
  886. border-top: 1px solid #e4e4e4;
  887. border-left: 1px solid #e4e4e4;
  888. cursor: default;
  889. -webkit-user-select: none;
  890. -moz-user-select: none
  891. }
  892. .bdbriscroll-ctrl-scroll .bdbriscroll-axis {
  893. width: 8px;
  894. left: 0;
  895. z-index: 0;
  896. position: absolute;
  897. background: #f2f2f2
  898. }
  899. .bdbriscroll-ctrl-scroll-touch .bdbriscroll-axis {
  900. width: 7px;
  901. background: #f2f2f2
  902. }
  903. .bdbriscroll-ctrl-scroll-hover .bdbriscroll-axis {
  904. background: #f2f2f2
  905. }
  906. .bdbriscroll-ctrl-scroll .bdbriscroll-slider {
  907. overflow: hidden;
  908. width: 7px;
  909. height: 14px;
  910. position: absolute;
  911. left: 0;
  912. z-index: 10;
  913. display: none;
  914. background: #d9d9d9;
  915. margin-top: -1px;
  916. margin-left: -1px;
  917. border-right: 1px solid #cecece;
  918. border-bottom: 1px solid #cecece;
  919. cursor: default
  920. }
  921. .bdbriscroll-ctrl-scroll-touch .bdbriscroll-slider,.bdbriscroll-ctrl-scroll-hover .bdbriscroll-slider
  922. {
  923. background: #b8b8b8;
  924. border-right: 1px solid #afafaf;
  925. border-bottom: 1px solid #afafaf
  926. }
  927. </style>
  928. <!--[if lte IE 8]><style index="index" >.s_form{top:260px}</style><![endif]-->
  929. <!--[if IE 8]><style index="index" >#u1 a.mnav,#u1 a.mnav:visited,#u1 a.lb,#u1 a.lb:visited,#u1 a.pf,#u1 a.pf:visited,#u1 a.bri,#u1 a.bri:visited{font-family:simsun}</style><![endif]-->
  930. <style data-for="debug">
  931. #debug {
  932. display: none !important
  933. }
  934. </style>
  935. <style data-for="result" id="css_index_result">
  936. #seth {
  937. display: none;
  938. behavior: url(#default#homepage)
  939. }
  940. #setf {
  941. display: none
  942. }
  943. #sekj {
  944. margin-left: 14px
  945. }
  946. #st,#sekj {
  947. display: none
  948. }
  949. .s_ipt_wr {
  950. border: 1px solid #b6b6b6;
  951. border-color: #7b7b7b #b6b6b6 #b6b6b6 #7b7b7b;
  952. background: #fff;
  953. display: inline-block;
  954. vertical-align: top;
  955. width: 539px;
  956. margin-right: 0;
  957. border-right-width: 0;
  958. border-color: #b8b8b8 transparent #ccc #b8b8b8;
  959. overflow: hidden
  960. }
  961. .wrapper_s .s_ipt_wr {
  962. width: 439px
  963. }
  964. .wrapper_s .s_ipt {
  965. width: 434px
  966. }
  967. .wrapper_s .s_ipt_tip {
  968. width: 434px
  969. }
  970. .s_ipt_wr:hover,.s_ipt_wr.ipthover {
  971. border-color: #999 transparent #b3b3b3 #999
  972. }
  973. .s_ipt_wr.iptfocus {
  974. border-color: #4791ff transparent #4791ff #4791ff
  975. }
  976. .s_ipt_tip {
  977. color: #aaa;
  978. position: absolute;
  979. z-index: -10;
  980. font: 16px/22px arial;
  981. height: 32px;
  982. line-height: 32px;
  983. padding-left: 7px;
  984. overflow: hidden;
  985. width: 526px
  986. }
  987. .s_ipt {
  988. width: 526px;
  989. height: 22px;
  990. font: 16px/18px arial;
  991. line-height: 22px\9;
  992. margin: 6px 0 0 7px;
  993. padding: 0;
  994. background: transparent;
  995. border: 0;
  996. outline: 0;
  997. -webkit-appearance: none
  998. }
  999. #kw {
  1000. position: relative
  1001. }
  1002. #u .username i {
  1003. background-position: -408px -144px
  1004. }
  1005. .bdpfmenu,.usermenu {
  1006. border: 1px solid #d1d1d1;
  1007. position: absolute;
  1008. width: 105px;
  1009. top: 36px;
  1010. z-index: 302;
  1011. box-shadow: 1px 1px 5px #d1d1d1;
  1012. -webkit-box-shadow: 1px 1px 5px #d1d1d1;
  1013. -moz-box-shadow: 1px 1px 5px #d1d1d1;
  1014. -o-box-shadow: 1px 1px 5px #d1d1d1
  1015. }
  1016. .bdpfmenu {
  1017. font-size: 12px;
  1018. background-color: #fff
  1019. }
  1020. .bdpfmenu a,.usermenu a {
  1021. display: block;
  1022. text-align: left;
  1023. margin: 0 !important;
  1024. padding: 0 9px;
  1025. line-height: 26px;
  1026. text-decoration: none
  1027. }
  1028. .briiconsbg {
  1029. background-repeat: no-repeat;
  1030. background-size: 300px 18px;
  1031. background-image:
  1032. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/icons_c3b33b92.png);
  1033. background-image:
  1034. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/icons_0a1fc6ac.gif)
  1035. \9
  1036. }
  1037. #u {
  1038. z-index: 301;
  1039. position: absolute;
  1040. right: 0;
  1041. top: 0;
  1042. margin: 21px 9px 5px 0;
  1043. padding: 0
  1044. }
  1045. .wrapper_s #u {
  1046. margin-right: 3px
  1047. }
  1048. #u a {
  1049. text-decoration: underline;
  1050. color: #333;
  1051. margin: 0 7px
  1052. }
  1053. .wrapper_s #u a {
  1054. margin-right: 0 6px
  1055. }
  1056. #u div a {
  1057. text-decoration: none
  1058. }
  1059. #u a:hover {
  1060. text-decoration: underline
  1061. }
  1062. #u .back_org {
  1063. color: #666;
  1064. float: left;
  1065. display: inline-block;
  1066. height: 24px;
  1067. line-height: 24px
  1068. }
  1069. #u .bri {
  1070. display: inline-block;
  1071. width: 24px;
  1072. height: 24px;
  1073. float: left;
  1074. line-height: 24px;
  1075. color: transparent;
  1076. background:
  1077. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/icons_c3b33b92.png)
  1078. no-repeat 4px 3px;
  1079. background-size: 300px 18px;
  1080. background-image:
  1081. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/home/img/icons_0a1fc6ac.gif)
  1082. \9;
  1083. overflow: hidden
  1084. }
  1085. #u .bri:hover,#u .bri.brihover {
  1086. background-position: -18px 3px
  1087. }
  1088. #mCon #imeSIcon {
  1089. background-position: -408px -144px;
  1090. margin-left: 0
  1091. }
  1092. #mCon span {
  1093. color: #333
  1094. }
  1095. .bdpfmenu a:link,.bdpfmenu a:visited,#u .usermenu a:link,#u .usermenu a:visited
  1096. {
  1097. background: white;
  1098. color: #333
  1099. }
  1100. .bdpfmenu a:hover,.bdpfmenu a:active,#u .usermenu a:hover,#u .usermenu a:active
  1101. {
  1102. background: #38f;
  1103. text-decoration: none;
  1104. color: white
  1105. }
  1106. .bdpfmenu {
  1107. width: 70px
  1108. }
  1109. .usermenu {
  1110. width: 68px;
  1111. right: 8px
  1112. }
  1113. #wrapper .bdnuarrow {
  1114. width: 0;
  1115. height: 0;
  1116. font-size: 0;
  1117. line-height: 0;
  1118. display: block;
  1119. position: absolute;
  1120. top: -10px;
  1121. left: 50%;
  1122. margin-left: -5px
  1123. }
  1124. #wrapper .bdnuarrow em,#wrapper .bdnuarrow i {
  1125. width: 0;
  1126. height: 0;
  1127. font-size: 0;
  1128. line-height: 0;
  1129. display: block;
  1130. position: absolute;
  1131. border: 5px solid transparent;
  1132. border-style: dashed dashed solid dashed
  1133. }
  1134. #wrapper .bdnuarrow em {
  1135. border-bottom-color: #d8d8d8;
  1136. top: -1px
  1137. }
  1138. #wrapper .bdnuarrow i {
  1139. border-bottom-color: #fff;
  1140. top: 0
  1141. }
  1142. #prefpanel {
  1143. background: #fafafa;
  1144. display: none;
  1145. opacity: 0;
  1146. position: fixed;
  1147. _position: absolute;
  1148. top: -359px;
  1149. z-index: 500;
  1150. width: 100%;
  1151. min-width: 960px;
  1152. border-bottom: 1px solid #ebebeb
  1153. }
  1154. #prefpanel form {
  1155. _width: 850px
  1156. }
  1157. #kw_tip {
  1158. cursor: default;
  1159. display: none;
  1160. margin-top: 1px
  1161. }
  1162. #bds-message-wrapper {
  1163. top: 43px
  1164. }
  1165. .quickdelete-wrap {
  1166. position: relative
  1167. }
  1168. .quickdelete-wrap input {
  1169. width: 500px
  1170. }
  1171. .wrapper_l .quickdelete-wrap input {
  1172. width: 500px
  1173. }
  1174. .wrapper_s .quickdelete-wrap input {
  1175. width: 402px
  1176. }
  1177. input::-ms-clear {
  1178. display: none
  1179. }
  1180. .quickdelete {
  1181. width: 32px;
  1182. height: 32px;
  1183. background:
  1184. url(https://ss1.bdstatic.com/5eN1bjq8AAUYm2zgoY3K/r/www/cache/static/protocol/https/global/img/quickdelete_9c14b01a.png)
  1185. no-repeat;
  1186. background-position: 10px 10px;
  1187. position: absolute;
  1188. display: block
  1189. }
  1190. .quickdelete:hover {
  1191. background-position: 10px -24px
  1192. }
  1193. </style>
  1194. <!--[if IE 8]><style index="index" >.s_ipt{background-color:#FFF}</style><![endif]-->
  1195. <script>
  1196. function h(obj) {
  1197. obj.style.behavior = 'url(#default#homepage)';
  1198. var a = obj.setHomePage('//www.baidu.com/');
  1199. }
  1200. </script>
  1201. <noscript><meta http-equiv="refresh" content="0;
  1202. url=/baidu.html?from=noscript"/></noscript>
  1203. <script>
  1204. window._ASYNC_START = new Date().getTime();
  1205. </script>
  1206. <style type="text/css" media="screen">
  1207. #swfEveryCookie {
  1208. visibility: hidden
  1209. }
  1210. </style>
  1211. </head>
  1212. <body link="#0000cc">
  1213. <div id="wrapper" style="display: block;">
  1214. <div id="head">
  1215. <div class="head_wrapper">
  1216. <div class="s_form">
  1217. <div class="s_form_wrapper">
  1218. <div id="lg">
  1219. <img hidefocus="true"
  1220. src="http://tianox.oss-cn-shanghai.aliyuncs.com/images/other/logo_baidu_1.png?Expires=1484791261&OSSAccessKeyId=33uJ6Rq7ksNqdQH0&Signature=IXtFN2Dx/krvEYZ/eYFZ0BcAIwk%3D"
  1221. width="270" height="129">
  1222. </div>
  1223. <a href="/" id="result_logo"
  1224. onmousedown="return c({'fm':'tab','tab':'logo'})"><img
  1225. src="//www.baidu.com/img/baidu_jgylogo3.gif" alt="到百度首页"
  1226. title="到百度首页"></a>
  1227. <form id="form" name="f" action="http://www.baidu.com/s" class="fm">
  1228. <input type="hidden" name="ie" value="utf-8"><input
  1229. type="hidden" name="f" value="8"><input type="hidden"
  1230. name="rsv_bp" value="0"><input type="hidden"
  1231. name="rsv_idx" value="1"><input type="hidden" name="ch"
  1232. value=""><input type="hidden" name="tn"
  1233. value="94605351_hao_pg"><input type="hidden" name="bar"
  1234. value=""><span
  1235. class="bg s_ipt_wr iptfocus quickdelete-wrap"><input
  1236. id="kw" name="wd" class="s_ipt" value="" maxlength="255"
  1237. autocomplete="off"><a href="javascript:;"
  1238. id="quickdelete" title="清空" class="quickdelete"
  1239. style="top: 0px; right: 0px; display: none;"></a></span><span
  1240. class="bg s_btn_wr"><input type="submit" id="su"
  1241. value="百度一下" class="bg s_btn"></span><span class="tools"><span
  1242. id="mHolder"><div id="mCon">
  1243. <span>输入法</span>
  1244. </div>
  1245. <ul id="mMenu">
  1246. <li><a href="javascript:;" name="ime_hw">手写</a></li>
  1247. <li><a href="javascript:;" name="ime_py">拼音</a></li>
  1248. <li class="ln"></li>
  1249. <li><a href="javascript:;" name="ime_cl">关闭</a></li>
  1250. </ul></span></span><input type="hidden" name="rn" value=""><input
  1251. type="hidden" name="oq" value=""><input type="hidden"
  1252. name="rsv_pq" value="91e93ddd0002e663"><input
  1253. type="hidden" name="rsv_t"
  1254. value="915edsaJIyDM8VYTPtgFynI0s5bIzqcDtWGcpawWa4HjEA31pFcAADqkSqx9bOJWpFPwRss5">
  1255. </form>
  1256. <div id="m"></div>
  1257. </div>
  1258. </div>
  1259. <div id="u">
  1260. <a class="toindex" href="/">百度首页</a><a href="javascript:;"
  1261. name="tj_settingicon" class="pf">设置<i
  1262. class="c-icon c-icon-triangle-down"></i></a><a
  1263. href="https://passport.baidu.com/v2/?login&tpl=mn&u=http%3A%2F%2Fwww.baidu.com%2F"
  1264. name="tj_login" class="lb" onclick="return false;">登录</a>
  1265. </div>
  1266. <div id="u1">
  1267. <a href="http://www.nuomi.com/?cid=002540" name="tj_trnuomi"
  1268. class="mnav">糯米</a><a href="http://news.baidu.com"
  1269. name="tj_trnews" class="mnav">新闻</a><a
  1270. href="http://www.hao123.com" name="tj_trhao123" class="mnav">hao123</a><a
  1271. href="http://map.baidu.com" name="tj_trmap" class="mnav">地图</a><a
  1272. href="http://v.baidu.com" name="tj_trvideo" class="mnav">视频</a><a
  1273. href="http://tieba.baidu.com" name="tj_trtieba" class="mnav">贴吧</a><a
  1274. href="https://passport.baidu.com/v2/?login&tpl=mn&u=http%3A%2F%2Fwww.baidu.com%2F"
  1275. name="tj_login" class="lb" onclick="return false;">登录</a><a
  1276. href="http://www.baidu.com/gaoji/preferences.html"
  1277. name="tj_settingicon" class="pf">设置</a><a
  1278. href="http://www.baidu.com/more/" name="tj_briicon" class="bri"
  1279. style="display: block;">更多产品</a>
  1280. </div>
  1281. </div>
  1282. </div>
  1283. <div class="s_tab" id="s_tab">
  1284. <b>网页</b><a
  1285. href="http://news.baidu.com/ns?cl=2&rn=20&tn=news&word="
  1286. wdfield="word" onmousedown="return c({'fm':'tab','tab':'news'})">新闻</a><a
  1287. href="http://tieba.baidu.com/f?kw=&fr=wwwt" wdfield="kw"
  1288. onmousedown="return c({'fm':'tab','tab':'tieba'})">贴吧</a><a
  1289. href="http://zhidao.baidu.com/q?ct=17&pn=0&tn=ikaslist&rn=10&word=&fr=wwwt"
  1290. wdfield="word" onmousedown="return c({'fm':'tab','tab':'zhidao'})">知道</a><a
  1291. href="http://music.baidu.com/search?fr=ps&ie=utf-8&key="
  1292. wdfield="key" onmousedown="return c({'fm':'tab','tab':'music'})">音乐</a><a
  1293. href="http://image.baidu.com/search/index?tn=baiduimage&ps=1&ct=201326592&lm=-1&cl=2&nc=1&ie=utf-8&word="
  1294. wdfield="word" onmousedown="return c({'fm':'tab','tab':'pic'})">图片</a><a
  1295. href="http://v.baidu.com/v?ct=301989888&rn=20&pn=0&db=0&s=25&ie=utf-8&word="
  1296. wdfield="word" onmousedown="return c({'fm':'tab','tab':'video'})">视频</a><a
  1297. href="http://map.baidu.com/m?word=&fr=ps01000" wdfield="word"
  1298. onmousedown="return c({'fm':'tab','tab':'map'})">地图</a><a
  1299. href="http://wenku.baidu.com/search?word=&lm=0&od=0&ie=utf-8"
  1300. wdfield="word" onmousedown="return c({'fm':'tab','tab':'wenku'})">文库</a><a
  1301. href="//www.baidu.com/more/"
  1302. onmousedown="return c({'fm':'tab','tab':'more'})">更多»</a>
  1303. </div>
  1304. <div id="ftCon">
  1305. <div class="ftCon-Wrapper">
  1306. <div id="ftConw">
  1307. <p id="lh">
  1308. <a id="seth" onclick="h(this)" href="/"
  1309. onmousedown="return ns_c({'fm':'behs','tab':'homepage','pos':0})">把百度设为主页</a><a
  1310. id="setf" href="//www.baidu.com/cache/sethelp/help.html"
  1311. onmousedown="return ns_c({'fm':'behs','tab':'favorites','pos':0})"
  1312. target="_blank" style="display: inline;">把百度设为主页</a><a
  1313. onmousedown="return ns_c({'fm':'behs','tab':'tj_about'})"
  1314. href="http://home.baidu.com">关于百度</a><a
  1315. onmousedown="return ns_c({'fm':'behs','tab':'tj_about_en'})"
  1316. href="http://ir.baidu.com">About  Baidu</a>
  1317. </p>
  1318. <p id="cp">
  1319. ©2015 Baidu <a href="http://www.baidu.com/duty/"
  1320. onmousedown="return ns_c({'fm':'behs','tab':'tj_duty'})">使用百度前必读</a> <a
  1321. href="http://jianyi.baidu.com/" class="cp-feedback"
  1322. onmousedown="return ns_c({'fm':'behs','tab':'tj_homefb'})">意见反馈</a> 京ICP证030173号 <i
  1323. class="c-icon-icrlogo"></i>
  1324. </p>
  1325. </div>
  1326. <div id="qrcode">
  1327. <div class="qrcode-item qrcode-item-1">
  1328. <div class="qrcode-img"></div>
  1329. <div class="qrcode-text">
  1330. <p>
  1331. <b>手机百度</b>
  1332. </p>
  1333. <p>
  1334. <span>快人一步</span>
  1335. </p>
  1336. </div>
  1337. </div>
  1338. <div class="qrcode-item qrcode-item-2">
  1339. <div class="qrcode-img"></div>
  1340. <div class="qrcode-text">
  1341. <p>
  1342. <b>百度糯米</b>
  1343. </p>
  1344. <p>
  1345. <span>一毛大餐</span>
  1346. </p>
  1347. </div>
  1348. </div>
  1349. </div>
  1350. </div>
  1351. </div>
  1352. </div>
  1353. </body>
  1354. <script src="http://cdn.bootcss.com/jquery/1.10.1/jquery.min.js"></script>
  1355. <script>
  1356. $(function(){
  1357. var kwarr = new Array("亲爱的宝宝,我要让全世界都知道,我爱你","希望你永远幸福");
  1358. //$("#kw").val(kwarr[0]);
  1359. var i = 0;
  1360. setInterval(function(){
  1361. $("#kw").val(kwarr[i]);
  1362. if(i>=kwarr.length-1){
  1363. i=0;
  1364. }else{
  1365. i++;
  1366. }
  1367. console.log(i);
  1368. },5000);
  1369. });
  1370. </script>
  1371. </html>


第1424行是你需要替换的图片

第1563行是你需要替换的话语

三、将网页放入服务器

将index.html 放入服务器的默认目录下,将服务器的端口改为80,保证你在host配置的如127.0.0.1 能直接访问到

比如放入tomcat 的ROOT目录下, 启动服务器,再用浏览器输入www.baidu.com 看看效果,大功告成

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/92218
推荐阅读
相关标签
  

闽ICP备14008679号