login.wxss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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, #2BC7B9 0%, #2aa7B9 100%);
  96. background: -moz-linear-gradient(to right, #2BC7B9 0%, #2aa7B9 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, #2BC7B9 0%, #2aa7B9 100%);
  108. background: -moz-linear-gradient(to right, #2BC7B9 0%, #2aa7B9 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 .author-btn {
  116. width: 630rpx;
  117. height: 80rpx;
  118. background: linear-gradient(to right, #2BC7B9 0%, #2aa7B9 100%);
  119. background: -moz-linear-gradient(to right, #2BC7B9 0%, #2aa7B9 100%);
  120. border-radius: 40rpx;
  121. font-size: 30rpx;
  122. font-family: PingFang SC;
  123. font-weight: 500;
  124. color: white;
  125. }
  126. .force-login-wrap .force-login__content .close-btn {
  127. width: 630rpx;
  128. height: 80rpx;
  129. margin-top: 30rpx;
  130. border-radius: 40rpx;
  131. border: 2rpx solid #2BC7B9;
  132. background: none;
  133. font-size: 30rpx;
  134. font-family: PingFang SC;
  135. font-weight: 500;
  136. color: #2BC7B9;
  137. }
  138. .tips {
  139. margin-top: 30rpx;
  140. display: flex;
  141. justify-content: center;
  142. align-items: center;
  143. font-size: 28rpx;
  144. color: #000;
  145. }
  146. .tips .btn {
  147. color: #2BC7B9;
  148. }
  149. .wx-login {
  150. background: rgba(0, 0, 0, 0.7);
  151. z-index: 99999;
  152. position: fixed;
  153. top: 0;
  154. left: 0;
  155. height: 100%;
  156. width: 100%;
  157. display: flex;
  158. align-items: center;
  159. justify-content: center;
  160. }
  161. .wx-login .form {
  162. border-radius: 20rpx;
  163. padding: 60rpx 30rpx;
  164. width: 500rpx;
  165. height: 300rpx;
  166. background-color: #fff;
  167. }
  168. .wx-login .form .title {
  169. font-size: 32rpx;
  170. font-family: PingFang SC;
  171. font-weight: bold;
  172. }
  173. .wx-login .form .desc {
  174. font-size: 28rpx;
  175. margin: 60rpx 0rpx 60rpx 0rpx;
  176. font-family: PingFang SC;
  177. font-weight: 500;
  178. }
  179. .wx-login .form .btn-box {
  180. margin-top: 30rpx;
  181. width: 100%;
  182. display: flex;
  183. align-items: center;
  184. justify-content: center;
  185. }
  186. .wx-login .form .btn-box .btn {
  187. display: flex;
  188. align-items: center;
  189. justify-content: center;
  190. margin-left: 10rpx;
  191. width: 50%;
  192. height: 80rpx;
  193. border-radius: 5rpx;
  194. background-color: #2BC7B9;
  195. font-size: 30rpx;
  196. font-family: PingFang SC;
  197. font-weight: 500;
  198. color: #fff;
  199. position: relative;
  200. }
  201. .wx-login .form .btn-box .btn-close {
  202. margin-right: 10rpx;
  203. width: 50%;
  204. height: 80rpx;
  205. border-radius: 5rpx;
  206. border: 2rpx solid #2BC7B9;
  207. background: none;
  208. font-size: 30rpx;
  209. font-family: PingFang SC;
  210. font-weight: 500;
  211. color: #2BC7B9;
  212. }
  213. .auth_btn {
  214. width: 100%;
  215. height: 100%;
  216. top: 0rpx;
  217. position: absolute;
  218. opacity: 0;
  219. }