subCardDetails.wxss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  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. .toUserActive{
  110. background-color: #999;
  111. }
  112. .used{
  113. color: #999;
  114. }
  115. .usedBg{
  116. background-color: #E5E5E5;
  117. }
  118. .recommendYouTitle{
  119. display: flex;
  120. justify-content: center;
  121. align-items: center;
  122. }
  123. .recommendYouTitle view{
  124. background-color: #E9E9E9;
  125. width: 130rpx;
  126. height: 2rpx;
  127. }
  128. .recommendYouTitle text{
  129. width: 96rpx;
  130. height: 34rpx;
  131. color: #666666;
  132. font-size: 24rpx;
  133. font-family: PingFangSC-Regular;
  134. text-align: left;
  135. white-space: nowrap;
  136. line-height: 34rpx;
  137. margin: 0rpx 20rpx;
  138. }
  139. .recommendYouCon{
  140. display: flex;
  141. flex-wrap: wrap;
  142. justify-content: space-between;
  143. margin: 20rpx;
  144. }
  145. .recommendYouConItem{
  146. background-color: #FFFFFF;
  147. border-radius: 24rpx;
  148. width: 344rpx;
  149. display: flex;
  150. flex-direction: column;
  151. margin-bottom: 20rpx;
  152. }
  153. .recommendYouConItemTop{
  154. font-size: 0rpx;
  155. }
  156. .recommendYouConItemTop image{
  157. width: 344rpx;
  158. height: 344rpx;
  159. border-radius: 24rpx 24rpx 0rpx 0rpx;
  160. }
  161. .recommendYouConItemBottom{
  162. margin-top: 20rpx;
  163. padding: 0rpx 24rpx;
  164. }
  165. .recommendYouConItemBottom .title{
  166. width: 296rpx;
  167. height: 40rpx;
  168. color: #333333;
  169. font-size: 28rpx;
  170. font-family: PingFangSC-Medium;
  171. text-align: left;
  172. white-space: nowrap;
  173. line-height: 40rpx;
  174. overflow:hidden;
  175. text-overflow: ellipsis;
  176. }
  177. .descCon{
  178. display: flex;
  179. margin-top: 22rpx;
  180. }
  181. .descCon .desc{
  182. color: #666666;
  183. font-size: 24rpx;
  184. font-family: PingFangSC-Medium;
  185. text-align: left;
  186. white-space: nowrap;
  187. line-height: 34rpx;
  188. margin: 0rpx 24rpx 0 0rpx;
  189. background-color: rgba(247,247,247,1);
  190. border-radius: 8rpx;
  191. height: 38rpx;
  192. width: 104rpx;
  193. padding: 2rpx 0rpx 0rpx 4rpx;
  194. }
  195. .priceCart{
  196. margin-top: 14rpx;
  197. display: flex;
  198. justify-content: space-between;
  199. height: 56rpx;
  200. line-height: 56rpx;
  201. margin-bottom: 16rpx;
  202. }
  203. .price{
  204. height: 46rpx;
  205. line-height: 46rpx;
  206. align-self: flex-start;
  207. }
  208. .price text:first-child{
  209. height: 46rpx;
  210. color: rgba(250,70,34,1);
  211. font-size: 24rpx;
  212. font-family: Helvetica, "Microsoft YaHei", Arial, sans-serif;
  213. text-align: left;
  214. white-space: nowrap;
  215. line-height: 46rpx;
  216. }
  217. .price text:last-child{
  218. height: 46rpx;
  219. color: rgba(250,70,34,1);
  220. font-size: 40rpx;
  221. font-family: Helvetica, "Microsoft YaHei", Arial, sans-serif;
  222. text-align: left;
  223. white-space: nowrap;
  224. line-height: 46rpx;
  225. }
  226. .cart{
  227. width: 36rpx;
  228. height: 30rpx;
  229. align-self: flex-end;
  230. font-size: 0;
  231. }
  232. .cart image{
  233. width: 100%;
  234. height: 100%;
  235. object-fit: contain;
  236. }