index.vue 25 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761
<template>
  <div>
    <div class="banner">
      <el-carousel height="450px" :autoplay="false" arrow="hover">
        <el-carousel-item style="height: 450px;">
          <div class="bannerItem">
            <div class="h100">
              <img class="bannerImg" src="@/assets/dance/banner.png">
              <div class="box" style="position: absolute;top: 0;left: 0;right: 0;margin: auto;">
                <div class="banner-count">
                  距离开始还有
                  <van-count-down :time="time" format="DD 天 HH 时 mm 分 ss 秒">
                    <template #default="timeData">
                      <div class="block">{{ timeData.days }}
                        <span class="colon"></span>
                      </div>
                      <div class="block">{{ timeData.hours }}
                        <span class="colon"></span>
                      </div>
                      <div class="block">{{ timeData.minutes }}
                        <span class="colon"></span>
                      </div>
                      <div class="block">{{ timeData.seconds }}
                        <span class="colon"></span>
                      </div>
                    </template>
                  </van-count-down>
                </div>
              </div>
            </div>
          </div>
        </el-carousel-item>
      </el-carousel>
    </div>

    <div class="box zn-bg">
      <div class="zn-Box">
        <el-row style="align-items: center">
          <el-col :sm="24" :lg="10">
            <div class="bgbg">
              <img src="@/assets/dance/text.png">
              <a class="zn-btn">参赛指南
                <el-icon><download /></el-icon>
              </a>
            </div>
          </el-col>
          <el-col :sm="24" :lg="14">
            <div class="itemBox">
              <el-row :gutter="20">
                <el-col :sm="12" :lg="8">
                  <div class="item"><img src="@/assets/dance/btn01.png">酒店预订</div></el-col>
                <el-col :sm="12" :lg="8">
                  <div class="item"><img src="@/assets/dance/btn02.png">车辆预约</div></el-col>
                <el-col :sm="12" :lg="8">
                  <div class="item"><img src="@/assets/dance/btn03.png">餐饮预约</div>
                </el-col>
                <el-col :sm="12" :lg="8">
                  <div class="item"><img src="@/assets/dance/btn04.png">票务预订</div>
                </el-col>
                <el-col :sm="12" :lg="8">
                  <div class="item"><img src="@/assets/dance/btn05.png">化妆预约</div></el-col>
                <el-col :sm="12" :lg="8">
                  <div class="item"><img src="@/assets/dance/btn06.png">拍照预约</div></el-col>
              </el-row>
            </div>

          </el-col>
        </el-row>
      </div>
    </div>


    <div id="part0" class="box part">
      <el-row :gutter="20">
        <el-col :sm="24" :lg="12">
          <div class="indexTitle">
            <h3 class="leftboderTT">赛事日程</h3>
            <a class="more"  href="#/saiC">MORE</a>
          </div>
          <!--赛事日历-->
          <el-card :body-style="{'padding':'20px 20px'}">
<!--            <el-calendar v-model="calendarValue" :range="calendarRange">-->
            <el-calendar>
              <template #date-cell="data">
                <div v-if="data.data.day.slice(8,10)==22" class="primaryDate date">22</div>
                <div v-else class="date">
                  {{ data.data.day.slice(8,10) }}
                </div>

              </template>
            </el-calendar>
            <div class="calendarList">
              <ul>
                <li>
                  <label>08:00~10:30</label> 无锡公开赛
                </li>
                <li>
                  <label>11:00</label> 2024年WDSF公开赛 A组
                </li>
                <li>
                  <label>12:00</label> 2024年WDSF公开赛 B组
                </li>
                <li>
                  <label>13:00</label> 2024年WDSF公开赛 C组
                </li>
                <li>
                  <label>15:00</label> 2024年WDSF公开赛 D组
                </li>
              </ul>

            </div>
          </el-card>
        </el-col>
        <el-col :sm="24" :lg="12">
          <div class="indexTitle">
            <h3 class="leftboderTT">奖牌榜</h3>
            <a class="more"  href="#/saiC">MORE</a>
          </div>
          <!--历史排名-->
          <el-card :body-style="{'padding':'10px 20px 18px'}">
                <el-table stripe :data="rankList">
                  <el-table-column label="名次" align="center" width="55" type="index">
                    <template #default="scope">
                      <span v-if="scope.row.index == 1" style="color:#F8A617">{{ scope.row.index }}</span>
                      <span v-else-if="scope.row.index == 2" style="color:#778B92">{{ scope.row.index }}</span>
                      <span v-else-if="scope.row.index == 3" style="color:#7F2D00">{{ scope.row.index }}</span>
                      <span v-else>{{ scope.row.index }}</span>
                    </template>
                  </el-table-column>
                  <el-table-column label="国家/地区" prop="name">
                    <template #default="scope">
                      <div>
                        <span :class="`flag-icon flag-icon-${scope.row.code}`"></span>
                        {{ scope.row.gj }}</div>
                    </template>
                  </el-table-column>
                    <el-table-column   prop="score">
                    <template #header>
                      <img src="@/assets/dance/1.png">
                    </template>
                    <template #default="scope">
                      <div class="text-warning">{{ scope.row.score }}</div>
                    </template>
                  </el-table-column>
                  <el-table-column   prop="score">
                    <template #header>
                      <img src="@/assets/dance/2.png">
                    </template>
                    <template #default="scope">
                      <div class="text-blue">{{ scope.row.score }}</div>
                    </template>
                  </el-table-column>
                  <el-table-column   prop="score">
                    <template #header>
                      <img src="@/assets/dance/3.png">
                    </template>
                    <template #default="scope">
                      <div class="text-primary">{{ scope.row.score }}</div>
                    </template>
                  </el-table-column>
                  <el-table-column label="总数" align="center">
                    <template #default="scope">
                      <div class="text-primary">{{ scope.row.score }}</div>
                    </template>
                  </el-table-column>
                </el-table>

          </el-card>
        </el-col>
      </el-row>
    </div>
    <!--  新闻  -->
    <div id="part1" class="part">

      <div class="box">
        <div class="indexTitle">
          <h3 class="leftboderTT">新闻资讯</h3>
          <a class="more" @click="goNews">MORE</a>
        </div>
        <el-row :gutter="20">
          <el-col
            v-for="(n,index) in newest2"
            :key="n.id" :xs="24" :sm="8"
            :lg="8"
          >
            <div class="activeItem" @click="goDetail(n)">
              <div class="imgbox">
                <img :src="fillImgUrl_webSite(n.picUrl)">
              </div>
              <div class="info">
                <div class="date">
                  拉丁舞 | 2023-12-12
                </div>
                <h3 class="esp">{{ n.name }}</h3>
                <p class="esp_2">国标拉丁舞是体育竞技舞蹈,爆发力强的风格,技巧是它的特点,有很大的竞技体育舞蹈发挥空间,已经入亚运会正式比赛项目事...</p>
                <a>查看详情</a>
              </div>
            </div>
          </el-col>
        </el-row>
      </div>
    </div>
    <div class="part">

      <div class="box">
        <div class="indexTitle">
          <h3 class="leftboderTT">媒体中心</h3>
          <a class="more" href="#/meta">MORE</a>
        </div>
        <el-card>
          <el-row :gutter="20">
            <el-col :lg="8">
              <div class="liveImgbox" @click="goDetail(livelist[0])">
                <i class="ii">直播中</i>
                <img :src="fillImgUrl_webSite(livelist[0]?.picUrl)">
                <h3 class="esp">{{ livelist[0]?.name }}
                </h3>
              </div>
            </el-col>
            <el-col :lg="16">

              <div class="swiperPic">
                <swiper
                  class="swiper-wrapper" :modules="modules" :slides-per-view="3" :space-between="20"
                  :navigation="navigationPic"
                  :autoplay="true" :loop="true"
                >
                  <swiper-slide v-for="(n,i) in picList" :key="i">
                    <div class="picbox" @click="goDetail(n)">
                      <img :src="fillImgUrl_webSite(n.picUrl)">
                    </div>
                  </swiper-slide>
                </swiper>
                <div class="picprev"><img src="@/assets/dance/prev1.png"></div>
                <div class="picnext"><img src="@/assets/dance/next1.png"></div>
              </div>

            </el-col>
          </el-row>
          <el-row class="news-l-r">
            <el-col v-for="(n,index) in livelist" v-show="index>0" :lg="8">
              <div class="item" style="padding: 0;margin: 20px 0 0" @click="goDetail(n)">
                <div class="imgbox">
                  <i class="playIcon"></i>
                  <img :src="fillImgUrl_webSite(n.picUrl)"></div>
                <div class="info">
                  <div class="text-primary small-size">拉丁舞 | {{ n.belongTime }}</div>
                  <h2 class="esp_2">{{n.name}}</h2>
                </div>
              </div>
            </el-col>
          </el-row>
        </el-card>

      </div>
    </div>

    <div>
      <div class="box">
        <div class="indexTitle">
          <h3 class="leftboderTT">评委介绍</h3>
        </div>
        <el-row :gutter="20">
          <el-col :sm="12" :xl="4" :xs="12" :lg="4" :md="8" v-for="n in personList" :key="n.name">
            <div class="teacher">
              <div class="imgbox"><img :src="n.src"></div>
              <h3 class="esp">{{ n.name }}</h3>
              <p class="esp text-primary">{{n.pp}}</p>
            </div>
          </el-col>
        </el-row>
      </div>
    </div>

    <div class="box">
      <el-row :gutter="20">
        <el-col :lg="12">
          <div class="indexTitle">
            <h3 class="leftboderTT">关于我们</h3>
            <a class="more" style="filter: brightness(10)">MORE</a>
          </div>
          <div class="aboutBox">
            <div class="content">中国体育舞蹈联合会成立于1991年,其前身为“中国体育舞蹈运动协会”。2002年与文化部所属“中国业余舞蹈竞技协会”实现联合,形成“中国体育舞蹈联合会”,并成为世界体育舞蹈联合会正式会员(该组织于1997年获得国际奥委会正式承认)。2018年从国家体育总局社体中心“五分离”脱钩,目前霹雳舞项目与总局社体中心联合进行奥运备战。
              协会成立30余年来,在竞技水平上不断突破,已成为亚洲领
              军力量并进入世界一流;在项目普及上不断夯实,已形成8千万爱好者群体;在产业发展上不断耕耘,坚持推动民族品牌国际化,年消费规模500亿左右;在体育外交上不断拓展,已成为亚洲体育舞蹈联合会主席国,并通过长期坚持举办国际重大赛事活动扩大影响;在体育文化上不断丰富,通过规范技术及礼仪标准,实现了体育舞蹈在中小学的开展,通过与民族舞蹈的结合实现中西文化的交融。
              <div class="shadowbox" />
            </div>
            <div class="mt30 text-center">
              <a class="btn-lineG" href="#/about/wuDao" style="display: inline-flex;align-items: center;">了解更多<img style="filter: brightness(2);height: 8px" src="@/assets/v1/more.png"/></a>
            </div>

          </div>
        </el-col>
        <el-col :lg="12">
          <div class="indexTitle">
            <h3 class="leftboderTT">联系我们</h3>
            <a class="more" style="filter: brightness(10)">MORE</a>
          </div>
          <div class="mapBox">
            <div class="content">
              <div class="phone">
                <h4>电话</h4>
                <p>张小姐:18888888888</p>
              </div>
              <div class="address">
                <h4>地址</h4>
                <p>无锡市经开区清舒道88号</p>
              </div>
              <div class="email">
                <h4>邮箱</h4>
                <p>8888989@163.com</p>
              </div>
            </div>
          </div>
        </el-col>
      </el-row>
    </div>

    <div class="box">
      <div class="indexTitle">
        <h3 class="leftboderTT">合作伙伴</h3>
      </div>
      <el-row :gutter="20">
        <el-col :lg="6" :sm="12">
          <div class="logobox">
            <img src="@/assets/dance/logo1.png"/>
          </div>
        </el-col>
        <el-col :lg="6" :sm="12">
          <div class="logobox">
            <img src="@/assets/dance/logo2.png"/>
          </div>
        </el-col>
        <el-col :lg="6" :sm="12">
          <div class="logobox">
            <img src="@/assets/dance/logo3.png"/>
          </div>
        </el-col>
        <el-col :lg="6" :sm="12">
          <div class="logobox">
            <img src="@/assets/dance/logo4.png"/>
          </div>
        </el-col>
      </el-row>
    </div>

    <div v-if="showgg" class="fixed_gg">
      <!--天气-->
      <el-icon @click="showgg=false"><circle-close /></el-icon>
      <img src="@/assets/dance/weather.png">
    </div>
  </div>
</template>
<script setup>
import { ref, nextTick, onMounted, watch } from 'vue'
import { getCurrentInstance } from '@vue/runtime-core'
import { getHomePage, getNewsListById, getNewsList } from '@/apiPc/webSite'
import { useRouter } from 'vue-router'
import _ from 'lodash'
import { getHotActivity } from '@/apiPc/common'
import { Swiper, SwiperSlide } from 'swiper/vue'
import { Autoplay, Navigation } from 'swiper'
import 'swiper/css'
import { dayjs } from 'element-plus'
import r01 from '@/assets/dance/r01.png'
import r02 from '@/assets/dance/r02.png'
import r03 from '@/assets/dance/r03.png'
import r04 from '@/assets/dance/r04.png'
import r05 from '@/assets/dance/r05.png'
import r06 from '@/assets/dance/r06.png'

const modules = [Autoplay, Navigation]
const navigationPic = ref({
  nextEl: '.picnext',
  prevEl: '.picprev'
})
const router = useRouter()
const { proxy } = getCurrentInstance()
const bannerVideo = ref(null)
const isPlay = ref(false)
const canPrev = ref(false)
const canNext = ref(false)
const activeRankName = ref(0)
const time = ref(0)
const rankList = ref([
  { index: '1', code: 'cn', score: '170',gj:'中国' },
  { index: '2', code: 'us', score: '170' ,gj:'中国'},
  { index: '3', code: 'de', score: '170',gj:'中国' },
  { index: '4', code: 'eg', score: '170',gj:'中国' },
  { index: '5', code: 'ly', score: '170' ,gj:'中国'},
  { index: '6', code: 'tn', score: '170' ,gj:'中国'},
  { index: '7', code: 'gw', score: '170' ,gj:'中国'}
])
const rankTabs = ref([
  { name: '拉丁舞' },
  { name: '标准舞' },
  { name: '摇滚舞' },
  { name: '莎莎舞' },
  { name: '街舞' }
])
const personList = ref([
  { name: '张晋', pp:'欧洲舞团团长、艺术总监',src:r01 },
  { name: '王晓敏', pp:'欧洲舞团团长、艺术总监',src:r02 },
  { name: '徐徐', pp:'欧洲舞团团长、艺术总监',src:r03 },
  { name: '汪莉莉', pp:'欧洲舞团团长、艺术总监',src:r04},
  { name: '蒋云澜', pp:'欧洲舞团团长、艺术总监',src:r05 },
  { name: '钱一帆', pp:'欧洲舞团团长、艺术总监',src:r06 }
])
const activeNews = ref(0)
const banners = ref([])
const newest = ref([])
const newest2 = ref([])
const news = ref([])
const notice = ref([])
const display = ref([])
const scores = ref([])
const nowscores = ref([])
const livelist = ref([])
const picList = ref([])
// const calendarValue = ref('2024-07-22')
// const calendarRange = ref(['2024-07-21','2024-07-27'])
const showgg = ref(true)
onMounted(() => {
  init()
})

const init = () => {
  var today = dayjs().format('YYYY-MM-DD HH:mm:ss')
  time.value = dayjs('2024-07-22 14:00:00').diff(today, 'millisecond')
  getNewsListById(
    { pageSize: 4,
      pageNum: 1,
      sortId: '10000006' }
  ).then(res => {
    livelist.value = res.rows
  })
  getNewsListById(
    { pageSize: 5,
      pageNum: 1,
      sortId: '10000007' }
  ).then(res => {
    picList.value = res.rows
  })
  getNewsList(
    { pageSize: 3,
      pageNum: 1,
      language:1,
      code: '1000' }
  ).then(res => {
    newest2.value = res.rows
  })
}

const goDetail = (n) => {
  if (n.isOut == '1') {
    window.open(n.jumpUrl)
  } else {
    router.push({
      path: `/news/detail/${n.noteId}`
    })
  }
}
const goList = (query, name) => {
  query.sortName = name
  router.push({
    name: 'noticeList',
    query: query
  })
}
const goNews = () => {
  router.push({
    path: `/news/index`
  })
}
</script>

<style scoped lang="scss">

.zn-bg{background: linear-gradient(90deg, #8623FC, #8623FC, #8623FC, #8623FC, #8623FC, #8623FC, #453DEA, #8623FC);
  border-radius: 15px;}
.zn-Box{background: url("@/assets/dance/cszn_bg.png") no-repeat top left;background-size: contain;
  .bgbg{
    padding: 5%;
    img{margin: 5% 0}
  }
  .itemBox{
    padding: 20px 40px;
  }
  border-radius: 15px;
  .zn-btn{background: #FFFFFF;
    font-size: 18px;
    color: #453DEA;
    border-radius: 23px;padding: 10px 20px;display: inline-flex;align-items: center;}
  .item{box-shadow: 0px 0px 21px 0px rgba(41,23,101,0.14);margin: 10px 0;
    display: flex;align-items: center;
    font-size: 22px;
    background:url("@/assets/dance/btn_bg.png") no-repeat left #FFFFFF;
    background-size: 100% 100%;
    border-radius: 15px;
    img{margin: 0 5%;}
  }
}

.app-main {
  background: #F5F7F9;
}


.clearfix {
  clear: both;
  overflow: hidden;
}

.bannerItem {
  height: 450px;
  background: #000;position: relative;
  .banner-count{position: absolute;padding: 20px 40px;
    font-size: 20px;align-items: center;
    overflow: hidden;
    background: url("@/assets/dance/time_bg.png") no-repeat center;
    background-size: 100% 100%;
    //border-radius: 100px;
    //border-image: linear-gradient(-90deg, #7A6BEB, #F982AD, #7A6BEB) round;
    //border-image-slice: 1;
    //border-image-width:4px;
    //border-image-outset:4px;
    //background: rgba(0,0,0,0.3);
    bottom: 40%;display: flex;flex-wrap: nowrap;
    right: 5%;
    color: #fff;
    .van-count-down{display: flex;color: #fff;margin: 0 0 0 20px;
      width: 360px;
      font-size: 41px;}
    .block{ color: #fff;text-align: center;width: 3em;
      font-size: 41px;
      font-family: DIN Alternate;}
    .colon{ color: #fff;display: block;margin: 20px 0 0;
      font-size: 20px;}
  }
  .box {
    position: absolute;
    height: 100%;
    left: 0;
    right: 0;
  }

  h3 {
    position: absolute;
    color: #fff;
    line-height: 1.8;
    margin: 0;
    bottom: 50px;
    font-size: 3vw;
  }

  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.rightFlex {
  display: flex;
}

.banner {
  position: relative;margin:0 0 30px;

  :deep(.el-carousel__arrow) {
    border-radius: 0;

    .el-icon {
      color: transparent;
    }

    &:hover {
      filter: brightness(1.5)
    }
  }

  :deep(.el-carousel__arrow--left) {
    background: url("@/assets/images/prev2@2x.png") no-repeat center;
    width: 78px;
    height: 45px;
    background-size: contain;
  }

  :deep(.el-carousel__arrow--right) {
    background: url("@/assets/images/next2@2x.png") no-repeat center;
    width: 78px;
    height: 45px;
    background-size: contain
  }
}
.el-calendar{--el-calendar-border:none;--el-calendar-cell-width:40px;text-align:center;
  --el-text-color-regular:#8E8D94;
  :deep(.el-calendar__header){justify-content: center;padding: 0 0 10px}
  :deep(.el-calendar__body){border: 1px solid #F0F0F0;padding: 0}
  :deep(.el-calendar-table .el-calendar-day){padding: 1px;}
  :deep(.el-calendar-table td.is-selected){background: transparent;}
  :deep(.el-calendar__button-group){display: none;}
  :deep(.el-calendar-table thead th){padding: 5px 0 0}
  .primaryDate{color: #fff;
    background: linear-gradient(90deg, #8623FC, #453DEA);}
  .date{  margin:auto;border-radius: 50%;width: 30px;height: 30px;line-height: 30px;
    font-weight: bold;
  }
}

.calendarList{border: 1px solid #F0F0F0;padding:12px 20px;overflow: auto;height: 225px;
  ul{
    li{background: #F6F9FE;margin:7px 0 7px 20px;position: relative;padding: 13px;
      border-radius: 10px;
      font-weight: 500;
      font-size: 15px;
      label{color: #453DEA;margin-right: 15px;
        &::before{content: '';background:#fff;left: -17px;top: 0px;bottom: 0;margin: auto;
          border-radius: 50%;width: 2px;height: 2px;position: absolute;z-index: 1}
      }
    }
    li::before{content: '';background: linear-gradient(0deg, #8623FC, #453DEA);
      border-radius: 50%;width: 8px;height: 8px;position: absolute;
      left: -20px;top: 0;bottom: 0;margin: auto;z-index: 1;
    }
    li::after{content: ''; left: -16px;width: 1px;height: 100%;
      background: #EBEBEB;    position: absolute;top: 20px}
    li:hover{color: #fff;
      background: linear-gradient(-90deg, #8623FC, #453DEA);
      label{color: #fff;}
    }
  }
}


#part1 {
  padding: 0 0 40px;
}

.relativebox {
  position: relative;
  height: 400px;
}


.fixed_gg {
  position: fixed;right: 0;
  top: 25%;
  z-index: 10;
  width: 200px;
  .el-icon{font-size: 0;color: #fff;
    transition: font-size 0.2s;cursor: pointer;
    position: absolute;right: 0;}
  &:hover .el-icon{font-size: 26px;}
  img {
    width: 100%;
  }
}

.ggbond {
  height: 230px;
  position: relative;

  img {
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    object-position: center;
  }
}

.teacher{height: 330px;background: #fff;
  position: relative;border-radius: 10px;overflow: hidden;
    .imgbox{background: linear-gradient(0,#C8AAFC,#fff)}
    img{height: 270px;width: 100%;object-fit: cover;}
    h3{color: #fff;background: url("@/assets/dance/name_bg.png") no-repeat center;
      background-size:auto 100%;text-align: center;height: 30px;line-height: 30px;
      font-size: 18px;position: absolute;width: 100%;bottom: 30px;}
    p{text-align: center;margin: 25px 0 0;
      font-size: 14px;}
}
.aboutBox{background: url("@/assets/dance/about_bg.png") no-repeat center;height: 375px;
  background-size: cover;padding: 40px 60px;  position: relative;
  .content{font-size: 18px;line-height: 2.2;height: 240px;overflow: hidden;
  text-align: center;text-indent: 2em;}
  .shadowbox{position: absolute;left: 0;bottom: 90px;height: 100px;width: 100%;
    background: linear-gradient(0deg,rgba(255,255,255,1),rgba(255,255,255,0));
  }
  .btn-lineG{}
}
.mapBox{background: url("@/assets/dance/map.png") no-repeat center;height: 375px;
  background-size: cover;padding: 1px;position: relative;display: flex;
  .content{background: #fff;width: 60%;left: 40px;padding: 30px;
    position: absolute;height: 90%;top: 0;bottom: 0;margin: auto;
  }
  div{padding-left: 60px;}
  .phone{background: url("@/assets/dance/map01.png") no-repeat left;background-size: 30px;}
  .address{background: url("@/assets/dance/map02.png") no-repeat left;background-size: 30px;
    margin:50px 0;
  }
  .email{background: url("@/assets/dance/map03.png") no-repeat left;background-size: 30px;}
  h4{margin: 0;
    font-size: 16px;
    color: #AAAAAA;}
  p{margin: 13px 0 0;}
}
.logobox{background: #fff;height: 180px;border-radius: 10px;margin: 0 0 30px;
  img{width: 100%}
}
.swiperPic{background: #F3F1FE;position: relative;    height: 100%;
  padding: 20px 45px;
  .picprev{position: absolute; left: 5px;top: 0;bottom:0;margin: auto;height: 33px;
    cursor: pointer;
    &:hover{filter:brightness(2)}
  }
  .picnext{position: absolute;right: 5px;top: 0;bottom:0;margin: auto;height: 33px;
    cursor: pointer;
    &:hover{filter:brightness(2)}}
}
@media (max-width: 1200px) {
  .teacher{height: 460px;margin: 0 0 20px;
    img{height: 400px}
  }
}

@media (max-width: 800px) {
  .box{width: 94%}
  .calendarList{padding: 0;
    ul{
      li{margin: 10px}
    }
  }
  .aboutBox{padding: 20px 30px;}
  .indexTitle{margin: 30px 0 20px}
  .teacher{height: 320px;margin: 0 0 20px;
    img{height: 260px}
  }
  .activeItem{margin: 0 0 20px;}
  .mapBox{
    div{padding-left: 40px;}
    .content{    width: 80%;left: 10%;padding:10px 20px 0 20px;}
    .address{margin: 30px 0;}
    p{text-align: left;word-break: break-all;}
  }
  .fixed_gg {
    display: none;
  }
  .bannerItem .banner-count{flex-direction: column;
    transform: scale(0.8);    left: 0;
    right: 0;
    .van-count-down{margin: 30px 0 0;}
  }
  .bgbg{    text-align: center;
    img{max-width:100%; }
    h1{text-align: center}
  }
}
</style>