|
@@ -1,48 +1,54 @@
|
|
<template>
|
|
<template>
|
|
<div class="page">
|
|
<div class="page">
|
|
- <div class="one" data-aos="fade-up" data-aos-duration="1000">
|
|
|
|
- <div class="one_left">
|
|
|
|
- <el-carousel height="680px">
|
|
|
|
- <el-carousel-item v-for="(item, index) in carouselList" :key="index">
|
|
|
|
- <el-image class="image" :src="getUrl(item)" fit="fill" @click="toRedirect(item)" />
|
|
|
|
- </el-carousel-item>
|
|
|
|
- </el-carousel>
|
|
|
|
- </div>
|
|
|
|
- <div class="one_right">
|
|
|
|
- <div class="right_1">
|
|
|
|
- <div class="right_left">
|
|
|
|
- <span class="tab" :class="[item.value == active ? 'active' : '']" v-for="(item, index) in newList" :key="index" @click="toActive(item)">{{ item.label }}</span>
|
|
|
|
- </div>
|
|
|
|
- <div class="right_right">
|
|
|
|
- <div class="more_title" @click="toMore(0)">查看更多</div>
|
|
|
|
- <el-icon size="24"><ArrowRight /></el-icon>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="right_2">
|
|
|
|
- <vue3-seamless-scroll :list="list" :hover="true" :step="0.5" :limit-scroll-num="3" :wheel="true" :isWatch="true">
|
|
|
|
- <div class="list" v-for="(item, index) in list" :key="index" @click="toView(item, '0')">
|
|
|
|
- <div class="left">
|
|
|
|
- <el-image class="image" v-if="item.logo && item.logo.length > 0" :src="getFile(item.logo)" fit="fill">
|
|
|
|
- <template v-slot:error>
|
|
|
|
- <el-image v-if="item.type == '0'" class="image" :src="new_1" fit="fill" />
|
|
|
|
- <el-image v-else-if="item.type == '1'" class="image" :src="new_2" fit="fill" />
|
|
|
|
- <el-image v-else class="image" :src="new_2" fit="fill" />
|
|
|
|
- </template>
|
|
|
|
- </el-image>
|
|
|
|
- <div v-else>
|
|
|
|
- <el-image v-if="item.type == '0'" class="image" :src="new_1" fit="fill" />
|
|
|
|
- <el-image v-else-if="item.type == '1'" class="image" :src="new_2" fit="fill" />
|
|
|
|
- <el-image class="image" v-else :src="new_3" fit="fill" />
|
|
|
|
|
|
+ <div class="one">
|
|
|
|
+ <div class="one_1">
|
|
|
|
+ <!-- 导航 -->
|
|
|
|
+ <nav class="nav_bg1" :class="{ nav_bg2: y }">
|
|
|
|
+ <div class="list" v-for="(item, index) in linkList" :key="index" @click="selectMenu(item.route)" @mouseover="handleMouseOver(index)" @mouseout="handleMousOut(index)">
|
|
|
|
+ <div class="nav_title" :class="[item.hover == true ? 'activeLink' : '']">
|
|
|
|
+ {{ item.title }}
|
|
|
|
+ </div>
|
|
|
|
+ <div :class="[item.hover == true ? 'link1' : 'link2']"></div>
|
|
|
|
+ <div class="info" v-if="info.key == '3' && item.key == '3'">
|
|
|
|
+ <div class="info_1">
|
|
|
|
+ <div v-for="(tag, indexs) in info.children" :key="indexs" class="children" @click="selectMenu(tag.route)">
|
|
|
|
+ <span class="info_title"> {{ tag.title }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="right">
|
|
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ </nav>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="one_2">
|
|
|
|
+ <div class="one_content w_1700">
|
|
|
|
+ <div class="one_left"></div>
|
|
|
|
+ <div class="one_right">
|
|
|
|
+ <div class="right_1">
|
|
|
|
+ <div class="right_button" :class="[item.value == active ? 'active' : '']" v-for="(item, index) in newList" :key="index" @click="toActive(item)">
|
|
|
|
+ <span class="tab">{{ item.label }}</span>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="right_2">
|
|
|
|
+ <div class="list" v-for="(item, index) in list" :key="index" @click="toView(item, '0')">
|
|
<div class="new_title textOne">
|
|
<div class="new_title textOne">
|
|
{{ item.title || '暂无标题' }}
|
|
{{ item.title || '暂无标题' }}
|
|
</div>
|
|
</div>
|
|
- <div class="new_content textMore">{{ removeHtmlStyle(item.content) || '暂无内容' }}</div>
|
|
|
|
|
|
+ <!-- <div class="new_content textMore">{{ removeHtmlStyle(item.content) || '暂无内容' }}</div> -->
|
|
|
|
+ </div>
|
|
|
|
+ <div class="more">
|
|
|
|
+ <div class="more_title" @click="toMore(0)">查看更多</div>
|
|
|
|
+ <el-icon size="24"><ArrowRight /></el-icon>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- </vue3-seamless-scroll>
|
|
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="one_video">
|
|
|
|
+ <div class="video-background">
|
|
|
|
+ <video ref="backgroundVideo" autoplay loop muted :playbackRate="0.5">
|
|
|
|
+ <source :src="homeBg" type="video/mp4" />
|
|
|
|
+ Your browser does not support the video tag.
|
|
|
|
+ </video>
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -128,26 +134,27 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
-import { get } from 'lodash-es'
|
|
|
|
|
|
+// import { get } from 'lodash-es'
|
|
import { useNumberAnimation } from '@/utils/animation'
|
|
import { useNumberAnimation } from '@/utils/animation'
|
|
|
|
|
|
// 图片引入
|
|
// 图片引入
|
|
import icon from '/images/icon.png'
|
|
import icon from '/images/icon.png'
|
|
-import new_1 from '/images/new_1.png'
|
|
|
|
-import new_2 from '/images/new_2.png'
|
|
|
|
-import new_3 from '/images/new_3.png'
|
|
|
|
import friend from '/images/friend.jpeg'
|
|
import friend from '/images/friend.jpeg'
|
|
import baseLogo from '/images/base.jpg'
|
|
import baseLogo from '/images/base.jpg'
|
|
|
|
+import homeBg from '/images/home.mp4'
|
|
// 用户信息
|
|
// 用户信息
|
|
import { UserStore } from '@/store/user'
|
|
import { UserStore } from '@/store/user'
|
|
const userStore = UserStore()
|
|
const userStore = UserStore()
|
|
const user = computed(() => userStore.user)
|
|
const user = computed(() => userStore.user)
|
|
|
|
|
|
|
|
+// 获取滚动条y轴坐标
|
|
|
|
+const { y } = useWindowScroll({ behavior: 'smooth' })
|
|
// 路由
|
|
// 路由
|
|
const router = useRouter()
|
|
const router = useRouter()
|
|
|
|
+const route = useRoute()
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
- carouselList: { type: Array, default: () => [] },
|
|
|
|
|
|
+ linkList: { type: Array, default: () => [] },
|
|
friendList: { type: Array, default: () => [] },
|
|
friendList: { type: Array, default: () => [] },
|
|
incubatorList: { type: Array, default: () => [] },
|
|
incubatorList: { type: Array, default: () => [] },
|
|
achieveList: { type: Array, default: () => [] },
|
|
achieveList: { type: Array, default: () => [] },
|
|
@@ -155,12 +162,14 @@ const props = defineProps({
|
|
list: { type: Array, default: () => [] }
|
|
list: { type: Array, default: () => [] }
|
|
})
|
|
})
|
|
|
|
|
|
-const { carouselList, incubatorList, recordList } = toRefs(props)
|
|
|
|
|
|
+const { linkList, incubatorList, recordList } = toRefs(props)
|
|
|
|
|
|
const emits = defineEmits(['toActive'])
|
|
const emits = defineEmits(['toActive'])
|
|
|
|
|
|
const active = ref('0')
|
|
const active = ref('0')
|
|
const recordInfo = ref({})
|
|
const recordInfo = ref({})
|
|
|
|
+const info = ref({})
|
|
|
|
+const backgroundVideo = ref(null)
|
|
const newList = ref([
|
|
const newList = ref([
|
|
{ value: '0', label: '政策信息' },
|
|
{ value: '0', label: '政策信息' },
|
|
{ value: '1', label: '新闻通知' },
|
|
{ value: '1', label: '新闻通知' },
|
|
@@ -171,13 +180,13 @@ const toActive = async (item) => {
|
|
active.value = item.value
|
|
active.value = item.value
|
|
emits('toActive', item.value)
|
|
emits('toActive', item.value)
|
|
}
|
|
}
|
|
-const toRedirect = (data) => {
|
|
|
|
- const to = get(data, 'to')
|
|
|
|
- if (to) window.open(to)
|
|
|
|
-}
|
|
|
|
-const getUrl = (item) => {
|
|
|
|
- if (item) return `${import.meta.env.VITE_APP_HOST}${item.uri}`
|
|
|
|
-}
|
|
|
|
|
|
+// const toRedirect = (data) => {
|
|
|
|
+// const to = get(data, 'to')
|
|
|
|
+// if (to) window.open(to)
|
|
|
|
+// }
|
|
|
|
+// const getUrl = (item) => {
|
|
|
|
+// if (item) return `${import.meta.env.VITE_APP_HOST}${item.uri}`
|
|
|
|
+// }
|
|
const getFile = (item) => {
|
|
const getFile = (item) => {
|
|
if (item && item.length > 0) return `${import.meta.env.VITE_APP_HOST}${item[0].uri}`
|
|
if (item && item.length > 0) return `${import.meta.env.VITE_APP_HOST}${item[0].uri}`
|
|
}
|
|
}
|
|
@@ -193,6 +202,14 @@ const toView = (item, type) => {
|
|
} else ElMessage({ message: '未登录!', type: 'error' })
|
|
} else ElMessage({ message: '未登录!', type: 'error' })
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+// 循环播放
|
|
|
|
+const restartVideo = () => {
|
|
|
|
+ if (backgroundVideo.value && backgroundVideo.value.paused) {
|
|
|
|
+ backgroundVideo.value.play().catch((error) => {
|
|
|
|
+ console.error('Auto play failed:', error)
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+}
|
|
// 查看更多
|
|
// 查看更多
|
|
const toMore = (type) => {
|
|
const toMore = (type) => {
|
|
if (type == '0') router.push({ path: '/news' })
|
|
if (type == '0') router.push({ path: '/news' })
|
|
@@ -204,6 +221,20 @@ const getArea = (data) => {
|
|
if (data) return data.join('-')
|
|
if (data) return data.join('-')
|
|
else return '暂无地区'
|
|
else return '暂无地区'
|
|
}
|
|
}
|
|
|
|
+const selectMenu = (item, query) => {
|
|
|
|
+ if (item) {
|
|
|
|
+ for (const val of linkList.value) {
|
|
|
|
+ if (route.name === val.route) val.hover = true
|
|
|
|
+ else val.hover = false
|
|
|
|
+ }
|
|
|
|
+ if (item == 'two' || item == 'twelve') {
|
|
|
|
+ if (user.value.id) {
|
|
|
|
+ router.push({ path: `/${item}`, query })
|
|
|
|
+ } else ElMessage({ message: '未登录!', type: 'error' })
|
|
|
|
+ } else if (item == 'brain') window.open(`/brain`)
|
|
|
|
+ else router.push({ path: `/${item}`, query })
|
|
|
|
+ }
|
|
|
|
+}
|
|
// 富文本处理
|
|
// 富文本处理
|
|
const removeHtmlStyle = (html) => {
|
|
const removeHtmlStyle = (html) => {
|
|
let relStyle = /style\s*?=\s*?([‘"])[\s\S]*?\1/g //去除样式
|
|
let relStyle = /style\s*?=\s*?([‘"])[\s\S]*?\1/g //去除样式
|
|
@@ -221,11 +252,26 @@ const removeHtmlStyle = (html) => {
|
|
const toFriend = (item) => {
|
|
const toFriend = (item) => {
|
|
router.push({ path: '/friend/detail', query: { code: item.code } })
|
|
router.push({ path: '/friend/detail', query: { code: item.code } })
|
|
}
|
|
}
|
|
|
|
+const handleMouseOver = (index) => {
|
|
|
|
+ linkList.value[index].hover = true
|
|
|
|
+ info.value = linkList.value[index]
|
|
|
|
+}
|
|
|
|
+const handleMousOut = (index) => {
|
|
|
|
+ linkList.value[index].hover = false
|
|
|
|
+ const arr = linkList.value.every((i) => i.hover === false)
|
|
|
|
+ if (arr) {
|
|
|
|
+ for (const val of linkList.value) {
|
|
|
|
+ if (route.name === val.route) val.hover = true
|
|
|
|
+ else val.hover = false
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
// 请求
|
|
// 请求
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
setTimeout(async () => {
|
|
setTimeout(async () => {
|
|
await Animation()
|
|
await Animation()
|
|
}, 2000)
|
|
}, 2000)
|
|
|
|
+ restartVideo()
|
|
})
|
|
})
|
|
// 选择数据分析
|
|
// 选择数据分析
|
|
const Animation = () => {
|
|
const Animation = () => {
|
|
@@ -251,6 +297,15 @@ watch(
|
|
deep: true
|
|
deep: true
|
|
}
|
|
}
|
|
)
|
|
)
|
|
|
|
+watch(
|
|
|
|
+ route,
|
|
|
|
+ () => {
|
|
|
|
+ restartVideo()
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ deep: true
|
|
|
|
+ }
|
|
|
|
+)
|
|
</script>
|
|
</script>
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
.page {
|
|
.page {
|
|
@@ -273,79 +328,200 @@ watch(
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.one {
|
|
.one {
|
|
- max-width: 1700px;
|
|
|
|
- margin: 30px auto 0;
|
|
|
|
- height: 680px;
|
|
|
|
- display: flex;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- .one_left {
|
|
|
|
- width: 50%;
|
|
|
|
- .image {
|
|
|
|
- height: 100%;
|
|
|
|
- width: 100%;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .one_right {
|
|
|
|
- width: 48%;
|
|
|
|
- padding: 0 0 0 10px;
|
|
|
|
- .right_1 {
|
|
|
|
|
|
+ position: relative;
|
|
|
|
+ height: 845px;
|
|
|
|
+ background: rgba(0, 0, 0, 0.2);
|
|
|
|
+ .one_1 {
|
|
|
|
+ .nav_bg1 {
|
|
display: flex;
|
|
display: flex;
|
|
- align-items: center;
|
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
- margin: 0 0 10px 0;
|
|
|
|
-
|
|
|
|
- .right_left {
|
|
|
|
- font-size: $global-font-size-28;
|
|
|
|
- .tab {
|
|
|
|
- margin: 0 30px 0 0;
|
|
|
|
- cursor: pointer;
|
|
|
|
|
|
+ padding: 10px 110px;
|
|
|
|
+ -webkit-transition: all 0.8s ease;
|
|
|
|
+ transition: all 0.8s ease;
|
|
|
|
+ .list {
|
|
|
|
+ position: relative;
|
|
|
|
+ color: #fff;
|
|
|
|
+ .nav_title {
|
|
|
|
+ cursor: default;
|
|
|
|
+ text-align: center;
|
|
|
|
+ font-size: 24px;
|
|
|
|
+ padding: 20px 0;
|
|
|
|
+ font-weight: normal;
|
|
|
|
+ }
|
|
|
|
+ .activeLink {
|
|
|
|
+ color: #0077ff;
|
|
}
|
|
}
|
|
- .active {
|
|
|
|
- font-size: 40px;
|
|
|
|
|
|
+ .link1 {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 2px;
|
|
|
|
+ background: linear-gradient(to bottom, #009fff, #0077ff);
|
|
|
|
+ }
|
|
|
|
+ .link2 {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 2px;
|
|
|
|
+ }
|
|
|
|
+ .info {
|
|
|
|
+ display: none;
|
|
|
|
+ position: absolute;
|
|
|
|
+ bottom: -100px;
|
|
|
|
+ left: -40px;
|
|
|
|
+ z-index: 100;
|
|
|
|
+ background: rgba(255, 255, 255, 0.9); /* 白色背景半透明 */
|
|
|
|
+ .info_1 {
|
|
|
|
+ .children {
|
|
|
|
+ width: 160px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ line-height: 45px;
|
|
|
|
+ font-size: 18px;
|
|
|
|
+ cursor: default;
|
|
|
|
+ }
|
|
|
|
+ .children:hover {
|
|
|
|
+ background: linear-gradient(to bottom, #009fff, #0077ff);
|
|
|
|
+ color: #fff;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .right_right {
|
|
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
- font-size: 24px;
|
|
|
|
- cursor: default;
|
|
|
|
|
|
+ }
|
|
|
|
+ .nav_bg1:hover {
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ -webkit-transition: all 0.8s ease;
|
|
|
|
+ transition: all 0.8s ease;
|
|
|
|
+ .list {
|
|
|
|
+ color: #444;
|
|
|
|
+ .link1 {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 2px;
|
|
|
|
+ background: linear-gradient(to bottom, #009fff, #0077ff);
|
|
|
|
+ }
|
|
|
|
+ .link2 {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 2px;
|
|
|
|
+ }
|
|
|
|
+ .info {
|
|
|
|
+ display: block !important;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .right_2 {
|
|
|
|
- height: 630px;
|
|
|
|
- overflow: hidden;
|
|
|
|
|
|
+ .nav_bg2 {
|
|
|
|
+ position: fixed;
|
|
|
|
+ left: 0;
|
|
|
|
+ top: 0;
|
|
|
|
+ width: 100%;
|
|
|
|
+ z-index: 1000;
|
|
|
|
+ background-color: #ffff;
|
|
|
|
+ -webkit-transition: all 0.8s ease;
|
|
|
|
+ transition: all 0.8s ease;
|
|
.list {
|
|
.list {
|
|
|
|
+ color: #444;
|
|
|
|
+ .link1 {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 2px;
|
|
|
|
+ background: linear-gradient(to bottom, #009fff, #0077ff);
|
|
|
|
+ }
|
|
|
|
+ .link2 {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 2px;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ @media screen and (max-width: 1280px) {
|
|
|
|
+ .nav_bg2 {
|
|
|
|
+ min-width: 1920px;
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ @media screen and (min-width: 1921px) {
|
|
|
|
+ .nav_bg2 {
|
|
|
|
+ max-width: 1920px;
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .one_2 {
|
|
|
|
+ .one_content {
|
|
|
|
+ margin: 30px auto 0;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ color: #fff;
|
|
|
|
+ width: 100%;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ .one_left {
|
|
|
|
+ text-align: center;
|
|
|
|
+ width: 40%;
|
|
|
|
+ }
|
|
|
|
+ .one_right {
|
|
|
|
+ width: 60%;
|
|
display: flex;
|
|
display: flex;
|
|
- border-bottom: 1px solid #979797;
|
|
|
|
- padding: 30px 0;
|
|
|
|
- .left {
|
|
|
|
- width: 200px;
|
|
|
|
- margin: 0 10px 0 0;
|
|
|
|
- .image {
|
|
|
|
- width: 200px;
|
|
|
|
- height: 150px;
|
|
|
|
|
|
+ .right_1 {
|
|
|
|
+ width: 25%;
|
|
|
|
+ .right_button {
|
|
|
|
+ font-size: $global-font-size-28;
|
|
|
|
+ border: 2px solid #fff;
|
|
|
|
+ padding: 20px 10px;
|
|
|
|
+ line-height: 28px;
|
|
|
|
+ display: block;
|
|
|
|
+ transition: 0.5s;
|
|
|
|
+ width: 170px;
|
|
|
|
+ text-align: center;
|
|
|
|
+ color: #fff;
|
|
|
|
+ margin: 90px 0;
|
|
|
|
+ .tab {
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- }
|
|
|
|
- .right {
|
|
|
|
- width: 700px;
|
|
|
|
- .new_title {
|
|
|
|
- font-size: $global-font-size-24;
|
|
|
|
- font-weight: 600;
|
|
|
|
- color: #5f5f5f;
|
|
|
|
- cursor: default;
|
|
|
|
- margin: 0 0 10px 0;
|
|
|
|
|
|
+ .active {
|
|
|
|
+ border: 2px solid #009fff;
|
|
|
|
+ background: linear-gradient(to bottom, #009fff, #0077ff);
|
|
|
|
+ }
|
|
|
|
+ .right_button:hover {
|
|
|
|
+ border: 2px solid #009fff;
|
|
|
|
+ background: linear-gradient(to bottom, #009fff, #0077ff);
|
|
}
|
|
}
|
|
- .new_title:hover {
|
|
|
|
- color: #006cff;
|
|
|
|
|
|
+ }
|
|
|
|
+ .right_2 {
|
|
|
|
+ width: 75%;
|
|
|
|
+ .list {
|
|
|
|
+ padding: 40px 0 0 0;
|
|
|
|
+ .new_title {
|
|
|
|
+ font-size: $global-font-size-20;
|
|
|
|
+ font-weight: 600;
|
|
|
|
+ cursor: default;
|
|
|
|
+ margin: 0 0 10px 0;
|
|
|
|
+ }
|
|
|
|
+ .new_content {
|
|
|
|
+ margin: 15px 0 0 0;
|
|
|
|
+ font-size: $global-font-size-18;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
- .new_content {
|
|
|
|
- margin: 14px 0 0 0;
|
|
|
|
- color: #9ea6b3;
|
|
|
|
- font-size: $global-font-size-20;
|
|
|
|
|
|
+ .more {
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: flex-end;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ cursor: default;
|
|
|
|
+ margin: 40px 0 0 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .video-background {
|
|
|
|
+ position: absolute;
|
|
|
|
+ right: 0;
|
|
|
|
+ bottom: 0;
|
|
|
|
+ min-width: 100%;
|
|
|
|
+ min-height: 100%;
|
|
|
|
+ width: auto;
|
|
|
|
+ height: auto;
|
|
|
|
+ z-index: -1;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ .video-background video {
|
|
|
|
+ position: absolute;
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: 100%;
|
|
|
|
+ object-fit: cover; /* Maintain aspect ratio */
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.two {
|
|
.two {
|