popup.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <title>test</title>
  5. <meta charset="UTF-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=11,IE=10,IE=9,IE=8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
  8. <meta name="apple-mobile-web-app-title" content="CodeDay">
  9. <meta http-equiv="Cache-Control" content="no-siteapp">
  10. <style>
  11. button {
  12. width: 180px;
  13. border: none;
  14. height: 30px;
  15. background-color: #009fe9;
  16. color: white;
  17. cursor: pointer;
  18. user-select: none;
  19. box-shadow: 1px 1px 4px #968a8a;
  20. }
  21. .user-bar {
  22. font-family: "Microsoft YaHei";
  23. font-size: 12px;
  24. line-height: 26px;
  25. color: #333;
  26. }
  27. .no-scheme {
  28. background-color: #ccc;
  29. box-shadow: none;
  30. pointer-events: none;
  31. }
  32. .login {
  33. display: none;
  34. }
  35. </style>
  36. </head>
  37. <body>
  38. <div class="user-bar">
  39. <span class="user"></span>
  40. <div class="login">登录</div>
  41. </div>
  42. <button>获取方案</button>
  43. <script type="text/javascript" src="js/popup.js"></script>
  44. </body>
  45. </html>