db6a9a5e by zhangmeng

按钮控制

1 parent fcfc577a
1 <template> 1 <template>
2 <div class="itemBox" v-if="language === 0"> 2 <div v-if="language === 0" class="itemBox">
3 <el-row :gutter="20"> 3 <el-row :gutter="20">
4 <el-col :sm="12" :lg="4" :xs="12"> 4 <el-col :lg="4" :sm="12" :xs="12">
5 <div class="item" @click="popRemark(0)"><img src="@/assets/dance/btn01.png">签证服务</div> 5 <div class="item" @click="popRemark(0)"><img src="@/assets/dance/btn01.png">签证服务</div>
6 </el-col> 6 </el-col>
7 <el-col :sm="12" :lg="4" :xs="12"> 7 <el-col :lg="4" :sm="12" :xs="12">
8 <div class="item" @click="popRemark(1)"><img src="@/assets/dance/btn02.png">酒店预订</div> 8 <div class="item" @click="popRemark(1)"><img src="@/assets/dance/btn02.png">酒店预订</div>
9 </el-col> 9 </el-col>
10 <el-col :sm="12" :lg="4" :xs="12"> 10 <el-col :lg="4" :sm="12" :xs="12">
11 <div class="item" @click="popRemark(2)"><img src="@/assets/dance/btn03.png">接送服务</div> 11 <div class="item" @click="popRemark(2)"><img src="@/assets/dance/btn03.png">接送服务</div>
12 </el-col> 12 </el-col>
13 <el-col :sm="12" :lg="4" :xs="12"> 13 <el-col :lg="4" :sm="12" :xs="12">
14 <div class="item" @click="popRemark(10)"><img src="@/assets/dance/btn04.png">票务服务</div> 14 <div class="item" @click="popRemark(10)"><img src="@/assets/dance/btn04.png">票务服务</div>
15 </el-col> 15 </el-col>
16 <el-col :sm="12" :lg="4" :xs="12"> 16 <el-col :lg="4" :sm="12" :xs="12">
17 <div class="item" @click="goMedia"><img src="@/assets/dance/btn07.png">媒体注册</div> 17 <div class="item" @click="goMedia"><img src="@/assets/dance/btn07.png">媒体注册</div>
18 </el-col> 18 </el-col>
19 <!-- <el-col :sm="12" :lg="4" :xs="12">--> 19 <!-- <el-col :sm="12" :lg="4" :xs="12">-->
...@@ -24,21 +24,21 @@ ...@@ -24,21 +24,21 @@
24 <!-- </el-col>--> 24 <!-- </el-col>-->
25 </el-row> 25 </el-row>
26 </div> 26 </div>
27 <div class="itemBox_en" v-else> 27 <div v-else class="itemBox_en">
28 <el-row :gutter="20" justify="space-around"> 28 <el-row :gutter="20" justify="space-around">
29 <el-col :sm="12" :lg="4" :xs="12"> 29 <el-col :lg="4" :sm="12" :xs="12">
30 <div class="item" @click="popRemark(0)"><img src="@/assets/dance/btn01.png">Visa Services</div> 30 <div class="item" @click="popRemark(0)"><img src="@/assets/dance/btn01.png">Visa Services</div>
31 </el-col> 31 </el-col>
32 <el-col :sm="12" :lg="4" :xs="12"> 32 <el-col :lg="4" :sm="12" :xs="12">
33 <div class="item" @click="popRemark(1)"><img src="@/assets/dance/btn02.png">HOTEL RESERVATION</div> 33 <div class="item" @click="popRemark(1)"><img src="@/assets/dance/btn02.png">HOTEL RESERVATION</div>
34 </el-col> 34 </el-col>
35 <el-col :sm="12" :lg="4" :xs="12"> 35 <el-col :lg="4" :sm="12" :xs="12">
36 <div class="item" @click="popRemark(2)"><img src="@/assets/dance/btn03.png">TRANSPORTATION RESERVATION</div> 36 <div class="item" @click="popRemark(2)"><img src="@/assets/dance/btn03.png">TRANSPORTATION RESERVATION</div>
37 </el-col> 37 </el-col>
38 <el-col :sm="12" :lg="4" :xs="12"> 38 <el-col :lg="4" :sm="12" :xs="12">
39 <div class="item" @click="popRemark(10)"><img src="@/assets/dance/btn04.png">TICKET SERVICES</div> 39 <div class="item" @click="popRemark(10)"><img src="@/assets/dance/btn04.png">TICKET SERVICES</div>
40 </el-col> 40 </el-col>
41 <el-col :sm="12" :lg="4" :xs="12"> 41 <el-col :lg="4" :sm="12" :xs="12">
42 <div class="item" @click="goMedia"><img src="@/assets/dance/btn07.png">Media Registration</div> 42 <div class="item" @click="goMedia"><img src="@/assets/dance/btn07.png">Media Registration</div>
43 </el-col> 43 </el-col>
44 <!-- <el-col :sm="12" :lg="4" :xs="12">--> 44 <!-- <el-col :sm="12" :lg="4" :xs="12">-->
...@@ -135,7 +135,7 @@ onMounted(() => { ...@@ -135,7 +135,7 @@ onMounted(() => {
135 135
136 function building() { 136 function building() {
137 ElMessage.warning(language.value == 0 ? '感谢您对本次比赛的关注,该服务暂无可预订信息,敬请期待。' : 'Thank you for your attention to this competition. The service is currently unavailable for booking. Please stay tuned.') 137 ElMessage.warning(language.value == 0 ? '感谢您对本次比赛的关注,该服务暂无可预订信息,敬请期待。' : 'Thank you for your attention to this competition. The service is currently unavailable for booking. Please stay tuned.')
138 return 138
139 } 139 }
140 140
141 function applyInvitation() { 141 function applyInvitation() {
...@@ -149,9 +149,12 @@ function applyInvitation() { ...@@ -149,9 +149,12 @@ function applyInvitation() {
149 const user = useUserStore().user 149 const user = useUserStore().user
150 150
151 function goMedia() { 151 function goMedia() {
152 proxy.$modal.msgWarning(language.value == 0 ? '暂未开放' : 'Not yet open') 152 // proxy.$modal.msgWarning(language.value == 0 ? '暂未开放' : 'Not yet open')
153 return; 153 // return;
154 154 if (form.value.isMedia == 0) {
155 building()
156 return
157 }
155 //如果没登录 158 //如果没登录
156 if (!user) { 159 if (!user) {
157 ElMessage({ 160 ElMessage({
...@@ -171,13 +174,18 @@ function popRemark(type) { ...@@ -171,13 +174,18 @@ function popRemark(type) {
171 } 174 }
172 175
173 if (type == '0') { 176 if (type == '0') {
174 ElMessage.warning('The visa invitation letter application will be available soon. Thank you for your patience.') 177 // ElMessage.warning('The visa invitation letter application will be available soon. Thank you for your patience.')
175 return; 178 // return;
176 // 签证 179 // 签证
177 if (language.value === 0) { 180 if (language.value == 0) {
178 ElMessage.warning('请切换英文页面办理') 181 ElMessage.warning('请切换英文页面办理')
179 return 182 return
180 } else { 183 } else {
184 if (form.value.isVisa == 0) {
185 building()
186 return
187 }
188
181 if (!user) { 189 if (!user) {
182 ElMessage({ 190 ElMessage({
183 type: 'warning', 191 type: 'warning',
...@@ -252,7 +260,7 @@ function goBooking(n, f) { ...@@ -252,7 +260,7 @@ function goBooking(n, f) {
252 } 260 }
253 </script> 261 </script>
254 262
255 <style scoped lang="scss"> 263 <style lang="scss" scoped>
256 .itemBox, .itemBox_en { 264 .itemBox, .itemBox_en {
257 padding: 20px; 265 padding: 20px;
258 background: #fff; 266 background: #fff;
......
1 <template> 1 <template>
2 <div class="syBg"> 2 <div class="syBg">
3 <div class="banner"> 3 <div class="banner">
4 <el-carousel class="forPc" autoplay :interval="2000" height="450px" :autoplay="false" arrow="hover" 4 <el-carousel :autoplay="false" :interval="2000" arrow="hover" autoplay class="forPc" height="450px"
5 @change="carouselChange"> 5 @change="carouselChange">
6 <el-carousel-item style="height: 450px;" v-for="n in maList" :key="n.id"> 6 <el-carousel-item v-for="n in maList" :key="n.id" style="height: 450px;">
7 <div class="bannerItem"> 7 <div class="bannerItem">
8 <div class="h100" @click.stop="goMatch(n)"> 8 <div class="h100" @click.stop="goMatch(n)">
9 <img class="bannerImg" :src="fillImgUrl(n.bgImgUrl)"> 9 <img :src="fillImgUrl(n.bgImgUrl)" class="bannerImg">
10 <div class="box forPc" style="position: absolute;top: 0;left: 0;right: 0;margin: auto;"> 10 <div class="box forPc" style="position: absolute;top: 0;left: 0;right: 0;margin: auto;">
11 <img class="slogen" src="@/assets/logo/banner-text.png"/> 11 <img class="slogen" src="@/assets/logo/banner-text.png"/>
12 12
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
18 <div v-if="!liveData || liveData.videoStatus==0"> 18 <div v-if="!liveData || liveData.videoStatus==0">
19 <!-- <div class="banner-count bb"></div>--> 19 <!-- <div class="banner-count bb"></div>-->
20 </div> 20 </div>
21 <div class="banner-count" v-if="currentDateTime < liveData.videoStart" @click.stop="goliveUrl"> 21 <div v-if="currentDateTime < liveData.videoStart &&form.isLiveVideo==1" class="banner-count"
22 @click.stop="goliveUrl">
22 距离直播开始 23 距离直播开始
23 <van-count-down :time="liveStartTime" format="DD 天 HH 时 mm 分 ss 秒"> 24 <van-count-down :time="liveStartTime" format="DD 天 HH 时 mm 分 ss 秒">
24 <template #default="timeData"> 25 <template #default="timeData">
...@@ -42,33 +43,33 @@ ...@@ -42,33 +43,33 @@
42 </div> 43 </div>
43 <!--如果有直播--> 44 <!--如果有直播-->
44 <div v-if="liveData&& liveData.videoStatus==1" @click.stop="goliveUrl"> 45 <div v-if="liveData&& liveData.videoStatus==1" @click.stop="goliveUrl">
45 <div class="banner-count bb" 46 <div v-if="(currentDateTime>liveData.videoStart)&&(currentDateTime<liveData.videoEnd)"
46 v-if="(currentDateTime>liveData.videoStart)&&(currentDateTime<liveData.videoEnd)">直播进行中 47 class="banner-count bb">直播进行中
47 </div> 48 </div>
48 <div class="banner-count bb" v-if="currentDateTime > liveData.videoEnd">直播已结束</div> 49 <div v-if="currentDateTime > liveData.videoEnd" class="banner-count bb">直播已结束</div>
49 <!-- <div class="banner-count bb" v-if="currentDateTime < liveData.videoStart">直播即将开始</div>--> 50 <!-- <div class="banner-count bb" v-if="currentDateTime < liveData.videoStart">直播即将开始</div>-->
50 </div> 51 </div>
51 <div v-if="liveData&& liveData.picStatus==1" @click.stop="gopicliveUrl"> 52 <div v-if="liveData&& liveData.picStatus==1&&form.isLivePic==1" @click.stop="gopicliveUrl">
52 <div class="picliveBtn" v-if="(currentDateTime>liveData.picStart)&&(currentDateTime<liveData.picEnd)"> 53 <div v-if="(currentDateTime>liveData.picStart)&&(currentDateTime<liveData.picEnd)" class="picliveBtn">
53 图片直播中 54 图片直播中
54 </div> 55 </div>
55 <div class="picliveBtn" v-if="currentDateTime > liveData.picEnd">图片直播</div> 56 <div v-if="currentDateTime > liveData.picEnd" class="picliveBtn">图片直播</div>
56 <div class="picliveBtn" v-if="currentDateTime < liveData.picStart">图片直播</div> 57 <div v-if="currentDateTime < liveData.picStart" class="picliveBtn">图片直播</div>
57 </div> 58 </div>
58 </div> 59 </div>
59 </div> 60 </div>
60 </div> 61 </div>
61 </el-carousel-item> 62 </el-carousel-item>
62 </el-carousel> 63 </el-carousel>
63 <el-carousel class="forWei" height="160px" autoplay arrow="hover" @change="carouselChange"> 64 <el-carousel arrow="hover" autoplay class="forWei" height="160px" @change="carouselChange">
64 <el-carousel-item style="height: 160px;" v-for="n in maList" :key="n.id"> 65 <el-carousel-item v-for="n in maList" :key="n.id" style="height: 160px;">
65 <div class="bannerItem" style="height:100%"> 66 <div class="bannerItem" style="height:100%">
66 <div class="h100" style="position: relative"> 67 <div class="h100" style="position: relative">
67 <img class="bannerImg" :src="fillImgUrl(n.bgImgUrl)"> 68 <img :src="fillImgUrl(n.bgImgUrl)" class="bannerImg">
68 <div style="position: absolute;left: 0;right: 0;bottom: 0;margin: auto;"> 69 <div style="position: absolute;left: 0;right: 0;bottom: 0;margin: auto;">
69 <!-- <img class="slogen" src="@/assets/logo/banner-text.png"/>--> 70 <!-- <img class="slogen" src="@/assets/logo/banner-text.png"/>-->
70 71
71 <div class="banner-count" v-if="currentDateTime < liveData.videoStart" @click="goliveUrl"> 72 <div v-if="currentDateTime < liveData.videoStart" class="banner-count" @click="goliveUrl">
72 距离直播开始 73 距离直播开始
73 <van-count-down :time="liveStartTime" format="DD 天 HH 时 mm 分 ss 秒"> 74 <van-count-down :time="liveStartTime" format="DD 天 HH 时 mm 分 ss 秒">
74 <template #default="timeData"> 75 <template #default="timeData">
...@@ -91,10 +92,10 @@ ...@@ -91,10 +92,10 @@
91 </van-count-down> 92 </van-count-down>
92 </div> 93 </div>
93 <div v-if="liveData&& liveData.videoStatus==1" @click.stop="goliveUrl"> 94 <div v-if="liveData&& liveData.videoStatus==1" @click.stop="goliveUrl">
94 <div class="banner-count" 95 <div v-if="(currentDateTime>liveData.videoStart)&&(currentDateTime<liveData.videoEnd)"
95 v-if="(currentDateTime>liveData.videoStart)&&(currentDateTime<liveData.videoEnd)">直播进行中 96 class="banner-count">直播进行中
96 </div> 97 </div>
97 <div class="banner-count" v-if="currentDateTime > liveData.videoEnd">直播已结束</div> 98 <div v-if="currentDateTime > liveData.videoEnd" class="banner-count">直播已结束</div>
98 </div> 99 </div>
99 </div> 100 </div>
100 </div> 101 </div>
...@@ -108,12 +109,12 @@ ...@@ -108,12 +109,12 @@
108 </div> 109 </div>
109 110
110 <div class="box"> 111 <div class="box">
111 <HomeQuick :match-id="matchData?.id" :cpt-name="matchData?.name" @pick-up="handlePickup"/> 112 <HomeQuick :cpt-name="matchData?.name" :match-id="matchData?.id" @pick-up="handlePickup"/>
112 </div> 113 </div>
113 114
114 <div id="part0" class="box part"> 115 <div id="part0" class="box part">
115 <el-row :gutter="20"> 116 <el-row :gutter="20">
116 <el-col :sm="24" :lg="12"> 117 <el-col :lg="12" :sm="24">
117 <div class="indexTitle"> 118 <div class="indexTitle">
118 <h3 class="leftboderTT">通知公告</h3> 119 <h3 class="leftboderTT">通知公告</h3>
119 <a class="more" href="#/notice">MORE</a> 120 <a class="more" href="#/notice">MORE</a>
...@@ -125,7 +126,7 @@ ...@@ -125,7 +126,7 @@
125 </div> 126 </div>
126 </el-card> 127 </el-card>
127 </el-col> 128 </el-col>
128 <el-col :sm="24" :lg="12"> 129 <el-col :lg="12" :sm="24">
129 <div class="indexTitle"> 130 <div class="indexTitle">
130 <h3 class="leftboderTT">竞赛日程</h3> 131 <h3 class="leftboderTT">竞赛日程</h3>
131 <a class="more" href="#/saiC">MORE</a> 132 <a class="more" href="#/saiC">MORE</a>
...@@ -149,8 +150,8 @@ ...@@ -149,8 +150,8 @@
149 <el-row :gutter="20"> 150 <el-row :gutter="20">
150 <el-col 151 <el-col
151 v-for="(n,index) in newest2" 152 v-for="(n,index) in newest2"
152 :key="n.id" :xs="24" :sm="8" 153 :key="n.id" :lg="8" :sm="8"
153 :lg="8" 154 :xs="24"
154 > 155 >
155 <div class="activeItem" @click="goDetail(n)"> 156 <div class="activeItem" @click="goDetail(n)">
156 <div class="imgbox"> 157 <div class="imgbox">
...@@ -213,9 +214,9 @@ ...@@ -213,9 +214,9 @@
213 <el-col :lg="16"> 214 <el-col :lg="16">
214 <div class="swiperPic"> 215 <div class="swiperPic">
215 <swiper 216 <swiper
216 class="swiper-wrapper" :modules="modules" :slides-per-view="3" :space-between="20" 217 :autoplay="true" :loop="true" :modules="modules" :navigation="navigationPic"
217 :navigation="navigationPic" 218 :slides-per-view="3"
218 :autoplay="true" :loop="true" 219 :space-between="20" class="swiper-wrapper"
219 > 220 >
220 <swiper-slide v-for="(n,i) in picList" :key="i"> 221 <swiper-slide v-for="(n,i) in picList" :key="i">
221 <div class="picbox" @click="goDetail(n)"> 222 <div class="picbox" @click="goDetail(n)">
...@@ -229,7 +230,7 @@ ...@@ -229,7 +230,7 @@
229 </el-col> 230 </el-col>
230 </el-row> 231 </el-row>
231 <el-row class="news-l-r"> 232 <el-row class="news-l-r">
232 <el-col v-for="(n,index) in livelist" :lg="8" v-show="index>0"> 233 <el-col v-for="(n,index) in livelist" v-show="index>0" :lg="8">
233 <div class="item" style="padding: 0;margin: 20px 0 0" @click="goDetail(n)"> 234 <div class="item" style="padding: 0;margin: 20px 0 0" @click="goDetail(n)">
234 <div class="imgbox"> 235 <div class="imgbox">
235 <i class="playIcon"></i> 236 <i class="playIcon"></i>
...@@ -261,7 +262,7 @@ ...@@ -261,7 +262,7 @@
261 </div> 262 </div>
262 <div class="mt30 text-center"> 263 <div class="mt30 text-center">
263 <a class="btn-black" href="#/about/wuDao" style="display: inline-flex;align-items: center;">了解更多<img 264 <a class="btn-black" href="#/about/wuDao" style="display: inline-flex;align-items: center;">了解更多<img
264 style="filter: brightness(2);height: 8px" src="@/assets/v1/more.png"/></a> 265 src="@/assets/v1/more.png" style="filter: brightness(2);height: 8px"/></a>
265 </div> 266 </div>
266 267
267 </div> 268 </div>
...@@ -296,7 +297,7 @@ ...@@ -296,7 +297,7 @@
296 <h3 class="leftboderTT">合作伙伴</h3> 297 <h3 class="leftboderTT">合作伙伴</h3>
297 </div> 298 </div>
298 <el-row :gutter="20"> 299 <el-row :gutter="20">
299 <el-col :lg="6" :sm="6" :xs="12" v-for="p in partners"> 300 <el-col v-for="p in partners" :lg="6" :sm="6" :xs="12">
300 <div class="logobox"> 301 <div class="logobox">
301 <img :src="fillImgUrl(JSON.parse(p.picUrl))"> 302 <img :src="fillImgUrl(JSON.parse(p.picUrl))">
302 </div> 303 </div>
...@@ -321,6 +322,7 @@ import {dayjs, ElMessage} from 'element-plus' ...@@ -321,6 +322,7 @@ import {dayjs, ElMessage} from 'element-plus'
321 import * as match from "@/apiPc/match"; 322 import * as match from "@/apiPc/match";
322 import {getAboutUs, getInfoByCptId, getppInfo, getZNList} from "@/apiPc/match"; 323 import {getAboutUs, getInfoByCptId, getppInfo, getZNList} from "@/apiPc/match";
323 import HomeWeatherBar from "@/viewsPc/components/homeWeatherBar"; 324 import HomeWeatherBar from "@/viewsPc/components/homeWeatherBar";
325 import {getBaseInfoByActiveId} from "@/apiPc/booking";
324 326
325 const modules = [Autoplay, Navigation] 327 const modules = [Autoplay, Navigation]
326 const navigationPic = ref({ 328 const navigationPic = ref({
...@@ -352,6 +354,7 @@ const partners = ref([]) ...@@ -352,6 +354,7 @@ const partners = ref([])
352 const liveData = ref({}) 354 const liveData = ref({})
353 const aboutUsContent = ref('') 355 const aboutUsContent = ref('')
354 const liveStartTime = ref(0) 356 const liveStartTime = ref(0)
357 const form = ref({})
355 358
356 onMounted(() => { 359 onMounted(() => {
357 init() 360 init()
...@@ -391,6 +394,12 @@ const init = () => { ...@@ -391,6 +394,12 @@ const init = () => {
391 newsList.value = res.rows 394 newsList.value = res.rows
392 }) 395 })
393 396
397 async function getMatchSet(id) {
398 const res = await getBaseInfoByActiveId(id)
399 form.value = res.data ?? null
400 console.log(form.value)
401 }
402
394 match.getMaList({topFlag: 1}).then((res) => { 403 match.getMaList({topFlag: 1}).then((res) => {
395 maList.value = res.rows 404 maList.value = res.rows
396 for (let n of maList.value) { 405 for (let n of maList.value) {
...@@ -408,6 +417,7 @@ const init = () => { ...@@ -408,6 +417,7 @@ const init = () => {
408 } 417 }
409 matchData.value = maList.value[0] 418 matchData.value = maList.value[0]
410 getMatchInfo(matchData.value.id) 419 getMatchInfo(matchData.value.id)
420 getMatchSet(matchData.value.id)
411 }) 421 })
412 422
413 match.getLabelList().then(res => { 423 match.getLabelList().then(res => {
...@@ -535,7 +545,7 @@ const gopicliveUrl = () => { ...@@ -535,7 +545,7 @@ const gopicliveUrl = () => {
535 545
536 </script> 546 </script>
537 547
538 <style scoped lang="scss"> 548 <style lang="scss" scoped>
539 .syBg { 549 .syBg {
540 background: url("@/assets/dance/logo_l.png") no-repeat bottom left, 550 background: url("@/assets/dance/logo_l.png") no-repeat bottom left,
541 url("@/assets/dance/logo_r1.png") no-repeat bottom right; 551 url("@/assets/dance/logo_r1.png") no-repeat bottom right;
......
1 <template> 1 <template>
2 <div class="syBg"> 2 <div class="syBg">
3 <div class="banner"> 3 <div class="banner">
4 <el-carousel height="450px" autoplay :interval="2000" class="forPc" :autoplay="false" arrow="hover" @change="carouselChange"> 4 <el-carousel :autoplay="false" :interval="2000" arrow="hover" autoplay class="forPc" height="450px"
5 <el-carousel-item style="height: 450px;" v-for="n in maList" :key="n.id"> 5 @change="carouselChange">
6 <el-carousel-item v-for="n in maList" :key="n.id" style="height: 450px;">
6 <div class="bannerItem"> 7 <div class="bannerItem">
7 <div class="h100" @click.stop="goMatch(n)"> 8 <div class="h100" @click.stop="goMatch(n)">
8 <img class="bannerImg" :src="fillImgUrl(n.bgImgUrl)"> 9 <img :src="fillImgUrl(n.bgImgUrl)" class="bannerImg">
9 <div class="box" style="position: absolute;top: 0;left: 0;right: 0;margin: auto;"> 10 <div class="box" style="position: absolute;top: 0;left: 0;right: 0;margin: auto;">
10 <img class="slogen" src="@/assets/logo/banner-text.png"/> 11 <img class="slogen" src="@/assets/logo/banner-text.png"/>
11 12
12 <div class="btabs"> 13 <div class="btabs">
13 <div v-for="tab in tabList" @click.stop="goMatchWithTab(n,tab.id)">{{tab.customTitle}}</div> 14 <div v-for="tab in tabList" @click.stop="goMatchWithTab(n,tab.id)">{{ tab.customTitle }}</div>
14 </div> 15 </div>
15 <div class="banner-count" v-if="currentDateTime < liveData.videoStart" @click.stop="goliveUrl"> 16 <div v-if="currentDateTime < liveData.videoStart&&form.isLiveVideo==1" class="banner-count"
17 @click.stop="goliveUrl">
16 Live Countdown 18 Live Countdown
17 <van-count-down :time="liveStartTime" format="DD 天 HH 时 mm 分 ss 秒"> 19 <van-count-down :time="liveStartTime" format="DD 天 HH 时 mm 分 ss 秒">
18 <template #default="timeData"> 20 <template #default="timeData">
...@@ -35,11 +37,12 @@ ...@@ -35,11 +37,12 @@
35 </van-count-down> 37 </van-count-down>
36 </div> 38 </div>
37 39
38 <div v-if="liveData&& liveData.videoStatus==1" @click.stop="goliveUrl"> 40 <div v-if="liveData&& liveData.videoStatus==1&&form.isLivePic==1" @click.stop="goliveUrl">
39 <div class="banner-count" v-if="(currentDateTime>liveData.videoStart)&&(currentDateTime<liveData.videoEnd)"> 41 <div v-if="(currentDateTime>liveData.videoStart)&&(currentDateTime<liveData.videoEnd)"
42 class="banner-count">
40 Live Now 43 Live Now
41 </div> 44 </div>
42 <div class="banner-count" v-if="currentDateTime > liveData.videoEnd"> 45 <div v-if="currentDateTime > liveData.videoEnd" class="banner-count">
43 Live End 46 Live End
44 </div> 47 </div>
45 </div> 48 </div>
...@@ -48,36 +51,40 @@ ...@@ -48,36 +51,40 @@
48 </div> 51 </div>
49 </el-carousel-item> 52 </el-carousel-item>
50 </el-carousel> 53 </el-carousel>
51 <el-carousel class="forWei" height="160px" autoplay arrow="hover" @change="carouselChange"> 54 <el-carousel arrow="hover" autoplay class="forWei" height="160px" @change="carouselChange">
52 <el-carousel-item style="height: 160px;" v-for="n in maList" :key="n.id"> 55 <el-carousel-item v-for="n in maList" :key="n.id" style="height: 160px;">
53 <div class="bannerItem" style="height:100%"> 56 <div class="bannerItem" style="height:100%">
54 <div class="h100" style="position: relative"> 57 <div class="h100" style="position: relative">
55 <img class="bannerImg" :src="fillImgUrl(n.bgImgUrl)"> 58 <img :src="fillImgUrl(n.bgImgUrl)" class="bannerImg">
56 <div style="position: absolute;left: 0;right: 0;bottom: 0;margin: auto;"> 59 <div style="position: absolute;left: 0;right: 0;bottom: 0;margin: auto;">
57 <div class="banner-count" v-if="currentDateTime < liveData.videoStart" @click="goliveUrl"> 60 <div v-if="currentDateTime < liveData.videoStart" class="banner-count" @click="goliveUrl">
58 Live Countdown 61 Live Countdown
59 <van-count-down :time="liveStartTime" format="DD 天 HH 时 mm 分 ss 秒"> 62 <van-count-down :time="liveStartTime" format="DD 天 HH 时 mm 分 ss 秒">
60 <template #default="timeData"> 63 <template #default="timeData">
61 <div class="block">{{ timeData.days }} 64 <div class="block">{{ timeData.days }}
62 <span class="colon">Days</span> 65 <span class="colon">Days</span>
63 </div> 66 </div>
67
64 <div class="block">{{ timeData.hours }} 68 <div class="block">{{ timeData.hours }}
65 <span class="colon">Hrs</span> 69 <span class="colon">Hrs</span>
66 </div> 70 </div>
71
67 <div class="block">{{ timeData.minutes }} 72 <div class="block">{{ timeData.minutes }}
68 <span class="colon">Min</span> 73 <span class="colon">Min</span>
69 </div> 74 </div>
75
70 <div class="block">{{ timeData.seconds }} 76 <div class="block">{{ timeData.seconds }}
71 <span class="colon">Sec</span> 77 <span class="colon">Sec</span>
72 </div> 78 </div>
73 </template> 79 </template>
74 </van-count-down> 80 </van-count-down>
75 </div> 81 </div>
76 <div v-if="liveData&& liveData.videoStatus==1" @click.stop="goliveUrl"> 82 <div v-if="liveData&& liveData.videoStatus==1 &&form.isLivePic==1" @click.stop="goliveUrl">
77 <div class="banner-count" v-if="(currentDateTime>liveData.videoStart)&&(currentDateTime<liveData.videoEnd)"> 83 <div v-if="(currentDateTime>liveData.videoStart)&&(currentDateTime<liveData.videoEnd)"
84 class="banner-count">
78 Live Now 85 Live Now
79 </div> 86 </div>
80 <div class="banner-count" v-if="currentDateTime > liveData.videoEnd"> 87 <div v-if="currentDateTime > liveData.videoEnd" class="banner-count">
81 Live End 88 Live End
82 </div> 89 </div>
83 </div> 90 </div>
...@@ -93,13 +100,13 @@ ...@@ -93,13 +100,13 @@
93 </div> 100 </div>
94 101
95 <div class="box"> 102 <div class="box">
96 <HomeQuick :match-id="matchData?.id" :cpt-name="matchData?.name" @pick-up="handlePickup"/> 103 <HomeQuick :cpt-name="matchData?.name" :match-id="matchData?.id" @pick-up="handlePickup"/>
97 </div> 104 </div>
98 105
99 106
100 <div id="part0" class="box part"> 107 <div id="part0" class="box part">
101 <el-row :gutter="20"> 108 <el-row :gutter="20">
102 <el-col :sm="24" :lg="12"> 109 <el-col :lg="12" :sm="24">
103 <div class="indexTitle"> 110 <div class="indexTitle">
104 <h3 class="leftboderTT">NOTICEBOARD</h3> 111 <h3 class="leftboderTT">NOTICEBOARD</h3>
105 <a class="more" href="#/notice">MORE</a> 112 <a class="more" href="#/notice">MORE</a>
...@@ -107,11 +114,11 @@ ...@@ -107,11 +114,11 @@
107 <el-card :body-style="{'padding':'10px 20px 18px'}"> 114 <el-card :body-style="{'padding':'10px 20px 18px'}">
108 <div v-for="(n,index) in newsList" :key="index" class="newline" @click="goDetail(n)"> 115 <div v-for="(n,index) in newsList" :key="index" class="newline" @click="goDetail(n)">
109 <h3>{{ n.name }}</h3> 116 <h3>{{ n.name }}</h3>
110 <span class="date">{{n.belongTime}}</span> 117 <span class="date">{{ n.belongTime }}</span>
111 </div> 118 </div>
112 </el-card> 119 </el-card>
113 </el-col> 120 </el-col>
114 <el-col :sm="24" :lg="12"> 121 <el-col :lg="12" :sm="24">
115 <div class="indexTitle"> 122 <div class="indexTitle">
116 <h3 class="leftboderTT">COMPETITION SCHEDULE</h3> 123 <h3 class="leftboderTT">COMPETITION SCHEDULE</h3>
117 <a class="more" @click="gosaiC">MORE</a> 124 <a class="more" @click="gosaiC">MORE</a>
...@@ -135,8 +142,8 @@ ...@@ -135,8 +142,8 @@
135 <el-row :gutter="20"> 142 <el-row :gutter="20">
136 <el-col 143 <el-col
137 v-for="(n,index) in newest2" 144 v-for="(n,index) in newest2"
138 :key="n.id" :xs="24" :sm="8" 145 :key="n.id" :lg="8" :sm="8"
139 :lg="8" 146 :xs="24"
140 > 147 >
141 <div class="activeItem" @click="goNewsDetail(n)"> 148 <div class="activeItem" @click="goNewsDetail(n)">
142 <div class="imgbox"> 149 <div class="imgbox">
...@@ -148,7 +155,7 @@ ...@@ -148,7 +155,7 @@
148 </div> 155 </div>
149 <h3 class="esp">{{ n.name }}</h3> 156 <h3 class="esp">{{ n.name }}</h3>
150 <p class="esp_2" style="height: 40px"> 157 <p class="esp_2" style="height: 40px">
151 {{n.subName}} 158 {{ n.subName }}
152 </p> 159 </p>
153 <a>DETAIL</a> 160 <a>DETAIL</a>
154 </div> 161 </div>
...@@ -179,11 +186,11 @@ ...@@ -179,11 +186,11 @@
179 186
180 <div class="swiperPic forPx"> 187 <div class="swiperPic forPx">
181 <swiper 188 <swiper
182 class="swiper-wrapper" :modules="modules" :slides-per-view="3" :space-between="20" 189 :autoplay="true" :loop="true" :modules="modules" :navigation="navigationPic"
183 :navigation="navigationPic" 190 :slides-per-view="3"
184 :autoplay="true" :loop="true" 191 :space-between="20" class="swiper-wrapper"
185 > 192 >
186 <swiper-slide v-for="(n,i) in picList" :key="i" > 193 <swiper-slide v-for="(n,i) in picList" :key="i">
187 <div class="picbox" @click="goNewsDetail(n)"> 194 <div class="picbox" @click="goNewsDetail(n)">
188 <img :src="fillImgUrl_webSite(n.picUrl)"> 195 <img :src="fillImgUrl_webSite(n.picUrl)">
189 </div> 196 </div>
...@@ -199,12 +206,13 @@ ...@@ -199,12 +206,13 @@
199 <el-col v-for="(n,index) in livelist" v-show="index>0" :lg="8"> 206 <el-col v-for="(n,index) in livelist" v-show="index>0" :lg="8">
200 <div class="item" style="padding: 0;margin: 20px 0 0" @click="goNewsDetail(n)"> 207 <div class="item" style="padding: 0;margin: 20px 0 0" @click="goNewsDetail(n)">
201 <div class="imgbox"> 208 <div class="imgbox">
202 <i class="playIcon" /> 209 <i class="playIcon"/>
203 <img :src="fillImgUrl_webSite(n.picUrl)"></div> 210 <img :src="fillImgUrl_webSite(n.picUrl)"></div>
204 <div class="info"> 211 <div class="info">
205 <div class="text-primary small-size"> 212 <div class="text-primary small-size">
206 <span v-if="n.subName">{{n.subName + ' | '}}</span> 213 <span v-if="n.subName">{{ n.subName + ' | ' }}</span>
207 {{ n.belongTime }}</div> 214 {{ n.belongTime }}
215 </div>
208 <h2 class="esp_2">{{ n.name }}</h2> 216 <h2 class="esp_2">{{ n.name }}</h2>
209 </div> 217 </div>
210 </div> 218 </div>
...@@ -222,8 +230,8 @@ ...@@ -222,8 +230,8 @@
222 </div> 230 </div>
223 <el-row :gutter="20"> 231 <el-row :gutter="20">
224 <el-col 232 <el-col
225 v-for="n in personList" :key="n.name" :sm="8" :xl="4" :xs="12" 233 v-for="n in personList" :key="n.name" :lg="4" :sm="8" :xl="4"
226 :lg="4" 234 :xs="12"
227 > 235 >
228 <div class="teacher"> 236 <div class="teacher">
229 <div class="imgbox"><img :src="n.src"></div> 237 <div class="imgbox"><img :src="n.src"></div>
...@@ -245,10 +253,11 @@ ...@@ -245,10 +253,11 @@
245 <div class="aboutBox"> 253 <div class="aboutBox">
246 <div class="content"> 254 <div class="content">
247 <div v-html="aboutUsContent"></div> 255 <div v-html="aboutUsContent"></div>
248 <div class="shadowbox" /> 256 <div class="shadowbox"/>
249 </div> 257 </div>
250 <div class="mt30 text-center"> 258 <div class="mt30 text-center">
251 <a class="btn-lineG" href="#/about/wuDao" style="display: inline-flex;align-items: center;">Learn more <img style="filter: brightness(2);height: 8px;margin-left: 10px" src="@/assets/v1/more.png"></a> 259 <a class="btn-lineG" href="#/about/wuDao" style="display: inline-flex;align-items: center;">Learn more
260 <img src="@/assets/v1/more.png" style="filter: brightness(2);height: 8px;margin-left: 10px"></a>
252 </div> 261 </div>
253 262
254 </div> 263 </div>
...@@ -256,7 +265,7 @@ ...@@ -256,7 +265,7 @@
256 <el-col :lg="12"> 265 <el-col :lg="12">
257 <div class="indexTitle"> 266 <div class="indexTitle">
258 <h3 class="leftboderTT">CONTACT US</h3> 267 <h3 class="leftboderTT">CONTACT US</h3>
259 <a class="more" style="filter: brightness(10)" href="#/about/wuDao">MORE</a> 268 <a class="more" href="#/about/wuDao" style="filter: brightness(10)">MORE</a>
260 </div> 269 </div>
261 <div class="mapBox"> 270 <div class="mapBox">
262 <div class="content"> 271 <div class="content">
...@@ -283,7 +292,7 @@ ...@@ -283,7 +292,7 @@
283 <h3 class="leftboderTT">PARTNERS</h3> 292 <h3 class="leftboderTT">PARTNERS</h3>
284 </div> 293 </div>
285 <el-row :gutter="20"> 294 <el-row :gutter="20">
286 <el-col :lg="6" :sm="12" :xs="6" v-for="p in partners"> 295 <el-col v-for="p in partners" :lg="6" :sm="12" :xs="6">
287 <div class="logobox"> 296 <div class="logobox">
288 <img :src="fillImgUrl(JSON.parse(p.picUrl))"> 297 <img :src="fillImgUrl(JSON.parse(p.picUrl))">
289 </div> 298 </div>
...@@ -295,40 +304,42 @@ ...@@ -295,40 +304,42 @@
295 </div> 304 </div>
296 </template> 305 </template>
297 <script setup> 306 <script setup>
298 import { ref, nextTick, onMounted, watch } from 'vue' 307 import {ref, nextTick, onMounted, watch} from 'vue'
299 import { getCurrentInstance } from '@vue/runtime-core' 308 import {getCurrentInstance} from '@vue/runtime-core'
300 import { getNewsListById, getNewsList,getWeather} from '@/apiPc/webSite' 309 import {getNewsListById, getNewsList, getWeather} from '@/apiPc/webSite'
301 import { useRouter } from 'vue-router' 310 import {useRouter} from 'vue-router'
302 import _ from 'lodash' 311 import _ from 'lodash'
303 import HomeQuick from '@/viewsPc/components/homeQuick' 312 import HomeQuick from '@/viewsPc/components/homeQuick'
304 import HomeCalendar from '@/viewsPc/components/homeCalendar' 313 import HomeCalendar from '@/viewsPc/components/homeCalendar'
305 import { Swiper, SwiperSlide } from 'swiper/vue' 314 import {Swiper, SwiperSlide} from 'swiper/vue'
306 import { Autoplay, Navigation } from 'swiper' 315 import {Autoplay, Navigation} from 'swiper'
307 import 'swiper/css' 316 import 'swiper/css'
308 import {dayjs, ElMessage} from 'element-plus' 317 import {dayjs, ElMessage} from 'element-plus'
309 import * as match from "@/apiPc/match"; 318 import * as match from "@/apiPc/match";
310 import HomeWeatherBar from "@/viewsPc/components/homeWeatherBar"; 319 import HomeWeatherBar from "@/viewsPc/components/homeWeatherBar";
311 320
321 import {getBaseInfoByActiveId} from "/@/apiPc/booking";
312 322
313 import {rankList} from '@/assets/js/data' 323 import {rankList} from '@/assets/js/data'
324
314 const modules = [Autoplay, Navigation] 325 const modules = [Autoplay, Navigation]
315 const navigationPic = ref({ 326 const navigationPic = ref({
316 nextEl: '.picnext', 327 nextEl: '.picnext',
317 prevEl: '.picprev' 328 prevEl: '.picprev'
318 }) 329 })
319 const router = useRouter() 330 const router = useRouter()
320 const { proxy } = getCurrentInstance() 331 const {proxy} = getCurrentInstance()
321 const emit = defineEmits(['pop','backNumber','schSearch']) 332 const emit = defineEmits(['pop', 'backNumber', 'schSearch'])
322 const time = ref(0) 333 const time = ref(0)
323 const etime = ref(0) 334 const etime = ref(0)
324 335
325 const personList = ref([ 336 const personList = ref([
326 { name: 'Wolfgang Eliasch', pp: 'Chairperson for Latin AUT', src: '/img/1.png' }, 337 {name: 'Wolfgang Eliasch', pp: 'Chairperson for Latin AUT', src: '/img/1.png'},
327 { name: 'Nenad Jeftic', pp: 'Chairperson for Standard SRB', src: '/img/2.png' }, 338 {name: 'Nenad Jeftic', pp: 'Chairperson for Standard SRB', src: '/img/2.png'},
328 { name: 'Dorel Bagiu', pp: 'ROU', src: '/img/3.png' }, 339 {name: 'Dorel Bagiu', pp: 'ROU', src: '/img/3.png'},
329 { name: 'Eduard Korotin', pp: ' EST', src: '/img/4.png' }, 340 {name: 'Eduard Korotin', pp: ' EST', src: '/img/4.png'},
330 { name: 'Ana Cristina Silva', pp: 'POR', src: '/img/5.png'}, 341 {name: 'Ana Cristina Silva', pp: 'POR', src: '/img/5.png'},
331 { name: 'Dallas Leslie Williams', pp: 'Scrutineer AUS', src: '/img/6.png' } 342 {name: 'Dallas Leslie Williams', pp: 'Scrutineer AUS', src: '/img/6.png'}
332 ]) 343 ])
333 const activeNews = ref(0) 344 const activeNews = ref(0)
334 const banners = ref([]) 345 const banners = ref([])
...@@ -352,7 +363,7 @@ const newsList = ref([]) ...@@ -352,7 +363,7 @@ const newsList = ref([])
352 const currentDateTime = dayjs().format('YYYY-MM-DD HH:mm:ss') 363 const currentDateTime = dayjs().format('YYYY-MM-DD HH:mm:ss')
353 const liveStartTime = ref(0) 364 const liveStartTime = ref(0)
354 const liveData = ref({}) 365 const liveData = ref({})
355 366 const form = ref({})
356 const matchData = ref({}) 367 const matchData = ref({})
357 onMounted(() => { 368 onMounted(() => {
358 init() 369 init()
...@@ -360,53 +371,68 @@ onMounted(() => { ...@@ -360,53 +371,68 @@ onMounted(() => {
360 371
361 const init = () => { 372 const init = () => {
362 var today = dayjs().format('YYYY-MM-DD HH:mm:ss') 373 var today = dayjs().format('YYYY-MM-DD HH:mm:ss')
363 getNewsListById({pageSize: 6, pageNum: 1,sortId: '20000001'}).then(res => { 374 getNewsListById({pageSize: 6, pageNum: 1, sortId: '20000001'}).then(res => {
364 newsList.value = res.rows 375 newsList.value = res.rows
365 }) 376 })
366 getNewsListById( 377 getNewsListById(
367 { pageSize: 4, 378 {
379 pageSize: 4,
368 pageNum: 1, 380 pageNum: 1,
369 sortId: '30000008' } 381 sortId: '30000008'
382 }
370 ).then(res => { 383 ).then(res => {
371 livelist.value = res.rows 384 livelist.value = res.rows
372 }) 385 })
373 getNewsListById({ pageSize: 5, 386 getNewsListById({
387 pageSize: 5,
374 pageNum: 1, 388 pageNum: 1,
375 sortId: '30000009' } 389 sortId: '30000009'
390 }
376 ).then(res => { 391 ).then(res => {
377 picList.value = res.rows 392 picList.value = res.rows
378 }) 393 })
379 getNewsList({ pageSize: 3, 394 getNewsList({
395 pageSize: 3,
380 pageNum: 1, 396 pageNum: 1,
381 language:2, 397 language: 2,
382 code: '1000' } 398 code: '1000'
399 }
383 ).then(res => { 400 ).then(res => {
384 newest2.value = res.rows 401 newest2.value = res.rows
385 }) 402 })
386 match.getMaList({topFlag:1}).then((res) => { 403 match.getMaList({topFlag: 1}).then((res) => {
387 maList.value = res.rows 404 maList.value = res.rows
388 matchData.value = maList.value[0] 405 matchData.value = maList.value[0]
389 getMatchInfo(matchData.value.id) 406 getMatchInfo(matchData.value.id)
407 getMatchSet(matchData.value.id)
408
390 }) 409 })
391 match.getLabelList().then(res=> { 410 match.getLabelList().then(res => {
392 tabList.value = res.data 411 tabList.value = res.data
393 }) 412 })
394 413
395 getpartners() 414 getpartners()
396 } 415 }
397 const getMatchInfo = (id) => { 416 const getMatchInfo = (id) => {
398 match.getInfoByCptId({ cptId:id }).then((res) => { 417 match.getInfoByCptId({cptId: id}).then((res) => {
399 liveData.value = res.data || {} 418 liveData.value = res.data || {}
400 if(liveData.value.videoStart){ 419 if (liveData.value.videoStart) {
401 liveStartTime.value = dayjs(liveData.value.videoStart).diff(currentDateTime.value, 'millisecond') 420 liveStartTime.value = dayjs(liveData.value.videoStart).diff(currentDateTime.value, 'millisecond')
402 } 421 }
403 }) 422 })
404 } 423 }
424
425 async function getMatchSet(id) {
426 const res = await getBaseInfoByActiveId(id)
427 form.value = res.data ?? null
428 console.log(form.value)
429 }
430
405 const getpartners = () => { 431 const getpartners = () => {
406 match.getAboutUs().then((res) => { 432 match.getAboutUs().then((res) => {
407 aboutUsContent.value = res.data.contextEn 433 aboutUsContent.value = res.data.contextEn
408 }) 434 })
409 match.getZNList({sortId:'2000',language:2}).then((res) => { 435 match.getZNList({sortId: '2000', language: 2}).then((res) => {
410 partners.value = res.rows 436 partners.value = res.rows
411 }) 437 })
412 } 438 }
...@@ -459,38 +485,38 @@ const building = () => { ...@@ -459,38 +485,38 @@ const building = () => {
459 const goGuide = () => { 485 const goGuide = () => {
460 router.push({ 486 router.push({
461 path: `/guide`, 487 path: `/guide`,
462 query:{ 488 query: {
463 index:8 489 index: 8
464 } 490 }
465 }) 491 })
466 } 492 }
467 const popMaster = () => { 493 const popMaster = () => {
468 var params = { 494 var params = {
469 cptId:matchData.value.id 495 cptId: matchData.value.id
470 } 496 }
471 emit('pop',params) 497 emit('pop', params)
472 } 498 }
473 const backNumberSearch = () => { 499 const backNumberSearch = () => {
474 var params = { 500 var params = {
475 cptId:matchData.value.id 501 cptId: matchData.value.id
476 } 502 }
477 emit('backNumber',params) 503 emit('backNumber', params)
478 } 504 }
479 const schSearchSearch = () => { 505 const schSearchSearch = () => {
480 var params = { 506 var params = {
481 cptId:matchData.value.id 507 cptId: matchData.value.id
482 } 508 }
483 emit('schSearch',params) 509 emit('schSearch', params)
484 } 510 }
485 const handlePickup=()=>{ 511 const handlePickup = () => {
486 const params={ 512 const params = {
487 cptId :matchData.value.id 513 cptId: matchData.value.id
488 } 514 }
489 emit('pickup',params) 515 emit('pickup', params)
490 } 516 }
491 517
492 const goliveUrl = () => { 518 const goliveUrl = () => {
493 ElMessage.warning('This function is temporarily closed.' ) 519 ElMessage.warning('This function is temporarily closed.')
494 // if (liveData.value.videoStatus=="1") { 520 // if (liveData.value.videoStatus=="1") {
495 // window.open(liveData.value.videoUrlCn) 521 // window.open(liveData.value.videoUrlCn)
496 // } else { 522 // } else {
...@@ -498,10 +524,10 @@ const goliveUrl = () => { ...@@ -498,10 +524,10 @@ const goliveUrl = () => {
498 // } 524 // }
499 } 525 }
500 const gopicliveUrl = () => { 526 const gopicliveUrl = () => {
501 if (liveData.value.picStatus=="1") { 527 if (liveData.value.picStatus == "1") {
502 window.open(liveData.value.picUrlCn) 528 window.open(liveData.value.picUrlCn)
503 } else { 529 } else {
504 ElMessage.warning( 'No live' ) 530 ElMessage.warning('No live')
505 } 531 }
506 } 532 }
507 533
...@@ -516,46 +542,110 @@ const goDetail = (n) => { ...@@ -516,46 +542,110 @@ const goDetail = (n) => {
516 } 542 }
517 </script> 543 </script>
518 544
519 <style scoped lang="scss"> 545 <style lang="scss" scoped>
520 .syBg{ 546 .syBg {
521 background: url("@/assets/dance/logo_l.png") no-repeat left 98%, 547 background: url("@/assets/dance/logo_l.png") no-repeat left 98%,
522 url("@/assets/dance/logo_r1.png") no-repeat right 98%; 548 url("@/assets/dance/logo_r1.png") no-repeat right 98%;
523 background-size: 30%; 549 background-size: 30%;
524 } 550 }
525 .btabs{display: flex;position: absolute;bottom: 60px;gap: 10px; 551
526 div{color: #fff; background-color: rgba(0, 0, 0, 0.5); 552 .btabs {
527 backdrop-filter: blur(4px);border: 2px solid #9ba6d4;border-radius: 50px; 553 display: flex;
528 padding:6px 20px; 554 position: absolute;
555 bottom: 60px;
556 gap: 10px;
557
558 div {
559 color: #fff;
560 background-color: rgba(0, 0, 0, 0.5);
561 backdrop-filter: blur(4px);
562 border: 2px solid #9ba6d4;
563 border-radius: 50px;
564 padding: 6px 20px;
565 }
566
567 div:hover {
568 cursor: pointer;
569 background: #fff;
570 color: #000;
571 border: 2px solid #fff;
529 } 572 }
530 div:hover{cursor: pointer;background: #fff;color: #000;border:2px solid #fff;}
531 } 573 }
532 .zn-bg{background: linear-gradient(90deg, #8623FC, #8623FC, #8623FC, #8623FC, #8623FC, #8623FC, #453DEA, #8623FC); 574
533 border-radius: 15px;} 575 .zn-bg {
534 .zn-Box{background-size: contain;position: relative;overflow: hidden; 576 background: linear-gradient(90deg, #8623FC, #8623FC, #8623FC, #8623FC, #8623FC, #8623FC, #453DEA, #8623FC);
535 .bbbg{position: absolute;width: 100%;height: 100%;object-fit: cover;} 577 border-radius: 15px;
536 .bgbg{height: 100%; 578 }
537 padding: 5%;display: flex; 579
580 .zn-Box {
581 background-size: contain;
582 position: relative;
583 overflow: hidden;
584
585 .bbbg {
586 position: absolute;
587 width: 100%;
588 height: 100%;
589 object-fit: cover;
590 }
591
592 .bgbg {
593 height: 100%;
594 padding: 5%;
595 display: flex;
538 flex-direction: column; 596 flex-direction: column;
539 justify-content: center; 597 justify-content: center;
540 img{margin: 5% 0} 598
599 img {
600 margin: 5% 0
541 } 601 }
542 .itemBox{ 602 }
603
604 .itemBox {
543 padding: 20px 40px; 605 padding: 20px 40px;
544 p{margin: 0;height: 40px;line-height: 20px;display: flex;align-items: center;} 606
607 p {
608 margin: 0;
609 height: 40px;
610 line-height: 20px;
611 display: flex;
612 align-items: center;
613 }
545 } 614 }
615
546 border-radius: 15px; 616 border-radius: 15px;
547 .zn-btn{background: #FFFFFF;text-transform: uppercase; 617
548 font-size: 16px; width: fit-content; margin: 5px 5px 5px 0; 618 .zn-btn {
619 background: #FFFFFF;
620 text-transform: uppercase;
621 font-size: 16px;
622 width: fit-content;
623 margin: 5px 5px 5px 0;
549 color: #453DEA; 624 color: #453DEA;
550 border-radius: 23px;padding: 10px 20px;display: inline-flex;align-items: center;} 625 border-radius: 23px;
551 .item{box-shadow: 0px 0px 21px 0px rgba(41,23,101,0.14);margin: 40px 0 0; 626 padding: 10px 20px;
552 display: flex;align-items: center;text-align: center; 627 display: inline-flex;
553 font-size: 18px; flex-direction: column;padding: 35px 10px 20px; 628 align-items: center;
554 background:url("@/assets/dance/znbb.png") no-repeat left #FFFFFF; 629 }
630
631 .item {
632 box-shadow: 0px 0px 21px 0px rgba(41, 23, 101, 0.14);
633 margin: 40px 0 0;
634 display: flex;
635 align-items: center;
636 text-align: center;
637 font-size: 18px;
638 flex-direction: column;
639 padding: 35px 10px 20px;
640 background: url("@/assets/dance/znbb.png") no-repeat left #FFFFFF;
555 background-size: cover; 641 background-size: cover;
556 position: relative; 642 position: relative;
557 border-radius: 15px; 643 border-radius: 15px;
558 img{position: absolute;top: -30px} 644
645 img {
646 position: absolute;
647 top: -30px
648 }
559 } 649 }
560 } 650 }
561 651
...@@ -568,14 +658,29 @@ const goDetail = (n) => { ...@@ -568,14 +658,29 @@ const goDetail = (n) => {
568 clear: both; 658 clear: both;
569 overflow: hidden; 659 overflow: hidden;
570 } 660 }
571 .banner-pp{ position: absolute; bottom: 40%;right: 5%;width: 200px;} 661
662 .banner-pp {
663 position: absolute;
664 bottom: 40%;
665 right: 5%;
666 width: 200px;
667 }
572 668
573 .bannerItem { 669 .bannerItem {
574 height: 450px; 670 height: 450px;
575 background: #000;position: relative; 671 background: #000;
576 .slogen{position: relative;top: 130px;} 672 position: relative;
577 .banner-count{position: absolute;padding: 20px 40px; 673
578 font-size: 20px;align-items: center; 674 .slogen {
675 position: relative;
676 top: 130px;
677 }
678
679 .banner-count {
680 position: absolute;
681 padding: 20px 40px;
682 font-size: 20px;
683 align-items: center;
579 overflow: hidden; 684 overflow: hidden;
580 background: url("@/assets/dance/time_bg.png") no-repeat center; 685 background: url("@/assets/dance/time_bg.png") no-repeat center;
581 background-size: 100% 100%; 686 background-size: 100% 100%;
...@@ -585,22 +690,49 @@ const goDetail = (n) => { ...@@ -585,22 +690,49 @@ const goDetail = (n) => {
585 //border-image-width:4px; 690 //border-image-width:4px;
586 //border-image-outset:4px; 691 //border-image-outset:4px;
587 //background: rgba(0,0,0,0.3); 692 //background: rgba(0,0,0,0.3);
588 bottom: 40%;display: flex;flex-wrap: nowrap; 693 bottom: 40%;
694 display: flex;
695 flex-wrap: nowrap;
589 right: 5%; 696 right: 5%;
590 color: #fff; 697 color: #fff;
591 .van-count-down{display: flex;color: #fff;margin: 0 0 0 20px; 698
699 .van-count-down {
700 display: flex;
701 color: #fff;
702 margin: 0 0 0 20px;
592 width: 360px; 703 width: 360px;
593 font-size: 41px;}
594 .block{ color: #fff;text-align: center;width: 3em;
595 font-size: 41px; 704 font-size: 41px;
596 font-family: DIN Alternate;}
597 .colon{ color: #fff;display: block;margin: 20px 0 0;
598 font-size: 20px;}
599 } 705 }
600 .bb{width: 580px;justify-content: center;height: 100px;font-size: 30px;} 706
601 .banner-count.bb:hover{box-shadow: 0 0 20px #453DEA;border-radius: 100px; 707 .block {
708 color: #fff;
709 text-align: center;
710 width: 3em;
711 font-size: 41px;
712 font-family: DIN Alternate;
713 }
714
715 .colon {
716 color: #fff;
717 display: block;
718 margin: 20px 0 0;
719 font-size: 20px;
720 }
721 }
722
723 .bb {
724 width: 580px;
725 justify-content: center;
726 height: 100px;
727 font-size: 30px;
728 }
729
730 .banner-count.bb:hover {
731 box-shadow: 0 0 20px #453DEA;
732 border-radius: 100px;
602 background: #000 733 background: #000
603 } 734 }
735
604 .box { 736 .box {
605 position: absolute; 737 position: absolute;
606 height: 100%; 738 height: 100%;
...@@ -629,7 +761,8 @@ const goDetail = (n) => { ...@@ -629,7 +761,8 @@ const goDetail = (n) => {
629 } 761 }
630 762
631 .banner { 763 .banner {
632 position: relative;margin:0 0 30px; 764 position: relative;
765 margin: 0 0 30px;
633 766
634 :deep(.el-carousel__arrow) { 767 :deep(.el-carousel__arrow) {
635 border-radius: 0; 768 border-radius: 0;
...@@ -657,41 +790,121 @@ const goDetail = (n) => { ...@@ -657,41 +790,121 @@ const goDetail = (n) => {
657 background-size: contain 790 background-size: contain
658 } 791 }
659 } 792 }
660 .el-calendar{--el-calendar-border:none;--el-calendar-cell-width:40px;text-align:center; 793
661 --el-text-color-regular:#8E8D94; 794 .el-calendar {
662 :deep(.el-calendar__header){justify-content: center;padding: 0 0 10px} 795 --el-calendar-border: none;
663 :deep(.el-calendar__body){border: 1px solid #F0F0F0;padding: 0} 796 --el-calendar-cell-width: 40px;
664 :deep(.el-calendar-table .el-calendar-day){padding: 1px;} 797 text-align: center;
665 :deep(.el-calendar-table td.is-selected){background: transparent;} 798 --el-text-color-regular: #8E8D94;
666 :deep(.el-calendar__button-group){display: none;} 799
667 :deep(.el-calendar-table thead th){padding: 5px 0 0} 800 :deep(.el-calendar__header) {
668 .primaryDate{color: #fff; 801 justify-content: center;
669 background: #000;} 802 padding: 0 0 10px
670 .date{ margin:auto;border-radius: 50%;width: 30px;height: 30px;line-height: 30px; 803 }
804
805 :deep(.el-calendar__body) {
806 border: 1px solid #F0F0F0;
807 padding: 0
808 }
809
810 :deep(.el-calendar-table .el-calendar-day) {
811 padding: 1px;
812 }
813
814 :deep(.el-calendar-table td.is-selected) {
815 background: transparent;
816 }
817
818 :deep(.el-calendar__button-group) {
819 display: none;
820 }
821
822 :deep(.el-calendar-table thead th) {
823 padding: 5px 0 0
824 }
825
826 .primaryDate {
827 color: #fff;
828 background: #000;
829 }
830
831 .date {
832 margin: auto;
833 border-radius: 50%;
834 width: 30px;
835 height: 30px;
836 line-height: 30px;
671 font-weight: bold; 837 font-weight: bold;
672 } 838 }
673 } 839 }
674 840
675 .calendarList{border: 1px solid #F0F0F0;padding:12px 20px;overflow: auto;height: 233px; 841 .calendarList {
676 ul{ 842 border: 1px solid #F0F0F0;
677 li{background: #F6F9FE;margin:7px 0 7px 0;position: relative;padding: 13px; 843 padding: 12px 20px;
844 overflow: auto;
845 height: 233px;
846
847 ul {
848 li {
849 background: #F6F9FE;
850 margin: 7px 0 7px 0;
851 position: relative;
852 padding: 13px;
678 border-radius: 10px; 853 border-radius: 10px;
679 font-weight: 500; 854 font-weight: 500;
680 font-size: 15px; 855 font-size: 15px;
681 label{color: #000;margin-right: 15px; 856
682 &::before{content: '';background:#fff;left: -17px;top: 0px;bottom: 0;margin: auto; 857 label {
683 border-radius: 50%;width: 2px;height: 2px;position: absolute;z-index: 1} 858 color: #000;
859 margin-right: 15px;
860
861 &::before {
862 content: '';
863 background: #fff;
864 left: -17px;
865 top: 0px;
866 bottom: 0;
867 margin: auto;
868 border-radius: 50%;
869 width: 2px;
870 height: 2px;
871 position: absolute;
872 z-index: 1
873 }
684 } 874 }
685 } 875 }
686 li::before{content: '';background: #000; 876
687 border-radius: 50%;width: 8px;height: 8px;position: absolute; 877 li::before {
688 left: -20px;top: 0;bottom: 0;margin: auto;z-index: 1; 878 content: '';
879 background: #000;
880 border-radius: 50%;
881 width: 8px;
882 height: 8px;
883 position: absolute;
884 left: -20px;
885 top: 0;
886 bottom: 0;
887 margin: auto;
888 z-index: 1;
889 }
890
891 li::after {
892 content: '';
893 left: -16px;
894 width: 1px;
895 height: 100%;
896 background: #EBEBEB;
897 position: absolute;
898 top: 20px
689 } 899 }
690 li::after{content: ''; left: -16px;width: 1px;height: 100%; 900
691 background: #EBEBEB; position: absolute;top: 20px} 901 li:hover {
692 li:hover{color: #fff; 902 color: #fff;
693 background: #000; 903 background: #000;
694 label{color: #fff;} 904
905 label {
906 color: #fff;
907 }
695 } 908 }
696 } 909 }
697 } 910 }
...@@ -717,131 +930,336 @@ const goDetail = (n) => { ...@@ -717,131 +930,336 @@ const goDetail = (n) => {
717 } 930 }
718 } 931 }
719 932
720 .teacher{height: 410px;background: #fff; 933 .teacher {
721 position: relative;border-radius: 10px;overflow: hidden; 934 height: 410px;
722 .imgbox{background: linear-gradient(0,#C8AAFC,#fff)} 935 background: #fff;
723 img{height: 350px;width: 100%;object-fit: cover;} 936 position: relative;
724 h3{color: #fff;background: url("@/assets/dance/name_bg.png") no-repeat center; 937 border-radius: 10px;
725 background-size:110% 100%;text-align: center;height: 30px;line-height: 30px; 938 overflow: hidden;
726 font-size: 18px;position: absolute;width: 100%;bottom: 30px;} 939
727 p{text-align: center;margin: 25px 0 0; 940 .imgbox {
728 font-size: 14px;} 941 background: linear-gradient(0, #C8AAFC, #fff)
942 }
943
944 img {
945 height: 350px;
946 width: 100%;
947 object-fit: cover;
948 }
949
950 h3 {
951 color: #fff;
952 background: url("@/assets/dance/name_bg.png") no-repeat center;
953 background-size: 110% 100%;
954 text-align: center;
955 height: 30px;
956 line-height: 30px;
957 font-size: 18px;
958 position: absolute;
959 width: 100%;
960 bottom: 30px;
961 }
962
963 p {
964 text-align: center;
965 margin: 25px 0 0;
966 font-size: 14px;
967 }
729 } 968 }
969
730 @media screen and (max-width: 1650px) { 970 @media screen and (max-width: 1650px) {
731 .teacher{height: 320px; 971 .teacher {
732 .imgbox{ 972 height: 320px;
733 img{height: 260px} 973
974 .imgbox {
975 img {
976 height: 260px
977 }
734 } 978 }
735 } 979 }
736 } 980 }
981
737 @media screen and (max-width: 1200px) { 982 @media screen and (max-width: 1200px) {
738 .teacher{height: 450px;margin: 0 0 20px; 983 .teacher {
739 .imgbox{ 984 height: 450px;
740 img{height: 390px} 985 margin: 0 0 20px;
986
987 .imgbox {
988 img {
989 height: 390px
990 }
741 } 991 }
742 } 992 }
743 } 993 }
994
744 @media screen and (max-width: 900px) { 995 @media screen and (max-width: 900px) {
745 .teacher{height: 400px;margin: 0 0 20px; 996 .teacher {
746 .imgbox{ 997 height: 400px;
747 img{height: 340px} 998 margin: 0 0 20px;
999
1000 .imgbox {
1001 img {
1002 height: 340px
1003 }
748 } 1004 }
749 } 1005 }
750 } 1006 }
1007
751 @media screen and (max-width: 800px) { 1008 @media screen and (max-width: 800px) {
752 .teacher{height: 400px;margin: 0 0 20px; 1009 .teacher {
753 .imgbox{ 1010 height: 400px;
754 img{height: 260px} 1011 margin: 0 0 20px;
1012
1013 .imgbox {
1014 img {
1015 height: 260px
1016 }
755 } 1017 }
756 } 1018 }
757 } 1019 }
758 .aboutBox{background: url("@/assets/dance/about_bg.png") no-repeat center;height: 375px; 1020
759 background-size: cover;padding: 40px 60px; position: relative; 1021 .aboutBox {
760 .content{font-size: 18px;line-height: 2.2;height: 240px;overflow: hidden; 1022 background: url("@/assets/dance/about_bg.png") no-repeat center;
761 text-align: left;text-indent: 2em;} 1023 height: 375px;
762 .shadowbox{position: absolute;left: 0;bottom: 90px;height: 100px;width: 100%; 1024 background-size: cover;
763 background: linear-gradient(0deg,rgba(255,255,255,1),rgba(255,255,255,0)); 1025 padding: 40px 60px;
1026 position: relative;
1027
1028 .content {
1029 font-size: 18px;
1030 line-height: 2.2;
1031 height: 240px;
1032 overflow: hidden;
1033 text-align: left;
1034 text-indent: 2em;
1035 }
1036
1037 .shadowbox {
1038 position: absolute;
1039 left: 0;
1040 bottom: 90px;
1041 height: 100px;
1042 width: 100%;
1043 background: linear-gradient(0deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
1044 }
1045
1046 .btn-lineG {
764 } 1047 }
765 .btn-lineG{}
766 } 1048 }
767 .mapBox{background: url("@/assets/dance/map.png") no-repeat center;height: 375px; 1049
768 background-size: cover;padding: 1px;position: relative;display: flex; 1050 .mapBox {
769 .content{background: #fff;width: 60%;left: 40px;padding: 30px; 1051 background: url("@/assets/dance/map.png") no-repeat center;
770 position: absolute;height: 90%;top: 0;bottom: 0;margin: auto; 1052 height: 375px;
1053 background-size: cover;
1054 padding: 1px;
1055 position: relative;
1056 display: flex;
1057
1058 .content {
1059 background: #fff;
1060 width: 60%;
1061 left: 40px;
1062 padding: 30px;
1063 position: absolute;
1064 height: 90%;
1065 top: 0;
1066 bottom: 0;
1067 margin: auto;
1068 }
1069
1070 div {
1071 padding-left: 60px;
1072 }
1073
1074 .phone {
1075 background: url("@/assets/dance/map01.png") no-repeat left;
1076 background-size: 30px;
771 } 1077 }
772 div{padding-left: 60px;} 1078
773 .phone{background: url("@/assets/dance/map01.png") no-repeat left;background-size: 30px;} 1079 .address {
774 .address{background: url("@/assets/dance/map02.png") no-repeat left;background-size: 30px; 1080 background: url("@/assets/dance/map02.png") no-repeat left;
775 margin:50px 0; 1081 background-size: 30px;
1082 margin: 50px 0;
1083 }
1084
1085 .email {
1086 background: url("@/assets/dance/map03.png") no-repeat left;
1087 background-size: 30px;
776 } 1088 }
777 .email{background: url("@/assets/dance/map03.png") no-repeat left;background-size: 30px;} 1089
778 h4{margin: 0; 1090 h4 {
1091 margin: 0;
779 font-size: 16px; 1092 font-size: 16px;
780 color: #AAAAAA;} 1093 color: #AAAAAA;
781 p{margin: 13px 0 0;} 1094 }
1095
1096 p {
1097 margin: 13px 0 0;
1098 }
782 } 1099 }
783 .logobox{background: #fff;height: 180px;border-radius: 10px;margin: 0 0 30px; 1100
784 img{width: 100%;height: 100%;object-fit: contain;} 1101 .logobox {
1102 background: #fff;
1103 height: 180px;
1104 border-radius: 10px;
1105 margin: 0 0 30px;
1106
1107 img {
1108 width: 100%;
1109 height: 100%;
1110 object-fit: contain;
1111 }
785 } 1112 }
786 .swiperPic{background: #F3F1FE;position: relative; height: 100%; 1113
1114 .swiperPic {
1115 background: #F3F1FE;
1116 position: relative;
1117 height: 100%;
787 padding: 20px 45px; 1118 padding: 20px 45px;
788 .picprev{position: absolute; left: 5px;top: 0;bottom:0;margin: auto;height: 33px; 1119
1120 .picprev {
1121 position: absolute;
1122 left: 5px;
1123 top: 0;
1124 bottom: 0;
1125 margin: auto;
1126 height: 33px;
789 cursor: pointer; 1127 cursor: pointer;
790 &:hover{filter:brightness(2)} 1128
1129 &:hover {
1130 filter: brightness(2)
1131 }
791 } 1132 }
792 .picnext{position: absolute;right: 5px;top: 0;bottom:0;margin: auto;height: 33px; 1133
1134 .picnext {
1135 position: absolute;
1136 right: 5px;
1137 top: 0;
1138 bottom: 0;
1139 margin: auto;
1140 height: 33px;
793 cursor: pointer; 1141 cursor: pointer;
794 &:hover{filter:brightness(2)}} 1142
1143 &:hover {
1144 filter: brightness(2)
1145 }
1146 }
795 } 1147 }
796 .newline{display: flex;align-items: center;height: 56px;justify-content: space-between; 1148
1149 .newline {
1150 display: flex;
1151 align-items: center;
1152 height: 56px;
1153 justify-content: space-between;
797 cursor: pointer; 1154 cursor: pointer;
798 h3{font-weight: 400;margin: 0;width: 80%;text-overflow: ellipsis;white-space: nowrap;overflow: hidden; 1155
1156 h3 {
1157 font-weight: 400;
1158 margin: 0;
1159 width: 80%;
1160 text-overflow: ellipsis;
1161 white-space: nowrap;
1162 overflow: hidden;
799 font-size: 18px; 1163 font-size: 18px;
800 color: #030303;} 1164 color: #030303;
801 span{font-weight: 400; 1165 }
1166
1167 span {
1168 font-weight: 400;
802 font-size: 14px; 1169 font-size: 14px;
803 color: #B4B6B8;} 1170 color: #B4B6B8;
804 &:hover{ 1171 }
1172
1173 &:hover {
805 background: #F7F8FC; 1174 background: #F7F8FC;
806 } 1175 }
807 } 1176 }
808 1177
809 @media (max-width: 800px) { 1178 @media (max-width: 800px) {
810 .newline{height: 40px; 1179 .newline {
811 h3{width: 70%;font-size: 14px;} 1180 height: 40px;
812 span{font-size: 12px;} 1181
1182 h3 {
1183 width: 70%;
1184 font-size: 14px;
1185 }
1186
1187 span {
1188 font-size: 12px;
813 } 1189 }
814 .box{width: 94%} 1190 }
815 .calendarList{padding: 0; 1191 .box {
816 ul{ 1192 width: 94%
817 li{margin: 10px} 1193 }
1194 .calendarList {
1195 padding: 0;
1196
1197 ul {
1198 li {
1199 margin: 10px
818 } 1200 }
819 } 1201 }
820 .aboutBox{padding: 20px 30px;}
821 .indexTitle{margin: 30px 0 20px}
822 .teacher{height: 320px;margin: 0 0 20px;
823 img{height: 260px}
824 } 1202 }
825 .activeItem{margin: 0 0 20px;} 1203 .aboutBox {
826 .mapBox{ 1204 padding: 20px 30px;
827 div{padding-left: 40px;} 1205 }
828 .content{ width: 80%;left: 10%;padding:10px 20px 0 20px;} 1206 .indexTitle {
829 .address{margin: 30px 0;} 1207 margin: 30px 0 20px
830 p{text-align: left;word-break: break-all;} 1208 }
1209 .teacher {
1210 height: 320px;
1211 margin: 0 0 20px;
1212
1213 img {
1214 height: 260px
1215 }
1216 }
1217 .activeItem {
1218 margin: 0 0 20px;
1219 }
1220 .mapBox {
1221 div {
1222 padding-left: 40px;
1223 }
1224
1225 .content {
1226 width: 80%;
1227 left: 10%;
1228 padding: 10px 20px 0 20px;
1229 }
1230
1231 .address {
1232 margin: 30px 0;
1233 }
1234
1235 p {
1236 text-align: left;
1237 word-break: break-all;
1238 }
831 } 1239 }
832 .fixed_gg { 1240 .fixed_gg {
833 display: none; 1241 display: none;
834 } 1242 }
835 .bannerItem .banner-count{flex-direction: column; 1243 .bannerItem .banner-count {
836 transform: scale(0.5); width: auto; 1244 flex-direction: column;
1245 transform: scale(0.5);
1246 width: auto;
837 left: 0; 1247 left: 0;
838 right: 0; 1248 right: 0;
839 .van-count-down{margin: 30px 0 0;} 1249
1250 .van-count-down {
1251 margin: 30px 0 0;
1252 }
1253 }
1254 .bgbg {
1255 text-align: center;
1256
1257 h1 {
1258 text-align: center
840 } 1259 }
841 .bgbg{ text-align: center;
842 h1{text-align: center}
843 } 1260 }
844 } 1261 }
1262
845 :deep(.btn-q) { 1263 :deep(.btn-q) {
846 //background: #FFFFFF; 1264 //background: #FFFFFF;
847 //font-size: 18px; 1265 //font-size: 18px;
...@@ -864,16 +1282,16 @@ const goDetail = (n) => { ...@@ -864,16 +1282,16 @@ const goDetail = (n) => {
864 box-sizing: inherit; 1282 box-sizing: inherit;
865 } 1283 }
866 1284
867 .btn-q:hover{ 1285 .btn-q:hover {
868 box-shadow: 0 0 20px #453DEA; 1286 box-shadow: 0 0 20px #453DEA;
869 border-radius: 100px; 1287 border-radius: 100px;
870 background: #000 !important; 1288 background: #000 !important;
871 } 1289 }
872 1290
873 .ding{ 1291 .ding {
874 position: fixed; 1292 position: fixed;
875 right:0px; 1293 right: 0px;
876 z-index:99; 1294 z-index: 99;
877 top: 40%; 1295 top: 40%;
878 background: #000 !important; 1296 background: #000 !important;
879 box-shadow: none; 1297 box-shadow: none;
...@@ -882,16 +1300,34 @@ const goDetail = (n) => { ...@@ -882,16 +1300,34 @@ const goDetail = (n) => {
882 //height: 100px; 1300 //height: 100px;
883 padding: 20px; 1301 padding: 20px;
884 } 1302 }
885 .mb30{margin-bottom: 30px;} 1303
886 .livetimecount{position: absolute;top: 0;z-index: 2;background: #F04035; 1304 .mb30 {
1305 margin-bottom: 30px;
1306 }
1307
1308 .livetimecount {
1309 position: absolute;
1310 top: 0;
1311 z-index: 2;
1312 background: #F04035;
887 padding: 2px 4px; 1313 padding: 2px 4px;
888 &::after{content: ''; width: 0; 1314
889 height: 0;position: absolute;right: -15px;top: 0; 1315 &::after {
1316 content: '';
1317 width: 0;
1318 height: 0;
1319 position: absolute;
1320 right: -15px;
1321 top: 0;
890 border-top: 24px solid #F04035; 1322 border-top: 24px solid #F04035;
891 border-right: 15px solid transparent;} 1323 border-right: 15px solid transparent;
892 .van-count-down { display: flex; 1324 }
1325
1326 .van-count-down {
1327 display: flex;
893 color: #fff; 1328 color: #fff;
894 font-size: 14px; 1329 font-size: 14px;
1330
895 .block { 1331 .block {
896 color: #fff; 1332 color: #fff;
897 text-align: center; 1333 text-align: center;
...@@ -900,13 +1336,23 @@ const goDetail = (n) => { ...@@ -900,13 +1336,23 @@ const goDetail = (n) => {
900 } 1336 }
901 } 1337 }
902 } 1338 }
1339
903 @media (max-width: 500px) { 1340 @media (max-width: 500px) {
904 .forPc{display: none!important;} 1341 .forPc {
905 .zn-Box .bgbg{padding: 10px 0 0; 1342 display: none !important;
906 .mb30{margin: 0} 1343 }
907 .zn-btn{margin-top: 10px} 1344 .zn-Box .bgbg {
1345 padding: 10px 0 0;
1346
1347 .mb30 {
1348 margin: 0
1349 }
1350
1351 .zn-btn {
1352 margin-top: 10px
1353 }
908 } 1354 }
909 .logobox{ 1355 .logobox {
910 height: 60px; 1356 height: 60px;
911 } 1357 }
912 } 1358 }
......
1 import { defineConfig, loadEnv } from 'vite' 1 import {defineConfig, loadEnv} from 'vite'
2 import path, { resolve } from 'path' 2 import path, {resolve} from 'path'
3 import createVitePlugins from './vite/plugins' 3 import createVitePlugins from './vite/plugins'
4 import inject from '@rollup/plugin-inject' 4 import inject from '@rollup/plugin-inject'
5 import commonjs from '@rollup/plugin-commonjs' 5 import commonjs from '@rollup/plugin-commonjs'
6 // import legacy from '@vitejs/plugin-legacy' 6 // import legacy from '@vitejs/plugin-legacy'
7 7
8 // https://vitejs.dev/config/ 8 // https://vitejs.dev/config/
9 export default defineConfig(({ mode, command }) => { 9 export default defineConfig(({mode, command}) => {
10 const env = loadEnv(mode, process.cwd()) 10 const env = loadEnv(mode, process.cwd())
11 return { 11 return {
12 // 部署生产环境和开发环境下的URL。 12 // 部署生产环境和开发环境下的URL。
...@@ -82,7 +82,7 @@ export default defineConfig(({ mode, command }) => { ...@@ -82,7 +82,7 @@ export default defineConfig(({ mode, command }) => {
82 rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '') 82 rewrite: (p) => p.replace(/^\/dev-api\/ztx-webSite/, '')
83 }, 83 },
84 '/dev-api': { 84 '/dev-api': {
85 target: 'http://192.168.1.118:8082/', 85 // target: 'http://192.168.1.118:8082/',
86 // target: 'http://192.168.1.131:8081/', 86 // target: 'http://192.168.1.131:8081/',
87 // target: 'https://ces.2025wtcwuxi.com/stage-api/', 87 // target: 'https://ces.2025wtcwuxi.com/stage-api/',
88 // target: 'http://124.70.181.90:1880/stage-api', 88 // target: 'http://124.70.181.90:1880/stage-api',
...@@ -92,8 +92,8 @@ export default defineConfig(({ mode, command }) => { ...@@ -92,8 +92,8 @@ export default defineConfig(({ mode, command }) => {
92 }, 92 },
93 '/ticket': { 93 '/ticket': {
94 // target: 'http://192.168.1.131:8098/', 94 // target: 'http://192.168.1.131:8098/',
95 // target: 'http://192.168.1.131:8081/', 95 target: 'http://36.153.235.222:8899/',
96 target: 'https://jijin.wtwuxicenter.com/h5/', 96 // target: 'https://jijin.wtwuxicenter.com/h5/',
97 // target: 'https://ticketh5.wdsfwuxicenter.com/h5/', 97 // target: 'https://ticketh5.wdsfwuxicenter.com/h5/',
98 changeOrigin: true, 98 changeOrigin: true,
99 rewrite: (p) => p.replace(/^\/ticket/, '') 99 rewrite: (p) => p.replace(/^\/ticket/, '')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!