feat:回到顶部
Showing
2 changed files
with
19 additions
and
1 deletions
| ... | @@ -654,6 +654,9 @@ div.footer .system_service ul li a{ | ... | @@ -654,6 +654,9 @@ div.footer .system_service ul li a{ |
| 654 | font-weight: 400; | 654 | font-weight: 400; |
| 655 | color: #DEDEDE; | 655 | color: #DEDEDE; |
| 656 | } | 656 | } |
| 657 | div.footer .system_service ul li a:hover { | ||
| 658 | color: #f46143; | ||
| 659 | } | ||
| 657 | .footer .subject { | 660 | .footer .subject { |
| 658 | width: 1200px; | 661 | width: 1200px; |
| 659 | margin: 0 auto; | 662 | margin: 0 auto; | ... | ... |
| ... | @@ -410,7 +410,7 @@ | ... | @@ -410,7 +410,7 @@ |
| 410 | <img src="./images/code.png"> | 410 | <img src="./images/code.png"> |
| 411 | <p>扫描关注公众号</p> | 411 | <p>扫描关注公众号</p> |
| 412 | </li> | 412 | </li> |
| 413 | 413 | ||
| 414 | </ol> | 414 | </ol> |
| 415 | </div> | 415 | </div> |
| 416 | </div> | 416 | </div> |
| ... | @@ -437,4 +437,19 @@ | ... | @@ -437,4 +437,19 @@ |
| 437 | 437 | ||
| 438 | //… | 438 | //… |
| 439 | }); | 439 | }); |
| 440 | layui.use('util', function () { | ||
| 441 | var util = layui.util; | ||
| 442 | //执行 | ||
| 443 | util.fixbar({ | ||
| 444 | bar1: true, | ||
| 445 | bar2: true, | ||
| 446 | top:true | ||
| 447 | , click: function (type) { | ||
| 448 | console.log(type); | ||
| 449 | if (type === 'bar1') { | ||
| 450 | alert('点击了bar1') | ||
| 451 | } | ||
| 452 | } | ||
| 453 | }); | ||
| 454 | }); | ||
| 440 | </script> | 455 | </script> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment