category.wxss 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .container {
  2. background: #fff;
  3. }
  4. .cate-nav {
  5. position: fixed;
  6. left: 0;
  7. top: 0;
  8. z-index: 1000;
  9. }
  10. .cate-nav-body {
  11. height: 84rpx;
  12. white-space: nowrap;
  13. background: #fff;
  14. border-top: 1px solid rgba(0, 0, 0, 0.15);
  15. overflow: hidden;
  16. }
  17. .cate-nav .item {
  18. display: inline-block;
  19. height: 84rpx;
  20. min-width: 130rpx;
  21. padding: 0 15rpx;
  22. }
  23. .cate-nav .item .name {
  24. display: block;
  25. height: 84rpx;
  26. padding: 0 20rpx;
  27. line-height: 84rpx;
  28. color: #333;
  29. font-size: 30rpx;
  30. width: auto;
  31. }
  32. .cate-nav .item.active .name {
  33. color: #a78845;
  34. border-bottom: 2px solid #a78845;
  35. }
  36. .cate-item {
  37. margin-top: 94rpx;
  38. height: auto;
  39. overflow: hidden;
  40. }
  41. .cate-item .h {
  42. height: 145rpx;
  43. width: 750rpx;
  44. display: flex;
  45. flex-direction: column;
  46. align-items: center;
  47. justify-content: center;
  48. }
  49. .cate-item .h .name {
  50. display: block;
  51. height: 35rpx;
  52. margin-bottom: 18rpx;
  53. font-size: 30rpx;
  54. color: #333;
  55. }
  56. .cate-item .h .desc {
  57. display: block;
  58. height: 24rpx;
  59. font-size: 24rpx;
  60. color: #999;
  61. }