grade-details.wxss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. /* pages/grade-details/grade-details.wxss */
  2. /**基础风格样式**/
  3. @import '../../../towxml/style/main.wxss';
  4. /**如果页面有动态主题切换,则需要将使用到的样式全部引入**/
  5. /**主题配色(浅色样式)**/
  6. @import '../../../towxml/style/theme/light.wxss';
  7. /**主题配色(深色样式)**/
  8. @import '../../../towxml/style/theme/dark.wxss';
  9. .group-details {
  10. height: 100%;
  11. width: 100%;
  12. background: rgba(240, 241, 245, 1);
  13. }
  14. scroll-view {
  15. /* height: 98%; */
  16. height: 100%;
  17. width: 100%;
  18. }
  19. .grade-details {
  20. background: #fff;
  21. display: flex;
  22. flex-direction: column;
  23. padding: 24rpx 24rpx 24rpx 24rpx;
  24. }
  25. .grade-details image {
  26. width: 100%;
  27. height: 290rpx;
  28. border-radius: 20rpx;
  29. }
  30. .catalog {
  31. display: flex;
  32. align-items: flex-end;
  33. width: 100%;
  34. height: 100rpx;
  35. background: #fff;
  36. position: relative;
  37. background: rgba(240, 241, 245, 1);
  38. padding: 0 40rpx;
  39. }
  40. .select{
  41. color: #61CA54
  42. }
  43. .switch text {
  44. flex: 1;
  45. height: 60rpx;
  46. text-align: center;
  47. font-size: 36rpx;
  48. /* margin: 0 90rpx; */
  49. box-sizing: border-box;
  50. position: relative;
  51. z-index: 1;
  52. width: 100%;
  53. display: block;
  54. line-height:66rpx;
  55. }
  56. .switch {
  57. width: 335rpx;
  58. height: 70rpx;
  59. position: relative;
  60. }
  61. .switch image {
  62. width: 100%;
  63. height: 100%;
  64. position: absolute;
  65. left: 0;
  66. top: 0;
  67. z-index: 0;
  68. }
  69. .catalog-list {
  70. width: 100%;
  71. padding: 0 18rpx 18rpx 18rpx ;
  72. margin-bottom: 120rpx;
  73. box-sizing: border-box;
  74. }
  75. .know {
  76. padding: 18rpx 18rpx 120rpx 18rpx;
  77. box-sizing: border-box;
  78. background: #fff;
  79. /* margin-top: 12rpx; */
  80. }
  81. .catalog-item {
  82. display: flex;
  83. justify-content: space-between;
  84. align-items: center;
  85. width: 100%;
  86. height: 88rpx;
  87. background: #fff;
  88. padding: 0 20rpx;
  89. box-sizing: border-box;
  90. margin-bottom: 12rpx;
  91. border-radius: 10rpx;
  92. }
  93. .lastThreeYears {
  94. width: 100%;
  95. height: 22rpx;
  96. line-height: 26rpx;
  97. padding-right: 6rpx;
  98. box-sizing: border-box;
  99. font-size: 16rpx;
  100. color: #939393;
  101. text-align: right;
  102. }
  103. .catalog-item .left {
  104. color: #656565;
  105. font-size: 36rpx;
  106. }
  107. .catalog-item .right {
  108. color: #939393;
  109. font-size: 28rpx;
  110. }
  111. .catalog-item .right image {
  112. width: 16rpx;
  113. height: 28rpx;
  114. vertical-align: middle;
  115. margin-right: 6rpx;
  116. }
  117. .catalog-item .right text {
  118. vertical-align: middle;
  119. }
  120. .group-btn {
  121. width: 100%;
  122. height: 102rpx;
  123. background: none;
  124. display: flex;
  125. position: absolute;
  126. bottom: 0;
  127. color: #fff;
  128. }
  129. /* .noBg{
  130. background: none;
  131. } */
  132. .bottomx {
  133. bottom: 20rpx;
  134. }
  135. .group-btn .Price {
  136. position: relative;
  137. flex: 1;
  138. display: flex;
  139. flex-direction: column;
  140. justify-content: center;
  141. align-items: center;
  142. z-index: 1;
  143. }
  144. .group-btn .btn-image{
  145. position: absolute;
  146. width: 100%;
  147. height: 100%;
  148. left: 0;
  149. top: 0;
  150. z-index: 0;
  151. }
  152. /* .group-btn .Price text:nth-child(1) {
  153. font-size: 28rpx;
  154. }
  155. .group-btn .Price text:nth-child(2) {
  156. font-size: 32rpx;
  157. } */
  158. .group-btn .Price .one-line-text{
  159. font-size: 40rpx;
  160. }
  161. .two-line-1{
  162. font-size: 32rpx;
  163. }
  164. .two-line-2{
  165. font-size: 28rpx;
  166. }
  167. .group-btn .bg1,
  168. .group-btn .bg2 {
  169. position: absolute;
  170. top: 14rpx;
  171. width: 4rpx;
  172. height: 70%;
  173. }
  174. .group-btn .bg1 {
  175. left: 50%;
  176. }
  177. .group-btn .bg2 {
  178. left: 68%;
  179. }
  180. .formFit {
  181. display: block;
  182. text-align: center;
  183. }
  184. .formBtn {
  185. margin: 0;
  186. padding: 0;
  187. background: rgba(255, 255, 255, 0);
  188. width: 100%;
  189. position: absolute;
  190. top: 0;
  191. height: 100%;
  192. left: 0;
  193. }
  194. .formBtn::after {
  195. border: none;
  196. }