index.wxss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. .cont {
  2. margin: 0;
  3. padding: 0;
  4. margin-top: 98rpx;
  5. line-height: 1;
  6. }
  7. .main {
  8. box-sizing: border-box;
  9. padding: 0 20rpx;
  10. }
  11. .main_goods {
  12. margin: 20rpx auto;
  13. padding: 20rpx;
  14. display: flex;
  15. height: 320rpx;
  16. background: #fff;
  17. box-sizing: border-box;
  18. }
  19. .main_goods_left {
  20. display: flex;
  21. width: 40%;
  22. height: 100%;
  23. background: #fff;
  24. align-items: center;
  25. }
  26. .main_goods_left image {
  27. display: block;
  28. width: 240rpx;
  29. height: 240rpx;
  30. }
  31. .main_goods_right {
  32. position: relative;
  33. width: 60%;
  34. height: 100%;
  35. }
  36. .main_goods_title {
  37. display: block;
  38. margin-top: 20rpx;
  39. width: 100%;
  40. font-size: 28rpx;
  41. line-height: 1.3;
  42. color: #333;
  43. }
  44. .main_goods_desc {
  45. position: absolute;
  46. left: 0rpx;
  47. top: 90rpx;
  48. }
  49. .main_goods_desc text {
  50. display: inline-block;
  51. }
  52. .desc_introduction {
  53. margin-top: 10rpx;
  54. line-height: 1.4;
  55. font-size: 24rpx;
  56. color: #ff495e;
  57. width: 400rpx;
  58. }
  59. .desc_situation {
  60. font-size: 24rpx;
  61. line-height: 1.3;
  62. color: rgb(240, 60, 60);
  63. margin-top: 10rpx;
  64. }
  65. .people {
  66. margin: 0 13rpx;
  67. }
  68. .cl-9 {
  69. color: #999;
  70. }
  71. .desc_footer {
  72. margin-top: 15rpx;
  73. font-size: 24rpx;
  74. }
  75. .desc_footer .price_x {
  76. margin-right: 25rpx;
  77. color: rgb(240, 60, 60);
  78. font-size: 28rpx;
  79. }
  80. .desc_footer .price_y {
  81. text-decoration: line-through;
  82. }
  83. .settlement {
  84. position: absolute;
  85. right: 0rpx;
  86. bottom: 0rpx;
  87. line-height: 55rpx;
  88. text-align: center;
  89. font-size: 28rpx;
  90. border-radius: 40rpx;
  91. color: #fff;
  92. background: linear-gradient(to right, rgb(235, 53, 107) 0%, rgb(240, 60, 60) 100%);
  93. box-shadow: 0px 2px 10px -2px rgb(235, 53, 107);
  94. border: none;
  95. }
  96. .header {
  97. display: flex;
  98. position: fixed;
  99. top: 0;
  100. width: 100%;
  101. height: 88rpx;
  102. color: #333;
  103. font-size: 28rpx;
  104. background: #fff;
  105. border-bottom: 1rpx solid #e4e4e4;
  106. z-index: 100;
  107. overflow: hidden;
  108. white-space: nowrap;
  109. }
  110. .header scroll-view {
  111. height: 100%;
  112. }
  113. .cs {
  114. display: inline-block;
  115. padding: 0 15rpx;
  116. text-align: center;
  117. min-width: 20%;
  118. height: 87rpx;
  119. line-height: 88rpx;
  120. box-sizing: border-box;
  121. }
  122. .cs text {
  123. display: block;
  124. height: 100%;
  125. }
  126. .active text {
  127. color: #fd4a5f;
  128. border-bottom: 2rpx solid #fd4a5f;
  129. }