build: 更新.gitignore并添加TailwindCSS和OpenAI依赖

This commit is contained in:
dmy
2026-01-14 01:10:48 +08:00
parent 6a9c52fe10
commit 571eea0f66
8 changed files with 1044 additions and 58 deletions

View File

@@ -77,6 +77,7 @@ onUnmounted(() => {
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: #f5f5f5;
font-size: 12px;
}
.app-container {
@@ -88,15 +89,15 @@ body {
display: flex;
background: #fff;
border-bottom: 1px solid #e0e0e0;
padding: 0 20px;
padding: 0 8px;
}
.tab-button {
padding: 16px 24px;
padding: 8px 12px;
background: none;
border: none;
border-bottom: 2px solid transparent;
font-size: 14px;
font-size: 12px;
font-weight: 500;
color: #666;
cursor: pointer;
@@ -114,17 +115,17 @@ body {
}
.tab-content {
padding: 20px;
padding: 8px;
}
.refresh-button {
margin-left: auto;
padding: 8px 16px;
padding: 4px 10px;
background: #3498db;
color: #fff;
border: none;
border-radius: 4px;
font-size: 14px;
border-radius: 3px;
font-size: 11px;
cursor: pointer;
transition: all 0.2s ease;
}
@@ -141,8 +142,8 @@ body {
display: flex;
align-items: center;
justify-content: center;
min-height: 400px;
min-height: 200px;
color: #999;
font-size: 16px;
font-size: 12px;
}
</style>

View File

@@ -50,7 +50,7 @@ defineExpose({
<template>
<div class="ai-recommendations-container">
<h2 class="title">AI 推荐项目</h2>
<!-- <h2 class="title">AI 推荐项目</h2> -->
<div v-if="loading" class="loading">
加载中...
@@ -87,15 +87,13 @@ defineExpose({
<style scoped>
.ai-recommendations-container {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
padding: 8px;
}
.title {
font-size: 24px;
font-size: 14px;
font-weight: bold;
margin-bottom: 20px;
margin-bottom: 8px;
color: #333;
}
@@ -103,9 +101,9 @@ defineExpose({
.error,
.empty {
text-align: center;
padding: 40px;
padding: 20px;
color: #666;
font-size: 16px;
font-size: 12px;
}
.error {
@@ -114,48 +112,48 @@ defineExpose({
.recommendation-list {
display: grid;
gap: 16px;
gap: 8px;
}
.recommendation-item {
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 16px;
border-radius: 4px;
padding: 8px;
transition: all 0.2s ease;
}
.recommendation-item:hover {
border-color: #3498db;
box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
transform: translateY(-2px);
box-shadow: 0 1px 4px rgba(52, 152, 219, 0.15);
transform: translateY(-1px);
}
.recommendation-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
margin-bottom: 6px;
}
.confidence-badge {
color: #fff;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
padding: 2px 6px;
border-radius: 3px;
font-size: 10px;
font-weight: 500;
}
.date {
font-size: 12px;
font-size: 10px;
color: #999;
}
.recommendation-title {
font-size: 16px;
font-size: 12px;
font-weight: 500;
color: #333;
margin: 0;
line-height: 1.5;
line-height: 1.4;
}
</style>

View File

@@ -46,7 +46,7 @@ defineExpose({
<template>
<div class="pinned-bids-container">
<h2 class="title">置顶投标项目</h2>
<!-- <h2 class="title">置顶投标项目</h2> -->
<div v-if="loading" class="loading">
加载中...
@@ -72,9 +72,9 @@ defineExpose({
<span class="date">{{ item.publishDate }}</span>
</div>
<h3 class="bid-title">{{ item.title }}</h3>
<div class="bid-footer">
<!-- <div class="bid-footer">
<span class="pin-badge">📌 已置顶</span>
</div>
</div> -->
</div>
</div>
</div>
@@ -82,15 +82,13 @@ defineExpose({
<style scoped>
.pinned-bids-container {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
padding: 8px;
}
.title {
font-size: 24px;
font-size: 14px;
font-weight: bold;
margin-bottom: 20px;
margin-bottom: 8px;
color: #333;
}
@@ -98,9 +96,9 @@ defineExpose({
.error,
.empty {
text-align: center;
padding: 40px;
padding: 20px;
color: #666;
font-size: 16px;
font-size: 12px;
}
.error {
@@ -109,50 +107,50 @@ defineExpose({
.bid-list {
display: grid;
gap: 16px;
gap: 8px;
}
.bid-item {
background: #fff;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 16px;
border-radius: 4px;
padding: 8px;
cursor: pointer;
transition: all 0.2s ease;
}
.bid-item:hover {
border-color: #3498db;
box-shadow: 0 2px 8px rgba(52, 152, 219, 0.15);
transform: translateY(-2px);
box-shadow: 0 1px 4px rgba(52, 152, 219, 0.15);
transform: translateY(-1px);
}
.bid-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
margin-bottom: 6px;
}
.source {
background: #f0f0f0;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
padding: 2px 6px;
border-radius: 3px;
font-size: 10px;
color: #666;
}
.date {
font-size: 12px;
font-size: 10px;
color: #999;
}
.bid-title {
font-size: 16px;
font-size: 12px;
font-weight: 500;
color: #333;
margin: 0 0 12px 0;
line-height: 1.5;
margin: 0 0 6px 0;
line-height: 1.4;
}
.bid-footer {
@@ -163,8 +161,8 @@ defineExpose({
.pin-badge {
background: #fff3cd;
color: #856404;
padding: 4px 8px;
border-radius: 4px;
font-size: 12px;
padding: 2px 6px;
border-radius: 3px;
font-size: 10px;
}
</style>