home.wxss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. .box.data-v-92bb8f34 {
  52. border-radius: 18rpx;
  53. }
  54. .box .rule-area.data-v-92bb8f34 {
  55. background-color: rgba(255, 255, 255, 0.6);
  56. z-index: 2;
  57. flex-shrink: 0;
  58. border-radius: 18rpx;
  59. box-shadow: 0 1rpx 8rpx 0 rgba(0, 0, 0, 0.2);
  60. padding: 16rpx;
  61. }
  62. .box .rule-area .notice.data-v-92bb8f34 {
  63. display: flex;
  64. flex-direction: row;
  65. font-size: 36rpx;
  66. font-weight: bolder;
  67. padding-bottom: 10rpx;
  68. align-items: center;
  69. border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  70. }
  71. .box .rule-area .notice ._i.data-v-92bb8f34 {
  72. margin-right: 10rpx;
  73. font-size: 36rpx;
  74. color: orange;
  75. }
  76. .box .rule-area ._li.data-v-92bb8f34 {
  77. padding: 10rpx 0;
  78. width: 100%;
  79. overflow: hidden;
  80. /*超出部分隐藏*/
  81. white-space: nowrap;
  82. /*禁止换行*/
  83. text-overflow: ellipsis;
  84. /*省略号*/
  85. display: flex;
  86. align-items: center;
  87. }
  88. .box .rule-area ._li ._i.data-v-92bb8f34 {
  89. padding-right: 10rpx;
  90. color: #2979ff;
  91. }
  92. .box .rule-area.data-v-92bb8f34:nth-child(2) {
  93. margin-top: 24rpx;
  94. }
  95. .box .rule-area:nth-child(2) ._i.data-v-92bb8f34 {
  96. color: #19be6b;
  97. }
  98. .box .rule-area:nth-child(2) ._li.data-v-92bb8f34 {
  99. display: flex;
  100. justify-content: space-between;
  101. }
  102. .box .rule-area:nth-child(2) ._li.data-v-92bb8f34:first-child {
  103. padding-top: 10rpx;
  104. }
  105. .borrow-area_bck.data-v-92bb8f34 {
  106. flex-shrink: 0;
  107. margin-bottom: 20rpx;
  108. height: 120rpx;
  109. }
  110. .borrow-area_bck .notice-li.data-v-92bb8f34 {
  111. line-height: 200%;
  112. display: flex;
  113. flex-direction: row;
  114. justify-content: space-between;
  115. }
  116. .scan-area.data-v-92bb8f34 {
  117. flex-shrink: 1;
  118. height: 100%;
  119. position: relative;
  120. }
  121. .scan-area .scan-code.data-v-92bb8f34 {
  122. width: 280rpx;
  123. height: 280rpx;
  124. background-color: rgba(21, 184, 88, 0.9);
  125. box-shadow: 0 2rpx 8rpx 2rpx rgba(0, 0, 0, 0.4);
  126. color: #fff;
  127. border-radius: 50%;
  128. position: absolute;
  129. top: 50%;
  130. left: 50%;
  131. -webkit-transform: translate(-50%, -50%);
  132. transform: translate(-50%, -50%);
  133. display: flex;
  134. align-items: center;
  135. justify-content: center;
  136. text-align: center;
  137. flex-direction: column;
  138. font-size: 36rpx;
  139. -webkit-box-reflect: below 10rpx -webkit-linear-gradient(transparent, transparent 75%, rgba(255, 255, 255, 0.3));
  140. }
  141. .scan-area .scan-code .iconfont.data-v-92bb8f34 {
  142. font-size: 80rpx;
  143. margin: 20rpx 0;
  144. }
  145. .scan-area .scan-mine.data-v-92bb8f34 {
  146. width: 80rpx;
  147. height: 80rpx;
  148. color: #505050;
  149. border-radius: 21px;
  150. line-height: 150%;
  151. box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5);
  152. display: flex;
  153. align-items: center;
  154. justify-content: center;
  155. text-align: center;
  156. flex-direction: column;
  157. font-size: 36rpx;
  158. position: absolute;
  159. bottom: 20rpx;
  160. left: 20rpx;
  161. }