goods.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. @import url('./common.css');
  2. main {
  3. width: 100%;
  4. margin-top: 0.88rem;
  5. background-color: #F7F7F7;
  6. }
  7. main .goods_info {
  8. padding: 0.24rem 0.32rem 0.6rem;
  9. }
  10. main .goods_info .single {
  11. width: 3.3rem;
  12. height: auto;
  13. margin-right: 0.24rem;
  14. background-color: #fff;
  15. padding-bottom: 0.32rem;
  16. margin-bottom: 0.22rem;
  17. }
  18. main .goods_info .single:nth-child(2n) {
  19. margin-right: 0;
  20. }
  21. main .single img {
  22. width: 3.3rem;
  23. height: 3.3rem;
  24. }
  25. main .single .title {
  26. font-size: 0.28rem;
  27. color: #333;
  28. margin: 0.16rem 0 0.22rem;
  29. height: 0.68rem;
  30. line-height: 0.34rem;
  31. text-align: left;
  32. padding: 0 0.16rem;
  33. }
  34. main .single .price {
  35. font-size: 0.22rem;
  36. color: #E73E2D;
  37. font-weight: 700;
  38. padding: 0 0.16rem;
  39. text-align: center;
  40. }
  41. main .single .price span {
  42. font-size: 0.32rem;
  43. }
  44. main .single .price .unit {
  45. font-size: 0.22rem;
  46. }
  47. main .single .price .dot {
  48. font-size: 0.24rem;
  49. }
  50. main .single .buy {
  51. text-align: center;
  52. margin-top: 0.24rem;
  53. }
  54. main .single .buy button {
  55. width: 1.76rem;
  56. height: 0.56rem;
  57. line-height: 0.56rem;
  58. text-align: center;
  59. margin: 0 auto;
  60. background-color: #fff;
  61. border: 1px solid #909297;
  62. cursor: pointer;
  63. }
  64. .model {
  65. width: 100%;
  66. height: 100%;
  67. background-color: rgba(0, 0, 0, 0.5);
  68. position: fixed;
  69. top: 0;
  70. left: 0;
  71. z-index: 1000;
  72. display: none;
  73. }
  74. .model .lead {
  75. width: 3.92rem;
  76. height: auto;
  77. position: absolute;
  78. top: 50%;
  79. left: 50%;
  80. transform: translate(-50%, -50%);
  81. }
  82. .model .lead img {
  83. width: 3.92rem;
  84. height: 3.92rem;
  85. }
  86. .model .lead .close {
  87. width: 0.48rem;
  88. height: 0.48rem;
  89. position: absolute;
  90. bottom: -0.72rem;
  91. left: 50%;
  92. transform: translateX(-50%);
  93. cursor: pointer;
  94. }