medicine.wxss 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. .category-container.data-v-d7dd60fc {
  2. max-width: 800px;
  3. margin: 0 auto;
  4. background: #f5f5f5;
  5. min-height: 100vh;
  6. }
  7. .search-bar.data-v-d7dd60fc {
  8. padding: 15px;
  9. background-color: #fff;
  10. }
  11. .search-input.data-v-d7dd60fc {
  12. background-color: #f5f5f5;
  13. border-radius: 25px;
  14. padding: 8px 15px;
  15. display: flex;
  16. align-items: center;
  17. }
  18. .search-input .iconfont.data-v-d7dd60fc {
  19. color: #999;
  20. margin-right: 10px;
  21. }
  22. .medicine-tabs.data-v-d7dd60fc {
  23. display: flex;
  24. background-color: #fff;
  25. border-bottom: 1px solid #eee;
  26. }
  27. .tab-item.data-v-d7dd60fc {
  28. flex: 1;
  29. padding: 12px 0;
  30. text-align: center;
  31. color: #666;
  32. font-size: 14px;
  33. position: relative;
  34. }
  35. .tab-item.active.data-v-d7dd60fc {
  36. color: #4a90e2;
  37. font-weight: 500;
  38. }
  39. .tab-item.active.data-v-d7dd60fc::after {
  40. content: '';
  41. position: absolute;
  42. left: 50%;
  43. bottom: 0;
  44. -webkit-transform: translateX(-50%);
  45. transform: translateX(-50%);
  46. width: 40px;
  47. height: 2px;
  48. background-color: #4a90e2;
  49. }
  50. .medicine-list.data-v-d7dd60fc {
  51. padding: 15px;
  52. }
  53. .medicine-item.data-v-d7dd60fc {
  54. display: flex;
  55. align-items: center;
  56. background-color: #fff;
  57. padding: 15px;
  58. margin-bottom: 10px;
  59. border-radius: 8px;
  60. box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  61. }
  62. .medicine-image.data-v-d7dd60fc {
  63. width: 80px;
  64. height: 80px;
  65. margin-right: 15px;
  66. border-radius: 4px;
  67. }
  68. .medicine-info.data-v-d7dd60fc {
  69. flex: 1;
  70. margin-right: 15px;
  71. }
  72. .medicine-name.data-v-d7dd60fc {
  73. font-size: 16px;
  74. font-weight: 500;
  75. color: #333;
  76. margin-bottom: 5px;
  77. }
  78. .medicine-desc.data-v-d7dd60fc {
  79. font-size: 14px;
  80. color: #666;
  81. margin-bottom: 3px;
  82. }
  83. .medicine-spec.data-v-d7dd60fc {
  84. font-size: 12px;
  85. color: #999;
  86. }
  87. .medicine-price.data-v-d7dd60fc {
  88. font-size: 16px;
  89. color: #ff4d4f;
  90. font-weight: 500;
  91. }
  92. .loading-tip.data-v-d7dd60fc, .no-data-tip.data-v-d7dd60fc {
  93. padding: 20px;
  94. text-align: center;
  95. color: #999;
  96. }