h5.vue 4.1 KB

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