calculator.less 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /* mHome/pages/calculator/calculator.wxss */
  2. .container {
  3. display: flex;
  4. flex-direction: row;
  5. width: 100%;
  6. }
  7. .shape {
  8. width: 16%;
  9. }
  10. .shape-item, .color-item, .neatness-item {
  11. display: grid;
  12. align-items: center;
  13. align-content: center;
  14. justify-content: center;
  15. text-align: center;
  16. border-bottom: 1px solid #ccc;
  17. border-right: 1px solid #ccc;
  18. height: 100px;
  19. }
  20. .shape-item text {
  21. margin-top: 5px;
  22. font-size: 28rpx;
  23. color: #333;
  24. }
  25. .color, .neatness {
  26. width: 13%;
  27. font-size: 14px;
  28. }
  29. .calculator {
  30. display: flex;
  31. flex-wrap: wrap;
  32. flex-direction: row;
  33. width: 58%;
  34. height: 370px;
  35. }
  36. .calculator view {
  37. width: 50%;
  38. height: 100px;
  39. display: grid;
  40. align-content: center;
  41. border-bottom: 1px solid #ddd;
  42. justify-content: start;
  43. }
  44. .calculator view text {
  45. margin: 10px;
  46. color: #333;
  47. }
  48. input {
  49. margin: 0px 0px 0px 10px;
  50. background-color: white;
  51. height: 40px;
  52. font-size: 14px;
  53. }
  54. .calculator view text:nth-child(1) {
  55. font-size: 13px;
  56. height: 15px;
  57. }
  58. .calculator view text:nth-child(2) {
  59. font-size: 16px;
  60. color: #333;
  61. height: 10px;
  62. }
  63. .calculator view text:nth-child(3) {
  64. font-size: 12px;
  65. color: #999;
  66. height: 15px;
  67. }