login.wxss 3.7 KB

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