test.js 765 B

12345678910111213141516171819202122232425262728293031
  1. Router.route('community', function () {
  2. let params = new URLSearchParams(document.location.search);
  3. //
  4. if(params.get("tag")){
  5. _tags = params.get("tag");
  6. }
  7. if(params.get("channel")){
  8. _channel = params.get("channel");
  9. }
  10. list_tag = _tags.split(',');
  11. community_onload();
  12. });
  13. Router.route('category', function () {
  14. let params = new URLSearchParams(document.location.search);
  15. if(params.get("tag")){
  16. _tags = params.get("tag");
  17. }
  18. if(params.get("channel")){
  19. _channel = params.get("channel");
  20. }
  21. list_tag = _tags.split(',');
  22. palicanon_onload();
  23. palicanonGetChapter();
  24. });
  25. Router.route('my', function () {
  26. });
  27. function go(){
  28. location.assign('index.html?view=one');
  29. }