healthTest.wxss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .content {
  28. position: relative;
  29. }
  30. .content .bg {
  31. position: absolute;
  32. width: 100%;
  33. height: 100%;
  34. }
  35. .content .bg image {
  36. width: 100%;
  37. height: 100%;
  38. }
  39. .test-list {
  40. margin-top: 20rpx;
  41. padding: 0 20rpx;
  42. }
  43. .test-list .item {
  44. width: 100%;
  45. box-sizing: border-box;
  46. height: 271rpx;
  47. background: #FFFFFF;
  48. border: 2px solid rgba(195, 154, 88, 0.35);
  49. box-shadow: -1px 4px 5px 0px rgba(153, 102, 51, 0.25);
  50. border-radius: 12px;
  51. padding: 40rpx 30rpx;
  52. display: flex;
  53. align-items: center;
  54. justify-content: space-between;
  55. margin-bottom: 20rpx;
  56. }
  57. .test-list .item .left {
  58. flex: 1;
  59. padding-right: 40rpx;
  60. display: flex;
  61. flex-direction: column;
  62. justify-content: space-between;
  63. }
  64. .test-list .item .left .title {
  65. font-size: 40rpx;
  66. font-family: PingFang SC;
  67. line-height: 48rpx;
  68. font-weight: bold;
  69. color: #814E1B;
  70. }
  71. .test-list .item .left .subtitle {
  72. color: #814E1B;
  73. font-size: 28rpx;
  74. font-family: PingFang SC;
  75. margin: 10rpx 0rpx;
  76. }
  77. .test-list .item .left .info-box {
  78. width: 100%;
  79. display: flex;
  80. align-items: center;
  81. justify-content: flex-start;
  82. }
  83. .test-list .item .left .info-box .people-num {
  84. font-size: 24rpx;
  85. font-family: PingFang SC;
  86. color: #C39A58;
  87. }
  88. .test-list .item .left .info-box .people-num .num {
  89. font-weight: bold;
  90. color: #814E1B;
  91. }
  92. .test-list .item .left .info-box .time {
  93. margin-left: 25rpx;
  94. font-size: 24rpx;
  95. font-family: PingFang SC;
  96. font-weight: 500;
  97. color: #C39A58;
  98. }
  99. .test-list .item .right {
  100. width: 250rpx;
  101. height: 190rpx;
  102. border-radius: 8rpx;
  103. overflow: hidden;
  104. }
  105. .test-list .item .right image {
  106. width: 100%;
  107. height: 100%;
  108. }