xcx.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <template>
  2. <section class="XcxPage-container">
  3. <div class="banner-img">
  4. <img :src="bannerImg" alt="">
  5. <section class="label">小程序课堂</section>
  6. </div>
  7. <slot></slot>
  8. <slot name="label"></slot>
  9. <div class="content">
  10. <div class="content-first wow animate__animated animate__lightSpeedInLeft">
  11. <div class="content-first-info w1200">
  12. <div class="left">
  13. <img
  14. src="http://res.training.luojigou.vip/Fr1pakSIAxm3LLHgAgMkHECAerAB?imageView2/0/q/50|imageslim"
  15. alt=""
  16. >
  17. </div>
  18. <div class="right">
  19. <h4>轻松找到课堂入口 创造优质</h4>
  20. <h4>学习体验</h4>
  21. <div class="desc">微信首页任务栏等60+小程序入口,让10亿用户 轻松发现你</div>
  22. </div>
  23. </div>
  24. </div>
  25. <div class="content-seconed wow animate__animated animate__lightSpeedInRight">
  26. <div class="content-seconed-info w1200">
  27. <div class="left">
  28. <h4>轻松找到课堂入口 创造优质</h4>
  29. <h4>学习体验</h4>
  30. <div class="desc">微信首页任务栏等60+小程序入口,让10亿用户 轻松发现你</div>
  31. </div>
  32. <div class="right">
  33. <img
  34. src="http://res.training.luojigou.vip/FiiA82i4ori08A7Z8BbUdK8GMaxs?imageView2/0/q/50|imageslim"
  35. alt=""
  36. >
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. </section>
  42. </template>
  43. <script>
  44. if (process.browser) {
  45. var { WOW } = require("wowjs");
  46. }
  47. export default {
  48. name: "XcxPage",
  49. data() {
  50. return {
  51. bannerImg: require("~/assets/images/products/banner-xcx.png"),
  52. };
  53. },
  54. mounted() {
  55. if (process.browser) {
  56. new WOW({
  57. offset: 0,
  58. live: true,
  59. }).init();
  60. }
  61. },
  62. };
  63. </script>
  64. <style scoped lang="scss">
  65. .XcxPage-container {
  66. .banner-img {
  67. position: relative;
  68. img {
  69. width: 100%;
  70. height: 595px;
  71. }
  72. .label {
  73. font-family: PingFangSC-Semibold, PingFang SC;
  74. font-weight: 600;
  75. color: #ffffff;
  76. font-size: 80px;
  77. position: absolute;
  78. top: 50%;
  79. left: 50%;
  80. transform: translate(-50%, -50%);
  81. }
  82. }
  83. .content {
  84. width: 100%;
  85. height: 1792px;
  86. .content-first {
  87. padding: 173px 0 138px 0;
  88. color: #262626;
  89. background-color: #f7fbff;
  90. .content-first-info {
  91. display: flex;
  92. justify-content: space-between;
  93. }
  94. .left {
  95. img {
  96. width: 576px;
  97. height: 585px;
  98. }
  99. }
  100. .right {
  101. display: flex;
  102. flex-direction: column;
  103. justify-content: center;
  104. h4 {
  105. font-size: 30px;
  106. }
  107. .desc {
  108. width: 385px;
  109. color: #3a3a3a;
  110. font-size: 18px;
  111. margin-top: 44px;
  112. line-height: 30px;
  113. }
  114. }
  115. }
  116. .content-seconed {
  117. padding: 153px 0 138px 0;
  118. color: #262626;
  119. .content-seconed-info {
  120. display: flex;
  121. justify-content: space-between;
  122. .left {
  123. display: flex;
  124. flex-direction: column;
  125. justify-content: center;
  126. h4 {
  127. font-size: 30px;
  128. }
  129. .desc {
  130. width: 385px;
  131. color: #3a3a3a;
  132. font-size: 18px;
  133. margin-top: 44px;
  134. line-height: 30px;
  135. }
  136. }
  137. .right {
  138. img {
  139. width: 664px;
  140. height: 581px;
  141. }
  142. }
  143. }
  144. }
  145. }
  146. }
  147. </style>