开放平台
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

151 lines
3.9 KiB

  1. <template>
  2. <div class="index-product-box">
  3. <div class="flex-item">
  4. <div class="product-title-box">
  5. <div class="title-font1">使用我们强大的 API 和智莺四大业务云</div>
  6. <div class="title-font2">
  7. 经过多年的深耕,不断积累和各头部用户的深入合作的经验。并结合当前主流的导购应用设计,为您的导购事业保驾护航
  8. </div>
  9. </div>
  10. <div class="data-box">
  11. <div
  12. v-for="(item, index) in pageData"
  13. :key="index"
  14. class="data-item"
  15. :class="{ isDataColor: isDataStatus === item.id }"
  16. @click="isDataStatus = item.id"
  17. >
  18. <img class="item-img" :src="item.img" alt="" />
  19. <div class="item-title">{{ item.title }}</div>
  20. <div class="item-content">{{ item.content }}</div>
  21. </div>
  22. </div>
  23. </div>
  24. </div>
  25. </template>
  26. <script>
  27. export default {
  28. name: "page-product",
  29. data() {
  30. return {
  31. isDataStatus: "1",
  32. pageData: [
  33. {
  34. img: require("@/static/img/item-1.png"),
  35. title: "标准API",
  36. content:
  37. "通过有赞云开放的标准化API,可为有赞商家迅速搭建标准化场景应用",
  38. id: "1",
  39. },
  40. {
  41. img: require("@/static/img/item-2.png"),
  42. title: "页面定制",
  43. content:
  44. "可随意开发个性化的前端页面,满足买家不同场景不同行业的购物体验",
  45. id: "2",
  46. },
  47. {
  48. img: require("@/static/img/item-3.png"),
  49. title: "扩展点应用",
  50. content: "开发者可以自由嵌入自定义流程节点,构建全新的业务逻辑",
  51. id: "3",
  52. },
  53. {
  54. img: require("@/static/img/item-4.png"),
  55. title: "四端定制",
  56. content: "支持PC,H5,小程序,App四端定制基于多端的业务场景",
  57. id: "4",
  58. },
  59. ],
  60. };
  61. },
  62. };
  63. </script>
  64. <style lang="scss" scoped>
  65. .index-product-box {
  66. display: flex;
  67. width: 100vw;
  68. justify-content: center;
  69. .flex-item {
  70. width: 1200px;
  71. height: 100%;
  72. flex-flow: column; //垂直排列
  73. .product-title-box {
  74. justify-content: space-between; //两端对齐
  75. flex-flow: column; //垂直排列
  76. display: flex;
  77. height: 237px;
  78. box-sizing: border-box;
  79. padding: 67px 0 80px;
  80. text-align: center;
  81. margin: 0 auto;
  82. width: 630px;
  83. .title-font1 {
  84. color: #333333;
  85. font-size: 26px;
  86. font-weight: bold;
  87. }
  88. .title-font2 {
  89. color: #999999;
  90. font-size: 16px;
  91. line-height: 21px;
  92. }
  93. }
  94. .data-box {
  95. display: flex;
  96. .data-item {
  97. margin-right: 20px;
  98. width: 284px;
  99. height: 375px;
  100. box-sizing: border-box;
  101. border-radius: 22px;
  102. border: 2px solid #1d8aff;
  103. text-align: center;
  104. padding: 73px 32px 44px;
  105. cursor: pointer;
  106. background: #fff;
  107. transition: background-color 0.4s;
  108. .item-title {
  109. color: #333333;
  110. margin: 37px 0 12px;
  111. font-size: 22px;
  112. line-height: 22px;
  113. transition: color 0.4s;
  114. }
  115. .item-content {
  116. color: #999999;
  117. font-size: 16px;
  118. line-height: 30px;
  119. transition: color 0.4s;
  120. }
  121. .item-img {
  122. width: 90px;
  123. height: 90px;
  124. }
  125. }
  126. .data-item:last-child {
  127. margin: 0;
  128. }
  129. .isDataColor {
  130. background-color: #1890ff;
  131. transition: box-shadow background-color 0.4s;
  132. box-shadow: 0px 0px 20px 0px rgba(24, 144, 255, 0.4);
  133. .item-title {
  134. color: #ffffff;
  135. transition: color 0.4s;
  136. }
  137. .item-content {
  138. color: #a2d2ff;
  139. transition: color 0.4s;
  140. }
  141. }
  142. }
  143. }
  144. }
  145. </style>