index.less 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. width: 100%;
  5. .top-view {
  6. position: sticky;
  7. top: 0;
  8. z-index: 999;
  9. }
  10. .cell-view {
  11. display: flex;
  12. flex-direction: column;
  13. border-bottom: 1px solid #f0f0f0;
  14. align-items: center;
  15. margin: 0px 10px;
  16. align-content: center;
  17. text {
  18. padding-top: 10px;
  19. text-align: left;
  20. color: #666;
  21. font-size: 28rpx;
  22. height: 30px;
  23. width: 100%;
  24. margin-right: 5px;
  25. }
  26. .content {
  27. display: flex;
  28. flex-direction: row;
  29. flex-wrap: wrap;
  30. width: 100%;
  31. align-content: center;
  32. button {
  33. margin: 5px;
  34. height: 30px;
  35. color: #333;
  36. width: 17.3%;
  37. border-radius: 5px;
  38. font-size: 12px;
  39. }
  40. /* 选中时添加这个 样式 */
  41. .active {
  42. background: #dae9fd;
  43. }
  44. /* 三角形 */
  45. .active::before {
  46. content: '';
  47. display: inline-block;
  48. position: absolute;
  49. right: 0;
  50. bottom: 0;
  51. width: 0;
  52. height: 0;
  53. border-bottom: 15px solid #407DB8;
  54. border-left: 14px solid transparent;
  55. }
  56. }
  57. button {
  58. color: #000;
  59. font-size: 24rpx;
  60. }
  61. }
  62. .shape, .neatness {
  63. height: 170px;
  64. }
  65. .color {
  66. height: 250px;
  67. }
  68. .certificate {
  69. height: 130px;
  70. }
  71. .qiegong, .duicheng, .polishing, .yingguang, .currency, .ctweight {
  72. height: 90px;
  73. }
  74. .buttom_view {
  75. display: flex;
  76. flex-direction: row;
  77. justify-content: space-between;
  78. margin-top: 20px;
  79. width: 90%;
  80. align-content: center;
  81. align-items: center;
  82. padding-left: 5%;
  83. van-button {
  84. width: 48%;
  85. color: white;
  86. }
  87. }
  88. }