3b0f7979 by zhangmeng

封面

1 parent 70a23746
......@@ -415,11 +415,25 @@
</div>
<!-- 邀请函-->
<div v-if="matchData.leagueId==0" class="fixed_gg_l yaoQing" @click="applyInvitation">
<img v-if="language==0" src="@/assets/logo/Invitation_c.png">
<img v-else src="@/assets/logo/Invitation_e.png">
<div v-if="matchData.leagueId==0" class="fixed_gg_l yaoQing">
<img v-if="language==0" src="@/assets/logo/Invitation_c.png" @click="applyInvitation">
<img v-else src="@/assets/logo/Invitation_e.png" @click="applyInvitation">
<!-- <img src="@/assets/logo/club.jpg">-->
<div style="padding-left: 7px;">
<el-image
:preview-src-list="[clubImage]"
:src="clubImage"
fit="cover"
preview-teleported
style="width: 124px"
/>
</div>
</div>
<div class="fixed_gg_l club" />
<affix-invitation ref="dialogInvitationRef" />
</div>
</template>
......@@ -430,6 +444,8 @@ import { ref, nextTick, onMounted, watch } from 'vue'
import { getCurrentInstance } from '@vue/runtime-core'
import { getHomePage, getNewsListById, getNewsList, getRank } from '@/apiPc/webSite'
import { useRouter } from 'vue-router'
import clubImage from '@/assets/logo/club.jpg'
import { rankList } from '@/assets/js/data'
import _ from 'lodash'
import { Swiper, SwiperSlide } from 'swiper/vue'
......@@ -1240,4 +1256,10 @@ function applyInvitation() {
top: 40%;
}
.club {
width: 160px;
left: 5px;
top: 50%;
}
</style>
......
......@@ -2,7 +2,7 @@
<div>
<div class="banner">
<el-carousel
:autoplay="false" :interval="2000" arrow="hover" autoplay class="forPc"
:autoplay="false" :interval="2000" arrow="hover" class="forPc"
height="450px"
@change="carouselChange"
>
......@@ -397,9 +397,18 @@
</div>
<!-- 邀请函-->
<div v-if="matchData.leagueId==0" class="fixed_gg_l yaoQing" @click="applyInvitation">
<img v-if="language==0" src="@/assets/logo/Invitation_c.png">
<img v-else src="@/assets/logo/Invitation_e.png">
<div v-if="matchData.leagueId==0" class="fixed_gg_l yaoQing">
<img v-if="language==0" src="@/assets/logo/Invitation_c.png" @click="applyInvitation">
<img v-else src="@/assets/logo/Invitation_e.png" @click="applyInvitation">
<div style="padding-left: 7px;">
<el-image
:preview-src-list="[clubImage]"
:src="clubImage"
fit="cover"
preview-teleported
style="width: 124px"
/>
</div>
</div>
<affix-invitation ref="dialogInvitationRef" />
......@@ -422,6 +431,7 @@ import { rankList } from '@/assets/js/data'
import AffixInvitation from '/@/viewsPc/match/components/affix-invitation.vue'
import { useStorage } from '@vueuse/core/index'
import useUserStore from '/@/store/modules/user'
import clubImage from '@/assets/logo/club.jpg'
const language = useStorage('language', 0)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!