parent.vue 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  1. <template>
  2. <section class="Parent-container">
  3. <div class="banner-img">
  4. <img
  5. src="http://res.training.luojigou.vip/FlpLqC_a2wOuyJqG7LiOb2tbmUZP?imageView2/0/q/50|imageslim"
  6. alt=""
  7. >
  8. <section class="label">家长端APP</section>
  9. </div>
  10. <div class="main-wrap">
  11. <slot></slot>
  12. <slot name="label"></slot>
  13. <div class="content">
  14. <!-- <img
  15. src="http://res.training.luojigou.vip/lrW91RgYOMu18CYaH3qDbSUVE2bi?imageView2/0/q/50|imageslim"
  16. alt=""
  17. > -->
  18. <div class="content-list">
  19. <div class="content-list-one w1200">
  20. <div class="left">
  21. <!-- <img
  22. src="http://res.training.luojigou.vip/FjidkWaOJvx87vZHje3VpIYyNaeV?imageView2/0/q/50|imageslim"
  23. alt=""
  24. > -->
  25. <img :src="firstImg" alt="">
  26. </div>
  27. <div class="right">
  28. <div class="label">逻辑狗家长端记录为家长提</div>
  29. <div class="label">供宝宝成长记录</div>
  30. <div class="desc content-desc">点击下方下载苹果端和安卓端app,立即体验</div>
  31. <div class="download">
  32. <img
  33. @click="handleDownload"
  34. src="http://res.training.luojigou.vip/Fl_0R6Bwy75ByXLhmm2b1cpknZEv?imageView2/0/q/50|imageslim"
  35. alt=""
  36. >
  37. <img
  38. @click="handleDownload"
  39. src="http://res.training.luojigou.vip/FvhOJGHagsZ2wuo3Fc3YAuL_z_g0?imageView2/0/q/50|imageslim"
  40. alt=""
  41. >
  42. </div>
  43. </div>
  44. </div>
  45. <div class="content-list-two w1200">
  46. <div class="left">
  47. <div class="label">购买课程,更加便捷流畅的</div>
  48. <div class="label">抢课体验</div>
  49. <div class="desc content-desc">页面展示课程列表,实时展示课程的最新上线,</div>
  50. <div class="desc">提供最优质的抢课体验</div>
  51. </div>
  52. <div class="right">
  53. <!-- <img src="http://res.training.luojigou.vip/Fm096zbH-x0IxAcT8IinoIHeMCoi?imageView2/0/q/50|imageslim" alt="" > -->
  54. <img :src="secondImg" alt="" >
  55. </div>
  56. </div>
  57. <div class="content-list-three w1200">
  58. <div class="left">
  59. <!-- <img
  60. src="http://res.training.luojigou.vip/Fv4R4SZiqrVipdyYDlwhKJ4vTjIE?imageView2/0/q/50|imageslim"
  61. alt=""
  62. > -->
  63. <img :src="threeImg" alt="" >
  64. </div>
  65. <div class="right">
  66. <div class="label">购物商城,展现逻辑狗的系</div>
  67. <div class="label">列产品</div>
  68. <div class="desc content-desc">精细的产品分类,你最短时间找到自己需要的</div>
  69. <div class="desc">产品</div>
  70. </div>
  71. </div>
  72. <div class="content-list-four w1200">
  73. <div class="left">
  74. <div class="label">直播回放,体验APP原生大</div>
  75. <div class="label">屏大视野</div>
  76. <div class="desc content-desc">精细的产品分类,你最短时间找到自己需要的 产品</div>
  77. <div class="desc">产品</div>
  78. </div>
  79. <div class="right">
  80. <img :src="fourImg" alt="" >
  81. <!-- <img
  82. src="http://res.training.luojigou.vip/FkdjYnOvv_62O27MOTJJ5Kmco6U8?imageView2/0/q/50|imageslim"
  83. alt=""
  84. > -->
  85. </div>
  86. </div>
  87. <div class="content-list-five w1200">
  88. <div class="left">
  89. <img :src="fiveImg" alt="" >
  90. <!-- <img
  91. src="http://res.training.luojigou.vip/Fs6eujHZZwUgrrGDANQ3vdhR-mpG?imageView2/0/q/50|imageslim"
  92. alt=""
  93. > -->
  94. </div>
  95. <div class="right">
  96. <div class="label">离线下载,更加便捷的学习</div>
  97. <div class="label">方式</div>
  98. <div class="desc content-desc">课程下载到app,随时随地自由学习</div>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. </section>
  105. </template>
  106. <script>
  107. if (process.browser) {
  108. var { WOW } = require("wowjs");
  109. }
  110. export default {
  111. name: "ParentPage",
  112. data() {
  113. return {
  114. // showList,
  115. bannerImg: require('~/assets/images/products/banner-app.png'),
  116. contentBgImg: require('~/assets/images/products/parent_bg.png'),
  117. firstImg: require('~/assets/images/products/parent_img_first.png'),
  118. secondImg: require('~/assets/images/products/parent_img_second.png'),
  119. threeImg: require('~/assets/images/products/parent_img_three.png'),
  120. fourImg: require('~/assets/images/products/parent_img_four.png'),
  121. fiveImg: require('~/assets/images/products/parent_img_five.png'),
  122. };
  123. },
  124. mounted() {
  125. if (process.browser) {
  126. new WOW({
  127. offset: 0,
  128. live: true,
  129. }).init();
  130. }
  131. },
  132. methods: {
  133. handleDownload() {
  134. window.location.href = `https://sj.qq.com/myapp/detail.htm?apkName=com.zaojiao.app.parent`;
  135. }
  136. }
  137. };
  138. </script>
  139. <style scoped lang="scss">
  140. .Parent-container {
  141. .main-wrap {
  142. background-image: url('~assets/images/products/parent_bg.png');
  143. background-repeat: no-repeat;
  144. background-size: cover;
  145. padding-bottom: 280px;
  146. }
  147. .content-list {
  148. .left {
  149. display: flex;
  150. flex-direction: column;
  151. justify-content: center;
  152. .label {
  153. font-size: 26px;
  154. font-family: PingFangSC-Medium, sans-serif;
  155. font-weight: 600;
  156. color: #333333;
  157. line-height: 37px;
  158. }
  159. .desc {
  160. height: 30px;
  161. font-size: 16px;
  162. font-family: PingFangSC-Regular, sans-serif;
  163. font-weight: 400;
  164. color: #666666;
  165. line-height: 30px;
  166. font-size: 18px;
  167. }
  168. img {
  169. width: 601px;
  170. height: 586px;
  171. }
  172. }
  173. .right {
  174. display: flex;
  175. flex-direction: column;
  176. justify-content: center;
  177. .label {
  178. font-size: 26px;
  179. font-family: PingFangSC-Medium, sans-serif;
  180. font-weight: 600;
  181. color: #333333;
  182. line-height: 37px;
  183. }
  184. .desc {
  185. width: 388px;
  186. font-size: 18px;
  187. font-family: PingFangSC-Regular, sans-serif;
  188. font-weight: 400;
  189. color: rgba(58, 58, 58, 1);
  190. }
  191. // img {
  192. // width: 601px;
  193. // height: 586px;
  194. // }
  195. }
  196. }
  197. .banner-img {
  198. position: relative;
  199. font-size: 0;
  200. img {
  201. width: 100%;
  202. height: 595px;
  203. }
  204. .label {
  205. letter-spacing: 1px;
  206. position: absolute;
  207. top: 50%;
  208. left: 50%;
  209. transform: translate(-50%, -50%);
  210. font-size: 66px;
  211. font-family: PingFangSC-Medium, sans-serif;
  212. font-weight: 500;
  213. color: #FFFFFF;
  214. line-height: 92px;
  215. }
  216. }
  217. .content {
  218. img {
  219. width: 100%;
  220. height: 5210px;
  221. // position: absolute;
  222. // z-index: 0;
  223. }
  224. .content-list {
  225. // width: 100%;
  226. // position: absolute;
  227. // top: 883px;
  228. // left: 0;
  229. // padding: 0 344px;
  230. box-sizing: border-box;
  231. .content-desc {
  232. margin-top: 48px;
  233. }
  234. .content-list-one {
  235. display: flex;
  236. justify-content: space-between;
  237. .left {
  238. // img {
  239. // width: 601px;
  240. // height: 586px;
  241. // }
  242. }
  243. .right {
  244. display: flex;
  245. flex-direction: column;
  246. justify-content: center;
  247. // .label {
  248. // width: 369px;
  249. // height: 84px;
  250. // color: #262626;
  251. // font-size: 30px;
  252. // font-family: PingFangSC-Semibold, sans-serif;
  253. // font-weight: 600;
  254. // }
  255. // .desc {
  256. // margin-top: 42px;
  257. // font-size: 18px;
  258. // font-family: PingFangSC-Regular, sans-serif;
  259. // font-weight: 400;
  260. // color: rgba(58, 58, 58, 1);
  261. // }
  262. .download {
  263. margin-top: 81px;
  264. display: flex;
  265. flex-direction: column;
  266. justify-content: space-between;
  267. img {
  268. width: 161px;
  269. height: 41px;
  270. }
  271. }
  272. .download img:first-child {
  273. margin-bottom: 25px;
  274. }
  275. }
  276. }
  277. .content-list-two {
  278. display: flex;
  279. justify-content: space-between;
  280. margin-top: 291px;
  281. .right {
  282. img {
  283. width: 512px;
  284. height: 586px;
  285. }
  286. }
  287. // .left {
  288. // display: flex;
  289. // flex-direction: column;
  290. // justify-content: center;
  291. // .label {
  292. // width: 369px;
  293. // height: 84px;
  294. // color: #262626;
  295. // font-size: 30px;
  296. // font-family: PingFangSC-Semibold, sans-serif;
  297. // font-weight: 600;
  298. // }
  299. // .desc {
  300. // width: 388px;
  301. // margin-top: 42px;
  302. // font-size: 18px;
  303. // font-family: PingFangSC-Regular, sans-serif;
  304. // font-weight: 400;
  305. // color: rgba(58, 58, 58, 1);
  306. // }
  307. // }
  308. }
  309. .content-list-three {
  310. display: flex;
  311. justify-content: space-between;
  312. margin-top: 276px;
  313. .left {
  314. img {
  315. width: 625px;
  316. height: 581px;
  317. }
  318. }
  319. .right {
  320. display: flex;
  321. flex-direction: column;
  322. justify-content: center;
  323. // .label {
  324. // width: 369px;
  325. // height: 84px;
  326. // color: #262626;
  327. // font-size: 30px;
  328. // font-family: PingFangSC-Semibold, sans-serif;
  329. // font-weight: 600;
  330. // }
  331. // .desc {
  332. // width: 388px;
  333. // font-size: 18px;
  334. // font-family: PingFangSC-Regular, sans-serif;
  335. // font-weight: 400;
  336. // color: rgba(58, 58, 58, 1);
  337. // }
  338. }
  339. }
  340. .content-list-four {
  341. display: flex;
  342. justify-content: space-between;
  343. margin-top: 252px;
  344. .right {
  345. img {
  346. width: 488px;
  347. height: 609px;
  348. }
  349. }
  350. .left {
  351. display: flex;
  352. flex-direction: column;
  353. justify-content: center;
  354. // .label {
  355. // width: 369px;
  356. // height: 84px;
  357. // color: #262626;
  358. // font-size: 30px;
  359. // font-family: PingFangSC-Semibold, sans-serif;
  360. // font-weight: 600;
  361. // }
  362. // .desc {
  363. // width: 388px;
  364. // font-size: 18px;
  365. // font-family: PingFangSC-Regular, sans-serif;
  366. // font-weight: 400;
  367. // color: rgba(58, 58, 58, 1);
  368. // }
  369. }
  370. }
  371. .content-list-five {
  372. display: flex;
  373. justify-content: space-between;
  374. margin-top: 257px;
  375. .left {
  376. img {
  377. width: 625px;
  378. height: 609px;
  379. }
  380. }
  381. .right {
  382. display: flex;
  383. flex-direction: column;
  384. justify-content: center;
  385. // .label {
  386. // width: 369px;
  387. // height: 84px;
  388. // color: #262626;
  389. // font-size: 30px;
  390. // font-family: PingFangSC-Semibold, sans-serif;
  391. // font-weight: 600;
  392. // }
  393. // .desc {
  394. // width: 388px;
  395. // font-size: 18px;
  396. // font-family: PingFangSC-Regular, sans-serif;
  397. // font-weight: 400;
  398. // color: rgba(58, 58, 58, 1);
  399. // }
  400. }
  401. }
  402. }
  403. }
  404. }
  405. </style>