299 |
300 |
301 |
302 |
303 | ├── bugs.txt ├── README.md ├── common.css ├── index.html └── index2.html /bugs.txt: -------------------------------------------------------------------------------- 1 | 我修改了这些bugs -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # worldcupmf 2 | 腾讯网移动端H5页面设计实战分享之赛程魔方 3 | -------------------------------------------------------------------------------- /common.css: -------------------------------------------------------------------------------- 1 | * { 2 | margin: 0; 3 | padding: 0; 4 | } 5 | 6 | ul, ol { 7 | list-style: none; 8 | } 9 | 10 | body { 11 | font-size: 100%; 12 | font-family: Helvetica,STHeiti,Droid Sans Fallback; 13 | -webkit-text-size-adjust: 100%; 14 | -ms-text-size-adjust: 100%; 15 | -webkit-tap-highlight-color: rgba(0,0,0,0); 16 | } 17 | 18 | body, html{ 19 | width: 100%; 20 | height: 100%; 21 | position: relative; 22 | overflow: hidden; 23 | -webkit-backface-visibility: hidden; 24 | } 25 | 26 | .perspective { 27 | margin:0 auto; 28 | height:100%; 29 | } 30 | 31 | .load { 32 | position: absolute; 33 | top: 0px; 34 | left: 0px; 35 | right: 0px; 36 | bottom: 0px; 37 | width: 100%; 38 | height: 100%; 39 | background: #43812b; 40 | z-index: 1000; 41 | } 42 | .loadImg { 43 | position: absolute; 44 | left: 50%; 45 | top: 50%; 46 | width: 100px; 47 | height: 100px; 48 | margin: -50px 0 0 -50px; 49 | } 50 | 51 | .loadTxt { 52 | width: 100px; 53 | height: 50px; 54 | margin: 0px auto; 55 | line-height: 50px; 56 | text-align: center; 57 | color: #fff86b; 58 | font-size: 25px; 59 | font-family: Impact,Georgia,"Times New Roman", Times, serif; 60 | } 61 | 62 | .circle { 63 | background-color: rgba(0,0,0,0); 64 | border: 5px solid rgba(251,241,107,0.9); 65 | opacity: .9; 66 | border-right: 5px solid rgba(0,0,0,0); 67 | border-left: 5px solid rgba(0,0,0,0); 68 | border-radius: 50px; 69 | box-shadow: 0 0 35px #fbf49c; 70 | width: 50px; 71 | height: 50px; 72 | margin: 0 auto; 73 | -moz-animation: spinPulse 1s infinite ease-in-out; 74 | -webkit-animation: spinPulse 1s infinite linear; 75 | } 76 | 77 | .circle1 { 78 | background-color: rgba(0,0,0,0); 79 | border: 5px solid rgba(251,241,107,1); 80 | opacity: .9; 81 | border-left: 5px solid rgba(0,0,0,0); 82 | border-right: 5px solid rgba(0,0,0,0); 83 | border-radius: 50px; 84 | box-shadow: 0 0 15px #f4f0d1; 85 | width: 30px; 86 | height: 30px; 87 | margin: 0 auto; 88 | position: relative; 89 | top: -50px; 90 | -moz-animation: spinoffPulse 1s infinite linear; 91 | -webkit-animation: spinoffPulse 1s infinite linear; 92 | } 93 | 94 | .global { 95 | position: relative; 96 | height: 100%; 97 | width: 100%; 98 | /* overflow: hidden; */ 99 | -webkit-transform-style: preserve-3d; 100 | -webkit-backface-visibility: hidden; 101 | } 102 | 103 | .screen { 104 | -webkit-transform-style: preserve-3d; 105 | transform-style: preserve-3d; 106 | } 107 | 108 | .ease { 109 | -webkit-transition: all 1.0s ease-in-out; 110 | transition: all 1.0s ease-in-out; 111 | } 112 | 113 | .animated { 114 | -webkit-animation-duration: 1s; 115 | animation-duration: 1s; 116 | -webkit-animation-fill-mode: both; 117 | animation-fill-mode: both; 118 | } 119 | 120 | .layer { 121 | position: relative; 122 | overflow: hidden; 123 | } 124 | 125 | .global, .screen, .layer { 126 | z-index: 1; 127 | } 128 | 129 | .layer1 { 130 | position: relative; 131 | background: url(http://mat1.gtimg.com/sports/worldcup2014/match/page_1.jpg) top center no-repeat; 132 | background-size: cover; 133 | } 134 | 135 | .layer .inner { 136 | width: 100%; 137 | height: 100%; 138 | } 139 | 140 | .layer1 .hd { 141 | padding: 10px 30px; 142 | color: #9BC894; 143 | } 144 | 145 | .f12 { 146 | font-size: 12px; 147 | } 148 | 149 | .fl { 150 | float: left; 151 | } 152 | 153 | .fr { 154 | float: right; 155 | } 156 | 157 | .cf:after { 158 | content: ""; 159 | display: table; 160 | clear: both; 161 | } 162 | 163 | .layer1 .bd { 164 | position: absolute; 165 | left: 0; 166 | top: 7%; 167 | width: 100%; 168 | height: 100%; 169 | text-align: center; 170 | } 171 | 172 | img { 173 | display: inline-block; 174 | } 175 | 176 | .layer1 .animate .mofang { 177 | opacity: 1; 178 | animation: mofang 1.3s linear; 179 | -webkit-animation: mofang 1.3s linear; 180 | } 181 | 182 | .layer1 .ft { 183 | position: absolute; 184 | left: 0; 185 | bottom: 0; 186 | width: 100%; 187 | } 188 | 189 | .layer1 .ft .btn { 190 | position: relative; 191 | height: 37px; 192 | margin: 0 auto; 193 | text-align: center; 194 | color: #435d50; 195 | font: 16px/32px "微软雅黑"; 196 | } 197 | 198 | .layer1 .ft .btn1 { 199 | background: url(http://mat1.gtimg.com/sports/worldcup2014/match/btn_1.png) top center no-repeat; 200 | background-size: 222px 84px; 201 | } 202 | 203 | .layer1 .animate .btn { 204 | -webkit-animation-duration: 1s; 205 | animation-duration: 1s; 206 | -webkit-animation-fill-mode: both; 207 | animation-fill-mode: both; 208 | -webkit-animation-name: bounceIn; 209 | animation-name: bounceIn; 210 | } 211 | 212 | .layer1 .animate .btn1 { 213 | -webkit-animation-delay: 1.5s; 214 | } 215 | 216 | .layer1 .ft .btn2 { 217 | background: url(http://mat1.gtimg.com/sports/worldcup2014/match/btn_2.png) top center no-repeat; 218 | background-size: 277px 84px; 219 | } 220 | 221 | .layer1 .animate .btn2 { 222 | -webkit-animation-delay: 1s; 223 | } 224 | 225 | .layer1 .ft .btn3 { 226 | background: url(http://mat1.gtimg.com/sports/worldcup2014/match/btn_3.png) top center no-repeat; 227 | background-size: 320px 84px; 228 | } 229 | 230 | .layer1 .animate .btn3 { 231 | -webkit-animation-delay: 0.5s; 232 | } 233 | 234 | .layer1 .ft .btn4 { 235 | background: url(http://mat1.gtimg.com/sports/worldcup2014/match/btn_4.png) top center no-repeat #AEE433; 236 | background-size: 320px 84px; 237 | color: #268f11; 238 | } 239 | 240 | .layer1 .animate .btn4 { 241 | -webkit-animation-delay: 0s; 242 | } 243 | 244 | .layer1 .ft .btn:before { 245 | position: absolute; 246 | top: -9px; 247 | left: 50%; 248 | margin-left: 35px; 249 | content: ""; 250 | width: 51px; 251 | height: 12px; 252 | } 253 | 254 | .layer1 .ft .btn1:before { 255 | background: url(http://mat1.gtimg.com/sports/worldcup2014/match/btn_arr_1.png) no-repeat; 256 | background-size: 51px 12px; 257 | } 258 | 259 | .layer1 .ft .btn2:before { 260 | background: url(http://mat1.gtimg.com/sports/worldcup2014/match/btn_arr_2.png) no-repeat; 261 | background-size: 51px 12px; 262 | } 263 | 264 | .layer1 .ft .btn3:before { 265 | background: url(http://mat1.gtimg.com/sports/worldcup2014/match/btn_arr_3.png) no-repeat; 266 | background-size: 51px 12px; 267 | } 268 | 269 | .layer1 .ft .btn4:before { 270 | background: url(http://mat1.gtimg.com/sports/worldcup2014/match/btn_arr_4.png) no-repeat; 271 | background-size: 51px 12px; 272 | } 273 | 274 | .layer1 .animate .btnAnimate{ 275 | animation:btn 1s; 276 | -webkit-animation:btn 1s; 277 | } 278 | 279 | @keyframes btn{ 280 | 0% {height:37px;} 281 | 50% {height:84px;} 282 | 100% {height:37px;} 283 | } 284 | 285 | @-webkit-keyframes btn{ 286 | 0% {height:37px;} 287 | 50% {height:84px;} 288 | 100% {height:37px;} 289 | } 290 | 291 | /* storyshdow*/ 292 | .storyshdow { 293 | display: none; 294 | position: absolute; 295 | left: 0; 296 | top: 0; 297 | right: 0; 298 | bottom: 0; 299 | width: 100%; 300 | height: 100%; 301 | z-index: 11; 302 | background: rgba(0,0,0,0.5); 303 | } 304 | .storyshdow { 305 | background: rgba(0,0,0,0.6); 306 | } 307 | .storydialog { 308 | position: absolute; 309 | left: 50%; 310 | top: 50px; 311 | width: 270px; 312 | height: 308px; 313 | margin: 0 0 0 -135px; 314 | border-radius: 5px; 315 | background-color: #fff; 316 | opacity: 0; 317 | z-index: -1; 318 | -webkit-transform: translate3d(0,0,0); 319 | -webkit-transform-style: preserve-3d; 320 | -webkit-backface-visibility: hidden; 321 | } 322 | 323 | .storydialog { 324 | width: 300px; 325 | margin-left: -150px; 326 | top: 100px; 327 | border-radius: 0; 328 | height: auto; 329 | } 330 | 331 | .storydialog { 332 | left: 200%; 333 | } 334 | 335 | .dialog_index { 336 | z-index: 12; 337 | } 338 | 339 | .opacity { 340 | opacity: 1; 341 | } 342 | 343 | .dialog_index { 344 | left: 50%; 345 | } 346 | .full_screen { 347 | position: absolute; 348 | margin-left: 0; 349 | top: 0; 350 | left: 0; 351 | width: 100%; 352 | text-align: center; 353 | background-color: #78B245; 354 | z-index: 12; 355 | overflow: hidden; 356 | } 357 | 358 | .full_screen .link { 359 | position: absolute; 360 | left: 0; 361 | top: 380px; 362 | width: 100%; 363 | text-align: center; 364 | overflow: hidden; 365 | } 366 | 367 | .full_screen .close { 368 | position: absolute; 369 | right: 12px; 370 | top: 12px; 371 | width: 35px; 372 | height: 35px; 373 | background-color: #04A7DE; 374 | background: url(http://mat1.gtimg.com/sports/worldcup2014/match/zh_close.png) no-repeat; 375 | background-size: 35px 35px; 376 | } 377 | 378 | .bounceIn { 379 | -webkit-animation-name: bounceIn; 380 | animation-name: bounceIn; 381 | } 382 | 383 | @-moz-keyframes spinPulse { 384 | 0% { -moz-transform:rotate(160deg); opacity:0; box-shadow:0 0 1px #2187e7;} 385 | 50% { -moz-transform:rotate(145deg); opacity:1; } 386 | 100% { -moz-transform:rotate(-320deg); opacity:0; } 387 | } 388 | @-moz-keyframes spinoffPulse { 389 | 0% { -moz-transform:rotate(0deg); } 390 | 100% { -moz-transform:rotate(360deg); } 391 | } 392 | @-webkit-keyframes spinPulse { 393 | 0% { -webkit-transform:rotate(160deg); opacity:0; box-shadow:0 0 1px #2187e7; } 394 | 50% { -webkit-transform:rotate(145deg); opacity:1;} 395 | 100% { -webkit-transform:rotate(-320deg); opacity:0; } 396 | } 397 | @-webkit-keyframes spinoffPulse { 398 | 0% { -webkit-transform:rotate(0deg); } 399 | 100% { -webkit-transform:rotate(360deg); } 400 | } 401 | 402 | @-webkit-keyframes mofang { 403 | 0%, 404 | 50% { -webkit-transform: scale(0);opacity: 0.5;} 405 | 70% { -webkit-transform: scale(1.5);opacity: 0.8;} 406 | 80% { -webkit-transform: scale(0.8) rotate(180);opacity: 1;} 407 | 100% { -webkit-transform: scale(1.2);} 408 | } 409 | 410 | @-webkit-keyframes bounceIn { 411 | 0% { 412 | opacity: 0; 413 | -webkit-transform: scale(.3); 414 | transform: scale(.3); 415 | } 416 | 417 | 50% { 418 | opacity: 1; 419 | -webkit-transform: scale(1.05); 420 | transform: scale(1.05); 421 | } 422 | 423 | 70% { 424 | -webkit-transform: scale(.9); 425 | transform: scale(.9); 426 | } 427 | 428 | 100% { 429 | opacity: 1; 430 | -webkit-transform: scale(1); 431 | transform: scale(1); 432 | } 433 | } 434 | 435 | @keyframes bounceIn { 436 | 0% { 437 | opacity: 0; 438 | -webkit-transform: scale(.3); 439 | -ms-transform: scale(.3); 440 | transform: scale(.3); 441 | } 442 | 443 | 50% { 444 | opacity: 1; 445 | -webkit-transform: scale(1.05); 446 | -ms-transform: scale(1.05); 447 | transform: scale(1.05); 448 | } 449 | 450 | 70% { 451 | -webkit-transform: scale(.9); 452 | -ms-transform: scale(.9); 453 | transform: scale(.9); 454 | } 455 | 456 | 100% { 457 | opacity: 1; 458 | -webkit-transform: scale(1); 459 | -ms-transform: scale(1); 460 | transform: scale(1); 461 | } 462 | } 463 | 464 | @-webkit-keyframes bounceIn { 465 | 0% { 466 | opacity: 0; 467 | -webkit-transform: scale(.3); 468 | transform: scale(.3); 469 | } 470 | 471 | 50% { 472 | opacity: 1; 473 | -webkit-transform: scale(1.05); 474 | transform: scale(1.05); 475 | } 476 | 477 | 70% { 478 | -webkit-transform: scale(.9); 479 | transform: scale(.9); 480 | } 481 | 482 | 100% { 483 | opacity: 1; 484 | -webkit-transform: scale(1); 485 | transform: scale(1); 486 | } 487 | } 488 | 489 | @keyframes bounceIn { 490 | 0% { 491 | opacity: 0; 492 | -webkit-transform: scale(.3); 493 | -ms-transform: scale(.3); 494 | transform: scale(.3); 495 | } 496 | 497 | 50% { 498 | opacity: 1; 499 | -webkit-transform: scale(1.05); 500 | -ms-transform: scale(1.05); 501 | transform: scale(1.05); 502 | } 503 | 504 | 70% { 505 | -webkit-transform: scale(.9); 506 | -ms-transform: scale(.9); 507 | transform: scale(.9); 508 | } 509 | 510 | 100% { 511 | opacity: 1; 512 | -webkit-transform: scale(1); 513 | -ms-transform: scale(1); 514 | transform: scale(1); 515 | } 516 | } 517 | 518 | .screen_x90 { 519 | -webkit-transform: rotateY(0deg) rotateX(90deg); 520 | transform: rotateY(0deg) rotateX(90deg); 521 | } 522 | 523 | .layer2{ 524 | background-color: #f9ffe7; 525 | position: relative; 526 | } 527 | 528 | .hd_bd { 529 | border-width: 30px 15px 0 15px; 530 | border-style: solid; 531 | position: relative; 532 | text-align: center; 533 | line-height: 30px; 534 | position: relative; 535 | z-index: 2; 536 | } 537 | 538 | .layer2 .hd_bd { 539 | color: #435d50; 540 | border-color: #FFF transparent transparent transparent; 541 | } 542 | 543 | .layer2 .hd_bd { 544 | border-color: #FFF #55b852 #55b852 #55b852; 545 | border-width: 30px 15px 8px 15px; 546 | } 547 | 548 | .hd_bd .tit { 549 | color: #435d50; 550 | font-size: 18px; 551 | position: absolute; 552 | width: 100%; 553 | top: -30px; 554 | left: 0; 555 | } 556 | #js_tab_menu { 557 | background-color: #55b852; 558 | height: 30px; 559 | border-bottom: 4px solid #faf848; 560 | padding: 0 9px 0 14px; 561 | } 562 | 563 | #js_tab_menu li { 564 | display: block; 565 | float: left; 566 | height: 30px; 567 | text-align: center; 568 | width: 25%; 569 | position: relative; 570 | } 571 | 572 | #js_tab_menu li span { 573 | position: absolute; 574 | display: block; 575 | height: 30px; 576 | font-size: 18px; 577 | color: #fff; 578 | line-height: 30px; 579 | top: 0; 580 | left: 0; 581 | width: 100%; 582 | height: 34px; 583 | } 584 | 585 | #js_tab_menu .on span { 586 | background: url(http://mat1.gtimg.com/sports/worldcup2014/match/tab_on.png) no-repeat; 587 | background-size: 100% 100%; 588 | color: #117d0e; 589 | } 590 | 591 | #js_tab_contents .conitem { 592 | display: none; 593 | position: absolute; 594 | padding-top: 19px; 595 | top: 72px; 596 | bottom: 35px; 597 | width: 100%; 598 | } 599 | 600 | #wrap_box, #wrap_box_2 { 601 | position: absolute; 602 | overflow: hidden; 603 | top: 0; 604 | bottom: 0; 605 | width: 100%; 606 | } 607 | 608 | #scroller_1, #scroller_2 { 609 | padding: 20px 0; 610 | position: absolute; 611 | z-index: 1; 612 | -webkit-tap-highlight-color: rgba(0,0,0,0); 613 | width: 100%; 614 | -webkit-transform: translateZ(0); 615 | -moz-transform: translateZ(0); 616 | -ms-transform: translateZ(0); 617 | -o-transform: translateZ(0); 618 | transform: translateZ(0); 619 | -webkit-touch-callout: none; 620 | -webkit-user-select: none; 621 | -moz-user-select: none; 622 | -ms-user-select: none; 623 | user-select: none; 624 | -webkit-text-size-adjust: none; 625 | -moz-text-size-adjust: none; 626 | -ms-text-size-adjust: none; 627 | -o-text-size-adjust: none; 628 | text-size-adjust: none; 629 | } 630 | 631 | #js_tab_contents .bg { 632 | width: auto; 633 | position: absolute; 634 | top: 0; 635 | right: 0; 636 | } 637 | 638 | #js_tab_contents .one .bg { 639 | height: 747px; 640 | } 641 | 642 | .layer2 .item { 643 | float: left; 644 | width: 33%; 645 | height: 25%; 646 | text-align: center; 647 | color: #3C3C3C; 648 | } 649 | 650 | .conitem .item { 651 | height: 70px; 652 | width: 231px; 653 | border: 1px solid #ecf6cd; 654 | background-color: #fff; 655 | margin-left: 17px; 656 | } 657 | 658 | .layer2 .animate .item { 659 | -webkit-animation-duration: 0.5s; 660 | animation-duration: 0.5s; 661 | -webkit-animation-fill-mode: both; 662 | animation-fill-mode: both; 663 | -webkit-animation-name: flag; 664 | animation-name: flag; 665 | } 666 | 667 | @-webkit-keyframes flag{ 668 | 0%{-webkit-transform:scale(0);} 669 | 100%{-webkit-transform:scale(1);} 670 | } 671 | @keyframes flag{ 672 | 0%{-webkit-transform:scale(0);} 673 | 100%{-webkit-transform:scale(1);} 674 | } 675 | 676 | .conitem .item .num { 677 | display: block; 678 | width: 20px; 679 | height: 20px; 680 | position: absolute; 681 | top: 25px; 682 | left: -7px; 683 | background-color: #55b852; 684 | color: #fff; 685 | font: 15px/20px'Arial'; 686 | } 687 | .country_list { 688 | display: block; 689 | padding-left: 22px; 690 | float: left; 691 | padding-top: 4px; 692 | width: 118px; 693 | } 694 | .country_list li { 695 | height: 30px; 696 | line-height: 30px; 697 | text-align: left; 698 | } 699 | .country_list li span { 700 | color: #435d50; 701 | } 702 | 703 | .country_list .flag { 704 | display: inline-block; 705 | height: 17px; 706 | width: 17px; 707 | float: left; 708 | margin: 3px 8px 0 0; 709 | } 710 | 711 | .country_list .flag img { 712 | height: 17px; 713 | width: 17px; 714 | } 715 | 716 | .country_list .score { 717 | float: right; 718 | } 719 | 720 | .country_list .first .score { 721 | color: #39a436; 722 | } 723 | 724 | .conitem .item .des { 725 | float: right; 726 | width: 70px; 727 | margin-right: 20px; 728 | padding-top: 5px; 729 | } 730 | .conitem .item .state { 731 | display: inline-block; 732 | background-color: #a5a5a5; 733 | color: #fff; 734 | } 735 | .conitem .not_start .state { 736 | background-color: #55b852; 737 | } 738 | 739 | .mt25 { 740 | margin-top: 25px; 741 | } 742 | 743 | .mt36 { 744 | margin-top: 36px; 745 | } 746 | 747 | #js_tab_contents .two .bg{ 748 | width: auto; 749 | position: absolute; 750 | top: 0; 751 | right: 0; 752 | } 753 | 754 | #js_tab_contents .three .bg { 755 | height: 150px; 756 | } 757 | 758 | #js_tab_contents .four .bg { 759 | height: 171px; 760 | } 761 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 |
30 |
33 |
36 |
64 |
巴西
智利6月29日
73 |00:00
74 |4-3
75 |
哥伦比亚
乌拉圭6月29日
85 |04:00
86 |2-0
87 |
荷兰
墨西哥6月30日
97 |00:00
98 |2-1
99 |
哥斯达黎加
希腊6月30日
109 |04:00
110 |6-4
111 |
法国
尼日利亚7月1日
121 |00:00
122 |2-0
123 |
德国
阿尔及利亚7月1日
133 |04:00
134 |2-1
135 |
阿根廷
瑞士7月2日
145 |00:00
146 |1-0
147 |
比利时
美国7月2日
157 |04:00
158 |2-1
159 |
326 |
329 |
332 |
360 |
巴西
智利6月29日
369 |00:00
370 |4-3
371 |
哥伦比亚
乌拉圭6月29日
381 |04:00
382 |2-0
383 |
荷兰
墨西哥6月30日
393 |00:00
394 |2-1
395 |
哥斯达黎加
希腊6月30日
405 |04:00
406 |6-4
407 |
法国
尼日利亚7月1日
417 |00:00
418 |2-0
419 |
德国
阿尔及利亚7月1日
429 |04:00
430 |2-1
431 |
阿根廷
瑞士7月2日
441 |00:00
442 |1-0
443 |
比利时
美国7月2日
453 |04:00
454 |2-1
455 |星期五
624 |星期六
649 |星期日
700 |星期一
764 |星期二
815 |星期三
866 |星期四
917 |星期五
968 |星期六
1019 |星期日
1070 |星期一
1121 |星期二
1172 |星期三
1236 |星期四
1300 |星期五
1364 |星期日
1430 |星期一
1464 |星期二
1498 |星期三
1532 |星期六
1568 |星期日
1602 |星期三
1638 |星期四
1661 |星期日
1686 |星期一
1711 |出品
