| | |
| | | <template> |
| | | <div class="h-full "> |
| | | <div class="h-full"> |
| | | <!-- 轮播图部分 --> |
| | | <div class="banner-carousel"> |
| | | <el-carousel height="400px" :interval="5000" arrow="always"> |
| | |
| | | </el-carousel-item> |
| | | </el-carousel> |
| | | </div> |
| | | |
| | | <!-- 功能按钮区域 --> |
| | | <div class="bg-white py-8"> |
| | | <div class="container mx-auto px-4"> |
| | | <div class="grid grid-cols-4 gap-8"> |
| | | <!-- 发APP --> |
| | | <div class="function-card"> |
| | | <el-card shadow="hover" class="h-full cursor-pointer"> |
| | | <div class="flex flex-col items-center space-y-2"> |
| | | <div class="w-16 h-16 flex items-center justify-center bg-blue-100 rounded-full"> |
| | | <el-icon class="text-3xl text-blue-500"><Promotion /></el-icon> |
| | | <div> |
| | | <!-- 功能按钮区域 --> |
| | | <div class="bg-white py-8"> |
| | | <div class="container mx-auto px-4"> |
| | | <div class="grid grid-cols-4 gap-8"> |
| | | <!-- 发APP --> |
| | | <div class="function-card"> |
| | | <el-card shadow="hover" class="h-full cursor-pointer"> |
| | | <div class="flex flex-col items-center space-y-2"> |
| | | <div class="w-16 h-16 flex items-center justify-center bg-blue-100 rounded-full"> |
| | | <el-icon class="text-3xl text-blue-500"><Promotion /></el-icon> |
| | | </div> |
| | | <div class="text-lg font-medium">发APP</div> |
| | | <div class="text-gray-500 text-sm">Publish APP</div> |
| | | </div> |
| | | <div class="text-lg font-medium">发APP</div> |
| | | <div class="text-gray-500 text-sm">Publish APP</div> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | |
| | | <!-- 发需求 --> |
| | | <div class="function-card"> |
| | | <el-card shadow="hover" class="h-full cursor-pointer"> |
| | | <div class="flex flex-col items-center space-y-2"> |
| | | <div class="w-16 h-16 flex items-center justify-center bg-green-100 rounded-full"> |
| | | <el-icon class="text-3xl text-green-500"><Document /></el-icon> |
| | | <!-- 发需求 --> |
| | | <div class="function-card"> |
| | | <el-card shadow="hover" class="h-full cursor-pointer"> |
| | | <div class="flex flex-col items-center space-y-2"> |
| | | <div class="w-16 h-16 flex items-center justify-center bg-green-100 rounded-full"> |
| | | <el-icon class="text-3xl text-green-500"><Document /></el-icon> |
| | | </div> |
| | | <div class="text-lg font-medium">发需求</div> |
| | | <div class="text-gray-500 text-sm">Publish Demand</div> |
| | | </div> |
| | | <div class="text-lg font-medium">发需求</div> |
| | | <div class="text-gray-500 text-sm">Publish Demand</div> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | |
| | | <!-- 找APP --> |
| | | <div class="function-card"> |
| | | <el-card shadow="hover" class="h-full cursor-pointer"> |
| | | <div class="flex flex-col items-center space-y-2"> |
| | | <div class="w-16 h-16 flex items-center justify-center bg-purple-100 rounded-full"> |
| | | <el-icon class="text-3xl text-purple-500"><Search /></el-icon> |
| | | <!-- 找APP --> |
| | | <div class="function-card"> |
| | | <el-card shadow="hover" class="h-full cursor-pointer"> |
| | | <div class="flex flex-col items-center space-y-2"> |
| | | <div class="w-16 h-16 flex items-center justify-center bg-purple-100 rounded-full"> |
| | | <el-icon class="text-3xl text-purple-500"><Search /></el-icon> |
| | | </div> |
| | | <div class="text-lg font-medium">找APP</div> |
| | | <div class="text-gray-500 text-sm">Find APP</div> |
| | | </div> |
| | | <div class="text-lg font-medium">找APP</div> |
| | | <div class="text-gray-500 text-sm">Find APP</div> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | | |
| | | <!-- 找需求 --> |
| | | <div class="function-card"> |
| | | <el-card shadow="hover" class="h-full cursor-pointer"> |
| | | <div class="flex flex-col items-center space-y-2"> |
| | | <div class="w-16 h-16 flex items-center justify-center bg-orange-100 rounded-full"> |
| | | <el-icon class="text-3xl text-orange-500"><List /></el-icon> |
| | | <!-- 找需求 --> |
| | | <div class="function-card"> |
| | | <el-card shadow="hover" class="h-full cursor-pointer"> |
| | | <div class="flex flex-col items-center space-y-2"> |
| | | <div class="w-16 h-16 flex items-center justify-center bg-orange-100 rounded-full"> |
| | | <el-icon class="text-3xl text-orange-500"><List /></el-icon> |
| | | </div> |
| | | <div class="text-lg font-medium">找需求</div> |
| | | <div class="text-gray-500 text-sm">Find Demand</div> |
| | | </div> |
| | | <div class="text-lg font-medium">找需求</div> |
| | | <div class="text-gray-500 text-sm">Find Demand</div> |
| | | </div> |
| | | </el-card> |
| | | </el-card> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- 新闻公告区域 --> |
| | | <div class="container mx-auto px-4 py-8"> |
| | | <div class="flex justify-between items-center mb-4"> |
| | | <div class="flex items-center space-x-2"> |
| | | <el-icon class="text-blue-500"><Document /></el-icon> |
| | | <span class="text-lg font-medium">新闻政策</span> |
| | | <!-- 新闻公告区域 --> |
| | | <div class="container mx-auto px-4 py-8"> |
| | | <div class="flex justify-between items-center mb-4"> |
| | | <div class="flex items-center space-x-2"> |
| | | <el-icon class="text-blue-500"><Document /></el-icon> |
| | | <span class="text-lg font-medium">新闻政策</span> |
| | | </div> |
| | | <el-button text>更多</el-button> |
| | | </div> |
| | | <el-button text>更多</el-button> |
| | | <el-card> |
| | | <el-table :data="newsList" style="width: 100%" :show-header="false"> |
| | | <el-table-column> |
| | | <template #default="scope"> |
| | | <div class="flex justify-between items-center py-2"> |
| | | <div class="text-gray-700 hover:text-blue-500 cursor-pointer">{{ scope.row.title }}</div> |
| | | <div class="text-gray-400 text-sm">{{ scope.row.date }}</div> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-card> |
| | | </div> |
| | | <el-card> |
| | | <el-table :data="newsList" style="width: 100%" :show-header="false"> |
| | | <el-table-column> |
| | | <template #default="scope"> |
| | | <div class="flex justify-between items-center py-2"> |
| | | <div class="text-gray-700 hover:text-blue-500 cursor-pointer">{{ scope.row.title }}</div> |
| | | <div class="text-gray-400 text-sm">{{ scope.row.date }}</div> |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-card> |
| | | </div> |
| | | </div> |
| | | </template> |