home.wxss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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 ._ul.data-v-92bb8f34 {
  77. -webkit-animation-name: ruleArea-data-v-92bb8f34;
  78. animation-name: ruleArea-data-v-92bb8f34;
  79. -webkit-animation-duration: 0.5s;
  80. animation-duration: 0.5s;
  81. }
  82. .box .rule-area ._li.data-v-92bb8f34 {
  83. padding: 10rpx 0;
  84. width: 100%;
  85. overflow: hidden;
  86. /*超出部分隐藏*/
  87. white-space: nowrap;
  88. /*禁止换行*/
  89. text-overflow: ellipsis;
  90. /*省略号*/
  91. display: flex;
  92. align-items: center;
  93. }
  94. .box .rule-area ._li ._i.data-v-92bb8f34 {
  95. padding-right: 10rpx;
  96. color: #2979ff;
  97. }
  98. .box .rule-area.data-v-92bb8f34:nth-child(2) {
  99. margin-top: 24rpx;
  100. }
  101. .box .rule-area:nth-child(2) ._i.data-v-92bb8f34 {
  102. color: #19be6b;
  103. }
  104. .box .rule-area:nth-child(2) ._li.data-v-92bb8f34 {
  105. display: flex;
  106. justify-content: space-between;
  107. }
  108. .box .rule-area:nth-child(2) ._li.data-v-92bb8f34:first-child {
  109. padding-top: 10rpx;
  110. }
  111. @-webkit-keyframes ruleArea-data-v-92bb8f34 {
  112. from {
  113. max-height: 0;
  114. }
  115. to {
  116. max-height: 400rpx;
  117. }
  118. }
  119. @keyframes ruleArea-data-v-92bb8f34 {
  120. from {
  121. max-height: 0;
  122. }
  123. to {
  124. max-height: 400rpx;
  125. }
  126. }
  127. .borrow-area_bck.data-v-92bb8f34 {
  128. flex-shrink: 0;
  129. margin-bottom: 20rpx;
  130. height: 120rpx;
  131. }
  132. .borrow-area_bck .notice-li.data-v-92bb8f34 {
  133. line-height: 200%;
  134. display: flex;
  135. flex-direction: row;
  136. justify-content: space-between;
  137. }
  138. .scan-area.data-v-92bb8f34 {
  139. flex-shrink: 1;
  140. height: 100%;
  141. position: relative;
  142. }
  143. .scan-area .scan-code.data-v-92bb8f34 {
  144. width: 280rpx;
  145. height: 280rpx;
  146. background-color: rgba(21, 184, 88, 0.9);
  147. box-shadow: 0 2rpx 8rpx 2rpx rgba(0, 0, 0, 0.4);
  148. color: #fff;
  149. border-radius: 50%;
  150. position: absolute;
  151. top: 50%;
  152. left: 50%;
  153. -webkit-transform: translate(-50%, -50%);
  154. transform: translate(-50%, -50%);
  155. display: flex;
  156. align-items: center;
  157. justify-content: center;
  158. text-align: center;
  159. flex-direction: column;
  160. font-size: 36rpx;
  161. -webkit-box-reflect: below 10rpx -webkit-linear-gradient(transparent, transparent 75%, rgba(255, 255, 255, 0.3));
  162. }
  163. .scan-area .scan-code .iconfont.data-v-92bb8f34 {
  164. font-size: 80rpx;
  165. margin: 20rpx 0;
  166. }
  167. .scan-area .scan-mine.data-v-92bb8f34 {
  168. width: 80rpx;
  169. height: 80rpx;
  170. color: #505050;
  171. border-radius: 21px;
  172. line-height: 150%;
  173. box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.5);
  174. display: flex;
  175. align-items: center;
  176. justify-content: center;
  177. text-align: center;
  178. flex-direction: column;
  179. font-size: 36rpx;
  180. position: absolute;
  181. bottom: 20rpx;
  182. left: 20rpx;
  183. }