packageDetails.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493
  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. page {
  27. height: 100%;
  28. }
  29. .content {
  30. height: 100%;
  31. display: flex;
  32. flex-direction: column;
  33. }
  34. .content .cont-box {
  35. padding-bottom: 121rpx;
  36. }
  37. .content .cont-box .package-box {
  38. background-color: #fff;
  39. padding: 20rpx;
  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: 34rpx;
  49. font-family: PingFang SC;
  50. color: #111;
  51. }
  52. .content .cont-box .package-box .desc {
  53. margin-top: 15rpx;
  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: 30rpx;
  61. padding: 5rpx 15rpx;
  62. font-size: 26rpx;
  63. font-family: PingFang SC;
  64. color: #C39A58;
  65. }
  66. .content .cont-box .package-box .desc .duration {
  67. margin-left: 10rpx;
  68. background-color: #eee;
  69. border-radius: 30rpx;
  70. padding: 5rpx 15rpx;
  71. font-size: 26rpx;
  72. font-family: PingFang SC;
  73. color: #C39A58;
  74. }
  75. .content .cont-box .package-box .num-box {
  76. margin-top: 15rpx;
  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: 10rpx;
  90. padding: 5rpx 10rpx;
  91. background-color: #C39A58;
  92. border-radius: 30rpx;
  93. font-size: 20rpx;
  94. font-family: PingFang SC;
  95. color: #ffffff;
  96. }
  97. .content .cont-box .package-box .num-box .count {
  98. font-size: 24rpx;
  99. font-family: PingFang SC;
  100. color: #333333;
  101. }
  102. .content .cont-box .desc-box {
  103. background-color: #fff;
  104. padding: 20rpx;
  105. margin-top: 10rpx;
  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: 32rpx;
  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: 15rpx;
  121. height: 30rpx;
  122. width: 6rpx;
  123. background-color: #C39A58;
  124. }
  125. .content .cont-box .desc-box .desc {
  126. margin-top: 15rpx;
  127. font-size: 28rpx;
  128. font-family: PingFang SC;
  129. color: #9a9a9c;
  130. }
  131. .content .cont-box .desc-box .html {
  132. margin-top: 15rpx;
  133. font-size: 0px;
  134. vertical-align: middle;
  135. }
  136. .content .cont-box .drug-box {
  137. background-color: #fff;
  138. padding: 20rpx;
  139. margin-top: 10rpx;
  140. }
  141. .content .cont-box .drug-box .title-box {
  142. display: flex;
  143. flex-direction: row;
  144. align-items: center;
  145. justify-content: flex-start;
  146. }
  147. .content .cont-box .drug-box .title-box .title {
  148. font-size: 32rpx;
  149. font-family: PingFang SC;
  150. font-weight: bold;
  151. color: #111111;
  152. }
  153. .content .cont-box .drug-box .title-box .line {
  154. margin-right: 15rpx;
  155. height: 30rpx;
  156. width: 6rpx;
  157. background-color: #C39A58;
  158. }
  159. .content .cont-box .drug-box .drug-list {
  160. margin-top: 15rpx;
  161. }
  162. .content .cont-box .drug-box .drug-list .drug-item .drug {
  163. padding-bottom: 15rpx;
  164. border-bottom: 1px soli #F0F0F0;
  165. display: flex;
  166. align-items: center;
  167. }
  168. .content .cont-box .drug-box .drug-list .drug-item .drug .img-box {
  169. width: 160rpx;
  170. height: 160rpx;
  171. margin-right: 30rpx;
  172. flex-shrink: 0;
  173. }
  174. .content .cont-box .drug-box .drug-list .drug-item .drug .img-box image {
  175. width: 100%;
  176. height: 100%;
  177. }
  178. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info {
  179. width: calc(100% - 190rpx);
  180. height: 160rpx;
  181. display: flex;
  182. flex-direction: column;
  183. justify-content: space-between;
  184. }
  185. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .name-box {
  186. font-size: 28rpx;
  187. font-family: PingFang SC;
  188. font-weight: 500;
  189. color: #111111;
  190. line-height: 40rpx;
  191. }
  192. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .name-box .tag {
  193. display: inline-block;
  194. padding: 0 6rpx;
  195. height: 30rpx;
  196. background: linear-gradient(90deg, #2BC7B9 0%, #2BC7A4 100%);
  197. border-radius: 4rpx;
  198. margin-right: 10rpx;
  199. font-size: 22rpx;
  200. font-family: PingFang SC;
  201. font-weight: bold;
  202. color: #FFFFFF;
  203. line-height: 30rpx;
  204. float: left;
  205. margin-top: 7rpx;
  206. }
  207. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .spec {
  208. font-size: 24rpx;
  209. font-family: PingFang SC;
  210. font-weight: 500;
  211. color: #999999;
  212. line-height: 1;
  213. margin-top: 10rpx;
  214. }
  215. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .num-box {
  216. display: flex;
  217. align-items: center;
  218. justify-content: space-between;
  219. }
  220. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .num-box .price {
  221. display: flex;
  222. align-items: flex-end;
  223. }
  224. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .num-box .price .unit {
  225. font-size: 24rpx;
  226. font-family: PingFang SC;
  227. font-weight: 500;
  228. color: #111111;
  229. line-height: 1.2;
  230. margin-right: 4rpx;
  231. }
  232. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .num-box .price .num {
  233. font-size: 32rpx;
  234. font-family: PingFang SC;
  235. font-weight: 500;
  236. color: #111111;
  237. line-height: 1;
  238. }
  239. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .num-box .use {
  240. font-size: 24rpx;
  241. font-family: PingFang SC;
  242. color: #999999;
  243. }
  244. .content .cont-box .drug-box .drug-list .drug-item .drug .drug-info .num-box .amount {
  245. font-size: 24rpx;
  246. font-family: PingFang SC;
  247. font-weight: 500;
  248. color: #999999;
  249. line-height: 1;
  250. }
  251. .content .cont-box .drug-box .display-more {
  252. font-size: 24rpx;
  253. font-family: PingFang SC;
  254. font-weight: 500;
  255. color: #999999;
  256. display: flex;
  257. align-items: center;
  258. justify-content: center;
  259. }
  260. .content .cont-box .drug-box .tip {
  261. margin-top: 10rpx;
  262. display: flex;
  263. align-items: center;
  264. justify-content: flex-start;
  265. }
  266. .content .cont-box .drug-box .tip .img {
  267. width: 20rpx;
  268. height: 20rpx;
  269. }
  270. .content .cont-box .drug-box .tip .text {
  271. margin-left: 10rpx;
  272. font-size: 26rpx;
  273. font-family: PingFang SC;
  274. font-weight: 500;
  275. color: #999999;
  276. }
  277. .btn-foot {
  278. box-sizing: border-box;
  279. width: 100%;
  280. height: 121rpx;
  281. background: #FFFFFF;
  282. padding: 0 32rpx 0 28rpx;
  283. display: flex;
  284. align-items: center;
  285. justify-content: space-between;
  286. position: fixed;
  287. left: 0;
  288. bottom: 0;
  289. z-index: 99;
  290. }
  291. .btn-foot .p-price-box {
  292. display: flex;
  293. align-items: center;
  294. }
  295. .btn-foot .p-price-box .p-name {
  296. font-size: 28rpx;
  297. font-family: PingFang SC;
  298. font-weight: 500;
  299. color: #FF6633;
  300. }
  301. .btn-foot .p-price-box .p-price {
  302. margin-left: 10rpx;
  303. color: #FF6633;
  304. font-size: 38rpx;
  305. font-family: PingFang SC;
  306. font-weight: bold;
  307. }
  308. .btn-foot .btn-box {
  309. display: flex;
  310. align-items: center;
  311. }
  312. .btn-foot .btn-box .btn {
  313. width: 200rpx;
  314. height: 88rpx;
  315. line-height: 88rpx;
  316. text-align: center;
  317. border-radius: 44rpx;
  318. margin-left: 20rpx;
  319. font-size: 30rpx;
  320. font-family: PingFang SC;
  321. font-weight: bold;
  322. color: #FFFFFF;
  323. }
  324. .btn-foot .btn-box .btn:first-child {
  325. margin-left: 0;
  326. }
  327. .btn-foot .btn-box .btn.buy {
  328. background: #C39A58;
  329. }
  330. .doctors {
  331. overflow-y: auto;
  332. padding: 20rpx;
  333. height: 650rpx;
  334. width: 100%;
  335. display: flex;
  336. flex-direction: column;
  337. align-items: flex-start;
  338. justify-content: flex-start;
  339. box-sizing: border-box;
  340. }
  341. .doctors .scroll-list {
  342. height: 650rpx;
  343. }
  344. .doctors .doctor {
  345. width: 100%;
  346. margin-bottom: 15rpx;
  347. background: #f9f8fe;
  348. padding: 20rpx;
  349. display: flex;
  350. flex-direction: column;
  351. align-items: flex-start;
  352. justify-content: flex-start;
  353. }
  354. .doctors .doctor:last-child {
  355. margin-bottom: 0rpx;
  356. }
  357. .doctors .doctor .item {
  358. width: 100%;
  359. display: flex;
  360. align-items: center;
  361. justify-content: space-between;
  362. }
  363. .doctors .doctor .item .left {
  364. flex: 1;
  365. width: 100%;
  366. display: flex;
  367. align-items: flex-start;
  368. justify-content: flex-start;
  369. }
  370. .doctors .doctor .item .left .doc-img {
  371. width: 80rpx;
  372. height: 80rpx;
  373. border-radius: 50%;
  374. }
  375. .doctors .doctor .item .left .right {
  376. width: calc(100% - 100rpx);
  377. margin-left: 20rpx;
  378. display: flex;
  379. flex-direction: column;
  380. align-items: flex-start;
  381. justify-content: flex-start;
  382. }
  383. .doctors .doctor .item .left .right .doc-box {
  384. display: flex;
  385. align-items: center;
  386. justify-content: space-between;
  387. }
  388. .doctors .doctor .item .left .right .doc-box .doc-name {
  389. font-size: 28rpx;
  390. font-family: PingFang SC;
  391. font-weight: bold;
  392. color: #111111;
  393. }
  394. .doctors .doctor .item .left .right .doc-box .doc-position {
  395. margin-left: 50rpx;
  396. font-size: 26rpx;
  397. font-family: PingFang SC;
  398. color: #2d2b36;
  399. }
  400. .doctors .doctor .item .left .right .hospital {
  401. margin-top: 10rpx;
  402. font-size: 24rpx;
  403. font-family: PingFang SC;
  404. color: #9a9a9c;
  405. }
  406. .doctors .doctor .item .btn {
  407. padding: 10rpx 30rpx;
  408. text-align: center;
  409. border-radius: 30rpx;
  410. font-size: 28rpx;
  411. font-family: PingFang SC;
  412. color: #C39A58;
  413. border: 1rpx solid #C39A58;
  414. }
  415. .goods-banner {
  416. height: 756rpx;
  417. background-color: #FFFFFF;
  418. position: relative;
  419. }
  420. .goods-banner .swiper-item {
  421. box-sizing: border-box;
  422. }
  423. .goods-banner .swiper,
  424. .goods-banner .swiper-item,
  425. .goods-banner .swiper-item image {
  426. width: 100%;
  427. height: 100%;
  428. }
  429. .goods-banner .num-box {
  430. width: 80rpx;
  431. height: 44rpx;
  432. line-height: 44rpx;
  433. text-align: center;
  434. font-size: 24rpx;
  435. font-family: PingFang SC;
  436. font-weight: 500;
  437. color: #FFFFFF;
  438. background: rgba(0, 0, 0, 0.3);
  439. border-radius: 22rpx;
  440. position: absolute;
  441. right: 30rpx;
  442. bottom: 30rpx;
  443. z-index: 10;
  444. }
  445. .message-box {
  446. box-sizing: border-box;
  447. width: 693rpx;
  448. height: 84rpx;
  449. background: #ffffff;
  450. opacity: 0.9;
  451. border: 1px solid #E2C99E;
  452. border-radius: 16rpx;
  453. position: fixed;
  454. left: 50%;
  455. transform: translateX(-50%);
  456. bottom: 128rpx;
  457. z-index: 99;
  458. display: flex;
  459. align-items: center;
  460. justify-content: space-between;
  461. padding: 0 20rpx 0 30rpx;
  462. }
  463. .message-box .left {
  464. width: 80%;
  465. display: flex;
  466. align-items: center;
  467. }
  468. .message-box .left image {
  469. width: 24rpx;
  470. height: 24rpx;
  471. margin-right: 18rpx;
  472. }
  473. .message-box .left .text {
  474. width: 90%;
  475. font-size: 28rpx;
  476. font-family: PingFang SC;
  477. font-weight: 500;
  478. color: #C39A58;
  479. }
  480. .message-box .btn {
  481. width: 100rpx;
  482. height: 48rpx;
  483. line-height: 48rpx;
  484. text-align: center;
  485. font-size: 24rpx;
  486. font-family: PingFang SC;
  487. font-weight: 500;
  488. color: #FFFFFF;
  489. border: 1px solid #D2E6FF;
  490. background: linear-gradient(135deg, #C39A58 0%, #E2C99E 100%);
  491. border-radius: 24rpx;
  492. margin-left: 30rpx;
  493. }