index.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. .detail-wrap {
  2. height: 100%;
  3. }
  4. .detail-wrapper {
  5. height: 100%;
  6. }
  7. .detail-navbar-wrap {
  8. width: 100%;
  9. }
  10. .detail-navbar {
  11. /*position: fixed;*/
  12. /*top: 0;*/
  13. width: 100%;
  14. }
  15. .detail-simple-show {
  16. height: 70%;
  17. background-color: white;
  18. }
  19. .detail-img {
  20. width: 90%;
  21. height: 75%;
  22. background-size: cover;
  23. background-repeat: no-repeat;
  24. margin: 0 auto;
  25. }
  26. .detail-below-img-in-simle-show-hahahahah {
  27. height: 30%;
  28. margin-left: 10px;
  29. }
  30. .detail-name {
  31. font-size: 1.6rem;
  32. }
  33. .detail-price {
  34. color: orangered;
  35. font-size: 1.8rem;
  36. font-weight: 500;
  37. }
  38. .detail-price::before {
  39. content: '¥';
  40. }
  41. .detail-stock {
  42. font-size: 1.2rem;
  43. }
  44. .detail-stock::before {
  45. content: '库存:';
  46. }
  47. .detail-complicate-show {
  48. margin-top: 20px;
  49. height: 700px;
  50. background-color: #397f44;
  51. }
  52. .detail-bottom {
  53. position: fixed;
  54. bottom: 0;
  55. width: 100%;
  56. height: 8%;
  57. background-color: white;
  58. }
  59. .detail-bottom-cart {
  60. display: inline-block;
  61. height: 100%;
  62. width: 15%;
  63. border: 1px solid lightgrey;
  64. }
  65. .detail-bottom-home {
  66. display: inline-block;
  67. height: 100%;
  68. width: 15%;
  69. border: 1px solid lightgrey;
  70. }
  71. .detail-bottom-add {
  72. display: inline-block;
  73. width: 35%;
  74. text-align: center;
  75. color: white;
  76. background-color: orange;
  77. height: 100%;
  78. font-size: 20px;
  79. border: 1px solid lightgrey;
  80. }
  81. .detail-bottom-buy {
  82. display: inline-block;
  83. width: 35%;
  84. text-align: center;
  85. color: white;
  86. background-color: orangered;
  87. height: 100%;
  88. font-size: 20px;
  89. border: 1px solid lightgrey;
  90. }