identity.wxss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. page {
  28. width: 750rpx;
  29. background-color: #f0f2f5;
  30. min-height: 100vh;
  31. }
  32. page .container {
  33. text-align: center;
  34. }
  35. page .container .icon {
  36. margin-top: 414rpx;
  37. width: 508rpx;
  38. height: 388rpx;
  39. margin-top: 180rpx;
  40. display: inline-block;
  41. }
  42. page .container .hr {
  43. margin-top: 120rpx;
  44. display: inline-block;
  45. width: 618rpx;
  46. height: 2rpx;
  47. box-sizing: border-box;
  48. border: 1rpx solid rgba(0, 0, 0, 0.1);
  49. }
  50. page .container .content {
  51. margin-top: 90rpx;
  52. display: -webkit-inline-box;
  53. display: -webkit-inline-flex;
  54. display: inline-flex;
  55. -webkit-box-orient: vertical;
  56. -webkit-box-direction: normal;
  57. -webkit-flex-direction: column;
  58. flex-direction: column;
  59. -webkit-box-pack: center;
  60. -webkit-justify-content: center;
  61. justify-content: center;
  62. width: 616rpx;
  63. }
  64. page .container .content text:nth-child(1) {
  65. height: 44rpx;
  66. font-size: 32rpx;
  67. color: #000000;
  68. line-height: 44rpx;
  69. text-align: left;
  70. }
  71. page .container .content text:nth-child(2) {
  72. height: 44rpx;
  73. font-size: 28rpx;
  74. text-align: left;
  75. color: rgba(0, 0, 0, 0.25);
  76. line-height: 44rpx;
  77. }
  78. page .container button {
  79. margin-top: 90rpx;
  80. display: inline-block;
  81. width: 616rpx;
  82. height: 76rpx;
  83. background: -webkit-linear-gradient(327deg, #12A273 0%, #12A273 100%);
  84. background: linear-gradient(123deg, #12A273 0%, #12A273 100%);
  85. border-radius: 38rpx;
  86. font-size: 32rpx;
  87. color: #FFFFFF;
  88. line-height: 76rpx;
  89. }