普兆健康管家前端代码仓库
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.

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