index.less 1.6 KB

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