xcx.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. <template>
  2. <section class="XcxPage-container">
  3. <slot></slot>
  4. <slot name="label"></slot>
  5. <div class="xcx-content">
  6. <div class="content-first">
  7. <div class="content-first-info w1200">
  8. <div class="left">
  9. <img
  10. src="~/assets/images/products/xcx_img_first.png"
  11. alt="">
  12. </div>
  13. <div class="right">
  14. <h4>轻松找到课堂入口 创造优质 学习体验</h4>
  15. <div class="desc">微信首页任务栏等60+小程序入口,让10亿用户 轻松发现你</div>
  16. </div>
  17. </div>
  18. </div>
  19. <div class="content-seconed">
  20. <div class="content-seconed-info w1200">
  21. <div class="left">
  22. <h4>轻松找到课堂入口 创造优质 学习体验</h4>
  23. <div class="desc">微信首页任务栏等60+小程序入口,让10亿用户轻松发现你</div>
  24. </div>
  25. <div class="right">
  26. <img
  27. src="~/assets/images/products/xcx_img_second.png"
  28. alt=""
  29. >
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </section>
  35. </template>
  36. <script>
  37. export default {
  38. name: "XcxPage",
  39. data() {
  40. return {
  41. };
  42. },
  43. components: {
  44. },
  45. mounted() {},
  46. };
  47. </script>
  48. <style scoped lang="scss">
  49. .XcxPage-container {
  50. .banner-img {
  51. position: relative;
  52. img {
  53. width: 100%;
  54. height: 595px;
  55. }
  56. .label {
  57. font-family: PingFangSC-Semibold, sans-serif;
  58. font-weight: 600;
  59. color: #ffffff;
  60. font-size: 80px;
  61. position: absolute;
  62. top: 50%;
  63. left: 50%;
  64. transform: translate(-50%, -50%);
  65. }
  66. }
  67. .xcx-content {
  68. width: 100%;
  69. h4 {
  70. font-size: 26px;
  71. font-family: PingFangSC-Medium, sans-serif;
  72. font-weight: 500;
  73. color: #333333;
  74. line-height: 37px;
  75. }
  76. .desc {
  77. margin-top: 44px;
  78. font-size: 14px;
  79. font-family: PingFangSC-Regular, sans-serif;
  80. font-weight: 400;
  81. color: #666666;
  82. line-height: 28px;
  83. }
  84. .content-first {
  85. padding: 50px 0 50px 0;
  86. color: #262626;
  87. background: #F8FBFF;
  88. .content-first-info {
  89. display: flex;
  90. justify-content: space-between;
  91. }
  92. .left {
  93. img {
  94. width: 666px;
  95. height: 642px;
  96. }
  97. }
  98. .right {
  99. display: flex;
  100. flex-direction: column;
  101. justify-content: center;
  102. }
  103. }
  104. .content-seconed {
  105. padding: 50px 0 50px 0;
  106. color: #262626;
  107. .content-seconed-info {
  108. display: flex;
  109. justify-content: space-between;
  110. .left {
  111. display: flex;
  112. flex-direction: column;
  113. justify-content: center;
  114. }
  115. .right {
  116. img {
  117. width: 666px;
  118. height: 642px;
  119. }
  120. }
  121. }
  122. }
  123. }
  124. }
  125. </style>