serviceAdvantages.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <script setup>
  2. defineProps(['style']);
  3. import sheep from '@/sheep';
  4. </script>
  5. <template>
  6. <view class="service-advantages">
  7. <view class="service-item">
  8. <view class="service-content">
  9. <image class="service-icon" :src="sheep.$url.static('/static/home/zytd.png')" />
  10. <view class="service-text">
  11. <text class="title">专业团队</text>
  12. <text class="desc">专注于小企业\n经验丰富</text>
  13. </view>
  14. </view>
  15. </view>
  16. <view class="service-item">
  17. <view class="service-content">
  18. <image class="service-icon" :src="sheep.$url.static('/static/home/zyzh.png')" />
  19. <view class="service-text">
  20. <text class="title">资源整合</text>
  21. <text class="desc">整合多方资源\n助力企业发展</text>
  22. </view>
  23. </view>
  24. </view>
  25. <view class="service-item">
  26. <view class="service-content">
  27. <image class="service-icon" :src="sheep.$url.static('/static/home/dzfw.png')" />
  28. <view class="service-text">
  29. <text class="title">定制服务</text>
  30. <text class="desc">按需定制\n精准服务</text>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </template>
  36. <style lang="scss" scoped>
  37. .service-advantages {
  38. display: flex;
  39. flex-direction: row;
  40. justify-content: flex-start;
  41. align-items: flex-start;
  42. gap: 12px;
  43. position: relative;
  44. // width: 100vw;
  45. .service-item {
  46. width: calc(33.33% - 8px);
  47. display: flex;
  48. flex-direction: row;
  49. justify-content: center;
  50. align-items: flex-start;
  51. padding: 8px 18px;
  52. flex-shrink: 0;
  53. overflow: hidden;
  54. border-radius: 8px;
  55. background-color: #ffffff;
  56. position: relative;
  57. .service-content {
  58. width: 72px;
  59. display: flex;
  60. flex-direction: column;
  61. justify-content: flex-start;
  62. align-items: center;
  63. gap: 8px;
  64. flex-shrink: 0;
  65. position: relative;
  66. .service-icon {
  67. width: 48px;
  68. height: 48px;
  69. position: relative;
  70. flex-shrink: 0;
  71. margin: -1px 0 0;
  72. }
  73. .service-text {
  74. display: flex;
  75. flex-direction: column;
  76. justify-content: flex-start;
  77. align-items: center;
  78. gap: 4px;
  79. flex-shrink: 0;
  80. position: relative;
  81. .title {
  82. flex-shrink: 0;
  83. font-size: 14px;
  84. font-family: 'PingFang SC';
  85. font-weight: normal;
  86. line-height: 20px;
  87. color: var(--333, #333333);
  88. white-space: pre;
  89. }
  90. .desc {
  91. flex-shrink: 0;
  92. text-align: center;
  93. font-size: 12px;
  94. font-family: 'PingFang SC';
  95. font-weight: normal;
  96. line-height: 17px;
  97. color: var(--999, #999999);
  98. }
  99. }
  100. }
  101. }
  102. }
  103. </style>