subCardDetails.wxss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. /* pages/subCardDetails/subCardDetails.wxss */
  2. .termValidity,.availableItems,.instructionsUse,.reminder{
  3. margin: 20rpx;
  4. background-color: #fff;
  5. border-radius: 24rpx;
  6. height: 152rpx;
  7. padding: 24rpx;
  8. box-sizing: border-box;
  9. box-shadow: 0px -1px 8px 0px rgba(0,0,0,0.04);
  10. }
  11. .availableItems,.instructionsUse,.reminder{
  12. height: auto;
  13. }
  14. .termValidity view,.instructionsUse view,.reminder view{
  15. color: #333333;
  16. font-size: 32rpx;
  17. font-family: PingFangSC-Medium;
  18. text-align: left;
  19. white-space: nowrap;
  20. height: 44rpx;
  21. line-height: 44rpx;
  22. margin-bottom: 20rpx;
  23. }
  24. .termValidity text,.instructionsUse text,.reminder text{
  25. color: #999999;
  26. font-size: 28rpx;
  27. font-family: PingFangSC-Regular;
  28. text-align: left;
  29. white-space: nowrap;
  30. height: 40rpx;
  31. line-height: 40rpx;
  32. }
  33. .reminder text{
  34. display: block;
  35. margin-bottom: 20rpx;
  36. }
  37. .reminder text:last-child{
  38. margin-bottom: 0rpx;
  39. }
  40. .instructionsUse text{
  41. width: 662rpx;
  42. white-space: normal;
  43. }
  44. .availableItems .title{
  45. width: 128rpx;
  46. height: 44rpx;
  47. color: #333333;
  48. font-size: 32rpx;
  49. font-family: PingFangSC-Medium;
  50. text-align: left;
  51. white-space: nowrap;
  52. line-height: 44rpx;
  53. margin-bottom: 24rpx;
  54. }
  55. .item{
  56. display: flex;
  57. align-items: center;
  58. margin-bottom: 20rpx;
  59. }
  60. .item:last-child{
  61. margin-bottom: 0rpx;
  62. }
  63. .left image{
  64. width: 130rpx;
  65. height: 130rpx;
  66. object-fit: contain;
  67. border-radius: 12rpx;
  68. }
  69. .right{
  70. margin-left: 14rpx;
  71. }
  72. .rightTitle{
  73. width: 506rpx;
  74. height: 80rpx;
  75. color: #292929;
  76. font-size: 28rpx;
  77. font-family: PingFangSC-Regular;
  78. text-align: justify;
  79. line-height: 40rpx;
  80. margin-left: 10rpx;
  81. }
  82. .frequencyToUse{
  83. display: flex;
  84. align-items: center;
  85. justify-content: space-between;
  86. }
  87. .frequency{
  88. height: 50rpx;
  89. color: #FA7D22;
  90. font-size: 36rpx;
  91. font-family: PingFangSC-Medium;
  92. text-align: right;
  93. white-space: nowrap;
  94. }
  95. .toUse{
  96. background-color: #FA7D22;
  97. border-radius: 24rpx;
  98. height: 50rpx;
  99. display: flex;
  100. justify-content: center;
  101. align-items: center;
  102. width: 104rpx;
  103. color: #FFFFFF;
  104. font-size: 24rpx;
  105. font-family: PingFangSC-Medium;
  106. text-align: left;
  107. white-space: nowrap;
  108. }
  109. .used{
  110. color: #999;
  111. }
  112. .usedBg{
  113. background-color: #E5E5E5;
  114. }
  115. .recommendYouTitle{
  116. display: flex;
  117. justify-content: center;
  118. align-items: center;
  119. }
  120. .recommendYouTitle view{
  121. background-color: #E9E9E9;
  122. width: 130rpx;
  123. height: 2rpx;
  124. }
  125. .recommendYouTitle text{
  126. width: 96rpx;
  127. height: 34rpx;
  128. color: #666666;
  129. font-size: 24rpx;
  130. font-family: PingFangSC-Regular;
  131. text-align: left;
  132. white-space: nowrap;
  133. line-height: 34rpx;
  134. margin: 0rpx 20rpx;
  135. }
  136. .recommendYouCon{
  137. display: flex;
  138. flex-wrap: wrap;
  139. justify-content: space-between;
  140. margin: 20rpx;
  141. }
  142. .recommendYouConItem{
  143. background-color: #FFFFFF;
  144. border-radius: 24rpx;
  145. width: 344rpx;
  146. display: flex;
  147. flex-direction: column;
  148. margin-bottom: 20rpx;
  149. }
  150. .recommendYouConItemTop{
  151. font-size: 0rpx;
  152. }
  153. .recommendYouConItemTop image{
  154. width: 344rpx;
  155. height: 344rpx;
  156. border-radius: 24rpx 24rpx 0rpx 0rpx;
  157. }
  158. .recommendYouConItemBottom{
  159. margin-top: 20rpx;
  160. padding: 0rpx 24rpx;
  161. }
  162. .recommendYouConItemBottom .title{
  163. width: 296rpx;
  164. height: 40rpx;
  165. color: #333333;
  166. font-size: 28rpx;
  167. font-family: PingFangSC-Medium;
  168. text-align: left;
  169. white-space: nowrap;
  170. line-height: 40rpx;
  171. overflow:hidden;
  172. text-overflow: ellipsis;
  173. }
  174. .descCon{
  175. display: flex;
  176. margin-top: 22rpx;
  177. }
  178. .descCon .desc{
  179. color: #666666;
  180. font-size: 24rpx;
  181. font-family: PingFangSC-Medium;
  182. text-align: left;
  183. white-space: nowrap;
  184. line-height: 34rpx;
  185. margin: 0rpx 24rpx 0 0rpx;
  186. background-color: rgba(247,247,247,1);
  187. border-radius: 8rpx;
  188. height: 38rpx;
  189. width: 104rpx;
  190. padding: 2rpx 0rpx 0rpx 4rpx;
  191. }
  192. .priceCart{
  193. margin-top: 14rpx;
  194. display: flex;
  195. justify-content: space-between;
  196. height: 56rpx;
  197. line-height: 56rpx;
  198. margin-bottom: 16rpx;
  199. }
  200. .price{
  201. height: 46rpx;
  202. line-height: 46rpx;
  203. align-self: flex-start;
  204. }
  205. .price text:first-child{
  206. height: 46rpx;
  207. color: rgba(250,70,34,1);
  208. font-size: 24rpx;
  209. font-family: Helvetica, "Microsoft YaHei", Arial, sans-serif;
  210. text-align: left;
  211. white-space: nowrap;
  212. line-height: 46rpx;
  213. }
  214. .price text:last-child{
  215. height: 46rpx;
  216. color: rgba(250,70,34,1);
  217. font-size: 40rpx;
  218. font-family: Helvetica, "Microsoft YaHei", Arial, sans-serif;
  219. text-align: left;
  220. white-space: nowrap;
  221. line-height: 46rpx;
  222. }
  223. .cart{
  224. width: 36rpx;
  225. height: 30rpx;
  226. align-self: flex-end;
  227. font-size: 0;
  228. }
  229. .cart image{
  230. width: 100%;
  231. height: 100%;
  232. object-fit: contain;
  233. }