home.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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. .home.data-v-92bb8f34 {
  28. padding: 20rpx;
  29. display: flex;
  30. flex-direction: column;
  31. height: 100vh;
  32. box-sizing: border-box;
  33. }
  34. .search-area.data-v-92bb8f34 {
  35. margin-bottom: 20rpx;
  36. flex-shrink: 0;
  37. position: relative;
  38. }
  39. .search-area input.data-v-92bb8f34 {
  40. height: 76rpx;
  41. border: 2rpx solid #000;
  42. line-height: 76rpx;
  43. padding-left: 80rpx;
  44. }
  45. .search-area .iconfont.data-v-92bb8f34 {
  46. position: absolute;
  47. font-size: 40rpx;
  48. top: 20rpx;
  49. left: 16rpx;
  50. }
  51. .rule-area.data-v-92bb8f34 {
  52. margin-bottom: 20rpx;
  53. flex-shrink: 0;
  54. }
  55. .rule-area .notice-li.data-v-92bb8f34 {
  56. display: flex;
  57. flex-direction: row;
  58. line-height: 200%;
  59. }
  60. .borrow-area.data-v-92bb8f34 {
  61. flex-shrink: 0;
  62. margin-bottom: 20rpx;
  63. height: 120rpx;
  64. }
  65. .borrow-area .notice-li.data-v-92bb8f34 {
  66. line-height: 200%;
  67. display: flex;
  68. flex-direction: row;
  69. justify-content: space-between;
  70. }
  71. .scan-area.data-v-92bb8f34 {
  72. flex-shrink: 1;
  73. height: 100%;
  74. position: relative;
  75. }
  76. .scan-area .scan-code.data-v-92bb8f34 {
  77. width: 280rpx;
  78. height: 280rpx;
  79. background-color: #000;
  80. color: #fff;
  81. border-radius: 50%;
  82. position: absolute;
  83. top: 50%;
  84. left: 50%;
  85. -webkit-transform: translate(-50%, -50%);
  86. transform: translate(-50%, -50%);
  87. display: flex;
  88. align-items: center;
  89. justify-content: center;
  90. text-align: center;
  91. flex-direction: column;
  92. font-size: 36rpx;
  93. }
  94. .scan-area .scan-code .iconfont.data-v-92bb8f34 {
  95. font-size: 80rpx;
  96. margin: 20rpx 0;
  97. }
  98. .scan-area .scan-mine.data-v-92bb8f34 {
  99. width: 80rpx;
  100. height: 80rpx;
  101. color: #505050;
  102. border-radius: 21px;
  103. line-height: 150%;
  104. box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5);
  105. display: flex;
  106. align-items: center;
  107. justify-content: center;
  108. text-align: center;
  109. flex-direction: column;
  110. font-size: 36rpx;
  111. position: absolute;
  112. bottom: 20rpx;
  113. left: 20rpx;
  114. }