projects.wxss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. .bg {
  2. width: 100%;
  3. min-height: 100%;
  4. background-color: #fff;
  5. }
  6. .projects {
  7. padding-top: 106rpx;
  8. }
  9. .projectbg {
  10. background-color: #fff;
  11. padding-bottom: 1rpx;
  12. }
  13. .project {
  14. position: relative;
  15. margin: 0 auto;
  16. width: 710rpx;
  17. height: 284rpx;
  18. background-color: #f7f7f7;
  19. margin-bottom: 20rpx;
  20. border-radius: 8rpx;
  21. }
  22. .project-left {
  23. float: left;
  24. width: 390rpx;
  25. padding-left: 20rpx;
  26. padding-top: 15rpx;
  27. }
  28. .project-title {
  29. font-size: 28rpx;
  30. color: #2b2b2b;
  31. line-height: 36rpx;
  32. height: 72rpx;
  33. -webkit-line-clamp: 2;
  34. }
  35. .project-right {
  36. float: right;
  37. margin-right: 10rpx;
  38. margin-top: 10rpx;
  39. display: block;
  40. width: 258rpx;
  41. height: 258rpx;
  42. /*border: 1rpx solid #dddddd;*/
  43. }
  44. .project-count {
  45. padding-top: 15rpx;
  46. font-size: 24rpx;
  47. color: #bbbbbb;
  48. }
  49. .project-price {
  50. padding-top: 90rpx;
  51. font-size: 28rpx;
  52. color: #eab86a;
  53. }
  54. .project-point {
  55. /* color: #bbbbbb; */
  56. color: #eab86a;
  57. font-size: 24rpx;
  58. margin-top: 4rpx;
  59. margin-left: 10rpx;
  60. }
  61. .project-out {
  62. position: absolute;
  63. right: 20rpx;
  64. bottom: 20rpx;
  65. width: 66rpx;
  66. height: 66rpx;
  67. background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/sellout.png');
  68. background-size: 100% 100%;
  69. z-index: 10;
  70. }
  71. .project-green {
  72. position: absolute;
  73. right: 10rpx;
  74. top: 10rpx;
  75. width: 48rpx;
  76. height: 48rpx;
  77. background-image: url('https://fohow.oss-cn-shenzhen.aliyuncs.com/xcx/green.png');
  78. background-size: 100% 100%;
  79. z-index: 10;
  80. }
  81. .scrollview {
  82. position: fixed;
  83. top: 0;
  84. left: 0;
  85. width: 100%;
  86. height: 80rpx;
  87. z-index: 999;
  88. background-color: #f8f9fb;
  89. }
  90. .nav {
  91. height: 80rpx;
  92. width: 100%;
  93. box-sizing: border-box;
  94. overflow: hidden;
  95. line-height: 80rpx;
  96. background-color: #f8f9fb;
  97. font-size: 26rpx;
  98. white-space: nowrap;
  99. color: #888888;
  100. }
  101. .nav-item {
  102. width: 20%;
  103. display: inline-block;
  104. text-align: center;
  105. }
  106. .nav-item.active{
  107. color: #eab86a;
  108. }
  109. .project-miaosha-img {
  110. width: 60rpx;
  111. height: 28rpx;
  112. display: inline-block;
  113. float: left;
  114. padding-top: 95rpx;
  115. padding-right: 10rpx;
  116. font-size: 20rpx;
  117. }
  118. .project-miaosha {
  119. width: 85rpx;
  120. height: 28rpx;
  121. display: inline-block;
  122. float: left;
  123. padding-top: 95rpx;
  124. padding-right: 10rpx;
  125. font-size: 20rpx;
  126. }
  127. .project-miaosha span{
  128. background: #f00;
  129. color: #FFF;
  130. padding: 5rpx 10rpx;
  131. border-radius: 15px;
  132. }
  133. .project-stop {
  134. height: 38rpx;
  135. width: 258rpx;
  136. background: #ffefe4;
  137. color: #ff9434;
  138. position: absolute;
  139. right: 10rpx;
  140. bottom: 13rpx;
  141. font-size: 20rpx;
  142. text-align: center;
  143. line-height: 38rpx;
  144. }
  145. .navbar{
  146. position: absolute;
  147. /* top: 50rpx; */
  148. z-index: 999;
  149. background: rgba(255,255,255,0.75);
  150. left: 15rpx;
  151. width: 70%;
  152. border-radius: 45rpx;
  153. margin-top: 14rpx;
  154. }
  155. .page__hd{padding: 6rpx 35rpx;}
  156. .page__hd image{
  157. width: 30rpx;
  158. height: 30rpx;
  159. display: inline-block;
  160. vertical-align: middle;
  161. }
  162. .page__title{ float: left;}
  163. .page__desc{
  164. display: inline-block;
  165. padding-left: 20rpx;
  166. color: #666;
  167. font-size: 28rpx;
  168. }
  169. .navbox{
  170. background: #eab86a;
  171. overflow: hidden;
  172. display: block;
  173. position: fixed;
  174. top: 0;
  175. left: 0;
  176. width: 100%;
  177. z-index: 999;
  178. }
  179. .sortlist{
  180. overflow: hidden;
  181. box-sizing: border-box;
  182. color: #333;
  183. background: #fff;
  184. height: 80rpx;
  185. line-height: 80rpx;
  186. box-sizing: border-box;
  187. overflow: hidden;
  188. background-color: #f8f9fb;
  189. white-space: nowrap;
  190. color: #888888;
  191. }
  192. .sortlist-item{
  193. width: 25%;
  194. float: left;
  195. text-align: center;
  196. font-size:26rpx;
  197. }
  198. .sortlist-item image{
  199. width: 20rpx;
  200. height: 20rpx;
  201. }
  202. .select_box{
  203. border-radius: 14rpx;
  204. position: relative;
  205. }
  206. .select_box .select{
  207. box-sizing: border-box;
  208. border-radius: 8rpx;
  209. align-items: center;
  210. padding: 0 10rpx;
  211. }
  212. .select_box .select .select_text{
  213. font-size: 26rpx;
  214. color: #777777;
  215. line-height: 28rpx;
  216. flex: 1;
  217. }
  218. .select_box .select .select_img{
  219. width: 30rpx;
  220. height: 30rpx;
  221. display: block;
  222. transition:transform 0.3s;
  223. }
  224. .select_box .select .select_img_rotate{
  225. transform:rotate(180deg);
  226. }
  227. .select_box .option_box{
  228. position: fixed;
  229. top: calc(100% - 1px);
  230. width: 25%;
  231. box-sizing: border-box;
  232. height: 0;
  233. overflow-y: auto;
  234. background: #fff;
  235. transition: height 0.3s;
  236. border-left: 1px solid #efefef;
  237. top: 108px;
  238. border-right: 1px solid #efefef;
  239. left: 0;
  240. background: #f8f9fb;
  241. box-shadow: 5px 5px 7px #e0e0e0;
  242. }
  243. .select_box .option_box .option{
  244. display: block;
  245. line-height: 40rpx;
  246. font-size: 26rpx;
  247. padding: 10rpx;
  248. }
  249. .select_box .option_box .option.active{
  250. color: #fff;
  251. background: #eab86a;
  252. }
  253. .sortlist-item-checked{
  254. color: #eab86a;
  255. font-weight: bold;
  256. box-shadow: 0 -3px #eab86a inset;
  257. }