products.vue 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. <template>
  2. <div class="products">
  3. <div class="products-content">
  4. <p class="headline">通知短信</p>
  5. <p class="explain">
  6. 提供通知类短信服务,三网合一的高质量短信通道,适用于服务通知,物流通知,订单通知,注册及消费信息确认等。
  7. </p>
  8. </div>
  9. </div>
  10. <!-- 产品优势 -->
  11. <div class="advantage">
  12. <div class="advantage-content center1200">
  13. <p class="conmon-headline">产品优势</p>
  14. <div class="advantage-box">
  15. <n-carousel
  16. class="advantage-carousel"
  17. autoplay
  18. :interval="5000"
  19. :show-dots="false"
  20. :slides-per-view="3"
  21. :space-between="20"
  22. draggable
  23. >
  24. <div class="carousel-item" v-for="item in advantageList" :key="item">
  25. <div class="advantage-left">
  26. <p class="name">{{ item.label }}</p>
  27. <p class="value-item" v-for="s in item.explain">
  28. <span class="val-tag">一</span>
  29. <span class="val-text">{{ s }}</span>
  30. </p>
  31. </div>
  32. <div class="advantage-right">
  33. <img :src="item.icon" />
  34. </div>
  35. </div>
  36. </n-carousel>
  37. </div>
  38. </div>
  39. </div>
  40. <div class="scenario">
  41. <div class="center1200">
  42. <p class="conmon-headline">行业应用场景</p>
  43. <div class="scenario-box">
  44. <div class="scenario-item" v-for="item in scenarioList">
  45. <img class="icon" :src="item.icon" />
  46. <p class="name">{{ item.label }}</p>
  47. <a href="#">下载模板</a>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. </template>
  53. <script setup>
  54. // 产品优势
  55. import icon_09 from "../static/icon/icon_09.png";
  56. import icon_10 from "../static/icon/icon_10.png";
  57. import icon_11 from "../static/icon/icon_11.png";
  58. const advantageList = ref([
  59. {
  60. label: "5G必达",
  61. icon: icon_09,
  62. explain: ["三网合一", "高质量通道", "服务请求秒级相应"],
  63. },
  64. {
  65. label: "99.99%到达率",
  66. icon: icon_10,
  67. explain: ["支持大容量,高并发", "平台模板免审核", "运营商直联通道"],
  68. },
  69. {
  70. label: "稳定保障",
  71. icon: icon_11,
  72. explain: ["主短信通道+多条备份短信通道", "平台实时监控,智能切换"],
  73. },
  74. {
  75. label: "稳定保障",
  76. icon: icon_11,
  77. explain: ["主短信通道+多条备份短信通道", "平台实时监控,智能切换"],
  78. },
  79. ]);
  80. // 行业应用场景
  81. import icon_12 from "../static/icon/icon_12.png";
  82. import icon_13 from "../static/icon/icon_13.png";
  83. import icon_14 from "../static/icon/icon_14.png";
  84. import icon_15 from "../static/icon/icon_15.png";
  85. import icon_16 from "../static/icon/icon_16.png";
  86. const scenarioList = ref([
  87. {
  88. label: "用户注册",
  89. icon: icon_12,
  90. link: "#",
  91. },
  92. {
  93. label: "找回密码",
  94. icon: icon_13,
  95. link: "#",
  96. },
  97. {
  98. label: "物流短信",
  99. icon: icon_14,
  100. link: "#",
  101. },
  102. {
  103. label: "消息通知",
  104. icon: icon_15,
  105. link: "#",
  106. },
  107. {
  108. label: "生日祝福",
  109. icon: icon_16,
  110. link: "#",
  111. },
  112. ]);
  113. </script>
  114. <style lang="scss" scoped>
  115. .conmon-headline {
  116. text-align: center;
  117. font-size: var(--size-48);
  118. font-family: var(--family-01);
  119. font-weight: var(--weight-400);
  120. color: var(--color-01);
  121. padding: var(--size-90) 0 var(--size-50);
  122. }
  123. .products {
  124. width: 100%;
  125. min-height: 560px;
  126. font-family: var(--family-01);
  127. font-weight: var(--weight-400);
  128. background-image: url("../public/images/bg_01.png");
  129. background-repeat: no-repeat;
  130. background-position: center center;
  131. background-size: cover;
  132. display: flex;
  133. align-items: center;
  134. .products-content {
  135. width: 1284px;
  136. margin: 0 auto;
  137. font-family: var(--family-01);
  138. font-weight: var(--weight-400);
  139. .headline {
  140. font-size: var(--size-48);
  141. color: var(--color-01);
  142. }
  143. .explain {
  144. padding-top: var(--size-36);
  145. font-size: var(--size-24);
  146. color: var(--color-02);
  147. }
  148. }
  149. }
  150. .advantage {
  151. .advantage-box {
  152. width: 100%;
  153. padding-bottom: 88px;
  154. .advantage-carousel {
  155. width: 100%;
  156. height: 187px !important;
  157. .carousel-item {
  158. width: 100%;
  159. height: 187px;
  160. border-radius: 8px;
  161. background-color: #f3f5f9;
  162. display: flex;
  163. justify-content: space-between;
  164. align-items: center;
  165. .advantage-left {
  166. flex: 1;
  167. padding: 25px;
  168. .name {
  169. font-size: 24px;
  170. font-family: Microsoft YaHei, Microsoft YaHei-Regular;
  171. font-weight: 400;
  172. color: #1a1a1a;
  173. padding-bottom: 18px;
  174. }
  175. .value-item {
  176. width: 100%;
  177. display: flex;
  178. font-size: 16px;
  179. font-family: Microsoft YaHei, Microsoft YaHei-Regular;
  180. font-weight: 400;
  181. color: #666666;
  182. padding-bottom: 10px;
  183. line-height: 1.3;
  184. .val-tag {
  185. flex-shrink: 0;
  186. padding-right: 10px;
  187. }
  188. .val-text {
  189. }
  190. }
  191. }
  192. .advantage-right {
  193. flex-shrink: 0;
  194. width: 122px;
  195. height: 111px;
  196. }
  197. }
  198. }
  199. // .advantage-item {
  200. // width: calc((100% - 40px) / 3);
  201. // height: 187px;
  202. // background-color: #f3f5f9;
  203. // }
  204. }
  205. }
  206. .scenario {
  207. width: 100%;
  208. min-height: 539px;
  209. font-family: var(--family-01);
  210. font-weight: var(--weight-400);
  211. background-image: url("../public/images/home_bg_04.png");
  212. .scenario-box {
  213. width: 100%;
  214. display: flex;
  215. align-items: stretch;
  216. justify-content: space-between;
  217. .scenario-item {
  218. border-radius: var(--size-8);
  219. width: calc((100% - var(--size-216)) / 5);
  220. height: var(--size-221);
  221. background-color: #fff;
  222. display: flex;
  223. flex-direction: column;
  224. justify-content: center;
  225. align-items: center;
  226. box-shadow: var(--shadow-01);
  227. .icon {
  228. width: var(--size-70);
  229. height: var(--size-70);
  230. object-fit: contain;
  231. }
  232. .name {
  233. font-size: var(--size-24);
  234. font-family: var(--family-01);
  235. font-weight: var(--weight-400);
  236. text-align: center;
  237. color: #1a1a1a;
  238. padding: var(--size-27) 0 var(--size-11);
  239. }
  240. }
  241. }
  242. }
  243. </style>