h5.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. <div class="desc">微信首页任务栏等60+小程序入口,让10亿用户轻松发现你</div>
  18. </div>
  19. <div class="right">
  20. <img :src="firstImg" alt="">
  21. </div>
  22. </div>
  23. </div>
  24. <div class="content-seconed">
  25. <div class="content-seconed-info w1200">
  26. <div class="left">
  27. <img :src="secondImg" alt="">
  28. </div>
  29. <div class="right">
  30. <h4>一键转发,让课堂在微信中自由传播</h4>
  31. <div class="desc">课堂可分享至微信朋友圈、微信社群等等位置,便于用户分享好物,闲余赚取佣金</div>
  32. </div>
  33. </div>
  34. </div>
  35. </div>
  36. </section>
  37. </template>
  38. <script>
  39. export default {
  40. name: "H5Page",
  41. data() {
  42. return {
  43. bannerImg: require('~/assets/images/products/banner-h5.png'),
  44. firstImg: require('~/assets/images/products/h5_img_first.png'),
  45. secondImg: require('~/assets/images/products/h5_img_second.png'),
  46. };
  47. },
  48. mounted() {
  49. },
  50. };
  51. </script>
  52. <style scoped lang="scss">
  53. .H5-container {
  54. .banner-img {
  55. position: relative;
  56. img {
  57. width: 100%;
  58. height: 595px;
  59. }
  60. .label {
  61. font-family: PingFangSC-Semibold, sans-serif;
  62. font-weight: 600;
  63. color: #ffffff;
  64. font-size: 80px;
  65. position: absolute;
  66. top: 50%;
  67. left: 50%;
  68. transform: translate(-50%, -50%);
  69. }
  70. }
  71. h4 {
  72. // font-size: 30px;
  73. font-size: 26px;
  74. font-family: PingFangSC-Medium, sans-serif;
  75. font-weight: 500;
  76. color: #333333;
  77. line-height: 37px;
  78. }
  79. .desc {
  80. margin-top: 54px;
  81. font-size: 14px;
  82. font-family: PingFangSC-Regular, sans-serif;
  83. font-weight: 400;
  84. color: #666666;
  85. line-height: 28px;
  86. }
  87. .content {
  88. width: 100%;
  89. height: 1792px;
  90. .content-first {
  91. padding: 136px 0 118px 0;
  92. color: #262626;
  93. background-color: #f7fbff;
  94. .content-first-info {
  95. display: flex;
  96. justify-content: space-between;
  97. }
  98. .right {
  99. img {
  100. width: 666px;
  101. height: 642px;
  102. vertical-align: middle;
  103. }
  104. }
  105. .left {
  106. display: flex;
  107. flex-direction: column;
  108. justify-content: center;
  109. }
  110. }
  111. .content-seconed {
  112. .content-seconed-info {
  113. display: flex;
  114. justify-content: space-between;
  115. }
  116. padding: 99px 0 201px 0;
  117. color: #262626;
  118. .right {
  119. display: flex;
  120. flex-direction: column;
  121. justify-content: center;
  122. }
  123. .left {
  124. img {
  125. width: 666px;
  126. height: 642px;
  127. vertical-align: middle;
  128. }
  129. }
  130. }
  131. }
  132. }
  133. </style>