h5WxLogin.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. /*自定义主题色 */
  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. transform: translate(-50%, -50%);
  46. }
  47. .force-login-wrap .force-login__content .logo {
  48. display: flex;
  49. flex-direction: column;
  50. justify-content: center;
  51. align-items: center;
  52. }
  53. .force-login-wrap .force-login__content .logo .logo-img {
  54. border: 4rpx solid #FFFFFF;
  55. box-shadow: 0px 5px 15px 2px rgba(0, 0, 0, 0.1);
  56. border-radius: 50%;
  57. width: 80px;
  58. height: 80px;
  59. }
  60. .force-login-wrap .force-login__content .logo .logo-img image {
  61. border-radius: 50%;
  62. width: 100%;
  63. height: 100%;
  64. overflow: hidden;
  65. }
  66. .force-login-wrap .force-login__content .logo .title {
  67. margin-top: 20rpx;
  68. font-size: 35rpx;
  69. font-family: PingFang SC;
  70. font-weight: bold;
  71. color: #000;
  72. margin-bottom: 30rpx;
  73. }
  74. .force-login-wrap .force-login__content .login-notice {
  75. font-size: 28rpx;
  76. font-family: PingFang SC;
  77. font-weight: 400;
  78. color: #000;
  79. line-height: 44rpx;
  80. width: 500rpx;
  81. text-align: center;
  82. margin-bottom: 80rpx;
  83. }
  84. .force-login-wrap .force-login__content .btns {
  85. position: relative;
  86. width: 630rpx;
  87. height: 80rpx;
  88. }
  89. .force-login-wrap .force-login__content .btns .author-btn {
  90. display: flex;
  91. justify-content: center;
  92. align-items: center;
  93. z-index: 100;
  94. position: absolute;
  95. width: 630rpx;
  96. height: 80rpx;
  97. background: linear-gradient(to right, #FF5C03 0%, #E2C99E 100%);
  98. background: -moz-linear-gradient(to right, #FF5C03 0%, #E2C99E 100%);
  99. border-radius: 40rpx;
  100. font-size: 30rpx;
  101. font-family: PingFang SC;
  102. font-weight: 500;
  103. color: white;
  104. }