farm.wxss 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. .farm-top {
  2. /* height: 340rpx; */
  3. height: 248rpx;
  4. width: 100%;
  5. position: relative;
  6. background: -webkit-linear-gradient(#fe5957, #ff8678 , #ffba9d);
  7. background: -o-linear-gradient(#fe5957, #ff8678 , #ffba9d);
  8. background: -moz-linear-gradient(#fe5957, #ff8678 , #ffba9d);
  9. background: linear-gradient(#fe5957, #ff8678 , #ffba9d);
  10. margin-bottom: 20rpx;
  11. }
  12. .farm-money {
  13. font-size: 30rpx;
  14. color: #ffffff;
  15. padding-top: 62rpx;
  16. padding-left: 50rpx;
  17. }
  18. .farm-count {
  19. font-size: 60rpx;
  20. color: #fff;
  21. padding-top: 25rpx;
  22. padding-left: 50rpx;
  23. font-weight: 600;
  24. }
  25. .farm-btn {
  26. position: absolute;
  27. height: 111rpx;
  28. width: 711rpx;
  29. margin: 0 auto;
  30. left: 50%;
  31. transform: translateX(-50%);
  32. bottom: 0;
  33. border-top-left-radius:10rpx;
  34. border-top-right-radius:10rpx;
  35. border-bottom: 1rpx solid #faddb2;
  36. background: -webkit-linear-gradient(#fffcf5, #fff6e8 , #fff0dd);
  37. background: -o-linear-gradient(#fffcf5, #fff6e8 , #fff0dd);
  38. background: -moz-linear-gradient(#fffcf5, #fff6e8 , #fff0dd);
  39. background: linear-gradient(#fffcf5, #fff6e8 , #fff0dd);
  40. }
  41. .farm-btn-text {
  42. float: left;
  43. font-size: 30rpx;
  44. color: #cfa79a;
  45. padding-top: 30rpx;
  46. padding-left: 35rpx;
  47. }
  48. .farm-btn-count {
  49. float: right;
  50. font-size: 40rpx;
  51. color: #ba8777;
  52. padding-top: 26rpx;
  53. padding-right: 35rpx;
  54. }
  55. .farm-center-bg {
  56. width: 100%;
  57. min-height: 100%;
  58. background: #f3f3f3;
  59. /* overflow: auto; */
  60. padding-bottom: 90rpx;
  61. box-sizing: border-box;
  62. }
  63. .farm-title {
  64. height: 86rpx;
  65. width: 711rpx;
  66. margin: 0 auto;
  67. text-align: center;
  68. font-size: 30rpx;
  69. color: #999999;
  70. line-height: 86rpx;
  71. position: relative;
  72. }
  73. .farm-line {
  74. height: 1rpx;
  75. width: 286rpx;
  76. background: #ccc;
  77. position: absolute;
  78. /* transform: translateY(-50%); */
  79. top: 45rpx;
  80. left: 0;
  81. }
  82. .farm-line1 {
  83. height: 1rpx;
  84. width: 286rpx;
  85. background: #ccc;
  86. position: absolute;
  87. /* transform: translateY(-50%); */
  88. top: 45rpx;
  89. right: 0;
  90. }
  91. .farm-item {
  92. height: 270rpx;
  93. width: 711rpx;
  94. background: #fff;
  95. margin: 0 auto 30rpx;
  96. border-radius: 10rpx;
  97. position: relative;
  98. }
  99. .farm-item-img {
  100. padding-top: 30rpx;
  101. padding-left: 30rpx;
  102. float: left;
  103. width: 230rpx;
  104. height: 125rpx
  105. }
  106. .farm-item-text {
  107. font-size: 28rpx;
  108. height: 76rpx;
  109. float: left;
  110. width: 400rpx;
  111. padding-top: 30rpx;
  112. padding-left: 30rpx;
  113. display: -webkit-box;
  114. -webkit-box-orient: vertical;
  115. -webkit-line-clamp: 2;
  116. overflow: hidden;
  117. /* white-space: nowrap; */
  118. text-overflow: ellipsis;
  119. }
  120. .farm-item-text1 {
  121. width: 400rpx;
  122. padding-left: 30rpx;
  123. padding-top: 10rpx;
  124. float: left;
  125. }
  126. .item-money {
  127. color: #999999;
  128. font-size: 24rpx;
  129. width: 315rpx;
  130. overflow: hidden;
  131. /* height: 30rpx; */
  132. float: left;
  133. }
  134. .item-money1 {
  135. color: #999999;
  136. font-size: 24rpx;
  137. width: 130rpx;
  138. overflow: hidden;
  139. height: 30rpx;
  140. float: left;
  141. }
  142. .item-count {
  143. /* padding-top: 18rpx; */
  144. color: #999999;
  145. font-size: 24rpx;
  146. float: right;
  147. }
  148. .item-line {
  149. width: 711rpx;
  150. height: 1rpx;
  151. background: #ccc;
  152. position: absolute;
  153. top: 200rpx;
  154. left: 0;
  155. }
  156. .item-line1 {
  157. width: 711rpx;
  158. height: 1rpx;
  159. background: #ccc;
  160. position: absolute;
  161. top: 200rpx;
  162. left: 0;
  163. }
  164. .farm-item-yuji {
  165. position: absolute;
  166. bottom: 15rpx;
  167. left: 50%;
  168. transform: translate(-50%);
  169. width: 100%;
  170. }
  171. .farm-item-yuji1 {
  172. text-align: center;
  173. position: absolute;
  174. bottom: 15rpx;
  175. left: 50%;
  176. transform: translate(-50%);
  177. }
  178. .farm-item-text2 {
  179. font-size: 26rpx;
  180. color: #999999;
  181. float: left;
  182. padding-left:30rpx;
  183. }
  184. .farm-item-text3 {
  185. font-size: 26rpx;
  186. color: #999999;
  187. float: right;
  188. padding-right: 30rpx;
  189. }
  190. .farm-item-text4 {
  191. font-size: 26rpx;
  192. color: #f1a8aa;
  193. /* float: right; */
  194. text-align: center;
  195. }
  196. .farm-footer {
  197. width: 100%;
  198. height: 89rpx;
  199. background: #fff;
  200. position: fixed;
  201. bottom: 0;
  202. left: 0;
  203. z-index: 999;
  204. border-top: 1rpx solid #ddd;
  205. padding-bottom: 10rpx;
  206. }
  207. .myfarm {
  208. width: 50%;
  209. height: 89rpx;
  210. float: left;
  211. }
  212. .mygranary {
  213. float: right;
  214. width: 50%;
  215. height: 89rpx;
  216. }
  217. .myfarm-img {
  218. width: 40rpx;
  219. height: 40rpx;
  220. margin: 0 auto;
  221. padding-left: 168rpx;
  222. padding-top: 10rpx;
  223. /* position: absolute;
  224. top: 15rpx;
  225. left: 168rpx; */
  226. }
  227. .mygranary-img {
  228. width: 40rpx;
  229. height: 40rpx;
  230. margin: 0 auto;
  231. padding-left: 168rpx;
  232. padding-top: 10rpx;
  233. /* position: absolute;
  234. top: 0;
  235. right: 0; */
  236. }
  237. .myfarm-text {
  238. color: #eab86a;
  239. font-size: 20rpx;
  240. /* position: absolute; */
  241. /* padding-left: 152rpx; */
  242. width: 100%;
  243. text-align: center;
  244. }
  245. .mygranary-text {
  246. color: #4c4c4c;
  247. font-size: 20rpx;
  248. /* position: absolute; */
  249. /* padding-left: 152rpx; */
  250. width: 100%;
  251. text-align: center;
  252. }
  253. .orders-no {
  254. padding-top: 250rpx;
  255. }
  256. .orders-no__icon {
  257. display: block;
  258. width: 204rpx;
  259. height: 258rpx;
  260. margin: 0 auto;
  261. }
  262. .orders-no__text {
  263. text-align: center;
  264. font-size: 28rpx;
  265. margin-top: 25rpx;
  266. color: #cccccc;
  267. }
  268. .farm-tip {
  269. color: #ff6e6e;
  270. font-size: 24rpx;
  271. width: 711rpx;
  272. background: #ffffff;
  273. height: 82rpx;
  274. /* text-align: center; */
  275. padding-left: 30rpx;
  276. line-height: 82rpx;
  277. /* margin-top: 30rpx; */
  278. margin: 30rpx auto 30rpx;
  279. box-sizing: border-box;
  280. }