login.wxss 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .container {
  28. flex: 1;
  29. display: flex;
  30. flex-direction: column;
  31. justify-content: flex-start;
  32. position: relative;
  33. }
  34. .force-login-wrap {
  35. width: 100%;
  36. height: 100%;
  37. overflow: hidden;
  38. z-index: 11111;
  39. top: 0;
  40. }
  41. .force-login-wrap .force-login__content {
  42. position: absolute;
  43. left: 50%;
  44. top: 40%;
  45. -webkit-transform: translate(-50%, -50%);
  46. transform: translate(-50%, -50%);
  47. }
  48. .force-login-wrap .force-login__content .logo {
  49. display: flex;
  50. flex-direction: column;
  51. justify-content: center;
  52. align-items: center;
  53. }
  54. .force-login-wrap .force-login__content .logo .logo-img {
  55. border: 4rpx solid #FFFFFF;
  56. box-shadow: 0px 5px 15px 2px rgba(0, 0, 0, 0.1);
  57. border-radius: 50%;
  58. width: 80px;
  59. height: 80px;
  60. }
  61. .force-login-wrap .force-login__content .logo .logo-img image {
  62. border-radius: 50%;
  63. width: 100%;
  64. height: 100%;
  65. overflow: hidden;
  66. }
  67. .force-login-wrap .force-login__content .logo .title {
  68. margin-top: 20rpx;
  69. font-size: 35rpx;
  70. font-family: PingFang SC;
  71. font-weight: bold;
  72. color: #000;
  73. margin-bottom: 30rpx;
  74. }
  75. .force-login-wrap .force-login__content .login-notice {
  76. font-size: 28rpx;
  77. font-family: PingFang SC;
  78. font-weight: 400;
  79. color: #000;
  80. line-height: 44rpx;
  81. width: 500rpx;
  82. text-align: center;
  83. margin-bottom: 80rpx;
  84. }
  85. .force-login-wrap .force-login__content .btns {
  86. position: relative;
  87. width: 630rpx;
  88. height: 80rpx;
  89. }
  90. .force-login-wrap .force-login__content .btns .author-btn {
  91. z-index: 100;
  92. position: absolute;
  93. width: 630rpx;
  94. height: 80rpx;
  95. background: linear-gradient(to right, #2583EB 0%, #6dbae9 100%);
  96. background: -moz-linear-gradient(to right, #2583EB 0%, #6dbae9 100%);
  97. border-radius: 40rpx;
  98. font-size: 30rpx;
  99. font-family: PingFang SC;
  100. font-weight: 500;
  101. color: white;
  102. }
  103. .force-login-wrap .force-login__content .author-btn {
  104. z-index: 100;
  105. width: 630rpx;
  106. height: 80rpx;
  107. background: linear-gradient(to right, #2583EB 0%, #6dbae9 100%);
  108. background: -moz-linear-gradient(to right, #2583EB 0%, #6dbae9 100%);
  109. border-radius: 40rpx;
  110. font-size: 30rpx;
  111. font-family: PingFang SC;
  112. font-weight: 500;
  113. color: white;
  114. }
  115. .force-login-wrap .force-login__content .close-btn {
  116. width: 630rpx;
  117. height: 80rpx;
  118. margin-top: 30rpx;
  119. border-radius: 40rpx;
  120. border: 2rpx solid #2583EB;
  121. background: none;
  122. font-size: 30rpx;
  123. font-family: PingFang SC;
  124. font-weight: 500;
  125. color: #2583EB;
  126. }
  127. .tips {
  128. margin-top: 30rpx;
  129. display: flex;
  130. justify-content: center;
  131. align-items: center;
  132. font-size: 28rpx;
  133. color: #000;
  134. }
  135. .tips .btn {
  136. color: #2583EB;
  137. }
  138. .wxAuth {
  139. border-radius: 30rpx;
  140. width: 100%;
  141. padding: 15rpx;
  142. display: flex;
  143. flex-direction: column;
  144. align-items: center;
  145. justify-content: center;
  146. background-color: #FFFFFF;
  147. }
  148. .wxAuth .title {
  149. font-size: 32rpx;
  150. margin: 10rpx 0rpx;
  151. font-weight: bold;
  152. text-align: center;
  153. }
  154. .wxAuth .wx-box {
  155. width: 100%;
  156. padding: 0rpx 30rpx;
  157. }