famousPrescribeDetails.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. }
  32. .content image {
  33. height: 450rpx;
  34. width: 100%;
  35. }
  36. .content .detail-cont {
  37. flex: 1;
  38. padding: 20rpx;
  39. overflow-y: auto;
  40. }
  41. .content .detail-cont .title-box {
  42. width: 100%;
  43. display: flex;
  44. justify-content: flex-start;
  45. align-items: center;
  46. }
  47. .content .detail-cont .title-box .line {
  48. border-radius: 5rpx;
  49. width: 8rpx;
  50. height: 30rpx;
  51. background-color: #C39A58;
  52. }
  53. .content .detail-cont .title-box .title {
  54. margin-left: 15rpx;
  55. font-size: 40rpx;
  56. font-family: PingFang SC;
  57. font-weight: bold;
  58. color: #333;
  59. }
  60. .content .detail-cont .title-box .title-py {
  61. margin-left: 15rpx;
  62. font-size: 32rpx;
  63. font-family: PingFang SC;
  64. color: #333;
  65. }
  66. .content .detail-cont .desc {
  67. margin-top: 20rpx;
  68. font-size: 32rpx;
  69. font-family: PingFang SC;
  70. color: #333;
  71. }
  72. .content .detail-cont .line-h {
  73. margin: 15rpx 0rpx;
  74. border-bottom: 1rpx dashed #d4d4d4;
  75. }
  76. .content .detail-cont .tabs {
  77. width: 100%;
  78. margin: 20rpx 0rpx;
  79. display: flex;
  80. justify-content: space-between;
  81. align-items: center;
  82. border-radius: 30rpx;
  83. line-height: 60rpx;
  84. }
  85. .content .detail-cont .tabs .tab1 {
  86. border-radius: 30rpx 0rpx 0rpx 30rpx;
  87. width: 25%;
  88. display: flex;
  89. justify-content: center;
  90. align-items: center;
  91. background-color: #fff;
  92. color: #4F575A;
  93. font-size: 28rpx;
  94. font-weight: bold;
  95. font-family: PingFang SC;
  96. }
  97. .content .detail-cont .tabs .tab2 {
  98. width: 25%;
  99. display: flex;
  100. justify-content: center;
  101. align-items: center;
  102. background-color: #fff;
  103. color: #4F575A;
  104. font-size: 28rpx;
  105. font-weight: bold;
  106. font-family: PingFang SC;
  107. }
  108. .content .detail-cont .tabs .tab3 {
  109. width: 25%;
  110. display: flex;
  111. justify-content: center;
  112. align-items: center;
  113. background-color: #fff;
  114. color: #4F575A;
  115. font-size: 28rpx;
  116. font-weight: bold;
  117. font-family: PingFang SC;
  118. }
  119. .content .detail-cont .tabs .tab4 {
  120. border-radius: 0rpx 30rpx 30rpx 0rpx;
  121. width: 25%;
  122. display: flex;
  123. justify-content: center;
  124. align-items: center;
  125. background-color: #fff;
  126. color: #4F575A;
  127. font-size: 28rpx;
  128. font-weight: bold;
  129. font-family: PingFang SC;
  130. }
  131. .content .detail-cont .tabs .active {
  132. background-color: #C39A58;
  133. color: #fff;
  134. }
  135. .content .ad {
  136. margin-bottom: 50rpx;
  137. width: 100%;
  138. padding: 15rpx;
  139. }