mirror of
https://gitee.com/XiaoLFeng/JSL_OrganizeInternalOA_Web.git
synced 2025-06-08 11:43:04 +08:00
完善页面
This commit is contained in:
parent
b043e7b330
commit
1976dfc810
@ -10,4 +10,5 @@
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.js"></script>
|
||||
</body>
|
||||
<script type="application/javascript" src="/src/assets/flowbite.js"></script>
|
||||
</html>
|
||||
|
5070
src/assets/flowbite.js
Normal file
5070
src/assets/flowbite.js
Normal file
File diff suppressed because it is too large
Load Diff
55
src/components/MainPage/Carousel.vue
Normal file
55
src/components/MainPage/Carousel.vue
Normal file
@ -0,0 +1,55 @@
|
||||
<template>
|
||||
<div id="default-carousel" class="relative w-full" data-carousel="slide">
|
||||
<!-- Carousel wrapper -->
|
||||
<div class="relative overflow-hidden rounded-lg h-[600px]">
|
||||
<!-- Item 1 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
<!-- Item 2 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
<!-- Item 3 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
<!-- Item 4 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
<!-- Item 5 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
</div>
|
||||
<!-- Slider indicators -->
|
||||
<div class="absolute z-30 flex -translate-x-1/2 bottom-5 left-1/2 space-x-3 rtl:space-x-reverse">
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="true" aria-label="Slide 1" data-carousel-slide-to="0"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 2" data-carousel-slide-to="1"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 3" data-carousel-slide-to="2"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 4" data-carousel-slide-to="3"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 5" data-carousel-slide-to="4"></button>
|
||||
</div>
|
||||
<!-- Slider controls -->
|
||||
<button type="button" class="absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none" data-carousel-prev>
|
||||
<span class="inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none">
|
||||
<svg class="w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 6 10">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 1 1 5l4 4"/>
|
||||
</svg>
|
||||
<span class="sr-only">Previous</span>
|
||||
</span>
|
||||
</button>
|
||||
<button type="button" class="absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none" data-carousel-next>
|
||||
<span class="inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none">
|
||||
<svg class="w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 6 10">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 9 4-4-4-4"/>
|
||||
</svg>
|
||||
<span class="sr-only">Next</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
<script setup>
|
||||
</script>
|
114
src/components/MainPage/ExcellentMember.vue
Normal file
114
src/components/MainPage/ExcellentMember.vue
Normal file
@ -0,0 +1,114 @@
|
||||
<template>
|
||||
<div id="default-carousel" class="relative w-full" data-carousel="slide">
|
||||
<!-- Carousel wrapper -->
|
||||
<div class="relative overflow-hidden rounded-lg h-[600px]">
|
||||
<!-- Item 1 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img class="w-10 h-10 p-1 rounded-full ring-2 ring-gray-300 dark:ring-gray-500" src="" alt="Bordered avatar">
|
||||
<p>子墨</p>
|
||||
</div>
|
||||
<!-- Item 2 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
<!-- Item 3 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
<!-- Item 4 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
<!-- Item 5 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
</div>
|
||||
<!-- Slider indicators -->
|
||||
<div class="absolute z-30 flex -translate-x-1/2 bottom-5 left-1/2 space-x-3 rtl:space-x-reverse">
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="true" aria-label="Slide 1" data-carousel-slide-to="0"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 2" data-carousel-slide-to="1"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 3" data-carousel-slide-to="2"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 4" data-carousel-slide-to="3"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 5" data-carousel-slide-to="4"></button>
|
||||
</div>
|
||||
<!-- Slider controls -->
|
||||
<button type="button" class="absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none" data-carousel-prev>
|
||||
<span class="inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none">
|
||||
<svg class="w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 6 10">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 1 1 5l4 4"/>
|
||||
</svg>
|
||||
<span class="sr-only">Previous</span>
|
||||
</span>
|
||||
</button>
|
||||
<button type="button" class="absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none" data-carousel-next>
|
||||
<span class="inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none">
|
||||
<svg class="w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 6 10">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 9 4-4-4-4"/>
|
||||
</svg>
|
||||
<span class="sr-only">Next</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
// 这里假设你正在使用 Vue.js
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
currentSlide: 0, // 当前显示的幻灯片索引
|
||||
totalSlides: 5, // 总共的幻灯片数量
|
||||
};
|
||||
},
|
||||
methods: {
|
||||
showSlide(index) {
|
||||
// 显示特定索引的幻灯片
|
||||
const slides = document.querySelectorAll('[data-carousel-item]');
|
||||
slides.forEach((slide, i) => {
|
||||
if (i === index) {
|
||||
slide.classList.remove('hidden');
|
||||
} else {
|
||||
slide.classList.add('hidden');
|
||||
}
|
||||
});
|
||||
},
|
||||
updateIndicators() {
|
||||
// 更新指示器的状态
|
||||
const indicators = document.querySelectorAll('[data-carousel-slide-to]');
|
||||
indicators.forEach((indicator, i) => {
|
||||
if (i === this.currentSlide) {
|
||||
indicator.setAttribute('aria-current', 'true');
|
||||
} else {
|
||||
indicator.setAttribute('aria-current', 'false');
|
||||
}
|
||||
});
|
||||
},
|
||||
nextSlide() {
|
||||
// 显示下一张幻灯片
|
||||
this.currentSlide = (this.currentSlide + 1) % this.totalSlides;
|
||||
this.showSlide(this.currentSlide);
|
||||
this.updateIndicators();
|
||||
},
|
||||
prevSlide() {
|
||||
// 显示上一张幻灯片
|
||||
this.currentSlide = (this.currentSlide - 1 + this.totalSlides) % this.totalSlides;
|
||||
this.showSlide(this.currentSlide);
|
||||
this.updateIndicators();
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
// 默认显示第一张幻灯片
|
||||
this.showSlide(this.currentSlide);
|
||||
|
||||
// 绑定事件处理程序,处理前进和后退按钮的点击事件
|
||||
document.querySelector('[data-carousel-prev]').addEventListener('click', this.prevSlide);
|
||||
document.querySelector('[data-carousel-next]').addEventListener('click', this.nextSlide);
|
||||
},
|
||||
beforeDestroy() {
|
||||
// 在组件销毁前解除事件监听
|
||||
document.querySelector('[data-carousel-prev]').removeEventListener('click', this.prevSlide);
|
||||
document.querySelector('[data-carousel-next]').removeEventListener('click', this.nextSlide);
|
||||
},
|
||||
};
|
||||
|
||||
</script>
|
52
src/components/MainPage/NavBar.vue
Normal file
52
src/components/MainPage/NavBar.vue
Normal file
@ -0,0 +1,52 @@
|
||||
<template>
|
||||
<nav class="w-full z-20 top-0 start-0 border-b border-gray-200 dark:border-gray-600">
|
||||
<div class="container w-full flex flex-wrap items-center justify-between mx-auto p-4">
|
||||
<div>
|
||||
<span class="ml-6 text-2xl font-semibold dark:text-white">LOGO</span>
|
||||
</div>
|
||||
<div class="flex md:order-2 space-x-6 mr-10">
|
||||
<a href="/login" class="text-gray-500 hover:text-black focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">登录</a>
|
||||
<a href="/register" class="ml-6 text-gray-500 hover:text-black focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">注册</a>
|
||||
</div>
|
||||
<div class="items-center justify-between hidden w-full md:flex md:w-auto md:order-1" id="navbar-sticky">
|
||||
<ul class="flex flex-col p-4 md:p-0 mt-4 font-medium border border-gray-100 rounded-lg md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700">
|
||||
<li>
|
||||
<a href="#" class="block py-2 px-3 text-white bg-blue-700 rounded md:bg-transparent md:text-blue-700 md:p-0 md:dark:text-blue-500" aria-current="page">主页</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class=" flex items-center py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700">
|
||||
关于
|
||||
<svg class="w-2.5 h-2.5 ms-2.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 4 4 4-4"/>
|
||||
</svg>
|
||||
</a>
|
||||
<div id="dropdownNavbar" class="z-10 hidden font-normal bg-white divide-y divide-gray-100 rounded-lg shadow w-44 dark:bg-gray-700 dark:divide-gray-600">
|
||||
<ul class="py-2 text-sm text-gray-700 dark:text-gray-400" aria-labelledby="dropdownLargeButton">
|
||||
<li>
|
||||
<a href="#" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white">关于我们</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white">加入我们</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="block px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white">项目合作</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="py-1">
|
||||
<a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 dark:hover:bg-gray-600 dark:text-gray-200 dark:hover:text-white">Sign out</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700">服务内容</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700">联系我们</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</template>
|
||||
<script setup>
|
||||
</script>
|
51
src/components/MainPage/NewProfile.vue
Normal file
51
src/components/MainPage/NewProfile.vue
Normal file
@ -0,0 +1,51 @@
|
||||
<template>
|
||||
<div class="container mt-40 mx-auto">
|
||||
<h2 class="text-3xl font-bold mb-6 text-center text-gray-900 dark:text-white">新闻与活动</h2>
|
||||
<div class="flex space-x-8">
|
||||
<div class="w-1/3 h-96 border-gray-400 bg-white">
|
||||
<a href="">
|
||||
<img src="" alt="" class="w-full h-60 border border-gray-400">
|
||||
<div class="ml-4">
|
||||
<h3 class="text-lg font-bold mt-10">新闻标题1</h3>
|
||||
<h4 class="mt-2 mb-4">时间</h4>
|
||||
<p class="ml-2">新闻简要内容</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class=" w-1/3 h-96 border-gray-400 bg-white">
|
||||
<a href="">
|
||||
<img src="" alt="" class="w-full h-60 border border-gray-400">
|
||||
<div class="ml-4">
|
||||
<h3 class="text-lg font-bold mt-10">新闻标题1</h3>
|
||||
<h4 class="mt-2 mb-4">时间</h4>
|
||||
<p class="ml-2">新闻简要内容</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex flex-col space-y-2 w-1/3 h-96 border-gray-400 bg-gray-100">
|
||||
<a href="" class="mt-4 ml-2 w-full h-20 hover:text-red-700">
|
||||
<h3 class="text-lg font-bold">新闻1</h3>
|
||||
<p>时间</p>
|
||||
</a>
|
||||
<a href="" class="ml-2 w-full h-20 hover:text-red-700">
|
||||
<h3 class="text-lg font-bold">新闻2</h3>
|
||||
<p>时间</p>
|
||||
</a>
|
||||
<a href="" class="ml-2 w-full h-20 hover:text-red-700">
|
||||
<h3 class="text-lg font-bold">新闻3</h3>
|
||||
<p>时间</p>
|
||||
</a>
|
||||
<a href="" class="ml-2 w-full h-20 hover:text-red-700">
|
||||
<h3 class="text-lg font-bold">新闻4</h3>
|
||||
<p>时间</p>
|
||||
</a>
|
||||
<a href="" class="ml-2 w-full h-20 hover:text-red-700">
|
||||
<h3 class="text-lg font-bold">新闻5</h3>
|
||||
<p>时间</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
</script>
|
39
src/components/MainPage/ProjectCard.vue
Normal file
39
src/components/MainPage/ProjectCard.vue
Normal file
@ -0,0 +1,39 @@
|
||||
<template>
|
||||
<div class="flex flex-col space-y-2 p-5" :class="{ 'hovered': isHovered }" @mouseover="handleMouseOver" @mouseleave="handleMouseLeave">
|
||||
<h5 class="mt-44 text-2xl font-bold tracking-tight text-gray-900 dark:text-white" v-if="isHovered">{{project.title}}</h5>
|
||||
<div class="flex items-center">
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400" v-if="isHovered">{{project.intro}}</p>
|
||||
<button v-if="isHovered" @click="handleButtonClick" class="inline-flex items-center bg-sky-200 text-black rounded-full transition duration-300 ease-in-out transform hover:scale-105">
|
||||
<svg class="rtl:rotate-180 w-3.5 h-3.5 ms-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default{
|
||||
props:{
|
||||
project:{
|
||||
type:Object,
|
||||
required:true,
|
||||
},
|
||||
},
|
||||
data(){
|
||||
return{
|
||||
isHovered:false,
|
||||
};
|
||||
},
|
||||
methods:{
|
||||
handleMouseOver(){
|
||||
this.isHovered = true;
|
||||
},
|
||||
handleMouseLeave(){
|
||||
this.isHovered = false;
|
||||
},
|
||||
handleButtonClick(){
|
||||
console.log('Button Clicked');
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
71
src/components/MainPage/ProjectList.vue
Normal file
71
src/components/MainPage/ProjectList.vue
Normal file
@ -0,0 +1,71 @@
|
||||
<template>
|
||||
<div class="container w-full ml-96">
|
||||
<h2 class="text-3xl font-bold ml-96 mb-20">项目展示</h2>
|
||||
<div class="flex flex-col space-y-8">
|
||||
<div class="flex space-x-6">
|
||||
<div class="bg-white border-gray-400 shadow-lg h-72 w-72">
|
||||
<ProjectCard :project="projects[0]" />
|
||||
</div>
|
||||
<div class="bg-white border-gray-400 shadow-lg h-72 w-72">
|
||||
<ProjectCard :project="projects[1]" />
|
||||
</div>
|
||||
<div class="bg-white border-gray-400 shadow-lg h-72 w-72">
|
||||
<ProjectCard :project="projects[2]" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex space-x-6">
|
||||
<div class="bg-white border-gray-400 shadow-lg h-72 w-72">
|
||||
<ProjectCard :project="projects[3]" />
|
||||
</div>
|
||||
<div class="bg-white border-gray-400 shadow-lg h-72 w-72">
|
||||
<ProjectCard :project="projects[4]" />
|
||||
</div>
|
||||
<div class="bg-white border-gray-400 shadow-lg h-72 w-72">
|
||||
<ProjectCard :project="projects[5]" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import ProjectCard from "@/components/MainPage/ProjectCard.vue";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
ProjectCard,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
projects: [
|
||||
{
|
||||
title: 'Project 1',
|
||||
intro: 'introduction for Project 1.',
|
||||
},
|
||||
{
|
||||
title: 'Project 2',
|
||||
intro: 'introduction for Project 2.',
|
||||
},
|
||||
{
|
||||
title: 'Project 3',
|
||||
intro: 'introduction for Project 3.',
|
||||
},
|
||||
{
|
||||
title: 'Project 4',
|
||||
intro: 'introduction for Project 3.',
|
||||
},
|
||||
{
|
||||
title: 'Project 5',
|
||||
intro: 'introduction for Project 3.',
|
||||
},
|
||||
{
|
||||
title: 'Project 6',
|
||||
intro: 'introduction for Project 3.',
|
||||
},
|
||||
],
|
||||
};
|
||||
},
|
||||
};
|
||||
</script>
|
17
src/components/MainPage/TeamProfile.vue
Normal file
17
src/components/MainPage/TeamProfile.vue
Normal file
@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<div class="container mx-auto mt-72">
|
||||
<h2 class="text-3xl font-bold mb-6 text-gray-900 dark:text-white">
|
||||
关于
|
||||
</h2>
|
||||
<div class="flex space-x-4">
|
||||
<div class="mt-40 ml-20 mr-96">
|
||||
团队介绍
|
||||
</div>
|
||||
<div role="status" class="flex items-center justify-center mt-10 mb-72 h-96 w-1/2 bg-white shadow-lg">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
</script>
|
@ -1,281 +1,57 @@
|
||||
<template>
|
||||
<div class=" w-full h-auto bg-sky-200">
|
||||
<!--导航栏-->
|
||||
<nav class="w-full z-20 top-0 start-0 border-b border-gray-200 dark:border-gray-600">
|
||||
<div class="container w-full flex flex-wrap items-center justify-between mx-auto p-4">
|
||||
<div>
|
||||
<span class="ml-6 text-2xl font-semibold dark:text-white">LOGO</span>
|
||||
</div>
|
||||
<div class="flex md:order-2 space-x-6 mr-10">
|
||||
<a href="/login" class="text-gray-500 hover:text-black focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">登录</a>
|
||||
<a href="/register" class="ml-6 text-gray-500 hover:text-black focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">注册</a>
|
||||
</div>
|
||||
<div class="items-center justify-between hidden w-full md:flex md:w-auto md:order-1" id="navbar-sticky">
|
||||
<ul class="flex flex-col p-4 md:p-0 mt-4 font-medium border border-gray-100 rounded-lg md:space-x-8 rtl:space-x-reverse md:flex-row md:mt-0 md:border-0 dark:bg-gray-800 md:dark:bg-gray-900 dark:border-gray-700">
|
||||
<li>
|
||||
<a href="#" class="block py-2 px-3 text-white bg-blue-700 rounded md:bg-transparent md:text-blue-700 md:p-0 md:dark:text-blue-500" aria-current="page">主页</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700">关于我们</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700">服务内容</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700">联系我们</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
<div>
|
||||
<NavBar/>
|
||||
<Carousel/>
|
||||
<ProjectList/>
|
||||
<TeamProfile/>
|
||||
<NewProfile/>
|
||||
<ExcellentMember/>
|
||||
|
||||
<!--轮播图-->
|
||||
<div id="default-carousel" class="relative w-full" data-carousel="slide">
|
||||
<!-- Carousel wrapper -->
|
||||
<div class="relative overflow-hidden rounded-lg h-[600px]">
|
||||
<!-- Item 1 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
|
||||
<div id="default-carousel" class="relative w-full" data-carousel="slide">
|
||||
<!-- Carousel wrapper -->
|
||||
<div class="relative h-56 overflow-hidden rounded-lg md:h-96">
|
||||
<!-- Item 1 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="../assets/images/img1.jpg" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
<!-- Item 2 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="../assets/images/img2.jpg" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
<!-- Item 3 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="../assets/images/img3.jpg" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
</div>
|
||||
<!-- Item 2 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
<!-- Slider indicators -->
|
||||
<div class="absolute z-30 flex -translate-x-1/2 bottom-5 left-1/2 space-x-3 rtl:space-x-reverse">
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="true" aria-label="Slide 1" data-carousel-slide-to="0"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 2" data-carousel-slide-to="1"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 3" data-carousel-slide-to="2"></button>
|
||||
</div>
|
||||
<!-- Item 3 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
<!-- Item 4 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
<!-- Item 5 -->
|
||||
<div class="hidden duration-700 ease-in-out" data-carousel-item>
|
||||
<img src="" class="absolute block w-full -translate-x-1/2 -translate-y-1/2 top-1/2 left-1/2" alt="...">
|
||||
</div>
|
||||
</div>
|
||||
<!-- Slider indicators -->
|
||||
<div class="absolute z-30 flex -translate-x-1/2 bottom-5 left-1/2 space-x-3 rtl:space-x-reverse">
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="true" aria-label="Slide 1" data-carousel-slide-to="0"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 2" data-carousel-slide-to="1"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 3" data-carousel-slide-to="2"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 4" data-carousel-slide-to="3"></button>
|
||||
<button type="button" class="w-3 h-3 rounded-full" aria-current="false" aria-label="Slide 5" data-carousel-slide-to="4"></button>
|
||||
</div>
|
||||
<!-- Slider controls -->
|
||||
<button type="button" class="absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none" data-carousel-prev>
|
||||
<!-- Slider controls -->
|
||||
<button type="button" class="absolute top-0 start-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none" data-carousel-prev>
|
||||
<span class="inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none">
|
||||
<svg class="w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 6 10">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 1 1 5l4 4"/>
|
||||
</svg>
|
||||
<span class="sr-only">Previous</span>
|
||||
</span>
|
||||
</button>
|
||||
<button type="button" class="absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none" data-carousel-next>
|
||||
</button>
|
||||
<button type="button" class="absolute top-0 end-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none" data-carousel-next>
|
||||
<span class="inline-flex items-center justify-center w-10 h-10 rounded-full bg-white/30 dark:bg-gray-800/30 group-hover:bg-white/50 dark:group-hover:bg-gray-800/60 group-focus:ring-4 group-focus:ring-white dark:group-focus:ring-gray-800/70 group-focus:outline-none">
|
||||
<svg class="w-4 h-4 text-white dark:text-gray-800 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 6 10">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 9 4-4-4-4"/>
|
||||
</svg>
|
||||
<span class="sr-only">Next</span>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!--团队介绍-->
|
||||
<div class="container mx-auto" >
|
||||
<h2 class="text-3xl font-bold mb-6 text-center text-gray-900 dark:text-white">团队介绍</h2>
|
||||
<div class="flex flex-col space-y-10">
|
||||
<div class="flex space-x-12">
|
||||
<a href="#" class="h-48 flex flex-col items-center bg-white border border-gray-200 rounded-lg shadow md:flex-row md:max-w-xl hover:bg-gray-100 dark:border-gray-700 dark:bg-gray-800 dark:hover:bg-gray-700">
|
||||
<img class="object-cover w-full rounded-t-lg h-96 md:h-auto md:w-48 md:rounded-none md:rounded-s-lg" src="" alt="">
|
||||
<div class="flex flex-col justify-between p-4 leading-normal">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">老师1</h5>
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">介绍</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="#" class="flex flex-col items-center bg-white border border-gray-200 rounded-lg shadow md:flex-row md:max-w-xl hover:bg-gray-100 dark:border-gray-700 dark:bg-gray-800 dark:hover:bg-gray-700">
|
||||
<img class="object-cover w-full rounded-t-lg h-96 md:h-auto md:w-48 md:rounded-none md:rounded-s-lg" src="" alt="">
|
||||
<div class="flex flex-col justify-between p-4 leading-normal">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">老师2</h5>
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">介绍</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="#" class="flex flex-col items-center bg-white border border-gray-200 rounded-lg shadow md:flex-row md:max-w-xl hover:bg-gray-100 dark:border-gray-700 dark:bg-gray-800 dark:hover:bg-gray-700">
|
||||
<img class="object-cover w-full rounded-t-lg h-96 md:h-auto md:w-48 md:rounded-none md:rounded-s-lg" src="" alt="">
|
||||
<div class="flex flex-col justify-between p-4 leading-normal">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">老师3</h5>
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">介绍</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="#" class="flex flex-col items-center bg-white border border-gray-200 rounded-lg shadow md:flex-row md:max-w-xl hover:bg-gray-100 dark:border-gray-700 dark:bg-gray-800 dark:hover:bg-gray-700">
|
||||
<img class="object-cover w-full rounded-t-lg h-96 md:h-auto md:w-48 md:rounded-none md:rounded-s-lg" src="" alt="">
|
||||
<div class="flex flex-col justify-between p-4 leading-normal">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">老师4</h5>
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">介绍</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex space-x-12">
|
||||
<a href="#" class="h-48 flex flex-col items-center bg-white border border-gray-200 rounded-lg shadow md:flex-row md:max-w-xl hover:bg-gray-100 dark:border-gray-700 dark:bg-gray-800 dark:hover:bg-gray-700">
|
||||
<img class="object-cover w-full rounded-t-lg h-96 md:h-auto md:w-48 md:rounded-none md:rounded-s-lg" src="" alt="">
|
||||
<div class="flex flex-col justify-between p-4 leading-normal">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">学生1</h5>
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">介绍</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="#" class="h-48 flex flex-col items-center bg-white border border-gray-200 rounded-lg shadow md:flex-row md:max-w-xl hover:bg-gray-100 dark:border-gray-700 dark:bg-gray-800 dark:hover:bg-gray-700">
|
||||
<img class="object-cover w-full rounded-t-lg h-96 md:h-auto md:w-48 md:rounded-none md:rounded-s-lg" src="" alt="">
|
||||
<div class="flex flex-col justify-between p-4 leading-normal">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">学生2</h5>
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">介绍</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="#" class="h-48 flex flex-col items-center bg-white border border-gray-200 rounded-lg shadow md:flex-row md:max-w-xl hover:bg-gray-100 dark:border-gray-700 dark:bg-gray-800 dark:hover:bg-gray-700">
|
||||
<img class="object-cover w-full rounded-t-lg h-96 md:h-auto md:w-48 md:rounded-none md:rounded-s-lg" src="" alt="">
|
||||
<div class="flex flex-col justify-between p-4 leading-normal">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">学生3</h5>
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">介绍</p>
|
||||
</div>
|
||||
</a>
|
||||
<a href="#" class="h-48 flex flex-col items-center bg-white border border-gray-200 rounded-lg shadow md:flex-row md:max-w-xl hover:bg-gray-100 dark:border-gray-700 dark:bg-gray-800 dark:hover:bg-gray-700">
|
||||
<img class="object-cover w-full rounded-t-lg h-96 md:h-auto md:w-48 md:rounded-none md:rounded-s-lg" src="" alt="">
|
||||
<div class="flex flex-col justify-between p-4 leading-normal">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">学生4</h5>
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">介绍</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--项目介绍-->
|
||||
<div class="container mx-auto mt-40">
|
||||
<h2 class="text-3xl font-bold mb-6 text-center text-gray-900 dark:text-white">项目展示</h2>
|
||||
<div class="flex flex-col space-y-10">
|
||||
<div class="flex space-x-12">
|
||||
<div class=" w-2/3 h-96 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700">
|
||||
<a href="#">
|
||||
<img class="rounded-t-lg" src="" alt="" />
|
||||
</a>
|
||||
<div class="p-5">
|
||||
<a href="#">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">项目1</h5>
|
||||
</a>
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">简要叙述</p>
|
||||
<a href="#" class="inline-flex items-center px-3 py-2 text-sm font-medium text-center text-black bg-sky-200 rounded-lg hover:bg-sky-700 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">
|
||||
了解更多
|
||||
<svg class="rtl:rotate-180 w-3.5 h-3.5 ms-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" w-96 h-96 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700">
|
||||
<a href="#">
|
||||
<img class="rounded-t-lg" src="" alt="" />
|
||||
</a>
|
||||
<div class="p-5">
|
||||
<a href="#">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">项目2</h5>
|
||||
</a>
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">简要叙述</p>
|
||||
<a href="#" class="inline-flex items-center px-3 py-2 text-sm font-medium text-center text-black bg-sky-200 rounded-lg hover:bg-sky-700 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">
|
||||
了解更多
|
||||
<svg class="rtl:rotate-180 w-3.5 h-3.5 ms-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex space-x-12">
|
||||
<div class=" w-96 h-96 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700">
|
||||
<a href="#">
|
||||
<img class="rounded-t-lg" src="" alt="" />
|
||||
</a>
|
||||
<div class="p-5">
|
||||
<a href="#">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">项目3</h5>
|
||||
</a>
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">简要叙述</p>
|
||||
<a href="#" class="inline-flex items-center px-3 py-2 text-sm font-medium text-center text-black bg-sky-200 rounded-lg hover:bg-sky-700 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">
|
||||
了解更多
|
||||
<svg class="rtl:rotate-180 w-3.5 h-3.5 ms-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class=" w-2/3 h-96 bg-white border border-gray-200 rounded-lg shadow dark:bg-gray-800 dark:border-gray-700">
|
||||
<a href="#">
|
||||
<img class="rounded-t-lg" src="" alt="" />
|
||||
</a>
|
||||
<div class="p-5">
|
||||
<a href="#">
|
||||
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white">项目4</h5>
|
||||
</a>
|
||||
<p class="mb-3 font-normal text-gray-700 dark:text-gray-400">简要叙述</p>
|
||||
<a href="#" class="inline-flex items-center px-3 py-2 text-sm font-medium text-center text-black bg-sky-200 rounded-lg hover:bg-sky-700 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800">
|
||||
了解更多
|
||||
<svg class="rtl:rotate-180 w-3.5 h-3.5 ms-2" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
|
||||
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--新闻与活动-->
|
||||
<div class="container mt-40 mx-auto">
|
||||
<h2 class="text-3xl font-bold mb-6 text-center text-gray-900 dark:text-white">新闻与活动</h2>
|
||||
<div class="flex space-x-8">
|
||||
<div class="w-1/3 h-96 border-gray-400 bg-white">
|
||||
<a href="">
|
||||
<img src="" alt="" class="w-full h-60 border border-gray-400">
|
||||
<div class="ml-4">
|
||||
<h3 class="text-lg font-bold mt-10">新闻标题1</h3>
|
||||
<h4 class="mt-2 mb-4">时间</h4>
|
||||
<p class="ml-2">新闻简要内容</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class=" w-1/3 h-96 border-gray-400 bg-white">
|
||||
<a href="">
|
||||
<img src="" alt="" class="w-full h-60 border border-gray-400">
|
||||
<div class="ml-4">
|
||||
<h3 class="text-lg font-bold mt-10">新闻标题1</h3>
|
||||
<h4 class="mt-2 mb-4">时间</h4>
|
||||
<p class="ml-2">新闻简要内容</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="flex flex-col space-y-2 w-1/3 h-96 border-gray-400 bg-gray-100">
|
||||
<a href="" class="mt-4 ml-2 w-full h-20 hover:text-red-700">
|
||||
<h3 class="text-lg font-bold">新闻1</h3>
|
||||
<p>时间</p>
|
||||
</a>
|
||||
<a href="" class="ml-2 w-full h-20 hover:text-red-700">
|
||||
<h3 class="text-lg font-bold">新闻2</h3>
|
||||
<p>时间</p>
|
||||
</a>
|
||||
<a href="" class="ml-2 w-full h-20 hover:text-red-700">
|
||||
<h3 class="text-lg font-bold">新闻3</h3>
|
||||
<p>时间</p>
|
||||
</a>
|
||||
<a href="" class="ml-2 w-full h-20 hover:text-red-700">
|
||||
<h3 class="text-lg font-bold">新闻4</h3>
|
||||
<p>时间</p>
|
||||
</a>
|
||||
<a href="" class="ml-2 w-full h-20 hover:text-red-700">
|
||||
<h3 class="text-lg font-bold">新闻5</h3>
|
||||
<p>时间</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--版权-->
|
||||
<div class="mt-40 flex items-center justify-center">
|
||||
<div class="text-center">
|
||||
@ -286,8 +62,18 @@
|
||||
Copyright (C) 2023 xxx Group All Right Services.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
<script>
|
||||
|
||||
import NavBar from "@/components/MainPage/NavBar.vue";
|
||||
import Carousel from "@/components/MainPage/Carousel.vue";
|
||||
import TeamProfile from "@/components/MainPage/TeamProfile.vue";
|
||||
import NewProfile from "@/components/MainPage/NewProfile.vue";
|
||||
import ExcellentMember from "@/components/MainPage/ExcellentMember.vue";
|
||||
import ProjectList from "@/components/MainPage/ProjectList.vue";
|
||||
|
||||
export default{
|
||||
components: {ProjectList, ExcellentMember, NewProfile, TeamProfile, Carousel, NavBar},
|
||||
}
|
||||
</script>
|
8361
src/public/flowbite.css
Normal file
8361
src/public/flowbite.css
Normal file
File diff suppressed because it is too large
Load Diff
1
src/public/flowbite.min.css
vendored
Normal file
1
src/public/flowbite.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -23,7 +23,7 @@ const router = createRouter({
|
||||
path:'/success',
|
||||
name:'success',
|
||||
component:()=>import('../components/success.vue')
|
||||
}
|
||||
},
|
||||
]
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user