h5.vue 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. <template>
  2. <section class="H5-container">
  3. <slot></slot>
  4. <slot name="label"></slot>
  5. <div class="content">
  6. <div class="content-first">
  7. <div class="content-first-info w1200">
  8. <div class="left">
  9. <img
  10. class="firstImg"
  11. :src="firstImg"
  12. alt="">
  13. </div>
  14. <div class="right">
  15. <h4>公众号</h4>
  16. <div class="desc">中德智慧新资讯,前沿教育内容,产品深度解读</div>
  17. </div>
  18. </div>
  19. </div>
  20. <div class="content-seconed">
  21. <div class="content-seconed-info w1200">
  22. <div class="left">
  23. <h4>视频号</h4>
  24. <div class="desc">中德智慧新资讯,前沿教育内容,产品深度解读</div>
  25. </div>
  26. <div class="right">
  27. <img
  28. class="secondImg"
  29. :src="secondImg"
  30. alt=""
  31. >
  32. </div>
  33. </div>
  34. </div>
  35. <div class="content-first">
  36. <div class="content-first-info w1200">
  37. <div class="left">
  38. <img
  39. class="threeImg"
  40. :src="threeImg"
  41. alt="">
  42. </div>
  43. <div class="right">
  44. <h4>抖音</h4>
  45. <div class="desc">中德智慧新资讯,前沿教育内容,产品深度解读</div>
  46. </div>
  47. </div>
  48. </div>
  49. <div class="content-seconed">
  50. <div class="content-seconed-info w1200">
  51. <div class="left">
  52. <h4>微博</h4>
  53. <div class="desc">品牌短讯,了解一手中德新闻</div>
  54. </div>
  55. <div class="right">
  56. <img
  57. class="fourImg"
  58. :src="fourImg"
  59. alt=""
  60. >
  61. </div>
  62. </div>
  63. </div>
  64. <div class="content-first">
  65. <div class="content-first-info w1200">
  66. <div class="left">
  67. <img
  68. class="fiveImg"
  69. :src="fiveImg"
  70. alt="">
  71. </div>
  72. <div class="right">
  73. <h4>小红书:</h4>
  74. <div class="desc">产品种草,带你了解不一样的逻辑狗</div>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </section>
  80. </template>
  81. <script>
  82. export default {
  83. name: "H5Page", // 互联网矩阵
  84. data() {
  85. return {
  86. firstImg: "https://luojigou-app-commit-pic.luojigou.vip/FqgbkJtqaJV7WyLbcJ1qMe8D18Ne?imageView2/0/q/50|imageslim",
  87. secondImg: require('~/assets/images/products/internet_02.png'),
  88. threeImg: require('~/assets/images/products/internet_03.png'),
  89. fourImg: "https://luojigou-app-commit-pic.luojigou.vip/Fi30UXdvFxqRGp64JIH5GJoQjr9J?imageView2/0/q/50|imageslim",
  90. fiveImg: "https://luojigou-app-commit-pic.luojigou.vip/FnB88MUmBS_XJ8pSEooKVxXtEzZ5?imageView2/0/q/50|imageslim",
  91. };
  92. },
  93. mounted() {
  94. },
  95. };
  96. </script>
  97. <style scoped lang="scss">
  98. .H5-container {
  99. .banner-img {
  100. position: relative;
  101. img {
  102. width: 100%;
  103. height: 595px;
  104. }
  105. .label {
  106. font-family: PingFangSC-Semibold, sans-serif;
  107. font-weight: 600;
  108. color: #ffffff;
  109. font-size: 80px;
  110. position: absolute;
  111. top: 50%;
  112. left: 50%;
  113. transform: translate(-50%, -50%);
  114. }
  115. }
  116. .content {
  117. width: 100%;
  118. h4 {
  119. font-size: 26px;
  120. font-family: PingFangSC-Medium, sans-serif;
  121. font-weight: 500;
  122. color: #333333;
  123. line-height: 37px;
  124. }
  125. .desc {
  126. margin-top: 44px;
  127. font-size: 14px;
  128. font-family: PingFangSC-Regular, sans-serif;
  129. font-weight: 400;
  130. color: #666666;
  131. line-height: 28px;
  132. }
  133. .content-first {
  134. padding: 50px 0 50px 0;
  135. color: #262626;
  136. background: #F8FBFF;
  137. .content-first-info {
  138. display: flex;
  139. justify-content: space-between;
  140. }
  141. .left {
  142. img {
  143. width: 666px;
  144. height: 642px;
  145. }
  146. .firstImg {
  147. width: 711px;
  148. height: 607px;
  149. }
  150. .threeImg {
  151. width: 676px;
  152. height: 643px;
  153. }
  154. .fiveImg {
  155. width: 737px;
  156. height: 598px;
  157. }
  158. }
  159. .right {
  160. display: flex;
  161. flex-direction: column;
  162. justify-content: center;
  163. }
  164. }
  165. .content-seconed {
  166. padding: 50px 0 50px 0;
  167. color: #262626;
  168. .content-seconed-info {
  169. display: flex;
  170. justify-content: space-between;
  171. .left {
  172. display: flex;
  173. flex-direction: column;
  174. justify-content: center;
  175. }
  176. .right {
  177. img {
  178. width: 666px;
  179. height: 642px;
  180. object-fit: cover;
  181. }
  182. .threeImg {
  183. width: 676px;
  184. height: 643px;
  185. }
  186. .secondImg,
  187. .fourImg {
  188. width: 680px;
  189. height: 644px;
  190. }
  191. }
  192. }
  193. }
  194. }
  195. }
  196. </style>