普兆健康管家前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

137 lines
3.4 KiB

  1. <template>
  2. <view>
  3. <view class="section">
  4. <view class="header">
  5. <view>普兆医疗与诺贝尔奖实验室强强联合</view>
  6. <view>累计服务<text class="highlight">100,000+</text>用户</view>
  7. </view>
  8. <view class="content">
  9. <view class="card" v-for="item in list" :key="item.id">
  10. <image class="card-img" :src="item.url" mode="scaleToFill"></image>
  11. </view>
  12. <view class="intro" style="margin-top: 80rpx;">
  13. <view>
  14. 我们携手<text class="highlight">营养学博士医学博士</text>以及<text class="highlight">人工智能算法工程师</text>组建了一支顶尖的专业团队
  15. </view>
  16. <view class="flex desc">
  17. <!-- todo -->
  18. <image class="desc-img" src="" mode="scaleToFill"></image>
  19. <view class="desc-text">
  20. 团队依托<text class="highlight">先进的AI智能算法世界领先的检测手段与设备</text>充分考量用户个人的独特性参考国人的生活方式地域差异以及饮食习惯<br/>
  21. 为每一位客户建立个人专属健康档案并量身定制个性化的健康管理方案
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="section">
  28. <view class="header">
  29. <view><text class="highlight">ISO 15189</text>为标准建立</view>
  30. <view>高标准的质量管理体系</view>
  31. </view>
  32. <view class="content" style="margin-top: 16rpx;">
  33. <view class="intro">
  34. 合作实验室以<text class="highlight">ISO 15189</text>为标准建立质量管理体系 保证实验室的有效且可靠的运营
  35. </view>
  36. <!-- todo -->
  37. <image class="intro-img" src="" mode="scaleToFill"></image>
  38. </view>
  39. </view>
  40. </view>
  41. </template>
  42. <script>
  43. export default {
  44. props: {
  45. list: {
  46. type: Array,
  47. default() {
  48. return []
  49. }
  50. }
  51. },
  52. }
  53. </script>
  54. <style scoped lang="scss">
  55. .header {
  56. text-align: center;
  57. font-family: PingFang SC;
  58. font-weight: 600;
  59. font-size: 40rpx;
  60. line-height: 1.4;
  61. color: #252545;
  62. .highlight {
  63. font-size: 64rpx;
  64. font-weight: 600;
  65. line-height: 1.4;
  66. font-family: PingFang SC;
  67. color: transparent;
  68. background-image: linear-gradient(to right, #4B348F, #845CFA);
  69. background-clip: text;
  70. display: inline-block;
  71. }
  72. }
  73. .content {
  74. padding: 24rpx 32rpx 0 32rpx;
  75. }
  76. .card {
  77. font-size: 0;
  78. overflow: hidden;
  79. border-radius: 32rpx;
  80. background-image: linear-gradient(to right, #FAFAFF, #F3F3F3);
  81. box-shadow: -5rpx -5rpx 20rpx 0 #FFFFFF,
  82. 10rpx 10rpx 20rpx 0 #AAAACC80,
  83. 4rpx 4rpx 10rpx 0 #AAAACC40,
  84. -2rpx -2rpx 5rpx 0 #FFFFFF;
  85. & + & {
  86. margin-top: 32rpx;
  87. }
  88. &-img {
  89. width: 100%;
  90. height: calc((100vw - 32rpx*2) * 100 / 344);
  91. }
  92. }
  93. .intro {
  94. font-family: PingFang SC;
  95. font-size: 32rpx;
  96. font-weight: 400;
  97. line-height: 1.4;
  98. color: #616161;
  99. .highlight {
  100. font-weight: 600;
  101. color: #252545;
  102. }
  103. .desc {
  104. margin-top: 40rpx;
  105. align-items: flex-start;
  106. font-size: 28rpx;
  107. &-img {
  108. width: 366rpx;
  109. height: 472rpx;
  110. flex: none;
  111. }
  112. &-text {
  113. padding-top: 24rpx;
  114. }
  115. }
  116. &-img {
  117. width: 100%;
  118. height: calc((100vw - 32rpx*2) * 200 / 343);
  119. margin-top: 40rpx;
  120. }
  121. }
  122. </style>