index.wxss 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. }
  12. .donutLogin .welcomeText {
  13. position: absolute;
  14. top: 50%;
  15. transform: translateY(-50%);
  16. width: 100%;
  17. text-align: center;
  18. font-size: 40rpx;
  19. line-height: 80rpx;
  20. }
  21. .donutLogin .box {
  22. position: absolute;
  23. width: 100%;
  24. bottom: 125rpx;
  25. }
  26. .donutLogin .box .button {
  27. margin-top: 100rpx;
  28. width: 500rpx;
  29. height: 100rpx;
  30. background: #00B240;
  31. border-radius: 50rpx;
  32. font-size: 40rpx;
  33. display: flex;
  34. align-items: center;
  35. justify-content: center;
  36. }
  37. .donutLogin .box .button .wxIcon {
  38. width: 68rpx;
  39. height: 68rpx;
  40. margin-right: 40rpx;
  41. }
  42. .donutLogin .cgroup {
  43. margin-top: 230rpx;
  44. }
  45. .donutLogin .cgroup .donutLogin__checkbox-container {
  46. color: rgba(0, 0, 0, 0.3);
  47. display: flex;
  48. justify-content: center;
  49. font-size: 12px;
  50. margin-top: 12px;
  51. }
  52. .donutLogin .cgroup .donutLogin__checkbox {
  53. display: none;
  54. }
  55. .donutLogin .cgroup .donutLogin__checkbox-label {
  56. appearance: none;
  57. display: inline-block;
  58. border: 0;
  59. outline: 0;
  60. vertical-align: middle;
  61. background-color: currentColor;
  62. -webkit-mask-position: 0 0;
  63. mask-position: 0 0;
  64. -webkit-mask-repeat: no-repeat;
  65. mask-repeat: no-repeat;
  66. -webkit-mask-size: 100%;
  67. mask-size: 100%;
  68. -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);
  69. 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);
  70. color: rgba(0, 0, 0, 0.3);
  71. width: 1em;
  72. height: 1em;
  73. font-size: 17px;
  74. }
  75. .donutLogin .cgroup .donutLogin__checkbox[aria-checked=true] + .donutLogin__checkbox-label,
  76. .donutLogin .cgroup .donutLogin__checkbox-label:checked {
  77. -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);
  78. 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);
  79. color: #07c160;
  80. }
  81. .donutLogin .cgroup .donutLogin__checkbox-text {
  82. margin-left: 2px;
  83. }