h5.vue 3.4 KB

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