packageDetails.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. /**
  2. * 这里是uni-app内置的常用样式变量
  3. *
  4. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  5. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  6. *
  7. */
  8. /**
  9. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  10. *
  11. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  12. */
  13. /* 颜色变量 */
  14. /* 行为相关颜色 */
  15. /* 文字基本颜色 */
  16. /* 背景颜色 */
  17. /* 边框颜色 */
  18. /* 尺寸变量 */
  19. /* 文字尺寸 */
  20. /* 图片尺寸 */
  21. /* Border Radius */
  22. /* 水平间距 */
  23. /* 垂直间距 */
  24. /* 透明度 */
  25. /* 文章场景相关 */
  26. body {
  27. height: 100%;
  28. }
  29. .content {
  30. height: 100%;
  31. display: flex;
  32. flex-direction: column;
  33. }
  34. .content .cont-box {
  35. padding-bottom: 3.78125rem;
  36. }
  37. .content .cont-box .package-box {
  38. background-color: #fff;
  39. padding: 0.625rem;
  40. width: 100%;
  41. display: flex;
  42. flex-direction: column;
  43. align-items: flex-start;
  44. justify-content: flex-start;
  45. }
  46. .content .cont-box .package-box .title {
  47. font-weight: bold;
  48. font-size: 1.0625rem;
  49. font-family: PingFang SC;
  50. color: #111;
  51. }
  52. .content .cont-box .package-box .desc {
  53. margin-top: 0.46875rem;
  54. display: flex;
  55. align-items: flex-start;
  56. justify-content: flex-start;
  57. }
  58. .content .cont-box .package-box .desc .cycle {
  59. background-color: #eee;
  60. border-radius: 0.9375rem;
  61. padding: 0.15625rem 0.46875rem;
  62. font-size: 0.8125rem;
  63. font-family: PingFang SC;
  64. color: #C39A58;
  65. }
  66. .content .cont-box .package-box .desc .duration {
  67. margin-left: 0.3125rem;
  68. background-color: #eee;
  69. border-radius: 0.9375rem;
  70. padding: 0.15625rem 0.46875rem;
  71. font-size: 0.8125rem;
  72. font-family: PingFang SC;
  73. color: #C39A58;
  74. }
  75. .content .cont-box .package-box .num-box {
  76. margin-top: 0.46875rem;
  77. flex: 1;
  78. display: flex;
  79. align-items: flex-end;
  80. justify-content: space-between;
  81. width: 100%;
  82. }
  83. .content .cont-box .package-box .num-box .price-box {
  84. display: flex;
  85. align-items: center;
  86. justify-content: flex-start;
  87. }
  88. .content .cont-box .package-box .num-box .price-box .price {
  89. margin-right: 0.3125rem;
  90. padding: 0.15625rem 0.3125rem;
  91. background-color: #C39A58;
  92. border-radius: 0.9375rem;
  93. font-size: 0.625rem;
  94. font-family: PingFang SC;
  95. color: #ffffff;
  96. }
  97. .content .cont-box .package-box .num-box .count {
  98. font-size: 0.75rem;
  99. font-family: PingFang SC;
  100. color: #333333;
  101. }
  102. .content .cont-box .desc-box {
  103. background-color: #fff;
  104. padding: 0.625rem;
  105. margin-top: 0.3125rem;
  106. }
  107. .content .cont-box .desc-box .title-box {
  108. display: flex;
  109. flex-direction: row;
  110. align-items: center;
  111. justify-content: flex-start;
  112. }
  113. .content .cont-box .desc-box .title-box .title {
  114. font-size: 1rem;
  115. font-family: PingFang SC;
  116. font-weight: bold;
  117. color: #111111;
  118. }
  119. .content .cont-box .desc-box .title-box .line {
  120. margin-right: 0.46875rem;
  121. height: 0.9375rem;
  122. width: 0.1875rem;
  123. background-color: #C39A58;
  124. }
  125. .content .cont-box .desc-box .desc {
  126. margin-top: 0.46875rem;
  127. font-size: 0.875rem;
  128. font-family: PingFang SC;
  129. color: #9a9a9c;
  130. }
  131. .content .cont-box .drug-box {
  132. background-color: #fff;
  133. padding: 0.625rem;
  134. margin-top: 0.3125rem;
  135. }
  136. .content .cont-box .drug-box .title-box {
  137. display: flex;
  138. flex-direction: row;
  139. align-items: center;
  140. justify-content: flex-start;
  141. }
  142. .content .cont-box .drug-box .title-box .title {
  143. font-size: 1rem;
  144. font-family: PingFang SC;
  145. font-weight: bold;
  146. color: #111111;
  147. }
  148. .content .cont-box .drug-box .title-box .line {
  149. margin-right: 0.46875rem;
  150. height: 0.9375rem;
  151. width: 0.1875rem;
  152. background-color: #C39A58;
  153. }
  154. .content .cont-box .drug-box .drug-list {
  155. margin-top: 0.46875rem;
  156. }
  157. .content .cont-box .drug-box .drug-list .drug-item .drug {
  158. padding-bottom: 0.46875rem;
  159. border-bottom: 1px soli #F0F0F0;
  160. display: flex;
  161. align-items: center;
  162. }
  163. .content .cont-box .drug-box .drug-list .drug-item .drug .img-box {
  164. width: 5rem;
  165. height: 5rem;
  166. margin-right: 0.9375rem;
  167. flex-shrink: 0;
  168. }
  169. .content .cont-box .drug-box .drug-list .drug-item .drug .img-box uni-image {
  170. width: 100%;
  171. height: 100%;
  172. }
  173. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info {
  174. width: calc(100% - 5.9375rem);
  175. height: 5rem;
  176. display: flex;
  177. flex-direction: column;
  178. justify-content: space-between;
  179. }
  180. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .name-box {
  181. font-size: 0.875rem;
  182. font-family: PingFang SC;
  183. font-weight: 500;
  184. color: #111111;
  185. line-height: 1.25rem;
  186. }
  187. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .name-box .tag {
  188. display: inline-block;
  189. padding: 0 0.1875rem;
  190. height: 0.9375rem;
  191. background: linear-gradient(90deg, #2BC7B9 0%, #2BC7A4 100%);
  192. border-radius: 0.125rem;
  193. margin-right: 0.3125rem;
  194. font-size: 0.6875rem;
  195. font-family: PingFang SC;
  196. font-weight: bold;
  197. color: #FFFFFF;
  198. line-height: 0.9375rem;
  199. float: left;
  200. margin-top: 0.21875rem;
  201. }
  202. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .spec {
  203. font-size: 0.75rem;
  204. font-family: PingFang SC;
  205. font-weight: 500;
  206. color: #999999;
  207. line-height: 1;
  208. margin-top: 0.3125rem;
  209. }
  210. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .num-box {
  211. display: flex;
  212. align-items: center;
  213. justify-content: space-between;
  214. }
  215. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .num-box .price {
  216. display: flex;
  217. align-items: flex-end;
  218. }
  219. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .num-box .price .unit {
  220. font-size: 0.75rem;
  221. font-family: PingFang SC;
  222. font-weight: 500;
  223. color: #111111;
  224. line-height: 1.2;
  225. margin-right: 0.125rem;
  226. }
  227. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .num-box .price .num {
  228. font-size: 1rem;
  229. font-family: PingFang SC;
  230. font-weight: 500;
  231. color: #111111;
  232. line-height: 1;
  233. }
  234. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .num-box .use {
  235. font-size: 0.75rem;
  236. font-family: PingFang SC;
  237. color: #999999;
  238. }
  239. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .num-box .amount {
  240. font-size: 0.75rem;
  241. font-family: PingFang SC;
  242. font-weight: 500;
  243. color: #999999;
  244. line-height: 1;
  245. }
  246. .content .cont-box .drug-box .display-more {
  247. font-size: 0.75rem;
  248. font-family: PingFang SC;
  249. font-weight: 500;
  250. color: #999999;
  251. display: flex;
  252. align-items: center;
  253. justify-content: center;
  254. }
  255. .btn-foot {
  256. box-sizing: border-box;
  257. width: 100%;
  258. height: 3.78125rem;
  259. background: #FFFFFF;
  260. padding: 0 1rem 0 0.875rem;
  261. display: flex;
  262. align-items: center;
  263. justify-content: space-between;
  264. position: fixed;
  265. left: 0;
  266. bottom: 0;
  267. z-index: 99;
  268. }
  269. .btn-foot .p-price-box {
  270. display: flex;
  271. align-items: center;
  272. }
  273. .btn-foot .p-price-box .p-name {
  274. font-size: 0.875rem;
  275. font-family: PingFang SC;
  276. font-weight: 500;
  277. color: #FF6633;
  278. }
  279. .btn-foot .p-price-box .p-price {
  280. margin-left: 0.3125rem;
  281. color: #FF6633;
  282. font-size: 1rem;
  283. font-family: PingFang SC;
  284. font-weight: bold;
  285. }
  286. .btn-foot .btn-box {
  287. display: flex;
  288. align-items: center;
  289. }
  290. .btn-foot .btn-box .btn {
  291. width: 6.25rem;
  292. height: 2.75rem;
  293. line-height: 2.75rem;
  294. text-align: center;
  295. border-radius: 1.375rem;
  296. margin-left: 0.625rem;
  297. font-size: 0.9375rem;
  298. font-family: PingFang SC;
  299. font-weight: bold;
  300. color: #FFFFFF;
  301. }
  302. .btn-foot .btn-box .btn:first-child {
  303. margin-left: 0;
  304. }
  305. .btn-foot .btn-box .btn.buy {
  306. background: #C39A58;
  307. }
  308. .btn-foot .btn-box .btn .contact-btn {
  309. display: inline-block;
  310. position: absolute;
  311. top: 0;
  312. left: 0;
  313. width: 100%;
  314. height: 100%;
  315. opacity: 0;
  316. z-index: 9999;
  317. }
  318. .doctors {
  319. overflow-y: auto;
  320. padding: 0.625rem;
  321. height: 20.3125rem;
  322. width: 100%;
  323. display: flex;
  324. flex-direction: column;
  325. align-items: flex-start;
  326. justify-content: flex-start;
  327. box-sizing: border-box;
  328. }
  329. .doctors .scroll-list {
  330. height: 20.3125rem;
  331. }
  332. .doctors .doctor {
  333. width: 100%;
  334. margin-bottom: 0.46875rem;
  335. background: #f9f8fe;
  336. padding: 0.625rem;
  337. display: flex;
  338. flex-direction: column;
  339. align-items: flex-start;
  340. justify-content: flex-start;
  341. }
  342. .doctors .doctor:last-child {
  343. margin-bottom: 0;
  344. }
  345. .doctors .doctor .item {
  346. width: 100%;
  347. display: flex;
  348. align-items: center;
  349. justify-content: space-between;
  350. }
  351. .doctors .doctor .item .left {
  352. flex: 1;
  353. width: 100%;
  354. display: flex;
  355. align-items: flex-start;
  356. justify-content: flex-start;
  357. }
  358. .doctors .doctor .item .left .doc-img {
  359. width: 2.5rem;
  360. height: 2.5rem;
  361. border-radius: 50%;
  362. }
  363. .doctors .doctor .item .left .right {
  364. width: calc(100% - 3.125rem);
  365. margin-left: 0.625rem;
  366. display: flex;
  367. flex-direction: column;
  368. align-items: flex-start;
  369. justify-content: flex-start;
  370. }
  371. .doctors .doctor .item .left .right .doc-box {
  372. display: flex;
  373. align-items: center;
  374. justify-content: space-between;
  375. }
  376. .doctors .doctor .item .left .right .doc-box .doc-name {
  377. font-size: 0.875rem;
  378. font-family: PingFang SC;
  379. font-weight: bold;
  380. color: #111111;
  381. }
  382. .doctors .doctor .item .left .right .doc-box .doc-position {
  383. margin-left: 1.5625rem;
  384. font-size: 0.8125rem;
  385. font-family: PingFang SC;
  386. color: #2d2b36;
  387. }
  388. .doctors .doctor .item .left .right .hospital {
  389. margin-top: 0.3125rem;
  390. font-size: 0.75rem;
  391. font-family: PingFang SC;
  392. color: #9a9a9c;
  393. }
  394. .doctors .doctor .item .btn {
  395. padding: 0.3125rem 0.9375rem;
  396. text-align: center;
  397. border-radius: 0.9375rem;
  398. font-size: 0.875rem;
  399. font-family: PingFang SC;
  400. color: #C39A58;
  401. border: 0.03125rem solid #C39A58;
  402. }
  403. .goods-banner {
  404. height: 23.625rem;
  405. background-color: #FFFFFF;
  406. position: relative;
  407. }
  408. .goods-banner .swiper-item {
  409. box-sizing: border-box;
  410. }
  411. .goods-banner .swiper,
  412. .goods-banner .swiper-item,
  413. .goods-banner .swiper-item uni-image {
  414. width: 100%;
  415. height: 100%;
  416. }
  417. .goods-banner .num-box {
  418. width: 2.5rem;
  419. height: 1.375rem;
  420. line-height: 1.375rem;
  421. text-align: center;
  422. font-size: 0.75rem;
  423. font-family: PingFang SC;
  424. font-weight: 500;
  425. color: #FFFFFF;
  426. background: rgba(0, 0, 0, 0.3);
  427. border-radius: 0.6875rem;
  428. position: absolute;
  429. right: 0.9375rem;
  430. bottom: 0.9375rem;
  431. z-index: 10;
  432. }