xcx.vue 4.2 KB

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