h5.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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: 173px 0 138px 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: 576px;
  98. height: 585px;
  99. }
  100. }
  101. .left {
  102. display: flex;
  103. flex-direction: column;
  104. justify-content: center;
  105. h4 {
  106. // font-size: 30px;
  107. font-size: 26px;
  108. // font-family: PingFangSC-Medium, sans-serif;
  109. font-weight: 600;
  110. color: #333333;
  111. line-height: 37px;
  112. }
  113. .desc {
  114. font-size: 16px;
  115. font-family: PingFangSC-Regular, sans-serif;
  116. font-weight: 400;
  117. color: #666666;
  118. line-height: 28px;
  119. }
  120. }
  121. }
  122. .content-seconed {
  123. .content-seconed-info {
  124. display: flex;
  125. justify-content: space-between;
  126. }
  127. padding: 138px 0 153px 0;
  128. color: #262626;
  129. .right {
  130. display: flex;
  131. flex-direction: column;
  132. justify-content: center;
  133. h4 {
  134. font-size: 26px;
  135. // font-family: PingFangSC-Medium, sans-serif;
  136. font-weight: 600;
  137. color: #333333;
  138. line-height: 37px;
  139. }
  140. .desc {
  141. font-size: 16px;
  142. font-family: PingFangSC-Regular, sans-serif;
  143. font-weight: 400;
  144. color: #666666;
  145. line-height: 28px;
  146. }
  147. }
  148. .left {
  149. img {
  150. width: 575px;
  151. height: 579px;
  152. }
  153. }
  154. }
  155. }
  156. .content-h4 {
  157. margin-bottom: 50px;
  158. }
  159. }
  160. </style>