index.less 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. .donutLogin {
  2. position: relative;
  3. overflow: hidden;
  4. height: 100vh;
  5. width: 100vw;
  6. background-color: #F0F2F5;
  7. background-image: url('https://reader-wx.ai160.com/images/reader/v3/donutLogin.png');
  8. background-repeat: no-repeat;
  9. background-size: contain;
  10. color: #000000;
  11. .welcomeText {
  12. position: absolute;
  13. top: 50%;
  14. transform: translateY(-50%);
  15. width: 100%;
  16. text-align: center;
  17. font-size: 40rpx;
  18. line-height: 80rpx;
  19. }
  20. .box {
  21. position: absolute;
  22. width: 100%;
  23. bottom: 125rpx;
  24. .button {
  25. margin-top: 100rpx;
  26. width: 500rpx;
  27. height: 100rpx;
  28. background: #00B240;
  29. border-radius: 50rpx;
  30. font-size: 40rpx;
  31. display: flex;
  32. align-items: center;
  33. justify-content: center;
  34. .wxIcon {
  35. width: 68rpx;
  36. height: 68rpx;
  37. margin-right: 40rpx;
  38. }
  39. }
  40. }
  41. .cgroup {
  42. margin-top: 230rpx;
  43. .donutLogin__checkbox-container {
  44. color: rgba(0, 0, 0, 0.3);
  45. display: flex;
  46. justify-content: center;
  47. font-size: 12px;
  48. margin-top: 12px;
  49. }
  50. .donutLogin__checkbox {
  51. display: none;
  52. }
  53. .donutLogin__checkbox-label {
  54. appearance: none;
  55. display: inline-block;
  56. border: 0;
  57. outline: 0;
  58. vertical-align: middle;
  59. background-color: currentColor;
  60. -webkit-mask-position: 0 0;
  61. mask-position: 0 0;
  62. -webkit-mask-repeat: no-repeat;
  63. mask-repeat: no-repeat;
  64. -webkit-mask-size: 100%;
  65. mask-size: 100%;
  66. -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E);
  67. mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%221000%22%20height%3D%221000%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M500%20916.667C269.881%20916.667%2083.333%20730.119%2083.333%20500%2083.333%20269.881%20269.881%2083.333%20500%2083.333c230.119%200%20416.667%20186.548%20416.667%20416.667%200%20230.119-186.548%20416.667-416.667%20416.667zm0-50c202.504%200%20366.667-164.163%20366.667-366.667%200-202.504-164.163-366.667-366.667-366.667-202.504%200-366.667%20164.163-366.667%20366.667%200%20202.504%20164.163%20366.667%20366.667%20366.667z%22%20fill-rule%3D%22evenodd%22%20fill-opacity%3D%22.9%22%2F%3E%3C%2Fsvg%3E);
  68. color: rgba(0, 0, 0, 0.3);
  69. width: 1em;
  70. height: 1em;
  71. font-size: 17px;
  72. }
  73. .donutLogin__checkbox[aria-checked=true]+.donutLogin__checkbox-label,
  74. .donutLogin__checkbox-label:checked {
  75. -webkit-mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E);
  76. mask-image: url(data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M12%2022C6.477%2022%202%2017.523%202%2012S6.477%202%2012%202s10%204.477%2010%2010-4.477%2010-10%2010zm-1.177-7.86l-2.765-2.767L7%2012.431l3.119%203.121a1%201%200%20001.414%200l5.952-5.95-1.062-1.062-5.6%205.6z%22%2F%3E%3C%2Fsvg%3E);
  77. color: #07c160;
  78. }
  79. .donutLogin__checkbox-text {
  80. margin-left: 2px;
  81. }
  82. }
  83. }