home.wxss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. height: 270rpx;
  55. border: 2rpx solid #000;
  56. }
  57. .borrow-area.data-v-92bb8f34 {
  58. flex-shrink: 0;
  59. margin-bottom: 20rpx;
  60. height: 120rpx;
  61. border: 2rpx solid #000;
  62. }
  63. .scan-area.data-v-92bb8f34 {
  64. flex-shrink: 1;
  65. height: 100%;
  66. position: relative;
  67. }
  68. .scan-area .scan-code.data-v-92bb8f34 {
  69. width: 280rpx;
  70. height: 280rpx;
  71. background-color: #000;
  72. color: #fff;
  73. border-radius: 50%;
  74. position: absolute;
  75. top: 50%;
  76. left: 50%;
  77. -webkit-transform: translate(-50%, -50%);
  78. transform: translate(-50%, -50%);
  79. display: flex;
  80. align-items: center;
  81. justify-content: center;
  82. text-align: center;
  83. flex-direction: column;
  84. font-size: 36rpx;
  85. }
  86. .scan-area .scan-code .iconfont.data-v-92bb8f34 {
  87. font-size: 80rpx;
  88. margin: 20rpx 0;
  89. }
  90. .scan-area .scan-mine.data-v-92bb8f34 {
  91. width: 80rpx;
  92. height: 80rpx;
  93. color: #505050;
  94. border-radius: 21px;
  95. line-height: 150%;
  96. box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5);
  97. display: flex;
  98. align-items: center;
  99. justify-content: center;
  100. text-align: center;
  101. flex-direction: column;
  102. font-size: 36rpx;
  103. position: absolute;
  104. bottom: 20rpx;
  105. left: 20rpx;
  106. }