home.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. /* parents/pages/home/home.wxss */
  2. @import '../../../templates/footer/footer.wxss';
  3. @import '../../../templates/loading/loading.wxss';
  4. .bg {
  5. position: absolute;
  6. top: 0;
  7. left: 0;
  8. width: 100%;
  9. height: 348rpx;
  10. }
  11. .list {
  12. position: absolute;
  13. top: 0;
  14. left: 0;
  15. width: 100%;
  16. padding: 0 0 98rpx 0;
  17. }
  18. .li-header {
  19. padding: 20rpx 30rpx;
  20. display: flex;
  21. justify-content: space-between;
  22. align-items: center;
  23. margin-bottom: 190rpx;
  24. }
  25. .li-header-search {
  26. flex: 1;
  27. padding: 12rpx 20rpx 14rpx 20rpx;
  28. background:rgba(255,255,255,1);
  29. border-radius: 100rpx;
  30. text-align: center;
  31. margin: 0 20rpx;
  32. cursor: pointer;
  33. }
  34. .li-header-search-icon {
  35. width: 28rpx;
  36. height: 28rpx;
  37. margin-right: 14rpx;
  38. vertical-align: middle;
  39. }
  40. .li-header-search-text {
  41. font-size: 28rpx;
  42. color: #999;
  43. vertical-align: middle;
  44. }
  45. .li-header-address {
  46. width: 58rpx;
  47. height: 58rpx;
  48. background: rgba(0,0,0,.4);
  49. border-radius: 100rpx;
  50. cursor: pointer;
  51. display: flex;
  52. justify-content: center;
  53. align-items: center;
  54. }
  55. .li-header-address-icon {
  56. width: 30rpx;
  57. height: 34rpx;
  58. }
  59. .li-header-scan {
  60. width: 58rpx;
  61. height: 58rpx;
  62. background: rgba(0,0,0,.4);
  63. border-radius: 100rpx;
  64. cursor: pointer;
  65. display: flex;
  66. justify-content: center;
  67. align-items: center;
  68. }
  69. .li-header-scan-icon {
  70. width: 30rpx;
  71. height: 30rpx;
  72. }
  73. .li {
  74. margin: 20rpx;
  75. padding: 30rpx;
  76. background: rgba(255,255,255,1);
  77. border-radius: 18rpx;
  78. }
  79. .li-items {
  80. display: flex;
  81. justify-content: space-around;
  82. align-items: center;
  83. }
  84. .li-item {
  85. flex: 1;
  86. text-align: center;
  87. cursor: pointer;
  88. }
  89. .li-item-icon {
  90. width: 60rpx;
  91. height: 60rpx;
  92. }
  93. .li-item-text {
  94. font-size: 28rpx;
  95. color: #999;
  96. margin-top: 16rpx;
  97. }
  98. .li-label {
  99. margin: 0 auto 20rpx auto;
  100. font-size: 28rpx;
  101. color: #666;
  102. }
  103. .li-scroll {
  104. margin: 30rpx auto 10rpx auto;
  105. }
  106. .li-scroll-small {
  107. margin: 50rpx auto 10rpx auto;
  108. }
  109. .li-scroll-items,
  110. .li-scroll-items-small {
  111. display: flex;
  112. justify-content: flex-start;
  113. align-items: center;
  114. padding: 1rpx;
  115. }
  116. .li-scroll-item {
  117. margin-right: 28rpx;
  118. text-align: center;
  119. }
  120. .li-scroll-item-small {
  121. margin-right: 30rpx;
  122. text-align: center;
  123. }
  124. .li-scroll-item-image {
  125. width: 198rpx;
  126. height: 232rpx;
  127. box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(204,204,204,1);
  128. border-radius: 6rpx;
  129. }
  130. .li-scroll-item-image-small {
  131. width: 140rpx;
  132. height: 162rpx;
  133. box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(204,204,204,1);
  134. border-radius: 6rpx;
  135. }
  136. .li-scroll-item-text {
  137. max-width: 198rpx;
  138. font-size: 32rpx;
  139. color: #666;
  140. margin-top: 20rpx;
  141. overflow: hidden;
  142. white-space: nowrap;
  143. text-overflow: ellipsis;
  144. }
  145. .li-scroll-item-text-small {
  146. max-width: 140rpx;
  147. font-size: 28rpx;
  148. color: #666;
  149. margin-top: 20rpx;
  150. overflow: hidden;
  151. white-space: nowrap;
  152. text-overflow: ellipsis;
  153. }
  154. .li-scroll-item-text-red {
  155. font-size: 32rpx;
  156. color: #FF542B;
  157. margin-top: 10rpx;
  158. max-width: 198rpx;
  159. overflow: hidden;
  160. white-space: nowrap;
  161. text-overflow: ellipsis;
  162. }
  163. .li-scroll-item-icon {
  164. width: 22rpx;
  165. height: 28rpx;
  166. margin-right: 10rpx;
  167. vertical-align: middle;
  168. }
  169. .li-scroll-item-text-red text {
  170. vertical-align: middle;
  171. }
  172. .li-footer {
  173. margin: 30rpx auto;
  174. text-align: center;
  175. }
  176. .li-footer-view {
  177. display: inline-block;
  178. background: rgba(255,128,168,1);
  179. border-radius: 100rpx;
  180. opacity: 0.8;
  181. padding: 14rpx 30rpx;
  182. cursor: pointer;
  183. }
  184. .li-footer-icon {
  185. width: 30rpx;
  186. height: 30rpx;
  187. margin-right: 14rpx;
  188. vertical-align: middle;
  189. }
  190. .li-footer-text {
  191. font-size: 28rpx;
  192. color: #fff;
  193. vertical-align: middle;
  194. }
  195. .book-box {
  196. margin-top: 30rpx;
  197. }