scheme.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. @import '../../../../themes/page.scss';
  2. @import "../../../../themes/t.cell.scss";
  3. @import "../../report-common.scss";
  4. @import "../../../../themes/card.scss";
  5. /* module/health/pages/scheme/scheme.wxss */
  6. .scheme-container {
  7. background: linear-gradient(180deg, #E3EDFA 0%, #FFFFFF 100%);
  8. width: 100%;
  9. height: 100%;
  10. background-image: url('/module/health/assets/image/bg_interview@2x.png');
  11. background-repeat: no-repeat;
  12. background-position: inherit;
  13. background-size: cover;
  14. }
  15. .header-row {
  16. display: flex;
  17. justify-content: space-between;
  18. align-items: center;
  19. width: 100%;
  20. }
  21. .t-cell__note,
  22. .t-cell__title {
  23. margin-left: 0px !important;
  24. }
  25. .date-text {
  26. display: flex;
  27. align-items: center;
  28. }
  29. .recuperate-btn {
  30. display: inline-block;
  31. padding: 9px 12px;
  32. background-color: #1d6ff6;
  33. color: white;
  34. border-radius: 4px;
  35. font-size: 14px;
  36. text-align: center;
  37. }
  38. .card-wrapper {
  39. --button-line-1: 10px;
  40. }
  41. .scheme {
  42. &__item {
  43. margin-top: 8px;
  44. &-title {
  45. font-size: 14px;
  46. text-align: center;
  47. // margin-bottom: 8px;
  48. }
  49. }
  50. &__title {
  51. font-size: 14px;
  52. font-weight: 600;
  53. // color: #34A76B;
  54. color: #1d6ff6;
  55. width: 55%;
  56. text-align: right;
  57. }
  58. &__description {
  59. display: flex;
  60. flex-direction: row;
  61. flex-wrap: wrap;
  62. margin: 6px 0;
  63. }
  64. }
  65. .scheme-wrapper {
  66. image {
  67. height: 90px;
  68. }
  69. &+.scheme-wrapper {
  70. margin-top: 12px;
  71. }
  72. color: #D7D9DA;
  73. .name {
  74. text-align: center;
  75. font-size: 15px;
  76. // color: #34A76B;
  77. color: #1d6ff6;
  78. }
  79. .description {
  80. margin: 4px 0;
  81. font-size: 14px;
  82. }
  83. .media-container {
  84. display: flex;
  85. flex-direction: row;
  86. flex-wrap: wrap;
  87. margin: 0 -1%;
  88. .media {
  89. flex: none;
  90. width: 31%;
  91. margin: 0 1%;
  92. image,
  93. video {
  94. width: 100%;
  95. height: 100px;
  96. }
  97. }
  98. }
  99. }
  100. .buy-title {
  101. display: flex;
  102. align-items: center;
  103. justify-content: space-between;
  104. width: 55%;
  105. text-align: right;
  106. }
  107. .buy-container {
  108. display: flex;
  109. width: 100%;
  110. position: relative;
  111. height: 100rpx;
  112. }
  113. .buy-box {
  114. border: 1px solid #1d6ff6;
  115. color: #1d6ff6;
  116. border-radius: 4px;
  117. font-size: 14px;
  118. position: absolute;
  119. right: 0;
  120. width: 25%;
  121. height: 33px;
  122. line-height: 33px;
  123. text-align: center;
  124. }
  125. .qr-code-popup {
  126. width: 80vw;
  127. max-width: 600rpx;
  128. background: #fff;
  129. border-radius: 16rpx;
  130. overflow: hidden;
  131. display: flex;
  132. flex-direction: column;
  133. align-items: center;
  134. &__title {
  135. width: 100%;
  136. padding: 40rpx 0 20rpx;
  137. text-align: center;
  138. font-size: 32rpx;
  139. font-weight: 600;
  140. color: #333;
  141. }
  142. &__content {
  143. width: 100%;
  144. padding: 0 40rpx;
  145. display: flex;
  146. justify-content: center;
  147. align-items: center;
  148. }
  149. &__footer {
  150. width: 100%;
  151. padding: 30rpx 40rpx 40rpx;
  152. display: flex;
  153. justify-content: center;
  154. }
  155. &__btn {
  156. width: 200rpx;
  157. height: 80rpx;
  158. line-height: 80rpx;
  159. text-align: center;
  160. background: #1d6ff6;
  161. color: #fff;
  162. border-radius: 8rpx;
  163. font-size: 28rpx;
  164. }
  165. }
  166. .qr-code-image {
  167. width: 100%;
  168. max-width: 500rpx;
  169. height: 500rpx;
  170. }
  171. // 底部去购买按钮
  172. .scheme-bottom-buy-btn {
  173. position: fixed;
  174. bottom: 0;
  175. left: 0;
  176. right: 0;
  177. width: 100%;
  178. min-height: 98rpx;
  179. // background: linear-gradient(90deg, #1d6ff6 0%, #4a90ff 100%);
  180. background: white;
  181. display: flex;
  182. align-items: center;
  183. justify-content: flex-end;
  184. z-index: 100;
  185. box-shadow: 0 -4rpx 20rpx rgba(29, 111, 246, 0.2);
  186. box-sizing: border-box;
  187. padding-top: 24rpx;
  188. padding-right: 32rpx;
  189. .buy-btn-text {
  190. color: #ffffff;
  191. font-size: 30rpx;
  192. letter-spacing: 2rpx;
  193. line-height: 1.2;
  194. text-align: center;
  195. background: #1d6ff6;
  196. padding: 10px 30px;
  197. border-radius: 5px;
  198. }
  199. }
  200. // 底部占位,避免内容被按钮遮盖(98rpx按钮高度 + 安全区域)
  201. .scheme-bottom-placeholder {
  202. height: 150rpx;
  203. width: 100%;
  204. box-sizing: border-box;
  205. }