h5.vue 4.2 KB

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