| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <template>
- <div class="pc-container">
- <div class="banner-img">
- <img
- :src="bannerImg"
- alt=""
- >
- <section class="label">PC端独立课堂</section>
- </div>
- <slot></slot>
- <slot name="label"></slot>
- <div class="content">
- <div class="first">
- <img
- class=""
- src="http://res.training.luojigou.vip/FjaqSRvcd-eDx0ilHzjzHnH1dGEu?imageView2/0/q/50|imageslim"
- alt=""
- >
- </div>
- <div class="seconed">
- <div class="label">更适合中国宝宝的儿童智能发展测评</div>
- <div class="seconed-box">
- <div
- :class="['seconed-item']"
- v-for="item in showList"
- :key="item.id"
- >
- <img :src="item.imgUrl" alt="">
- </div>
- </div>
- </div>
- <div class="thirdly">
- <img
- class=""
- src="http://res.training.luojigou.vip/Fq48NMcIKjcZ3q9QsRP5gCsJE-iI?imageView2/0/q/50|imageslim"
- alt=""
- >
- </div>
- </div>
- </div>
- </template>
- <script>
- const showList = Object.freeze([
- {
- id: 0,
- imgUrl:
- "http://res.training.luojigou.vip/FulDF_nG72IeWTpKp7E5bPLOxCtD?imageView2/0/q/50|imageslim",
- },
- {
- id: 1,
- imgUrl:
- "http://res.training.luojigou.vip/FgXDTYm7v_lHKcRcBUrWqHeWYO5g?imageView2/0/q/50|imageslim",
- },
- {
- id: 2,
- imgUrl:
- "http://res.training.luojigou.vip/FhUiaX9NKvT1burST2gG7KNzmCQx?imageView2/0/q/50|imageslim",
- },
- ]);
- if (process.browser) {
- var { WOW } = require("wowjs");
- }
- export default {
- name: "PcPage",
- mounted() {
- if (process.browser) {
- new WOW({
- offset: 0,
- live: true,
- }).init();
- }
- },
- data() {
- return {
- showList,
- bannerImg: require('~/assets/images/products/banner-pc.png')
- };
- },
- };
- </script>
- <style scoped lang="scss">
- .pc-container {
- .banner-img {
- position: relative;
- img {
- width: 100%;
- height: 595px;
- }
- .label {
- font-family: PingFangSC-Semibold, sans-serif;
- font-weight: 600;
- color: #ffffff;
- font-size: 80px;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- }
- }
- .content {
- .first {
- display: flex;
- justify-content: center;
- img {
- width: 1334px;
- height: 887px;
- }
- }
- .seconed {
- width: 100%;
- height: 607px;
- background-color: #f7fbff;
- padding-top: 52px;
- box-sizing: border-box;
- .label {
- font-size: 48px;
- font-family: PingFangSC-Semibold, sans-serif;
- font-weight: 600;
- color: rgba(38, 38, 38, 1);
- letter-spacing: 1px;
- text-align: center;
- margin-bottom: 118px;
- }
- .seconed-box {
- display: flex;
- justify-content: center;
- .seconed-item {
- img {
- width: 414px;
- height: 302px;
- }
- }
- }
- }
- .thirdly {
- height: 900px;
- display: flex;
- justify-content: center;
- padding-top: 100px;
- box-sizing: border-box;
- img {
- width: 1328px;
- height: 569px;
- }
- }
- }
- }
- </style>
|